#6011: Mediaplayer drops frames a lot and then freezes ---------------------------------------+------------------------------------ Reporter: fano | Owner: stippi Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/MediaPlayer | Version: R1/alpha1 Resolution: | Keywords: mp3_decoder Blocked By: | Has a Patch: 0 Platform: All | Blocking: ---------------------------------------+------------------------------------ Changes (by kallisti5): * keywords: => mp3_decoder Comment: verified in r38062 gcc4/2hybrid. I am seeing the same issue playing video with mp3 tracks off of an NFS share: Backtrace for giggles: {{{ [tcsetpgrp failed in terminal_inferior: Invalid Argument] Thread 16260 caused an exception: Segment violation Reading symbols from /boot/system/runtime_loader...done. Loaded symbols for /boot/system/runtime_loader Reading symbols from /boot/system/lib/libbe.so...done. Loaded symbols for /boot/system/lib/libbe.so Reading symbols from /boot/system/lib/libgame.so...done. Loaded symbols for /boot/system/lib/libgame.so Reading symbols from /boot/system/lib/libmedia.so...done. Loaded symbols for /boot/system/lib/libmedia.so Reading symbols from /boot/system/lib/libtracker.so...done. Loaded symbols for /boot/system/lib/libtracker.so Reading symbols from /boot/system/lib/libtranslation.so...done. Loaded symbols for /boot/system/lib/libtranslation.so Reading symbols from /boot/system/lib/libtextencoding.so...done. Loaded symbols for /boot/system/lib/libtextencoding.so Reading symbols from /boot/system/lib/libstdc++.so...done. Loaded symbols for /boot/system/lib/libstdc++.so Reading symbols from /boot/system/lib/libroot.so...done. Loaded symbols for /boot/system/lib/libroot.so Reading symbols from /boot/system/lib/libsupc++.so...done. Loaded symbols for /boot/system/lib/libsupc++.so Reading symbols from /boot/system/lib/liblocale.so...done. Loaded symbols for /boot/system/lib/liblocale.so Reading symbols from /boot/system/lib/libicudata.so.44... warning: Lowest section in /boot/system/lib/libicudata.so.44 is .hash at 00000094 done. Loaded symbols for /boot/system/lib/libicudata.so.44 Reading symbols from /boot/system/lib/libicui18n.so.44...done. Loaded symbols for /boot/system/lib/libicui18n.so.44 Reading symbols from /boot/system/lib/libicuio.so.44...done. Loaded symbols for /boot/system/lib/libicuio.so.44 Reading symbols from /boot/system/lib/libicule.so.44...done. Loaded symbols for /boot/system/lib/libicule.so.44 Reading symbols from /boot/system/lib/libiculx.so.44...done. Loaded symbols for /boot/system/lib/libiculx.so.44 Reading symbols from /boot/system/lib/libicutu.so.44...done. Loaded symbols for /boot/system/lib/libicutu.so.44 Reading symbols from /boot/system/lib/libicuuc.so.44...done. Loaded symbols for /boot/system/lib/libicuuc.so.44 Reading symbols from /boot/system/add-ons/media/plugins/avi_reader...done. Loaded symbols for /boot/system/add-ons/media/plugins/avi_reader Reading symbols from /boot/system/add-ons/media/plugins/ffmpeg...done. Loaded symbols for /boot/system/add-ons/media/plugins/ffmpeg Reading symbols from /boot/system/add- ons/media/plugins/mp3_decoder...done. Loaded symbols for /boot/system/add-ons/media/plugins/mp3_decoder [tcsetpgrp failed in terminal_inferior: Invalid Argument] [Switching to team /boot/system/apps/MediaPlayer (16236) thread MediaPlayer audio ou control (16260)] 0x026635c2 in getbits () from /boot/system/add- ons/media/plugins/mp3_decoder (gdb) bt #0 0x026635c2 in getbits () from /boot/system/add- ons/media/plugins/mp3_decoder #1 0x02663eb7 in I_step_two () from /boot/system/add- ons/media/plugins/mp3_decoder #2 0x02664491 in do_layer1 () from /boot/system/add- ons/media/plugins/mp3_decoder #3 0x02663cfd in decodeMP3 () from /boot/system/add- ons/media/plugins/mp3_decoder #4 0x02662d96 in mp3Decoder::DecodeNextChunk () from /boot/system/add- ons/media/plugins/mp3_decoder #5 0x02662f02 in mp3Decoder::Decode () from /boot/system/add- ons/media/plugins/mp3_decoder #6 0x00551d15 in BMediaTrack::ReadFrames () from /boot/system/lib/libmedia.so #7 0x00551da8 in BMediaTrack::ReadFrames () from /boot/system/lib/libmedia.so #8 0x0025b25d in MediaTrackAudioSupplier::_ReadBuffer () #9 0x0025b9d4 in MediaTrackAudioSupplier::_ReadUncachedFrames () #10 0x0025bd32 in MediaTrackAudioSupplier::Read () #11 0x0024228f in AudioFormatConverter::Read () #12 0x0024144c in AudioAdapter::Read () #13 0x00246882 in AudioVolumeConverter::Read () #14 0x00245e1f in AudioResampler::Read () #15 0x0025d6b0 in ProxyAudioSupplier::GetFrames () #16 0x00243a3d in AudioProducer::_FillNextBuffer () #17 0x002441a0 in AudioProducer::HandleEvent () #18 0x0054265b in BMediaEventLooper::DispatchEvent () from /boot/system/lib/libmedia.so #19 0x00542cd7 in BMediaEventLooper::ControlLoop () from /boot/system/lib/libmedia.so #20 0x005425c9 in BMediaEventLooper::_ControlThreadStart () from /boot/system/lib/libmedia.so #21 0x0091f48c in thread_entry () from /boot/system/lib/libroot.so #22 0x782c9fec in ?? () (gdb) }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/6011#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.