alexbatalov / fallout2-ce

Fallout 2 for modern operating systems
Other
1.79k stars 124 forks source link

(Linux) Error during execution: programReturnStackPushValue: Stack overflow. #339

Open masters2k1 opened 10 months ago

masters2k1 commented 10 months ago

Hi first of all let say thank you for this glorious software project!

Actually with a patched critter-file to re enable the fun for the game in german version closely to the end the game crashes once I want to go back to san francisco coming from Dr. Wong. I am not aware if this is related due to wrong configuration as I was not able to make the music work. Further a Segfault always arises after Marcus sould be able to join the team, but once I talk to him again, it crashes.

Would be really nice if someone could provide some help to find out what's going wrong there. I will add the log from CMDLINE may be it helps.

INFO: Fade time is 985 Fade steps are 42 INFO: Chi squared is 30.872500, P = 4000.000000 at 0.05 INFO: Sequence is random, 95% confidence. INFO: Reading SNDLIST.LST Sound FX Count: 1361 INFO: >gsound_init
INFO: >initMovie
INFO: >gmovie_init
INFO: >moviefx_init INFO: >art_init
INFO: >tile_init
INFO: >obj_init
INFO: >cycle_init
INFO: >intface_init
INFO: >iso_init INFO: >gmouse_init
INFO: >proto_init
INFO: >anim_init
INFO: >scr_init INFO: >game_load_info
INFO: >scr_game_init
INFO: >wmWorldMap_init
INFO: >CharEditInit INFO: >pip_init
INFO: >InitLoadSave INFO: >gdialog_init INFO: >combat_init
INFO: >automap_init INFO: >message_init INFO: >message_load INFO: >scr_disable
INFO: >init_options_menu INFO: >endgameDeathEndingInit INFO: Playing movie: iplogo.mve INFO: Direct INFO: Playing at (0, 0)
INFO: not scaled INFO: Movie aborted INFO: Frames 9, dropped 0 INFO: Playing movie: intro.mve INFO: Opening subtitle file text\german\cuts\intro.SVE INFO: Read 17 subtitles INFO: Direct INFO: Playing at (0, 0)
INFO: not scaled INFO: Movie aborted INFO: Frames 9, dropped 0 INFO: Playing movie: credits.mve INFO: Opening subtitle file text\german\cuts\credits.SVE INFO: subtitle: couldn't parse INFO: Read 35 subtitles INFO: Direct INFO: Playing at (0, 0)
INFO: not scaled INFO: Movie aborted INFO: Frames 29, dropped 0 INFO: Filename SAVEGAME\SLOT01\SAVE.DAT INFO: Filename SAVEGAME\SLOT01\SAVE.DAT INFO: Filename SAVEGAME\SLOT01\SAVE.DAT INFO: LOADSAVE: Load name: fight2 INFO: LOADSAVE: Load file header size read: 30051 bytes. INFO: Scripts: [Game Reset] INFO: LOADSAVE: Load function #0 data size read: 0 bytes. INFO: LOADSAVE: Load function #1 data size read: 4 bytes. INFO: LOADSAVE: Load function #2 data size read: 2784 bytes. INFO: LOADSAVE: in SlotMap2Game INFO: MAP: Loading SAVED map. INFO: INFO: [Party Member 0]: None INFO: Gsound: playing ambient map sfx: blank INFO: LOADSAVE: Load function #3 data size read: 825 bytes. INFO: LOADSAVE: Load function #4 data size read: 2784 bytes. INFO: LOADSAVE: Load function #5 data size read: 5204 bytes. INFO: LOADSAVE: Load function #6 data size read: 376 bytes. INFO: LOADSAVE: Load function #7 data size read: 76 bytes. INFO: LOADSAVE: Load function #8 data size read: 16 bytes. INFO: LOADSAVE: Load function #9 data size read: 0 bytes. INFO: LOADSAVE: Load function #10 data size read: 12376 bytes. INFO: LOADSAVE: Load function #11 data size read: 4 bytes. INFO: LOADSAVE: Load function #12 data size read: 3240 bytes. INFO: LOADSAVE: Load function #13 data size read: 20 bytes. INFO: LOADSAVE: Load function #14 data size read: 0 bytes. INFO: LOADSAVE: Load function #15 data size read: 8 bytes. INFO: LOADSAVE: Load function #16 data size read: 4 bytes. INFO: LOADSAVE: Load function #17 data size read: 80 bytes. INFO: LOADSAVE: Load function #18 data size read: 5 bytes. INFO: LOADSAVE: Load function #19 data size read: 9516 bytes. INFO: LOADSAVE: Load function #20 data size read: 0 bytes. INFO: LOADSAVE: Load function #21 data size read: 17 bytes. INFO: LOADSAVE: Load function #22 data size read: 216 bytes. INFO:

[Party Members]: INFO: PM: Cassidy INFO: PM: Hirn-Bot INFO: PM: Vic INFO: PM: Bess INFO: PM: Kofferraum INFO: Total Critter Count: 69

