D 2010-02-28T21:27:04 J assignee kennykb J cmimetype text/plain J comment Somewhat\sobscure,\sbut\stclLoad.c\skeeps\strack\sof\sloaded\slibraries\sby\spath/filename\sin\sorder\sto\skeep\sfrom\sloading\sthe\ssame\slibrary\stwice.\sHowever,\sit\sdoesn't\snormalize\sthe\spath\sbefore\sdoing\sso,\sso\sit's\spossible\sto\sload\sthe\ssame\slibrary\stwice\sin\sthe\ssame\sinterpreter\susing\sdifferent\spaths,\swhich\scan\scause\sunexpected\sbehavior\s(such\sas\scrashing)\sdepending\son\swhat\sthe\slibrary\sdoes\son\sinitialization\sand\scleanup\swhen\sit\sexpects\sthat\sto\sonly\shappen\sonce\sin\san\sinterpreter\s(e.g.\sdue\sto\sdouble\scleanup\sof\sthread-specific\sdata):\n\n%\sload\s./libfoo.so\n%\sinfo\sloaded\n{./libfoo.so\sFoo}\n%\sload\s./libfoo.so\n%\sinfo\sloaded\n{./libfoo.so\sFoo}\n%\sexit\n(no\scrash)\n\n%\sload\s./libfoo.so\n%\sinfo\sloaded\n{./libfoo.so\sFoo}\n%\scd\s..\n%\sload\sfoo/libfoo.so\n%\sinfo\sloaded\n{foo/libfoo.so\sFoo}\s{./libfoo.so\sFoo}\n%\sexit\nSegmentation\sfault\s(core\sdumped)\n\nObserved\swith\s8.4\sbranch.\sHaven't\stested\s8.5\sor\s8.6,\sbut\sI\sdon't\ssee\sany\sattempts\sto\snormalize\sin\stclLoad.c\sin\sMAIN\seither. J foundin None J is_private 0 J priority 5\sMedium J resolution None J status Open J submitter muonics J subsystem 40.\sDynamic\sLoading J title loaded\slibrary\spaths\sshould\sbe\snormalized J type Bug K 2960862fffffffffffffffffffffffffffffffff U muonics Z 4062e2bb54bd4c713d4985dea3f308f6