Public bug reported:

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.

** Affects: zaz (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1089234

Title:
  segmentation fault on starting a new level

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zaz/+bug/1089234/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to