.
D 2012-06-22T04:18:01
J icomment Our\sapplication\sis\sa\shuge\sC++\sapplication\swhich\suses\sTcl\samong\sother\slibraries.\sAnd\sit's\shighly\smulti-threaded.\n\nI\stried\swith\sTcl\s8.6:\sI\sstill\shave\scrashes,\sbut\smuch\sless\soften\sthan\swith\s8.5.11.\nHere\sis\sthe\sbacktrace:\n#0\s\s0x0000000001a15c75\sin\sTcl_MutexUnlock\s(mutexPtr=0x0)\sat\s/home/julien/Certitude/main_line/tcl8.6b2/unix/tclUnixThrd.c:465\n#1\s\s0x00000000019eb336\sin\sUnlockBucket\s(cachePtr=0x7f622c00ae30,\sbucket=7)\n\s\s\s\sat\s/home/julien/Certitude/main_line/tcl8.6b2/generic/tclThreadAlloc.c:833\n#2\s\s0x00000000019eb4c4\sin\sPutBlocks\s(cachePtr=0x7f622c00ae30,\sbucket=7,\snumMove=3)\n\s\s\s\sat\s/home/julien/Certitude/main_line/tcl8.6b2/generic/tclThreadAlloc.c:882\n#3\s\s0x00000000019ea548\sin\sTclFreeAllocCache\s(arg=0x7f622c00ae30)\sat\s/home/julien/Certitude/main_line/tcl8.6b2/generic/tclThreadAlloc.c:264\n#4\s\s0x0000000001a16002\sin\sTclpFreeAllocCache\s(ptr=0x7f622c00ae30)\sat\s/home/julien/Certitude/main_line/tcl8.6b2/unix/tclUnixThrd.c:730\n#5\s\s0x000000372cc07b12\sin\s__nptl_deallocate_tsd\s()\sfrom\s/lib64/libpthread.so.0\n#6\s\s0x000000372cc07d22\sin\sstart_thread\s()\sfrom\s/lib64/libpthread.so.0\n#7\s\s0x000000372c8f199d\sin\sclone\s()\sfrom\s/lib64/libc.so.6\n\nI\salso\shave\snoticed\sthat\sthe\scrash\sseems\sto\soccur\swhen\sanother\sthread\sallocates\sor\sfrees\ssome\smemory:\n(gdb)\st\s4\n[Switching\sto\sthread\s4\s(Thread\s0x7f5e0ca03880\s(LWP\s2341))]\n#0\s\s0x000000372c87c20a\sin\s_int_free\s()\sfrom\s/lib64/libc.so.6\n\nOr,\sin\sanother\sexecution:\n(gdb)\st\s3\n[Switching\sto\sthread\s3\s(Thread\s0x7fddc7894880\s(LWP\s18314))]\n#0\s\s0x000000372c87cdbb\sin\s_int_malloc\s()\sfrom\s/lib64/libc.so.6\n(gdb)\sbt\n#0\s\s0x000000372c87cdbb\sin\s_int_malloc\s()\sfrom\s/lib64/libc.so.6\n#1\s\s0x000000372c87fcb3\sin\smalloc\s()\sfrom\s/lib64/libc.so.6\n#2\s\s0x000000372f45f3cd\sin\soperator\snew(unsigned\slong)\s()\sfrom\s/lib64/libstdc++.so.6\n\n
J login julien9330
J mimetype text/plain
J username julien9330
K 3536840fffffffffffffffffffffffffffffffff
U julien9330
Z 2aca16dd8b7dded1485deb3f2cb6ad3e