heroes-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Heroes] Segfault


From: Mikael Hakali
Subject: [Heroes] Segfault
Date: Mon, 24 May 2004 16:43:15 +0200
User-agent: Opera M2/7.50 (Linux, build 663)

Hi

I just tried to compile and start Heroes. The intro logo works fine, then it segfaults:

address@hidden ~ $ heroes
heroes: No joystick found (run with `-J' to suppress this message).
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

I saw the --help screen and decided to try without introscreen which caused instant segfault.

The strace log looks like this:
<... lots of unimportent data ...>

open("/usr/games/../share/games/heroes/pics/fontem2.pcx", O_RDONLY) = 10
fstat64(10, {st_mode=S_IFREG|0640, st_size=28498, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4089e000 read(10, "address@hidden"..., 4096) = 4096 read(10, "\235\230\2356R\304\0R6\302\235\230\302\235\230\302\235"..., 4096) = 4096 read(10, "\302\230{\302\230\225\302\230\225\302\230\225}\230\225"..., 4096) = 4096
read(10, "@<:9<address@hidden@DR\304\0R=<6;6<\307@<6;<6;address@hidden"..., 
4096) = 4096
read(10, "address@hidden@address@hidden@DR\305\0R\303\0R\0R\0R\0R\0"..., 4096) = 4096 read(10, "\230\302\235\230\302\235\230\302\235\230\302\235\230\302"..., 4096) = 4096 read(10, "\235\230\2356R\304\0R=\304@<868<9:address@hidden@DR\304\0R=\306"..., 4096) = 3922
close(10)                               = 0
munmap(0x4089e000, 4096)                = 0
open("/usr/games/../share/games/heroes/pics/jukebox.pcx", O_RDONLY) = 10
fstat64(10, {st_mode=S_IFREG|0640, st_size=5831, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4089e000 read(10, "address@hidden"..., 4096) = 4096 read(10, "\234U\234\226U\226\235U\234\226U\226\235U\237\302U\227"..., 4096) = 1735
close(10)                               = 0
munmap(0x4089e000, 4096)                = 0
brk(0)                                  = 0x8199000
brk(0x81ba000)                          = 0x81ba000
brk(0)                                  = 0x81ba000
brk(0x81db000)                          = 0x81db000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x400f8580, [], 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
rt_sigprocmask(SIG_SETMASK, NULL, [SEGV RTMIN], 8) = 0
rt_sigsuspend([SEGV] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [SEGV RTMIN])
write(9, "address@hidden@\0\0`<address@hidden@@address@hidden"..., 148) = 148
ioctl(8, 0x4144, 0)                     = 0
ioctl(8, 0x4143, 0)                     = 0
ioctl(8, 0x4112, 0xbfffe870)            = 0
close(8)                                = 0
munmap(0x400e0000, 4096)                = 0
munmap(0x400e1000, 4096)                = 0
write(5, "address@hidden", 12)   = 12
read(5, "address@hidden \272\225"..., 32) = 32
write(6, "+\3\1\0", 4)                  = 4
read(6, "address@hidden"..., 32) = 32
write(5, "address@hidden", 12) = 12
read(5, "address@hidden \272\225"..., 32) = 32
shmdt(0x40813000)                       = 0
write(5, "address@hidden@\2<address@hidden"..., 44) = 44 read(5, "address@hidden@\2\0\0\0\0\0\0\0\0\0\0\0\0008\363\377"..., 32) = 32 read(5, "address@hidden@4k\10\340\362\377"..., 32) = 32 read(5, "\1\0b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\33\0\0\0 \272\225"..., 32) = 32
write(6, "<\3\2\0\0\0`\2+\0\1\0", 12)   = 12
read(6, 0xbfffe830, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
read(6, "\1\0\17\0\0\0\0\0?\1\240\1\0\0\0\0\0\0\0\0\36\0\0\0\330"..., 32) = 32
shutdown(6, 2 /* send and receive */)   = 0
close(6)                                = 0
write(5, "<address@hidden", 12)   = 12
read(5, "address@hidden@\2\257\0\0\0\0\0\256\2\0004k\10\10"..., 32) = 32 read(5, "address@hidden"..., 32) = 32 read(5, "address@hidden"..., 32) = 32 read(5, "address@hidden"..., 32) = 32 read(5, "address@hidden"..., 32) = 32 read(5, "address@hidden<\1\0\0D\271\32\1\1\0\0\0D\271\32\1\0\0"..., 32) = 32 read(5, "address@hidden"..., 32) = 32 read(5, 0xbfffe830, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\0d\0\0\0\0\0?\1\240\1\0\0\0\0\0\0\0\0\33\0\0\0 \272"..., 32) = 32
shutdown(5, 2 /* send and receive */)   = 0
close(5)                                = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, NULL, {0x400f8580, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {0x400f8580, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {0x400f8580, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
write(9, "address@hidden@\20;address@hidden"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [SEGV RTMIN], 8) = 0
rt_sigsuspend([SEGV] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [SEGV RTMIN])
waitpid(21817, NULL, __WCLONE)          = 21817
exit_group(-11)                         = ?

From what I see there shouldn't be any real problem. The segfault itself looks very strange:
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x400f8580, [], 0}, 8) = 0

@ 0 (0)...

My SDL related packages are:

address@hidden ~ $ qpkg -I | grep sdl
media-libs/libsdl *
media-libs/sdl-gfx *
media-libs/sdl-image *
media-libs/sdl-mixer *
media-libs/sdl-net *
media-libs/sdl-sound *

and versions

address@hidden ~ $ emerge search $(qpkg -I -nc | grep sdl | cut -d'/' -f2)

*  media-libs/libsdl
      Latest version available: 1.2.7-r1
      Latest version installed: 1.2.7-r1

*  media-libs/sdl-gfx [ Masked ]
      Latest version available: 2.0.10
      Latest version installed: 2.0.10

*  media-libs/sdl-image
      Latest version available: 1.2.3-r1
      Latest version installed: 1.2.3

*  media-libs/sdl-mixer [ Masked ]
      Latest version available: 1.2.5-r1
      Latest version installed: 1.2.5-r1

*  media-libs/sdl-net [ Masked ]
      Latest version available: 1.2.5
      Latest version installed: 1.2.5

*  media-libs/sdl-sound [ Masked ]
      Latest version available: 1.0.1
      Latest version installed: 1.0.1

Hope you have a solution. Thanks

   Mikael


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click




reply via email to

[Prev in Thread] Current Thread [Next in Thread]