INFO: LOADSAVE: Load function #23 data size read: 328 bytes. INFO: LOADSAVE: Load function #24 data size read: 3128 bytes. INFO: LOADSAVE: Load function #25 data size read: 16 bytes. INFO: WorldMap Error: Couldn't start map Music! INFO: LOADSAVE: Load function #26 data size read: 0 bytes. INFO: LOADSAVE: Total load data read: 71078 bytes. INFO: Filename SAVEGAME\SLOT01\SAVE.DAT INFO: Filename SAVEGAME\SLOT03\SAVE.DAT INFO: Filename SAVEGAME\SLOT03\SAVE.DAT INFO: Filename SAVEGAME\SLOT03\SAVE.DAT INFO: LOADSAVE: Backing up save slot files.. INFO: LOADSAVE: 70 map files backed up. INFO: LOADSAVE: Save name: SAVEGAME\SLOT03\SAVE.DAT INFO: LOADSAVE: Save function #0 data size written: 0 bytes. INFO: LOADSAVE: Save function #1 data size written: 4 bytes. INFO: LOADSAVE: Save function #2 data size written: 2784 bytes. INFO: Saving ".SAV" map. INFO: SFCHINA.SAV saved. INFO: AUTOMAP: Saving AutoMap DB index 137, level 0 INFO: LOADSAVE: Save function #3 data size written: 825 bytes. INFO: LOADSAVE: Save function #4 data size written: 2784 bytes. INFO: LOADSAVE: Save function #5 data size written: 4616 bytes. INFO: LOADSAVE: Save function #6 data size written: 376 bytes. INFO: LOADSAVE: Save function #7 data size written: 76 bytes. INFO: LOADSAVE: Save function #8 data size written: 16 bytes. INFO: LOADSAVE: Save function #9 data size written: 0 bytes. INFO: LOADSAVE: Save function #10 data size written: 12376 bytes. INFO: LOADSAVE: Save function #11 data size written: 4 bytes. INFO: LOADSAVE: Save function #12 data size written: 3240 bytes. INFO: LOADSAVE: Save function #13 data size written: 20 bytes. INFO: LOADSAVE: Save function #14 data size written: 0 bytes. INFO: LOADSAVE: Save function #15 data size written: 8 bytes. INFO: LOADSAVE: Save function #16 data size written: 4 bytes. INFO: LOADSAVE: Save function #17 data size written: 80 bytes. INFO: LOADSAVE: Save function #18 data size written: 5 bytes. INFO: LOADSAVE: Save function #19 data size written: 9516 bytes. INFO: LOADSAVE: Save function #20 data size written: 0 bytes. INFO: LOADSAVE: Save function #21 data size written: 17 bytes. INFO: LOADSAVE: Save function #22 data size written: 216 bytes. INFO: LOADSAVE: Save function #23 data size written: 328 bytes. INFO: LOADSAVE: Save function #24 data size written: 3672 bytes. INFO: LOADSAVE: Save function #25 data size written: 16 bytes. INFO: LOADSAVE: Save function #26 data size written: 0 bytes. INFO: LOADSAVE: Total save data written: 71034 bytes. INFO: MAP: Loading SAVED map. INFO: Saving ".SAV" map. INFO: SFCHINA.SAV saved. INFO: AUTOMAP: Saving AutoMap DB index 137, level 0 INFO: INFO: [Party Member 0]: Tarzan INFO: [Party Member 1]: Kofferraum INFO: [Party Member 2]: Bess INFO: [Party Member 3]: Cassidy INFO: [Party Member 4]: Vic INFO: [Party Member 5]: Hirn-Bot INFO:

[Party Members]: INFO: PM: Vic INFO: PM: Cassidy INFO: PM: Hirn-Bot INFO: PM: Bess INFO: PM: Kofferraum INFO: Total Critter Count: 24

INFO: WorldMap Error: Couldn't start map Music! INFO: WorldMap Error: Couldn't start map Music! INFO: MAP: Loading SAVED map. INFO: Saving ".SAV" map. INFO: SFCHINA2.SAV saved. INFO: AUTOMAP: Saving AutoMap DB index 148, level 0 INFO: Error during execution: programReturnStackPushValue: Stack overflow. INFO: No current script Speicherzugriffsfehler (Speicherabzug geschrieben)

masters2k1 commented 10 months ago

Hi as fallout fanboy and developer I decided to find out what goes wrong. So I cloned the repo fixed a missing include of SDL.h recompiled and started the executable. BAM, sound works no crash at the same location. A lot of things I were fearful of given a look seemed to be fixed in the repo.

So again I have to highlight that it looks to me that very good work was done. Even compiling was no pain. So my point of view it would be fair to set the issue to obsolete. But I would also suggest to update the official released version to V1.3 as it seems like that a bunch of issues were fixed from the past to today?

Anyway thanks a lot for everything