Opened 10 years ago

Closed 10 years ago

#5237 closed bug (duplicate)

[mp3_decoder] crash in getbits ()

Reported by: diver Owned by: nobody
Priority: normal Milestone: R1
Component: Audio & Video/Codecs Version: R1/alpha1
Keywords: Cc:
Blocked By: #4175 Blocking:
Has a Patch: no Platform: All

Description

Moving seek slider in MediaPlayer back and forward several times crashes mp3_decoder.

Tested with hrev34996 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)

Change History (3)

comment:1 by jackburton, 10 years ago

Isn't this a dup of #4175 ? At least this holds a backtrace, unlike mine.

comment:2 by diver, 10 years ago

Yeah, please close this one as a dup.

comment:3 by jackburton, 10 years ago

Blocked By: 4175 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.