[Pkg-games-ubuntu] [Bug 1089234] Re: segmentation fault on starting a new level

Ubuntu Foundations Team Bug Bot 1089234 at bugs.launchpad.net
Sat Mar 16 04:16:22 UTC 2013


The attachment "no_music_jc.patch" seems to be a patch.  If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: 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