On Fri, Aug 28, 2009 at 2:39 PM, Gonéri Le Bouder <span dir="ltr">&lt;<a href="mailto:goneri@rulezlan.org">goneri@rulezlan.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Apr 28, 2008 at 01:32:03AM -0400, Edwin Lim wrote:<br>
&gt; Package: powermanga<br>
&gt; Version: 0.90-dfsg-1<br>
&gt; Severity: normal<br>
&gt;<br>
&gt;<br>
&gt; I am experiencing quite a lot of segfaults after the upgrade to 0.90.<br>
Hi,<br>
<br>
I played a bit without problem. Can you still reproduce these segfaults?</blockquote><div><br> </div>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:<br>
<br>Number of boss encounters = 42<br>Number of segmentation faults = 3<br><br>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!<br>
<br>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.<br>
<br>Anyway, I managed to strace the last segmentation fault and here is the tail of it (does not look useful to me):<br><br>read(7, 0xde9b54, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)<br>nanosleep({0, 11000000}, {0, 11000000}) = 0<br>
read(6, 0xdde214, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)<br>select(7, [6], NULL, NULL, {0, 0})      = 0 (Timeout)<br>poll([{fd=7, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=7, revents=POLLOUT}])<br>
writev(7, [{&quot;\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&quot;..., 44}, {NULL, 0}, {&quot;&quot;, 0}], 3) = 44<br>poll([{fd=7, events=POLLIN}], 1, -1)    = 1 ([{fd=7, revents=POLLIN}])<br>
read(7, &quot;\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&quot;, 4096) = 32<br>read(7, 0xde9b54, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)<br>nanosleep({0, 11000000}, {0, 11000000}) = 0<br>
read(6, 0xdde214, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)<br>select(7, [6], NULL, NULL, {0, 0})      = 0 (Timeout)<br>poll([{fd=7, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=7, revents=POLLOUT}])<br>
writev(7, [{&quot;\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&quot;..., 44}, {NULL, 0}, {&quot;&quot;, 0}], 3) = 44<br>poll([{fd=7, events=POLLIN}], 1, -1)    = 1 ([{fd=7, revents=POLLIN}])<br>
read(7, &quot;\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&quot;, 4096) = 32<br>read(7, 0xde9b54, 4096)                 = -1 EAGAIN (Resource temporarily unavailable)<br>nanosleep({0, 12000000}, {0, 12000000}) = 0<br>
--- SIGSEGV (Segmentation fault) @ 0 (0) ---<br>+++ killed by SIGSEGV +++<br><br>I have put the whole log (565kB gzipped, 49MB expanded) on <a href="http://www.limnet.org:8000/~elim/attic/powermanga.trace.gz">http://www.limnet.org:8000/~elim/attic/powermanga.trace.gz</a> if you want to take a look.  Let me know if I can do anything else to help.<br>
<br><br>Cheers,<br>Ed.<br><br>