Skip to content
Tcl Source Code History Of Ticket 3034846
Login

History Of Ticket 3034846

Artifacts Associated With Ticket 3034846

  1. Ticket change [54e77dc477] (rid 94033) by egavilan on 2010-07-26 18:45:18:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When trying to run the code on http://wiki.tcl.tk/26735 with Tcl HEAD
      (updated today), using the wish8.6 interpreter, I can crash the program
      by closing the wish window with the mouse.
      
      $ gdb wish8.6
      GNU gdb 6.8
      Copyright (C) 2008 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "i486-slackware-linux"...
      (gdb) run memchan_2.tcl
      Starting program: /usr/local/bin/wish8.6 memchan_2.tcl
      [Thread debugging using libthread_db enabled]
      [New Thread 0xb7a25ab0 (LWP 555)]
      [New Thread 0xb79eeb90 (LWP 558)]
      Writing data into rc0
      Reading data from rc1
      **Hello World**
      Writing data into rc1
      Reading data from rc0
      **Hello There !!**            <=== Close the "." wish window here
      
      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 0xb7a25ab0 (LWP 555)]
      0xb7eacbed in UpdateStringOfList (listPtr=0x8072ab8)
          at /home/emiliano/src/tcl/generic/tclListObj.c:1865
      1865{
      (gdb) bt
      #0  0xb7eacbed in UpdateStringOfList (listPtr=0x8072ab8)
          at /home/emiliano/src/tcl/generic/tclListObj.c:1865
      
      #1  0xb7eb784f in Tcl_GetString (objPtr=0x8072ab8)
          at /home/emiliano/src/tcl/generic/tclObj.c:1636
      #2  0xb7eb78d1 in Tcl_GetStringFromObj (objPtr=0x8072ab8, lengthPtr=0xbf2930d4)
          at /home/emiliano/src/tcl/generic/tclObj.c:1676
      #3  0xb7eacc9e in UpdateStringOfList (listPtr=0x8072ab8)
          at /home/emiliano/src/tcl/generic/tclListObj.c:1893
      
      #4  0xb7eb784f in Tcl_GetString (objPtr=0x8072ab8)
          at /home/emiliano/src/tcl/generic/tclObj.c:1636
      #5  0xb7eb78d1 in Tcl_GetStringFromObj (objPtr=0x8072ab8, lengthPtr=0xbf2931c4)
          at /home/emiliano/src/tcl/generic/tclObj.c:1676
      #6  0xb7eacc9e in UpdateStringOfList (listPtr=0x8072ab8)
          at /home/emiliano/src/tcl/generic/tclListObj.c:1893
        
      #7  0xb7eb784f in Tcl_GetString (objPtr=0x8072ab8)
          at /home/emiliano/src/tcl/generic/tclObj.c:1636
      #8  0xb7eb78d1 in Tcl_GetStringFromObj (objPtr=0x8072ab8, lengthPtr=0xbf2932b4)
          at /home/emiliano/src/tcl/generic/tclObj.c:1676
      #9  0xb7eacc9e in UpdateStringOfList (listPtr=0x8072ab8)
          at /home/emiliano/src/tcl/generic/tclListObj.c:1893
      
      Note that group #1, #2 and #3 repeats in #4, #5 and #6, and then the
      backtrace output repeats endlessly with these three lines.
      
      The problem doesn't appear when using the tclsh intepreter (I can interrupt
      the program with Ctrl-C, but it finalize without a crash.
      
      The system is Linux 2.6.27.7
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "egavilan"
    10. subsystem initialized to: "14. List Object"
    11. title initialized to: "Crash in UpdateStringOfList()"
    12. type initialized to: "Bug"
  2. Ticket change [6a3f8f0c28] (rid 128116) by egavilan on 2010-07-27 01:49:16:

    1. closedate changed to: "2010-07-26T18:49:16"
    2. closer changed to: "egavilan"
    3. icomment:
      
      
      allow_comments - 1
      
      Duplicated of 3034840 (stupid browser, stupid me)
      
      
    4. login: "egavilan"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
    8. username: "egavilan"