[Pkg-tcltk-devel] Bug#755195: Bug#755195: segmentation fault Tcl_DeleteHashEntry (entryPtr=0x1dd9bd0) at /tmp/buildd/tcl8.6-8.6.1/generic/tclHash.c:449

Yaroslav Halchenko debian at onerussian.com
Fri Jul 18 19:03:20 UTC 2014


Thank you Sergei,

Just in case here is more detail of the traceback after installing dbg
for the libtk8.6:

(gdb) bt full 10
#0  Tcl_DeleteHashEntry (entryPtr=0x1dd9bd0) at /tmp/buildd/tcl8.6-8.6.1/generic/tclHash.c:449
        prevPtr = <optimized out>
        typePtr = 0x7fffe85d9500 <tclStringHashKeyType>
        tablePtr = 0x1c525a0
        bucketPtr = 0x0
        index = <optimized out>
#1  0x00007fffe862f25b in Tk_FreeFont (tkfont=0x1d03c10) at /tmp/buildd/tk8.6-8.6.1/unix/../generic/tkFont.c:1439
        prevPtr = <optimized out>
        nfPtr = <optimized out>
        tkfont = 0x1d03c10
        fontPtr = 0x1d03c10
#2  0x00007fffe86294fd in FreeResources (objPtr=<optimized out>, internalPtr=0x2ddbde8 "\020<\320\001", tkwin=<optimized out>, optionPtr=<optimized out>, optionPtr=<optimized out>) at /tmp/buildd/tk8.6-8.6.1/unix/../generic/tkConfig.c:1636
        internalFormExists = <optimized out>
#3  0x00007fffe8628de9 in Tk_FreeConfigOptions (recordPtr=recordPtr at entry=0x2ddbd10 "@\251\321\002", optionTable=<optimized out>, tkwin=0x2d1a940) at /tmp/buildd/tk8.6-8.6.1/unix/../generic/tkConfig.c:1568
        tablePtr = 0x1dede90
        optionPtr = 0x1dee150
        count = <optimized out>
        oldPtrPtr = <optimized out>
        oldPtr = 0x0
        oldInternalPtr = <optimized out>
        specPtr = <optimized out>
#4  0x00007fffe864c0ba in DestroyButton (butPtr=0x2ddbd10) at /tmp/buildd/tk8.6-8.6.1/unix/../generic/tkButton.c:1004
No locals.
#5  ButtonEventProc (clientData=0x2ddbd10, eventPtr=<optimized out>) at /tmp/buildd/tk8.6-8.6.1/unix/../generic/tkButton.c:1467
        butPtr = 0x2ddbd10
#6  0x00007fffe862bc7d in Tk_HandleEvent (eventPtr=eventPtr at entry=0x7fffffffa1d0) at /tmp/buildd/tk8.6-8.6.1/unix/../generic/tkEvent.c:1341
        handlerPtr = <optimized out>
        winPtr = 0x2d1a940
        mask = 131072
        ip = {eventPtr = 0x7fffffffa1d0, winPtr = 0x2d1a940, nextHandler = 0x2dafa20, nextPtr = 0x0}
        interp = 0x2aa6ac0
        tsdPtr = 0x1c72620
