Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2363 closed defect (duplicate)

Core dump when loading old save game

Reported by: Vincent Cheng Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: zobel@… Patch:

Description

Forwarded from Debian bug tracker #733613.

I'm unsure if this is an already known issue or not, but it looks like 0ad crashes with a core dump if you try to load an old save game:

$ 0ad
Cache: 500 (total: 7797) MiB
TIMER| InitVfs: 60.7736 ms
Sound: AlcInit success, using OpenAL Soft
TIMER| CONFIG_Init: 3.02491 ms
TIMER| InitScripting: 1.89766 ms
ATTENTION: default value of option force_s3tc_enable overridden by environment.
ATTENTION: option value of option force_s3tc_enable ignored.
TIMER| RunHardwareDetection: 22.734 ms
TIMER| write_sys_info: 16.4303 ms
TIMER| InitRenderer: 1.30584 ms
TIMER| ps_console: 683.756 us
TIMER| ps_lang_hotkeys: 712.261 us
TIMER| common/setup.xml: 629.806 us
TIMER| common/styles.xml: 40.704 us
TIMER| common/sprite1.xml: 1.34129 ms
TIMER| common/init.xml: 1.22294 ms
TIMER| common/common_sprites.xml: 1.52435 ms
TIMER| common/common_styles.xml: 223.329 us
TIMER| pregame/sprites.xml: 318.088 us
TIMER| pregame/styles.xml: 34.106 us
TIMER| pregame/mainmenu.xml: 4.4625 ms
TIMER| common/global.xml: 342.21 us
sys_cursor_create: using Xcursor to create 32 x 32 cursor
TIMER| common/setup.xml: 578.357 us
TIMER| common/styles.xml: 31.102 us
TIMER| common/sprite1.xml: 1.23292 ms
TIMER| common/common_sprites.xml: 1.46278 ms
TIMER| common/common_styles.xml: 207.104 us
TIMER| savedgames/load.xml: 1.03251 ms
TIMER| GetSavedGames: 2.92414 ms
ERROR: Failed to load map Battle for the Tiber.pmp: File_OpenFailed
terminate called after throwing an instance of 'PSERROR_Game_World_MapLoadFailed'
  what():  Failed to load map.
Check application log for details.
Aborted

I thought 0ad would instead display a message saying something about save game incompatibility (IIRC from an older version). Not sure if the current behaviour is intended or not.

Attached with this ticket are my log files in ~/.config/0ad/logs (although I don't see any crash logs inside), and the old save game I used to try to reproduce this bug report.

Attachments (2)

0ad_logs.tar.gz (5.3 KB ) - added by Vincent Cheng 10 years ago.
log files from ~/.config/0ad/logs
quicksave-0023.0adsave (761.3 KB ) - added by Vincent Cheng 10 years ago.

Download all attachments as: .zip

Change History (5)

by Vincent Cheng, 10 years ago

Attachment: 0ad_logs.tar.gz added

log files from ~/.config/0ad/logs

by Vincent Cheng, 10 years ago

Attachment: quicksave-0023.0adsave added

comment:1 by sanderd17, 10 years ago

With old, you mean stored with a previous version?

comment:2 by sanderd17, 10 years ago

Resolution: duplicate
Status: newclosed

Oh, yes, apparently you do.

Closing this as a duplicate of #2361

comment:3 by fabio, 10 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.