MantisBT - VCMI
View Issue Details
0000770VCMIOtherpublic2011-07-22 22:262011-07-23 18:59
lssjbrolli 
Ivan 
normalmajoralways
closedduplicate 
linuxarchlinux
 
0.86 
0000770: loading a saved game failes
after i load a saved game a couple of time it crashes with:


Cannot open dynamic library (/usr/lib/vcmi/AI/libliblibGeniusAI.so.so.so). Throwing...
terminate called after throwing an instance of 'std::string*'
Aborted

on archlinux with r2259

on windows with release 0.85 i get:

see print screen :) too lazy to type
play any sod maps(tried on that, i'll try roe and ab and report) and load the game at diferent days
No tags attached.
duplicate of 0000762closed Ivan Crash at opening map with AI 
jpg loading in win 0.85.JPG (208,921) 2011-07-22 22:26
https://bugs.vcmi.eu/file_download.php?file_id=747&type=bug
jpg

? Autosave_2.vcgm1 (104) 2011-07-22 22:27
https://bugs.vcmi.eu/file_download.php?file_id=748&type=bug
? Autosave_2.vlgm1 (577,412) 2011-07-22 22:28
https://bugs.vcmi.eu/file_download.php?file_id=749&type=bug
? Autosave_2.vsgm1 (53) 2011-07-22 22:28
https://bugs.vcmi.eu/file_download.php?file_id=750&type=bug
txt server_log.txt (29,247) 2011-07-23 00:28
https://bugs.vcmi.eu/file_download.php?file_id=751&type=bug
Issue History
2011-07-22 22:26lssjbrolliNew Issue
2011-07-22 22:26lssjbrolliFile Added: loading in win 0.85.JPG
2011-07-22 22:27lssjbrolliFile Added: Autosave_2.vcgm1
2011-07-22 22:28lssjbrolliFile Added: Autosave_2.vlgm1
2011-07-22 22:28lssjbrolliFile Added: Autosave_2.vsgm1
2011-07-22 22:29lssjbrolliNote Added: 0001857
2011-07-22 22:45lssjbrolliNote Edited: 0001857bug_revision_view_page.php?bugnote_id=1857#r1358
2011-07-22 22:49lssjbrolliNote Added: 0001858
2011-07-22 23:24IvanRelationship addedduplicate of 0000762
2011-07-22 23:24lssjbrolliNote Added: 0001859
2011-07-22 23:39IvanNote Added: 0001861
2011-07-23 00:13lssjbrolliNote Added: 0001862
2011-07-23 00:27lssjbrolliNote Added: 0001863
2011-07-23 00:28lssjbrolliFile Added: server_log.txt
2011-07-23 00:28lssjbrolliNote Edited: 0001862bug_revision_view_page.php?bugnote_id=1862#r1360
2011-07-23 00:55lssjbrolliNote Edited: 0001863bug_revision_view_page.php?bugnote_id=1863#r1362
2011-07-23 00:55lssjbrolliNote Edited: 0001863bug_revision_view_page.php?bugnote_id=1863#r1363
2011-07-23 12:00IvanNote Added: 0001864
2011-07-23 18:51lssjbrolliNote Added: 0001865
2011-07-23 18:59IvanNote Added: 0001866
2011-07-23 18:59IvanStatusnew => closed
2011-07-23 18:59IvanAssigned To => Ivan
2011-07-23 18:59IvanResolutionopen => duplicate
2011-07-23 18:59IvanFixed in Version => 0.89

Notes
(0001857)
lssjbrolli   
2011-07-22 22:29   
(edited on: 2011-07-22 22:45)
if you need anything else, just ask :)
it happens with roe maps too

(0001858)
lssjbrolli   
2011-07-22 22:49   
seems duplicate of 762, i'll try with a new build
(0001859)
lssjbrolli   
2011-07-22 23:24   
same problem with r2264
(0001861)
Ivan   
2011-07-22 23:39   
Should be fixed now - try rev 2265
(0001862)
lssjbrolli   
2011-07-23 00:13   
(edited on: 2011-07-23 00:28)
with old save:

Sent info to server: 10
Opening libGeniusAI.so
Cannot open dynamic library (/usr/lib/vcmi/AI/liblibGeniusAI.so.so). Throwing...
terminate called after throwing an instance of 'std::string*'
Aborted

i'll try with a new game to see if crashes

(0001863)
lssjbrolli   
2011-07-23 00:27   
(edited on: 2011-07-23 00:55)
it crashes with this error and after this do not want to load the last save

battleGetStacks called when there is no battle!
sh: line 1: 14480 Segmentation fault /usr/bin/vcmiserver 3030 > server_log.txt
Lost connection to server, ending listening thread!
End of file
Something wrong, lost connection while game is still ongoing...
Server finished
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what(): End of file
Aborted



i think it's a save issue because game crashes when it autosaves for end day so maybe the save is corrupt and that's why we have problems with loading, but this is way over my skill set so just assuming.

(0001864)
Ivan   
2011-07-23 12:00   
My fix won't fix older saves.

Does this happens with new saves? Steps to reproduce?
(0001865)
lssjbrolli   
2011-07-23 18:51   
your fix fixes:
Cannot open dynamic library (/usr/lib/vcmi/AI/liblibGeniusAI.so.so). Throwing...
 so maybe you should close this bug and i will open a new one about saving after i do some more tests.
(0001866)
Ivan   
2011-07-23 18:59   
Ok. Closing this one as dublicate.