Bug#722168: Segfaults on startup
Enrico Zini
enrico at debian.org
Sun Sep 8 17:46:12 UTC 2013
Package: wesnoth
Version: 1:1.10.6-2
Severity: normal
Hello,
wesnoth segfaults on startup here:
$ gdb --args wesnoth
[...]
Reading symbols from /usr/games/wesnoth-1.10...Reading symbols from /usr/lib/debug/usr/games/wesnoth-1.10...(no debugging symbols found)...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/games/wesnoth-1.10
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 8559 is executing new program: /usr/games/wesnoth-1.10
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe9d5b700 (LWP 8563)]
Battle for Wesnoth v1.10.6
Started on Sun Sep 8 19:38:17 2013
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 16: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 16: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 16: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 16: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 16: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 28: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 28: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 28: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 28: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/41-arphic-uming.conf", line 28: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/64-arphic-uming.conf", line 8: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/64-arphic-uming.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/64-arphic-uming.conf", line 34: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/64-arphic-uming.conf", line 47: Having multiple values in <test> isn't supported and may not work as expected
Data directory: /usr/share/games/wesnoth/1.10
User configuration directory: /home/enrico/.config/wesnoth
User data directory: /home/enrico/.local/share/wesnoth/1.10
Cache directory: /home/enrico/.cache/wesnoth
Checking video mode: 1920x1060x32...
setting mode to 1920x1060x32
Program received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1578
1578 ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: No such file or directory.
(gdb) where
#0 __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1578
#1 0x0000000000c894b6 in write_key_val_visitor::operator()(t_string const&) const ()
#2 0x0000000000c896b2 in write_key_val(std::ostream&, std::string const&, config::attribute_value const&, unsigned int, std::string&) ()
#3 0x0000000000c899fb in write_internal(config const&, std::ostream&, std::string&, unsigned long) ()
#4 0x0000000000c89a59 in write_internal(config const&, std::ostream&, std::string&, unsigned long) ()
#5 0x0000000000c89b68 in write(std::ostream&, config const&, unsigned int) ()
#6 0x0000000000819e9c in game_config::config_cache::write_file(std::string, config const&) ()
#7 0x000000000081ecff in game_config::config_cache::read_cache(std::string const&, config&) ()
#8 0x000000000081ff89 in game_config::config_cache::load_configs(std::string const&, config&) ()
#9 0x0000000000884207 in game_controller::load_game_cfg(bool) ()
#10 0x00000000008854dc in game_controller::init_config(bool) ()
#11 0x00000000006b9f42 in do_gameloop(int, char**) ()
#12 0x000000000069ee92 in main ()
(gdb)
I tried stracing to see what were the last files opened:
$ grep open /tmp/strace-output| tail
open("/usr/share/games/wesnoth/1.10/data/campaigns/The_South_Guard/_main.cfg", O_RDONLY) = 7
open("/usr/share/games/wesnoth/1.10/data/campaigns/Two_Brothers/_main.cfg", O_RDONLY) = 7
open("/usr/share/games/wesnoth/1.10/data/campaigns/Under_the_Burning_Suns/_main.cfg", O_RDONLY) = 7
open("/usr/share/games/wesnoth/1.10/data/ai/utils/default_config.cfg", O_RDONLY) = 7
openat(AT_FDCWD, "/usr/share/games/wesnoth/1.10/data/ai/ais/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
open("/usr/share/games/wesnoth/1.10/data/ai/ais/testing_ai_default.cfg", O_RDONLY) = 7
open("/usr/share/games/wesnoth/1.10/data/advanced_preferences.cfg", O_RDONLY) = 7
open("/usr/share/games/wesnoth/1.10/data/game_config.cfg", O_RDONLY) = 7
open("/usr/share/games/wesnoth/1.10/data/core/team-colors.cfg", O_RDONLY) = 8
open("/home/enrico/.cache/wesnoth/cache-v1.10.6-ae71d5eba1b14208fc0a7e2fa2a45a2da5e53f68.gz", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 6
I checked and there is free space in all partitions in my system.
Ciao,
Enrico
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wesnoth depends on:
ii wesnoth-1.10 1:1.10.6-2
ii wesnoth-1.10-data 1:1.10.6-2
wesnoth recommends no packages.
wesnoth suggests no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list