#5237: [mp3_decoder] crash in getbits () ----------------------------------+----------------------------------------- Reporter: diver | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: Audio & Video/Codecs | Version: R1/alpha1 Keywords: | Blockedby: Platform: All | Blocking: ----------------------------------+----------------------------------------- Moving seek slider in MediaPlayer back and forward several times crashes mp3_decoder.[[BR]] Tested with r34996 in VirtualBox. {{{ Thread 688 caused an exception: Segment violation [Switching to team /boot/system/apps/MediaPlayer (673) thread MediaPlayer Audio Ou control (688)] 0x014fece2 in getbits () from /boot/system/add- ons/media/plugins/mp3_decoder (gdb) bt #0 0x014fece2 in getbits () from /boot/system/add-ons/media/plugins/mp3_decoder #1 0x014ff57e in I_step_two () from /boot/system/add-ons/media/plugins/mp3_decoder #2 0x014ff9a3 in do_layer1 () from /boot/system/add-ons/media/plugins/mp3_decoder #3 0x014ff262 in decodeMP3 () from /boot/system/add-ons/media/plugins/mp3_decoder #4 0x014fdc29 in mp3Decoder::DecodeNextChunk () from /boot/system/add-ons/media/plugins/mp3_decoder #5 0x014fdb88 in mp3Decoder::Decode () from /boot/system/add-ons/media/plugins/mp3_decoder #6 0x005980e2 in BMediaTrack::ReadFrames () from /boot/system/lib/libmedia.so #7 0x0059803e in BMediaTrack::ReadFrames () from /boot/system/lib/libmedia.so #8 0x0025e6cb in MediaTrackAudioSupplier::_ReadBuffer () #9 0x0025eaa7 in MediaTrackAudioSupplier::_ReadUncachedFrames () #10 0x0025df43 in MediaTrackAudioSupplier::Read () #11 0x002442ab in AudioFormatConverter::Read () #12 0x00243763 in AudioAdapter::Read () #13 0x00248a77 in AudioVolumeConverter::Read () #14 0x00247cc3 in AudioResampler::Read () #15 0x0025fd61 in ProxyAudioSupplier::GetFrames () #16 0x002471c0 in AudioProducer::_FillNextBuffer () #17 0x00246a43 in AudioProducer::HandleEvent () ---Type <return> to continue, or q <return> to quit--- #18 0x0058671d in BMediaEventLooper::DispatchEvent () from /boot/system/lib/libmedia.so #19 0x005863bc in BMediaEventLooper::ControlLoop () from /boot/system/lib/libmedia.so #20 0x005867a7 in BMediaEventLooper::_ControlThreadStart () from /boot/system/lib/libmedia.so #21 0x0093be1e in thread_entry () from /boot/system/lib/libroot.so #22 0x78288fec in ?? () (gdb) }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/5237> Haiku <http://dev.haiku-os.org> Haiku - the operating system.