Bug#478213: powermanga: random seqfault after upgrade to 0.90

Edwin Lim edwinlim at gmail.com
Wed Sep 2 03:34:52 UTC 2009


On Fri, Aug 28, 2009 at 2:39 PM, Gonéri Le Bouder <goneri at rulezlan.org>wrote:

> On Mon, Apr 28, 2008 at 01:32:03AM -0400, Edwin Lim wrote:
> > Package: powermanga
> > Version: 0.90-dfsg-1
> > Severity: normal
> >
> >
> > I am experiencing quite a lot of segfaults after the upgrade to 0.90.
> Hi,
>
> I played a bit without problem. Can you still reproduce these segfaults?



I cannot trigger it at anytime I wish.  I just have to play enough and it
would happen sooner or later.  It could be the first boss, or the very last
boss (happens a couple of times before at least :-D)  Here is the result of
the log I kept for the last few days:

Number of boss encounters = 42
Number of segmentation faults = 3

That gives P(segfault per boss) = 3/42 ~ 0.07142.  Given that there are
about 16 bosses in total for a complete game, that gives (1 - P)^16 ~ 0.305
probability of completing the game without a segmentation fault.  That
explains why I have been having a very hard time getting on the high score.
Ha ha!

Also, I play the hard difficulty level (powermanga --hard).  I think the
normal difficulty also has segmentation faults, but I do not remember for
certain.  I can test the normal difficulty level for segmentation fault if
you think it might help.

Anyway, I managed to strace the last segmentation fault and here is the tail
of it (does not look useful to me):

read(7, 0xde9b54, 4096)                 = -1 EAGAIN (Resource temporarily
unavailable)
nanosleep({0, 11000000}, {0, 11000000}) = 0
read(6, 0xdde214, 4096)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(7, [6], NULL, NULL, {0, 0})      = 0 (Timeout)
poll([{fd=7, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=7, revents=POLLOUT}])
writev(7, [{"\217\3\n\0\r\0 \2\16\0
\2\200\2\220\1\0\0\0\0\200\2\220\1\0\0\0\0\30\2\0\0"..., 44}, {NULL, 0},
{"", 0}], 3) = 44
poll([{fd=7, events=POLLIN}], 1, -1)    = 1 ([{fd=7, revents=POLLIN}])
read(7, "\1\2\272E\0\0\0\0\3\0
\2\0\0\0\0`\16\220\2\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(7, 0xde9b54, 4096)                 = -1 EAGAIN (Resource temporarily
unavailable)
nanosleep({0, 11000000}, {0, 11000000}) = 0
read(6, 0xdde214, 4096)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(7, [6], NULL, NULL, {0, 0})      = 0 (Timeout)
poll([{fd=7, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=7, revents=POLLOUT}])
writev(7, [{"\217\3\n\0\r\0 \2\16\0
\2\200\2\220\1\0\0\0\0\200\2\220\1\0\0\0\0\30\2\0\0"..., 44}, {NULL, 0},
{"", 0}], 3) = 44
poll([{fd=7, events=POLLIN}], 1, -1)    = 1 ([{fd=7, revents=POLLIN}])
read(7, "\1\2\274E\0\0\0\0\3\0
\2\0\0\0\0`\16\220\2\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(7, 0xde9b54, 4096)                 = -1 EAGAIN (Resource temporarily
unavailable)
nanosleep({0, 12000000}, {0, 12000000}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

I have put the whole log (565kB gzipped, 49MB expanded) on
http://www.limnet.org:8000/~elim/attic/powermanga.trace.gz if you want to
take a look.  Let me know if I can do anything else to help.


Cheers,
Ed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20090901/c1149495/attachment.htm>


More information about the Pkg-games-devel mailing list