[Pkg-games-ubuntu] [Bug 1089234] Re: segmentation fault on starting a new level
Jim Cameron
jim.cameron at buhlergroup.com
Sat Mar 16 00:35:21 UTC 2013
This bug was introduced by the debian no-music patch. See debian bug
#649017, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649017 . There
are pending patches to fix the problem, although I have not tested them.
Or try the alternative patch attached, which replaces the existing no-
music patch and does the same thing in rather less code, without
crashing.
** Bug watch added: Debian Bug tracker #649017
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649017
** Patch added: "no_music_jc.patch"
https://bugs.launchpad.net/ubuntu/+source/zaz/+bug/1089234/+attachment/3577072/+files/no_music_jc.patch
--
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to zaz in Ubuntu.
https://bugs.launchpad.net/bugs/1089234
Title:
segmentation fault on starting a new level
Status in “zaz” package in Ubuntu:
Confirmed
Bug description:
This bug is quite intermittent but happens about 50% of the time. Once the game is restarted after, all unlocked levels are relocked so I have only been able to test it on the first few.
When starting a level (either directly from the main menu or by selecting next level) the game routinely crashes (randomly but frequently).
When run using gdb a segmentation fault is detected and the system is locked down (requiring ctrlaltsysrq k), The error message given is:
segfault 0xb7f177b1 in ov_raw_seek() /usr/lib/i386-linux-gnu/libvorbisfile.so.3
Unfortunately I wasn't given a chain of function calls or a line number as I'm used to.
In the source; however, I only see this function called in
streamingoggsample.cpp as the restart function, which in turn is used
in audiobuffer.cpp in the getMix function and the Play function. The
prototype for the getMix function doesn't seem to match the way its
used in mixer::enqueueSample:
Sint16 *AudioBuffer::getMix(uint requested_length, uint &returned_length)
vs
uint l2;
Sint16 *b2 = audioBuffers[b].getMix(lsamples, l2);
Perhaps the latter should be getMix(lsamples, &l2);? Seems a likely cause for a seg fault but then maybe it's my ignorance being more familiar with c.
I've got version 1.0.0~dfsg1-1 on Ubuntu 12.04. My CPU is a 64bit AMD.
I see no sign of the bug reported upstream. I am happy to pass it on if you think its not a packaging issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zaz/+bug/1089234/+subscriptions
More information about the Pkg-games-ubuntu
mailing list