Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 331e03da7d1f31e113adb3a502afbc497aa42528
Ticket: 1063988fffffffffffffffffffffffffffffffff
tcl crash on sun using threads
User & Date: yahalom on 2004-11-10 17:59:53
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl Version 8. 4.7
    Thread version: 2.5.2
    
    OS Platform and Version: sunOS sundev 5.6 
    Generic_105181-39 sun4u sparc SUNW,Ultra-80
    
    we are running an application that splits to threads 
    and works heavily with oracle database.
    this application works fine on linux/win and other 
    version of sun.
    
    we get many segmantaion fault. running gdb 
    resulted in few cases:
    1. 
    
    alloc: invalid block: 94c6e8: 0 68 ef
    
    
    Program received signal SIGABRT, Aborted.
    [Switching to LWP 8]
    0xef554ca8 in __sigprocmask () 
    from /usr/lib/libthread.so.1
    (gdb) where
    #0  0xef554ca8 in __sigprocmask () 
    from /usr/lib/libthread.so.1
    #1  0xef54b9d0 in _resetsig () 
    from /usr/lib/libthread.so.1
    #2  0xef54b18c in _sigon () 
    from /usr/lib/libthread.so.1
    #3  0xef54dec8 in _thrp_kill () 
    from /usr/lib/libthread.so.1
    
    2.
    
    Program received signal SIGSEGV, Segmentation 
    fault.
    [Switching to LWP 7]
    0xef5c693c in _smalloc () from /usr/lib/libc.so.1
    (gdb) where
    #0  0xef5c693c in _smalloc () from /usr/lib/libc.so.1
    #1  0xef5c6980 in malloc () from /usr/lib/libc.so.1
    #2  0xef5bb9c4 in calloc () from /usr/lib/libc.so.1
    
    3.
    
    alloc: invalid block: 96c988: 0 88 ef
    
    
    Program received signal SIGSEGV, Segmentation 
    fault.
    [Switching to LWP 8]
    0x0002bf5c in MoveObjs (fromPtr=0x38a818, 
    toPtr=0x12cc18, nmove=189)
        at ../generic/tclThreadAlloc.c:689
    689     ../generic/tclThreadAlloc.c: No such file or 
    directory.
            in ../generic/tclThreadAlloc.c
    (gdb) where
    #0  0x0002bf5c in MoveObjs (fromPtr=0x38a818, 
    toPtr=0x12cc18, nmove=189)
        at ../generic/tclThreadAlloc.c:689
    #1  0x0002bc50 in TclThreadFreeObj 
    (objPtr=0x38a818)
        at ../generic/tclThreadAlloc.c:600
    #2  0x0001e0e8 in TclFreeObj (objPtr=0x38a818) 
    at ../generic/tclObj.c:699
    
    
    what can cause all of this? 
    is there a path we can go to help in tracing the bug?
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "yahalom"
  9. subsystem changed to: "None"
  10. title changed to: "tcl crash on sun using threads"
  11. type changed to: "Bug"