<i>tclsh85sg crashes in BaseThreadInitThunk</i> status still Open with 4 other changes
by
.
D 2011-12-15T20:20:20
J icomment Unfort.\sthe\sabove\sdescribed\scrash\sI\scan't\sreproduce\sany\smore\s...\sdon't\sknow\show\sI\sdid\sthat!?\n\nBut\sI've\sgot\ssome\sother\sgood\snews:\sI\sthink\sI\sfinally\sfound\sthe\sproblem:\nI\swas\susing\spgtclng\swith\sthe\sfollowing\spackage\sscript\s(which\scomes\swith\sthe\ssource\scode):\n\nproc\sPgtcl__load_with_path\s{dir}\s{\n\s\sglobal\senv\n\s\sset\ssave_path\s$env(PATH)\n\s\sappend\senv(PATH)\s";$dir"\n\s\sload\s[file\sjoin\s$dir\slibpgtcl.dll]\n\s\sset\senv(PATH)\s$save_path\n}\npackage\sifneeded\sPgtcl\s2.0.0\s[list\sPgtcl__load_with_path\s$dir]\n\nIn\sorder\sto\sget\sit\sworking\sI\scopied\sall\sthe\sneeded\sdlls\sinto\sthe\spgtclng\sfolder\s(i.e.\slibpq.dll,\smsvcr71.dll,\s...\s=\sall\sdlls\sfrom\sthe\spostgres\sbin\sdirectory).\nNow\sloading\sthe\spgtcl\spackage\sgoes\sfine,\sbut\sexiting\sgave\sme\sthe\serror\s0x3=ERROR_PATH_NOT_FOUND\s(http://msdn.microsoft.com/en-us/library/windows/desktop/ms681382%28v=vs.85%29.aspx)\n\nCopying\sall\sthe\sdlls\sinto\sthe\stcl\sbin\sdirectory\sI\sdidn't\shave\sthe\sproblem.\sSo\sfor\sme\sit\slooks\slike\sI\swas\sfooled\sby\sthe\swindows\sdll\slate\sbinding\sfeature.(http://blogs.msdn.com/b/davidklinems/archive/2006/11/27/what-is-late-binding.aspx)\n\nFor\sthe\smoment\sI\sassume\sthat\sall\sthis\swas\scausing\smy\spostgres\sthread\sto\scrash\s(because\sit\sdidn't\sfind\sa\smissing\sdll\swhile\sexiting).\sAlso\sit's\spossible\s(or\sat\sleast\sI\shope\sso)\sthat\sthis\swas\scausing\smy\smore\sfatal\ssegmentation\sfaults\s...\sbut\stime\swill\stell.\n\nCurrently\sI'am\strying\sto\sbuild\spostgres\sfrom\sscratch\sto\sget\sstatic\slibraries\n\nthx\n\n
J login tombert
J mimetype text/plain
J username tombert
K 3459659fffffffffffffffffffffffffffffffff
U tombert
Z b3d93791a4c2f40526e296a02f82d234