- Status Closed
- Percent Complete
- Task Type Bug Report
- Category
-
Assigned To
Mike Gist - Operating System
- Severity High
- Priority
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#1687 - psupdater crash
When running psupdater several times i have had it crash, here is the bt and full bt to the crash, it crashes each time at the same spot. Since i am not downloading the exectutables i dont know why it is downloading the libs folder.
Patching file libs/libpng12.so.0: Failed!
Attempting to download full version of libs/libpng12.so.0:
0% —- 25% —- 50% —- 75% — 100%
Done!
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb79436c0 (LWP 2848)]
FileUtil::SetPermissions (this=0x806f9a0,
path=0xb790f3f0 "/home/mcdavis/server/planeshift//libs/libpng12.so.0", fs=0x0) at src/common/util/fileutil.cpp:243
243 if(chmod(path, fs→mode) == -1)
(gdb) bt
#0 FileUtil::SetPermissions (this=0x806f9a0,
path=0xb790f3f0 "/home/mcdavis/server/planeshift//libs/libpng12.so.0", fs=0x0) at src/common/util/fileutil.cpp:243
#1 0x0805175e in UpdaterEngine::GeneralUpdate (this=0x806fa30)
at src/pslaunch/updaterengine.cpp:840
#2 0x080582dc in UpdaterEngine::CheckForUpdates (this=0x806fa30)
at src/pslaunch/updaterengine.cpp:248
#3 0x0804a931 in main (argc=-1216480372, argv=0xbfeb22e4)
at src/pslaunch/updater.cpp:95
(gdb) bt full
#0 FileUtil::SetPermissions (this=0x806f9a0,
path=0xb790f3f0 "/home/mcdavis/server/planeshift//libs/libpng12.so.0", fs=0x0) at src/common/util/fileutil.cpp:243
No locals.
#1 0x0805175e in UpdaterEngine::GeneralUpdate (this=0x806fa30)
at src/pslaunch/updaterengine.cpp:840 newFilePath = {<csStringFast<36>> = {<csStringBase> = { _vptr.csStringBase = 0x80656c8, Data = 0x0, Size = 18, MaxSize = 0, GrowBy = 64}, minibuff = "libs/libpng12.so.0\000ions.xml\000ml\000\000ml\000", miniused = 19}, <No data fields>} next = {obj = 0xb4a47dd4} realPath = {<csStringFast<36>> = {<csStringBase> = { _vptr.csStringBase = 0x80656c8, Data = 0x0, Size = 24, MaxSize = 0, GrowBy = 64}, minibuff = "/this/libs/libpng12.so.0\000ions.xml\000\000", miniused = 25}, <No data fields>} isExec = <value optimized out> diff = {<csStringFast<36>> = {<csStringBase> = {
—Type <return> to continue, or q <return> to quit—
_vptr.csStringBase = 0x80656c8, Data = 0x0, Size = 25, MaxSize = 0, GrowBy = 64}, minibuff = "libs/libpng12.so.0.vcdiff\000l.vcdiff\000", miniused = 26}, <No data fields>} oldFilePath = {<csStringFast<36>> = {<csStringBase> = { _vptr.csStringBase = 0x80656c8, Data = 0x0, Size = 22, MaxSize = 0, GrowBy = 64}, minibuff = "libs/libpng12.so.0.old\000\000xml.old\000\000d\000", miniused = 24}, <No data fields>} changednode = {obj = 0xb4a47944} nodeItr = {obj = 0xb49d6a34} newCv = (ClientVersion *) 0x8071858 zip = {<csStringFast<36>> = {<csStringBase> = { _vptr.csStringBase = 0x80656c8, Data = 0x0, Size = 18, MaxSize = 0, GrowBy = 64}, minibuff = "linux32-0.4.01.zip\000\000?????\036?????hZ\220?", miniused = 20}, <No data fields>} deletedrootnode = {obj = 0xb79117fc} value = {<csStringFast<36>> = {<csStringBase> = { _vptr.csStringBase = 0x0, Data = 0x0, Size = 0, MaxSize = 0,
—Type <return> to continue, or q <return> to quit—
GrowBy = 32}, minibuff = "\001\000\001\000\000\000\000\000\000\000\000\000p\221\220s\000\000\000\000\000\037??h\031???J?x\221\220?", miniused = 207}, <No data fields>} index = <value optimized out> md5 = {data = "y+Od\023??c\035M?T\205??\224"} md5sum = {<csStringFast<36>> = {<csStringBase> = { _vptr.csStringBase = 0xb7f13568, Data = 0x0, Size = 32, MaxSize = 0, GrowBy = 64}, minibuff = "792b4f6413b0ba631d4ddd5485fcfa94\000\000\006\b", miniused = 34}, <No data fields>} newrootnode = {obj = 0xb790891c} changedrootnode = {obj = 0xb4a4785c} rootnode = {obj = 0xb790cadc} confignode = {obj = 0xb790cca4}
#2 0x080582dc in UpdaterEngine::CheckForUpdates (this=0x806fa30)
at src/pslaunch/updaterengine.cpp:248 root = {obj = 0xb7908d0c} confignode = {obj = 0xb79097f4}
—Type <return> to continue, or q <return> to quit— #3 0x0804a931 in main (argc=-1216480372, argv=0xbfeb22e4)
at src/pslaunch/updater.cpp:95 updater = (psUpdater *) 0x806b080 engine = (UpdaterEngine *) 0x806fa30
13.06.2008 12:37
Reason for closing:
Additional comments about closing:
i have not been able to duplicate this
so far.
Crash fixed, but I probably won't have time to fix the issue causing those files being updated before we update. I know what the issue is though, so it'll be fixed soon.
It should work now. Rename Update.Execs to Update.Platform in your cfg.