Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reproducible crash when clicking on LOAD button from initial startup (1.14.7) due to problems with save_index file #4146

Open
dch opened this issue Jul 2, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@dch
Copy link

commented Jul 2, 2019

I've tried fiddling with compress_saves format per #2612 without much luck. However setting compress_saves=none in preferences and removing the save_index file allows wesnoth to start correctly.

PS this is the first "bug report" filed with my kids, they are very excited to see how Open Source works when it relates to Useful Software Like Games :D many thanks.

> wesnoth --debug
Battle for Wesnoth v1.14.7
Started on Tue Jul  2 11:46:10 2019

Data directory:               /usr/local/share/wesnoth
User configuration directory: /home/USER/.config/wesnoth
User data directory:          /usr/home/USER/.local/share/wesnoth/1.14
Cache directory:              /home/USER/.cache/wesnoth

Setting mode to 2560x1440
Checking lua scripts... ok
Caught general 'N5boost10wrapexceptINS_9iostreams10gzip_errorEEE' exception:
gzip error: unspecified iostream_category errordch@wintermute ~> cd ~/.local/share/wesnoth/1.14/
dch@wintermute ~/.l/s/w/1.14> l
total 165
drwxr-xr-x  3 dch  dch       3B Jun 29 11:49 data/
drwxr-xr-x  4 dch  dch       4B Jun 29 11:49 editor/
drwxr-xr-x  2 dch  dch       2B Jun 29 11:49 persist/
-rw-r--r--  1 dch  dch     635K Jul  1 13:48 save_index
drwxr-x---  2 dch  wheel    59B Jul  1 13:48 saves/

dch@wintermute ~/.l/s/w/1.14> pkg info wesnoth
wesnoth-1.14.7,1
Name           : wesnoth
Version        : 1.14.7,1
Installed on   : Sat Jun 29 11:46:03 2019 UTC
Origin         : games/wesnoth
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : games
Licenses       : GPLv3, GPLv2
Maintainer     : wen@FreeBSD.org
WWW            : http://www.wesnoth.org/
Comment        : Fantasy turn-based strategy game
Options        :
	CAMPAIGN       : on
	DOCS           : on
	FRIBIDI        : on
	NLS            : on
	NOTIFY         : on
	SERVER         : on
	TEST           : off
Shared Libs required:
	libboost_random.so.1.70.0
	libpangocairo-1.0.so.0
	libSDL2_ttf-2.0.so.0
	libXext.so.6
	libhistory.so.8
	libpango-1.0.so.0
	libfreetype.so.6
	libfribidi.so.0
	libSDL2-2.0.so.0
	libboost_thread.so.1.70.0
	libcairo.so.2
	libICE.so.6
	libSM.so.6
	libboost_locale.so.1.70.0
	libX11.so.6
	libglib-2.0.so.0
	libboost_regex.so.1.70.0
	libgobject-2.0.so.0
	libboost_iostreams.so.1.70.0
	libboost_filesystem.so.1.70.0
	libdbus-1.so.3
	libboost_system.so.1.70.0
	libSDL2_image-2.0.so.0
	libintl.so.8
	libfontconfig.so.1
	libvorbisfile.so.3
	libboost_program_options.so.1.70.0
	libSDL2_mixer-2.0.so.0
Annotations    :
	FreeBSD_version: 1300033
	cpe            : cpe:2.3:a:wesnoth:battle_for_wesnoth:1.14.7:::::freebsd13:x64
	repo_type      : binary
	repository     : FreeBSD
Flat size      : 529MiB
Description    :
Battle for Wesnoth is a fantasy turn-based strategy game. Battle for control of
villages, using variety of units which have advantages and disadvantages in
different types of terrains and against different types of attacks. Units gain
experience and advance levels, and are carried over from one scenario to the
next campaign.

