wormux segfault
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
strace дает следущее
open("/usr/share/games/wormux/weapons.xml", O_RDONLY|O_LARGEFILE) = 6
close(6) = 0
stat64("/usr/share/games/wormux/weapons.xml", {st_mode=S_IFREG|0640, st_size=6843, ...}) = 0
stat64("/usr/share/games/wormux/weapons.xml", {st_mode=S_IFREG|0640, st_size=6843, ...}) = 0
stat64("/usr/share/games/wormux/weapons.xml", {st_mode=S_IFREG|0640, st_size=6843, ...}) = 0
open("/usr/share/games/wormux/weapons.xml", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0640, st_size=6843, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d1b000
read(6, "
read(6, "", 131072) = 0
_llseek(6, 0, [6843], SEEK_CUR) = 0
_llseek(6, 0, [0], SEEK_SET) = 0
read(6, "
read(6, "", 131072) = 0
read(6, "", 131072) = 0
close(6) = 0
munmap(0xb6d1b000, 131072) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0xb7e34990, [], 0}, 8) = 0
write(2, "Fatal signal: ", 14Fatal signal: ) = 14
write(2, "Segmentation Fault", 18Segmentation Fault) = 18
write(2, " (SDL Parachute Deployed)\n", 26 (SDL Parachute Deployed)
) = 26
futex(0xb77fbbf8, FUTEX_WAIT, 24963, NULL) = -1 EAGAIN (Resource temporarily unavailable)
write(3, "_\1\2\0\v\0\0\2+\0\1\0", 12) = 12
read(3, "\34ja\0\3\0\0\2C\1\0\0\347\tV\0\0\0\0\2\4\0\0\0\30k\270"..., 32) = 32
read(3, "\1\1c\0\0\0\0\0\3\0\0\2\0\0\0\0\0\0\0\0\34\0\0\0@\306w"..., 32) = 32
write(4, "+\3\1\0", 4) = 4
read(4, "\1\1\17\0\0\0\0\0\3\0\0\2\0\0\0\0\1\0\0\0\37\0\0\0p\274"..., 32) = 32
write(3, "\221\2\2\0\17\0\0\2+\0\1\0", 12) = 12
read(3, "\1\1e\0\0\0\0\0\3\0\0\2\0\0\0\0\0\0\0\0\34\0\0\0@\306w"..., 32) = 32
shmdt(0xb6f10000) = 0
write(3, "\n\2\2\0\3\0\0\2\4\0\2\0\r\0\0\2
read(3, "\n\3f\0\3\0\0\2\0j\270\277}\307\f\10\0\0\0\0\5\0\0\0\270"..., 32) = 32
read(3, "\t\5f\0\3\0\0\2\0i\270\277+\310\f\10\0\0\0\0\5\0\0\0\240"..., 32) = 32
read(3, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(3, "\10\0f\0\372\tV\0u\0\0\0\r\0\0\2\0\0\0\0S\1\240\1O\1\374"..., 32) = 32
read(3, "\1\1k\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\34\0\0\0@\306w"..., 32) = 32
write(4, "<\3\2\0\0\0`\2+\0\1\0", 12) = 12
read(4, "\1\1\21\0\0\0\0\0\7\0\200\1\0\0\0\0\0\0\0\0\37\0\0\0p\274"..., 32) = 32
shutdown(4, 2 /* send and receive */) = 0
close(4) = 0
write(3, "<\2\2\0\0\0\0\2+\0\1\0", 12) = 12
read(3, "\34\0k\0\3\0\0\2m\0\0\0\375\tV\0\1\0\0\0\375\tV\0\0\0\0"..., 32) = 32
read(3, "\34jk\0\3\0\0\2o\1\0\0\375\tV\0\0\0\0\2\1\0\0\0\30k\270"..., 32) = 32
read(3, "\34\0k\0\3\0\0\2@\1\0\0\376\tV\0\1\277E\10\3\0\0\2\1\0"..., 32) = 32
read(3, "\34jk\0\3\0\0\2\355\0\0\0\376\tV\0\0\0\0\0\376\tV\0\30"..., 32) = 32
read(3, "\34\0k\0\3\0\0\2m\1\0\0\376\tV\0\1\0\0\0\376\tV\0\0\0\0"..., 32) = 32
read(3, "\34\0k\0\3\0\0\2I\1\0\0\376\tV\0\1\0\0\0\376\tV\0\0\0\0"..., 32) = 32
read(3, "\34\0k\0\3\0\0\2\366\0\0\0\376\tV\0\1\0\0\0\376\tV\0\0"..., 32) = 32
read(3, "\25\312k\0\3\0\0\2\3\0\0\2u\0\0\0\0\0\217\0\0\277E\010"..., 32) = 32
read(3, "\34\0k\0\3\0\0\2C\1\0\0\35\nV\0\1(H\10\3\0\0\2\1\0\0\300"..., 32) = 32
read(3, "\1\1m\0\0\0\0\0\7\0\200\1\0\0\0\0\0\0\0\0\34\0\0\0@\306"..., 32) = 32
shutdown(3, 2 /* send and receive */) = 0
close(3) = 0
munmap(0xb6d3b000, 1921024) = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, NULL, {0xb7e34990, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {0xb7e34990, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {0xb7e34990, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
munmap(0xb7f3f000, 4096) = 0
exit_group(-11)
---------------------------------------------------------------------------------
gdb радует такой инфой
[New Thread -1216177232 (LWP 24969)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215072064 (LWP 24966)]
0xb7bcaa20 in __dynamic_cast ()
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
where говорит нам
#0 0xb7bcaa20 in __dynamic_cast ()
from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
#1 0x08080c45 in std::basic_string
#2 0x08083255 in std::basic_string
#3 0x08084694 in std::basic_string
#4 0x080e16fe in std::basic_string
#5 0x080e587e in std::basic_string
#6 0x080edb72 in std::basic_string
#7 0x080e3464 in std::basic_string
#8 0x0805407e in std::operator+
#9 0x080533ee in ?? ()
--------------------------------------------------------------
кто виноват и что делать?
- Для комментирования войдите или зарегистрируйтесь