.
D 2006-06-09T21:09:08
J assignee kennykb
J cmimetype text/plain
J comment There\sis\sa\slong-standing\sbug\sin\stclLoadDl.c\swhich\sis\nexacerbated\sby\srecent\sSolaris\slinker\spatches.\s\nBasically,\safter\sa\sfailed\sdlopen(),\syou\smust\scall\ndlerror()\sright\saway,\sbefore\sany\sfurther\sdynamic\nlinking\sactivity.\s\sOtherwise,\syou\srisk\sthe\sdlerror\nstring\sbeing\scorrupted.\s\sIt\sdoesn't\sseem\sto\sbe\sas\nsimple\sas\sdlerror()\sreturning\sNULL,\sbecause\sthat\nwouldn't\scause\sthe\scrash.\n\nSYMPTOM\sOF\sCRASH\n\n$\s./tclsh\n%\sload\sxxx\nSegmentation\sFault\s(core\sdumped)\npuccini:~/build/rel50/src/vendor/tcl/tcl8.4.2/unix\s$\npstack\score\ncore\s'core'\sof\s26650:\s\s\s./tclsh\n\sff0331b4\sstrlen\s\s\s(ffbee770,\s14,\s4,\sffbee860,\s1,\s10)\s+\s1c\n\sff30ec98\sTcl_AppendResult\s(22c08,\sff357dd8,\s1,\nff357df0,\sff3df8f8,\s0)\s+\s1c\n\sff3268fc\sTclpDlopen\s(22c08,\s33458,\sffbeea34,\sffbeed9c,\nff326830,\s42048)\s+\scc\n\sff2f50c0\sTcl_FSLoadFile\s(22c08,\s33458,\sff34de08,\nffbeeb2c,\sffbeea3c,\sffbeea34)\s+\s54\n\sff2fb234\sTcl_LoadObjCmd\s(22c08,\s0,\s2,\s260d4,\s0,\nff345a9c)\s+\s530\n\sff2a9868\sTclEvalObjvInternal\s(24748,\s2,\s0,\s0,\s0,\s1)\s+\s188\n\sff2d5eb0\sTclExecuteByteCode\s(ff34df24,\sff34df2c,\n2d014,\s0,\s260d4,\s1)\s+\s688\n\sff2d54e8\sTclCompEvalObj\s(0,\s163,\sff345a9c,\s2cfa8,\n2c990,\s22c08)\s+\s184\n\sff2aa848\sTcl_EvalObjEx\s(0,\s0,\s20000,\sff345a9c,\s22c08,\n2c990)\s+\s60\n\sff2e5010\sTcl_RecordAndEvalObj\s(20000,\s2ca98,\s20000,\n22c08,\s2c990,\sff345a9c)\s+\sb8\n\sff2fbdb4\sTcl_Main\s(1,\s22c08,\s1082c,\sffbef334,\s222b0,\n2)\s+\s4b0\n\s0001080c\smain\s\s\s\s\s(1,\sffbef334,\sffbef33c,\s20800,\s0,\s0)\n+\s24\n\s000107c0\s_start\s\s\s(0,\s0,\s0,\s0,\s0,\s0)\s+\sf8\n\nEXPECTED\sBEHAVIOR\n\n$\s./tclsh\n%\sload\sxxx\ncouldn't\sload\sfile\s"xxx":\sld.so.1:\stclsh:\sfatal:\sxxx:\nopen\sfailed:\sNo\ssuch\sfile\sor\sdirectory\n\nSYSTEM\sPATCH\sINFORMATION\n\nLinker\spatch\s109147-40\s(latest\sas\sof\sthis\swriting)\nexhibits\sthe\sproblem.\s\sLinker\spatch\s109147-34\sdoes\snot.\n\sI\sam\sunsure\sof\sother\sversions.\s\sIn\sorder\sto\ssee\sthe\nproblem\syou\shave\sto\scompile\stclLoadDl.c\soptimized\swith\nthe\sSun\scompiler.\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter kenstir
J subsystem
J title TclpDlopen\slatent\sbug\snow\scrashes\safter\sSunOS\slinker\spatch
J type Bug
K 1503729fffffffffffffffffffffffffffffffff
U kenstir
Z e29568863682d98495c484089f2278cf