WWW: http://www.wesnoth.org/
dch@wintermute ~/.l/s/w/1.14> uname -a
FreeBSD wintermute.skunkwerks.at 13.0-CURRENT FreeBSD 13.0-CURRENT r349408+491541220bca(master) GENERIC  amd64
# preferences
ally_sighted_interrupts=yes
animate_map=yes
animate_water=yes
auto_save_max=10
chat_lines=6
chat_timestamp=no
color_cursors=yes
compress_saves="none"
delete_saves=yes
disable_auto_moves=no
draw_delay=-1
enable_planning_mode_on_start=no
encountered_terrain_list="Aa^Fma, Aa^Fpa, Aa^Vea, Aa, Ai, At, Ce^Es, Ce, Ch, Chr, Chw, Coa, Ct, Cud, Cv, Ds^Es, Ds, Dt, Ft, Gd^Es, Gd^Fms, Gd^Fp, Gd^Vc, Gd^Vl, Gd^Vo, Gd, Gg^Efm, Gg^Fet, Gg^Fp, Gg^Vct, Gg^Ve, Gg^Vh, Gg, Gll^Efm, Gll^Em, Gll^Es, Gll^Fdw, Gll^Fms, Gll^Fmw, Gll^Fp, Gll^Vc, Gll^Vl, Gll, Gs^Edb, Gs^Eff, Gs^Efm, Gs^Em, Gs^Es, Gs^Fds, Gs^Fms, Gs^Fp, Gs^Vc, Gs^Ve, Gs^Vh, Gs^Vhcr, Gs^Vl, Gs^Vov, Gs^Wm, Gs, Gt, Ha^Vca, Ha^Vhha, Ha, Hd, Hh^Fds, Hh^Fms, Hh^Fp, Hh^Vhh, Hh, Hhd^Vc, Hhd^Vhh, Hhd, Ht, Ke, Kh, Khr, Koa, Kud, Kv, Md, Mm^Vc, Mm^Vhh, Mm^Xm, Mm, Ms^Xm, Ms, Mt, Re^Edb, Re^Eff, Re^Em, Re^Es, Re^Fms, Re^Fmw, Re^Fp, Re^Gvs, Re^Vct, Re^Vh, Re^Vhhr, Re, Rp, Rr, Ss^Vhs, Ss, St, Vt, Wdt, Wo^Bw/, Wo^Bw\, Wo^Bw|, Wo, Wst, Ww^Bsb|, Ww^Bw/, Ww^Bw\, Ww^Bw|, Ww^Ewf, Ww, Wwf^Es, Wwf, Wwg^Ewf, Wwg, Xt"
encountered_units="Ancient Wose,Arch Mage,Bowman,Dark Adept,Dark Sorcerer,Drake Burner,Drake Clasher,Drake Fighter,Drake Flameheart,Drake Glider,Dwarvish Annalist,Dwarvish Dragonguard,Dwarvish Explorer,Dwarvish Fighter,Dwarvish Guardsman,Dwarvish Lord,Dwarvish Masked Fighter,Dwarvish Masked Guardsman,Dwarvish Masked Steelclad,Dwarvish Masked Thunderer,Dwarvish Pathfinder,Dwarvish Scout,Dwarvish Steelclad,Dwarvish Thunderer,Dwarvish Thunderguard,Dwarvish Ulfserker,Dwarvish Witness,Elder Wose,Elvish Archer,Elvish Enchantress,Elvish Fighter,Elvish Hero,Elvish High Lord,Elvish Lord,Elvish Ranger,Elvish Rider,Elvish Scout,Elvish Sorceress,Footpad,Ghoul,Goblin Pillager,Goblin Spearman,Great Mage,Gryphon,Gryphon Master,Horseman,Knight,Mage,Ogre,Orcish Archer,Orcish Crossbowman,Orcish Grunt,Orcish Warlord,Orcish Warrior,Peasant,Red Mage,Spearman,Thug,Troll,Vampire Bat,Walking Corpse,White Mage,Wolf,Wolf Rider,Wose"
floating_labels=yes
grid=yes
hide_whiteboard=no
idle_anim=yes
idle_anim_rate=0
lobby_whisper_friends_only=no
remember_password=no
save_replays=yes
scroll=50
scroll_threshold=10
show_haloes=yes
show_side_colors=yes
skip_ai_moves=no
sp_modifications=""
stop_music_in_background=yes
turbo=yes
turbo_speed=2
turn_dialog=no
unit_standing_animations=yes
xresolution=2560
yresolution=1440
[completed_campaigns]
[/completed_campaigns]
[history]
[/history]
@jostephd

This comment has been minimized.

Copy link
Member

commented Jul 2, 2019

How can I reproduce the crash? What's the value of compress_saves that reproduces the crash and what's the output of the file command on the newest file in the saves/ directory?

Battle for Wesnoth is a fantasy turn-based strategy game. Battle for control of
villages, using variety of units which have advantages and disadvantages in
different types of terrains and against different types of attacks. Units gain
experience and advance levels, and are carried over from one scenario to the
next campaign.

There's a typo here: "to the next campaign" should be "to the next scenario in a campaign". Could you report this to the distro please? I'm assuming it's a distro-specific issue because the text is correct in debian.

@Vultraz

This comment has been minimized.

Copy link
Member

commented Jul 12, 2019

Indeed, could you provide more instructions on reproducing this crash? I tried launching the game with the given set of preferences and there was no crash upon clicking Load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.