Overview
| Artifact ID: | 30759ae00af16dbb3c7fa9ac38d846122f76c6a9 |
|---|---|
| Ticket: | a13778c49ecc068082577d48a5f05182383e5e8e
Segfault (objPtr->typePtr->updateStringProc == NULL) |
| User & Date: | tombert on 2014-08-08 15:54:19 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Tested in W7, MinGW build x64, latest git trunk. gdb gives the following backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 5392.0x1bf4] 0x0000000067559eea in Tcl_GetString (objPtr=0xc9bdcef) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclObj.c:1609 1609 if (objPtr->typePtr->updateStringProc == NULL) { (gdb) bt #0 0x0000000067559eea in Tcl_GetString (objPtr=0xc9bdcef) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclObj.c:1609 #1 0x000000006743a420 in Tcl_LsortObjCmd (clientData=0x0, interp=0xb8d8a00, objc=3, objv=0xb8ba750) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclCmdIL.c:3981 #2 0x000000006741c832 in Dispatch (data=0x12cc6ca8, interp=0xb8d8a00, result=0) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:4357 #3 0x000000006741c8c1 in TclNRRunCallbacks (interp=0xb8d8a00, result=0, rootPtr=0x12cc6d60) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:4390 #4 0x000000006741c059 in Tcl_EvalObjv (interp=0xb8d8a00, objc=3, objv=0xb8ba750, flags=2097168) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:4121 #5 0x000000006741e7d5 in TclEvalEx (interp=0xb8d8a00, script=0x12d08023 "lsort -unique [concat $args [tsv::get objlockLockedObjs [thread::id]] [tsv::g et objlockPendingObjs [thread::id]]]]\n foreach obj [tsv::get objlockLockedObjs [thread::id]] {\n", ' ' <repeats 12 times>, "thread::s"..., numBytes=113, flags=0, line=2, clNextOuter=0x0, outerScript=0x12d07ff0 "\n tsv::set objlockPendingObjs [thread::id] [lsort -unique [conca t $args [tsv::get objlockLockedObjs [thread::id]] [tsv::get objlockPendingObjs [thread::id]]]]\n foreach obj [tsv::get objl"...) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:5259 #6 0x0000000067560992 in TclSubstTokens (interp=0xb8d8a00, tokenPtr=0xb8ba188, count=1, tokensLeftPtr=0x0, line=2, clNextOuter=0x0, outerScript=0x12d07ff0 "\n tsv::set objlockPendingObjs [thread::id] [lsort -unique [conca t $args [tsv::get objlockLockedObjs [thread::id]] [tsv::get objlockPendingObjs [thread::id]]]]\n foreach obj [tsv::get objl"...) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclParse.c:2247 #7 0x000000006741e1e2 in TclEvalEx (interp=0xb8d8a00, script=0x12d07ff0 "\n tsv::set objlockPendingObjs [thread::id] [lsort -unique [concat $ar gs [tsv::get objlockLockedObjs [thread::id]] [tsv::get objlockPendingObjs [thread::id]]]]\n f oreach obj [tsv::get objl"..., numBytes=388, flags=262144, line=2, clNextOuter=0x0, outerScript=0x12d07ff0 "\n tsv::set objlockPendingObjs [thread::id] [lsort -unique [conca t $args [tsv::get objlockLockedObjs [thread::id]] [tsv::get objlockPendingObjs [thread::id]]]]\n foreach obj [tsv::get objl"...) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:5146 #8 0x000000006741db79 in Tcl_EvalEx (interp=0xb8d8a00, script=0x12d07ff0 "\n tsv::set objlockPendingObjs [thread::id] [lsort -unique [concat $ar gs [tsv::get objlockLockedObjs [thread::id]] [tsv::get objlockPendingObjs [thread::id]]]]\n f oreach obj [tsv::get objl"..., numBytes=388, flags=262144) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:4924 #9 0x000000006741f842 in TclNREvalObjEx (interp=0xb8d8a00, objPtr=0x12cc6d30, flags=262144, invoker=0x0, word=0) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:6120 #10 0x000000006741f3cd in TclEvalObjEx (interp=0xb8d8a00, objPtr=0x6750a16800, flags=262144, invoker=0x0, word=0) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:5955 #11 0x000000006741f376 in Tcl_EvalObjEx (interp=0xb8d8a00, objPtr=0x6750a16800, flags=262144) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:5937 #12 0x000000006718a1d6 in SvLockObjCmd (dummy=0x0, interp=0xb8d8a00, objc=3, objv=0xb8ba058) at ./generic/threadSvCmd.c:2040 #13 0x000000006741c832 in Dispatch (data=0x12cc6108, interp=0xb8d8a00, result=0) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:4357 #14 0x000000006741c8c1 in TclNRRunCallbacks (interp=0xb8d8a00, result=0, rootPtr=0x11b35b20) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:4390 #15 0x000000006741f3e5 in TclEvalObjEx (interp=0xb8d8a00, objPtr=0x6750a16800, flags=131072, invoker=0x0, word=0) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:5956 #16 0x000000006741f376 in Tcl_EvalObjEx (interp=0xb8d8a00, objPtr=0x6750a16800, flags=131072) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:5937 #17 0x00000000619d5c68 in ButtonInvokeCommand (recordPtr=0x11660510, interp=0xb8d8a00, objc=2, objv=0xb8b9200) at ./../generic/ttk/ttkButton.c:353 #18 0x00000000619f581f in Ttk_InvokeEnsemble (ensemble=0x61a41fe0 <ButtonCommands>, cmdIndex=1, clientData=0x11660510, interp=0xb8d8a00, objc=2, objv=0xb8b9200) at ./../generic/ttk/ttkTheme.c:1693 #19 0x00000000619fdce6 in WidgetInstanceObjCmd (clientData=0x11660510, interp=0xb8d8a00, objc=2, objv=0xb8b9200) at ./../generic/ttk/ttkWidget.c:161 #20 0x000000006741c832 in Dispatch (data=0xbb476b8, interp=0xb8d8a00, result=0) at d:/CM.git/tcltk86/dcompile/tcl/generic/tclBasic.c:4357 The bug is reproducable ... still I was unsuccessful to write a little tcl demo for that. - foundin changed to: "8.5.15 (trunk)"
- is_private changed to: "0"
- login: "tombert"
- priority changed to: "5 Medium"
- private_contact changed to: "55805032f00760ddf84eb3f8acb077da7bef1411"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "tombert"
- subsystem changed to: "None"
- title changed to:
Segfault (objPtr->typePtr->updateStringProc == NULL)
- type changed to: "Bug"