Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3a8b65fcd4f395ec2ede11d932cf234b990cb060
Ticket: 3002655fffffffffffffffffffffffffffffffff
Semi-repeatable SIGSEGV doing info level
User & Date: jaspertheperson on 2010-05-17 10:59:44
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Started getting occasional segfaults in my app. Narrowed it down to a call to "info level" -- arg around 14. Checked out HEAD and built with debugging symbols enabled (32bit, multithreaded) and still get bug. gdb not very informative:
    % jaspert@spacehopper:~/Build/tk/unix$ ./wish
    % info patchlevel
    8.6b1.2
    % array get tcl_platform
    osVersion 2.6.32-22-generic pointerSize 4 byteOrder littleEndian threaded 1 machine i686 platform unix pathSeparator : os Linux user jaspert wordSize 4
    ...
    [source app and attach gdb, then cause crash]
    ...
    (gdb) c
    Continuing.
    [New Thread 0x178bb70 (LWP 24951)]
    
    Program received signal SIGSEGV, Segmentation fault.
    0x0043ffb5 in NRCommand (data=0x95a1fc8, interp=0x0, result=157867776)
        at /home/jaspert/Build/tcl/generic/tclBasic.c:4332
    4332    ((Interp *)interp)->numLevels--;
    (gdb) bt
    #0  0x0043ffb5 in NRCommand (data=0x95a1fc8, interp=0x0, result=157867776)
        at /home/jaspert/Build/tcl/generic/tclBasic.c:4332
    #1  0x0a4738ec in ?? ()
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)
    (gdb) c
    Continuing.
    [Thread 0x178bb70 (LWP 24951) exited]
    [Thread 0xb77cdb70 (LWP 24908) exited]
    
    Program terminated with signal SIGSEGV, Segmentation fault.
    The program no longer exists.
    
    Please feel free to request any further tests
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "jaspertheperson"
  10. subsystem changed to: "17. Commands I-L"
  11. title changed to: "Semi-repeatable SIGSEGV doing info level"
  12. type changed to: "Bug"