#7  0x00007fffe86495af in Tk_DestroyWindow (tkwin=0x2d1a940) at /tmp/buildd/tk8.6-8.6.1/unix/../generic/tkWindow.c:1433
        winPtr = 0x2d1a940
        dispPtr = 0x1c8d690
        event = {type = 17, xany = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262}, xkey = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, root = 2097262, subwindow = 44142176, time = 44722880, x = 393216, y = 0, x_root = -399968787, 
            y_root = 32767, state = 44142176, keycode = 0, same_screen = 46744544}, xbutton = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, root = 2097262, subwindow = 44142176, time = 44722880, x = 393216, y = 0, x_root = -399968787, y_root = 32767, 
            state = 44142176, button = 0, same_screen = 46744544}, xmotion = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, root = 2097262, subwindow = 44142176, time = 44722880, x = 393216, y = 0, x_root = -399968787, y_root = 32767, state = 44142176, 
            is_hint = 0 '\000', same_screen = 46744544}, xcrossing = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, root = 2097262, subwindow = 44142176, time = 44722880, x = 393216, y = 0, x_root = -399968787, y_root = 32767, mode = 44142176, detail = 0, 
            same_screen = 46744544, focus = 0, state = 46744496}, xfocus = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, mode = 2097262, detail = 0}, xexpose = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, x = 2097262, y = 0, 
            width = 44142176, height = 0, count = 44722880}, xgraphicsexpose = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, drawable = 2097262, x = 2097262, y = 0, width = 44142176, height = 0, count = 44722880, major_code = 0, minor_code = 393216}, xnoexpose = {type = 17, 
            serial = 596, send_event = 0, display = 0x1c7e640, drawable = 2097262, major_code = 2097262, minor_code = 0}, xvisibility = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, state = 2097262}, xcreatewindow = {type = 17, serial = 596, send_event = 0, 
            display = 0x1c7e640, parent = 2097262, window = 2097262, x = 44142176, y = 0, width = 44722880, height = 0, border_width = 393216, override_redirect = 0}, xdestroywindow = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, event = 2097262, window = 2097262}, xunmap = {
            type = 17, serial = 596, send_event = 0, display = 0x1c7e640, event = 2097262, window = 2097262, from_configure = 44142176}, xmap = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, event = 2097262, window = 2097262, override_redirect = 44142176}, xmaprequest = {type = 17, 
            serial = 596, send_event = 0, display = 0x1c7e640, parent = 2097262, window = 2097262}, xreparent = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, event = 2097262, window = 2097262, parent = 44142176, x = 44722880, y = 0, override_redirect = 393216}, xconfigure = {
            type = 17, serial = 596, send_event = 0, display = 0x1c7e640, event = 2097262, window = 2097262, x = 44142176, y = 0, width = 44722880, height = 0, border_width = 393216, above = 140737088386541, override_redirect = 44142176}, xgravity = {type = 17, serial = 596, send_event = 0, 
            display = 0x1c7e640, event = 2097262, window = 2097262, x = 44142176, y = 0}, xresizerequest = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, width = 2097262, height = 0}, xconfigurerequest = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, 
            parent = 2097262, window = 2097262, x = 44142176, y = 0, width = 44722880, height = 0, border_width = 393216, above = 140737088386541, detail = 44142176, value_mask = 46744544}, xcirculate = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, event = 2097262, window = 2097262, 
            place = 44142176}, xcirculaterequest = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, parent = 2097262, window = 2097262, place = 44142176}, xproperty = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, atom = 2097262, time = 44142176, 
            state = 44722880}, xselectionclear = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, selection = 2097262, time = 44142176}, xselectionrequest = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, owner = 2097262, requestor = 2097262, 
            selection = 44142176, target = 44722880, property = 393216, time = 140737088386541}, xselection = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, requestor = 2097262, selection = 2097262, target = 44142176, property = 44722880, time = 393216}, xcolormap = {type = 17, 
            serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, colormap = 2097262, new = 44142176, state = 0}, xclient = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, message_type = 2097262, format = 44142176, data = {
              b = "\300j\252\002\000\000\000\000\000\000\006\000\000\000\000\000\355\365(\350", s = {27328, 682, 0, 0, 0, 6, 0, 0, -2579, -6104}, l = {44722880, 393216, 140737088386541, 44142176, 46744544}}}, xmapping = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, window = 2097262, 
            request = 2097262, first_keycode = 0, count = 44142176}, xerror = {type = 17, display = 0x254, resourceid = 0, serial = 29877824, error_code = 110 'n', request_code = 0 '\000', minor_code = 32 ' '}, xkeymap = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, 
            window = 2097262, key_vector = "n\000 \000\000\000\000\000`\216\241\002\000\000\000\000\300j\252\002\000\000\000\000\000\000\006\000\000\000\000"}, xgeneric = {type = 17, serial = 596, send_event = 0, display = 0x1c7e640, extension = 2097262, evtype = 0}, xcookie = {type = 17, 
            serial = 596, send_event = 0, display = 0x1c7e640, extension = 2097262, evtype = 0, cookie = 2097262, data = 0x2a18e60}, pad = {17, 596, 0, 29877824, 2097262, 2097262, 44142176, 44722880, 393216, 140737088386541, 44142176, 46744544, 46744496, 140737089102896, 46744544, 140737088932509, 
            140737488331632, 140737088930370, 140737088932496, 0, 44722880, 44722880, 48061680, 46516816}}
        halfdeadPtr = 0x2dd63f0
        prev_halfdeadPtr = <optimized out>
        tsdPtr = 0x1c58f80
#8  0x00007fffe86243a0 in Tk_DestroyObjCmd (clientData=0x2c5ca50, interp=0x2aa6ac0, objc=0, objv=0x2ddbde8) at /tmp/buildd/tk8.6-8.6.1/unix/../generic/tkCmds.c:497
        window = 0x2d1a940
#9  0x00007fffe8286977 in TclNRRunCallbacks (interp=0x2aa6ac0, result=0, rootPtr=0x0) at /tmp/buildd/tcl8.6-8.6.1/generic/tclBasic.c:4368
        iPtr = 0x2aa6ac0
        callbackPtr = 0x29dbe10
        procPtr = <optimized out>
(More stack frames follow...)


On Fri, 18 Jul 2014, Sergei Golovan wrote:

> reassign 755195 libtk8.6 8.6.1-5
> thanks

> Hi Yaroslav,

> On Fri, Jul 18, 2014 at 9:47 PM, Yaroslav Halchenko
> <debian at onerussian.com> wrote:
> > (gdb) bt
> > #0  Tcl_DeleteHashEntry (entryPtr=0x1dd9bd0) at /tmp/buildd/tcl8.6-8.6.1/generic/tclHash.c:449
> > #1  0x00007fffe862f25b in Tk_FreeFont () from /usr/lib/x86_64-linux-gnu/libtk8.6.so

> It's a bug in libtk8.6, not in libtcl8.6. So, I'm reassigning it.

> Cheers!
-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,            Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Pkg-tcltk-devel mailing list