Overview
| Artifact ID: | cb6a901d469b010eeaaa96bc393067829f773303 |
|---|---|
| Ticket: | 3536840fffffffffffffffffffffffffffffffff
Crash on exit on Fedora 17 |
| User & Date: | julien9330 on 2012-06-22 04:18:01 |
Changes
- icomment:
Our application is a huge C++ application which uses Tcl among other libraries. And it's highly multi-threaded. I tried with Tcl 8.6: I still have crashes, but much less often than with 8.5.11. Here is the backtrace: #0 0x0000000001a15c75 in Tcl_MutexUnlock (mutexPtr=0x0) at /home/julien/Certitude/main_line/tcl8.6b2/unix/tclUnixThrd.c:465 #1 0x00000000019eb336 in UnlockBucket (cachePtr=0x7f622c00ae30, bucket=7) at /home/julien/Certitude/main_line/tcl8.6b2/generic/tclThreadAlloc.c:833 #2 0x00000000019eb4c4 in PutBlocks (cachePtr=0x7f622c00ae30, bucket=7, numMove=3) at /home/julien/Certitude/main_line/tcl8.6b2/generic/tclThreadAlloc.c:882 #3 0x00000000019ea548 in TclFreeAllocCache (arg=0x7f622c00ae30) at /home/julien/Certitude/main_line/tcl8.6b2/generic/tclThreadAlloc.c:264 #4 0x0000000001a16002 in TclpFreeAllocCache (ptr=0x7f622c00ae30) at /home/julien/Certitude/main_line/tcl8.6b2/unix/tclUnixThrd.c:730 #5 0x000000372cc07b12 in __nptl_deallocate_tsd () from /lib64/libpthread.so.0 #6 0x000000372cc07d22 in start_thread () from /lib64/libpthread.so.0 #7 0x000000372c8f199d in clone () from /lib64/libc.so.6 I also have noticed that the crash seems to occur when another thread allocates or frees some memory: (gdb) t 4 [Switching to thread 4 (Thread 0x7f5e0ca03880 (LWP 2341))] #0 0x000000372c87c20a in _int_free () from /lib64/libc.so.6 Or, in another execution: (gdb) t 3 [Switching to thread 3 (Thread 0x7fddc7894880 (LWP 18314))] #0 0x000000372c87cdbb in _int_malloc () from /lib64/libc.so.6 (gdb) bt #0 0x000000372c87cdbb in _int_malloc () from /lib64/libc.so.6 #1 0x000000372c87fcb3 in malloc () from /lib64/libc.so.6 #2 0x000000372f45f3cd in operator new(unsigned long) () from /lib64/libstdc++.so.6 - login: "julien9330"
- mimetype: "text/plain"
- username: "julien9330"