Bug#498507: oolite segfaults at startup on amd64 platform

Eddy Petrișor eddy.petrisor at gmail.com
Mon Sep 15 18:51:49 UTC 2008


2008/9/10 John Winters <john at sinodun.org.uk>:
> Package: oolite
> Version: 1.65-6+b1
> Severity: important

Hello John,

> On attempting to run oolite on an AMD64 Lenny system I get the
> following:
>
> john at liberty:~$ oolite
> 2008-09-10 17:37:39.660 oolite[9567] initialising SDL
> 2008-09-10 17:37:39.765 oolite[9567] init: numSticks=0
> 2008-09-10 17:37:39.766 oolite[9567] CREATING MODE LIST
> 2008-09-10 17:37:39.766 oolite[9567] Added res 1024 x 768
> 2008-09-10 17:37:39.766 oolite[9567] Added res 800 x 600
> 2008-09-10 17:37:39.766 oolite[9567] Added res 720 x 450
> 2008-09-10 17:37:39.766 oolite[9567] Added res 640 x 512
> 2008-09-10 17:37:39.766 oolite[9567] Added res 512 x 384
> 2008-09-10 17:37:39.766 oolite[9567] Added res 400 x 300
> 2008-09-10 17:37:39.766 oolite[9567] Added res 320 x 240
> Segmentation fault
> john at liberty:~$

I just tried the game on my system (also amd64) and it runs really ok.
I have the same versions for the dependencies, so I suspect something
related to the video card.

What kind of video card do you have? Which driver do you use?
Do other accelerated games (e.g.: warzone2100, boson, billardgl) work properly?

You don't have manually/locally compiled packages, right? (i.e. you
use only official packages)

> Running with strace, and quoting the 25 lines leading up to the SEGV
> I get:
>
> read(4, 0xb7e5b4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
> open("/dev/zero", O_RDWR)               = 11
> mmap(NULL, 544768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_32BIT, 11, 0) = 0x408e0000
> close(11)                               = 0
> brk(0xc69000)                           = 0xc69000
> brk(0xcb8000)                           = 0xcb8000
> select(5, [4], [4], NULL, NULL)         = 1 (out [4])
> writev(4, [{"\241\3\6\0\1\0@\4'\0\0\0\0\0\0\0\0\0\0\0\1\1\1\0\221\31\3\0\0\0\0\0\1"..., 36}], 1) = 36
> select(5, [4], [], NULL, NULL)          = 1 (in [4])
> read(4, "\1m\31\0\1\0\0\0\4\0\0\0\0\0\0\0000\5)\2\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 36
> read(4, 0xb7e5b4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
> getpid()                                = 9245
> getpid()                                = 9245
> shmdt(0x7f3de8aee000)                   = 0
> select(5, [4], [4], NULL, NULL)         = 1 (out [4])
> writev(4, [{"\241\4\2\0\1\0@\4+\4\1\0"..., 12}], 1) = 12
> select(5, [4], [], NULL, NULL)          = 1 (in [4])
> read(4, "\1\2\33\0\0\0\0\0 \0\300\3\0\0\0\0\34C\0\0\0\0\0\0P\2477\373\377\177\0\0"..., 4096) = 32
> read(4, 0xb7e5b4, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
> select(4, [3], [3], NULL, NULL)         = 2 (in [3], out [3])
> read(3, "\26\0f\0\16\0 \4\16\0 \4\r\0 \4\0\0\0\0 \3X\2\0\0\0\0\0\0\0\0"..., 4096) = 32
> writev(3, [{"+\30\1\0"..., 4}], 1)      = 4
> select(4, [3], [], NULL, NULL)          = 1 (in [3])
> read(3, "\1\2g\0\0\0\0\0 \0\300\3\0\0\0\0\34C\0\0\0\0\0\0P\2477\373\377\177\0\0"..., 4096) = 32
> read(3, 0xb83864, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> rt_sigaction(SIGSEGV, {SIG_DFL}, {0x7f3df0fd7740, [], SA_RESTORER, 0x7f3df0dc0a90}, 8) = 0
> futex(0x4198b9e0, FUTEX_WAIT, 9246, NULL) = 0
> ioctl(6, 0x4122, 0)                     = 0
> poll([{fd=5, events=POLLIN|POLLERR|POLLNVAL}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])


Could you send also the entire strace of the segfault?

Could you send also a proper[1] backtrace of the crash?


[1] http://wiki.debian.org/HowToGetABacktrace

-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein





More information about the Pkg-games-devel mailing list