.
D 2004-12-09T17:11:34
J assignee andreas_kupries
J cmimetype text/plain
J comment tcl8.4.7\s(and\scurrent\s8.4\sbranch)\ssegfault\swhen\srunning\non\sLinux\s2.6\skernels\son\smachines\swith\s2\sor\smore\nprocessors.\s\n\nIt\stakes\sseveral\sruns\sto\sreproduce\ssometimes\sand\sgdb\nisn't\svery\shelpful.\n\n(gdb)\srun\s./www/c_interface.tcl\s>c_interface.html\nStarting\sprogram:\n/home/james/scratch/tcl8.4/tcl8.4-8.4.7/unix/tclsh\n./www/c_interface.tcl\s>c_interface.html\n[Thread\sdebugging\susing\slibthread_db\senabled]\n[New\sThread\s1076113536\s(LWP\s14342)]\n[New\sThread\s1084509104\s(LWP\s14343)]\n\nProgram\sreceived\ssignal\sSIGSEGV,\sSegmentation\sfault.\n[Switching\sto\sThread\s1076113536\s(LWP\s14342)]\n0x4000c410\sin\s_dl_fini\s()\sfrom\s/lib/ld-linux.so.2\n(gdb)\sbt\n#0\s\s0x4000c410\sin\s_dl_fini\s()\sfrom\s/lib/ld-linux.so.2\n#1\s\s0x4013490f\sin\sexit\s()\sfrom\s/lib/tls/i686/cmov/libc.so.6\n#2\s\s0x40069b44\sin\sTcl_Exit\s()\sfrom\s/usr/lib/libtcl8.4.so.0\n#3\s\s0x4004a3b5\sin\sTcl_ExitObjCmd\s()\sfrom\n/usr/lib/libtcl8.4.so.0\n#4\s\s0x40044604\sin\sTclEvalObjvInternal\s()\sfrom\n/usr/lib/libtcl8.4.so.0\n#5\s\s0x400451b4\sin\sTcl_EvalEx\s()\sfrom\n/usr/lib/libtcl8.4.so.0\n#6\s\s0x4004563b\sin\sTcl_Eval\s()\sfrom\s/usr/lib/libtcl8.4.so.0\n#7\s\s0x4008eafe\sin\sTcl_Main\s()\sfrom\s/usr/lib/libtcl8.4.so.0\n#8\s\s0x08048733\sin\smain\s(argc=134512916,\sargv=0x8048114)\nat\s../unix/tclAppInit.c:90\n(gdb)\n\nDisabling\sTLS\s(LD_ASSUME_KERNEL=2.4.21)\sseems\sto\s'fix'\sit.\n\nThe\sproblematic\schange\sappears\sto\sbe\sthis:\n\n\s\s\s\s\s\s\s\s*\sunix/tclUnixNotfy.c\s(NotifierThreadProc):\nAccepted\sJoe\n\s\s\s\s\s\s\s\s\s\sMistachkin's\spatch\sfor\s[Tcl\sSF\sBug\s990500],\nproperly\sclosing\sthe\n\s\s\s\s\s\s\s\s\s\snotifier\sthread\swhen\sits\sexits.\n\ncf.\nhttp://sourceforge.net/tracker/?group_id=10894&atid=110894&func=detail&aid=990500\n\nIf\sI\srevert\sthat\spatch,\sI\scan\slonger\sreproduce\sthe\nsegfault,\seven\swith\s10,000\siterations.\n\nSee\shttps://bugzilla.ubuntu.com/show_bug.cgi?id=4141\nfor\sthe\soriginal\sbug\sreport.\n
J foundin obsolete:\s8.4.9
J priority 5\sMedium
J resolution None
J status Open
J submitter doko
J subsystem 49.\sThreading
J title tcl8.4\ssegfaults\srunning\son\slinux-2.6\swith\sSMP\smachines
J type Bug
K 1082283fffffffffffffffffffffffffffffffff
U doko
Z 7362603a9338c17f965f345f5cb7bc13