Opened 14 years ago

Closed 14 years ago

#4900 closed bug (fixed)

MediaPlayer crash with LLTS-Interview mp3

Reported by: humdinger Owned by: dlmcpaul
Priority: normal Milestone: R1
Component: Applications/MediaPlayer Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev33755.

Playing the The Linux Link Tech Show MP3 interview with Ryan and Joe (29mb) results in a crash after a few seconds. The alternative OGG (73mb) works BTW. Backtrace:

[Switching to team /boot/system/apps/MediaPlayer (11311) thread MediaPlayer Audio Ou control (11324)]
0x009ab56b in getbits () from /boot/system/add-ons/media/plugins/mp3_decoder
(gdb) bt
#0  0x009ab56b in getbits ()
   from /boot/system/add-ons/media/plugins/mp3_decoder
#1  0x009abeca in I_step_two ()
   from /boot/system/add-ons/media/plugins/mp3_decoder
#2  0x009ac44e in do_layer1 ()
   from /boot/system/add-ons/media/plugins/mp3_decoder
#3  0x009abccc in decodeMP3 ()
   from /boot/system/add-ons/media/plugins/mp3_decoder
#4  0x009aad3a in mp3Decoder::DecodeNextChunk ()
   from /boot/system/add-ons/media/plugins/mp3_decoder
#5  0x009aaea5 in mp3Decoder::Decode ()
   from /boot/system/add-ons/media/plugins/mp3_decoder
#6  0x005353e5 in BMediaTrack::ReadFrames () from /boot/system/lib/libmedia.so
#7  0x005354a8 in BMediaTrack::ReadFrames () from /boot/system/lib/libmedia.so
#8  0x00258ebd in MediaTrackAudioSupplier::_ReadBuffer ()
#9  0x0025964e in MediaTrackAudioSupplier::_ReadUncachedFrames ()
#10 0x0025994f in MediaTrackAudioSupplier::Read ()
#11 0x0023f8bb in AudioFormatConverter::Read ()
#12 0x0023e9cc in AudioAdapter::Read ()
#13 0x002448d0 in AudioVolumeConverter::Read ()
#14 0x00243d3a in AudioResampler::Read ()
#15 0x0025b2d7 in ProxyAudioSupplier::GetFrames ()
#16 0x00241638 in AudioProducer::_FillNextBuffer ()
#17 0x00241f9c in AudioProducer::HandleEvent ()
---Type <return> to continue, or q <return> to quit---
#18 0x00526d11 in BMediaEventLooper::DispatchEvent ()
   from /boot/system/lib/libmedia.so
#19 0x005273a1 in BMediaEventLooper::ControlLoop ()
   from /boot/system/lib/libmedia.so
#20 0x00526c7f in BMediaEventLooper::_ControlThreadStart ()
   from /boot/system/lib/libmedia.so
#21 0x008bf7bd in thread_entry () from /boot/system/lib/libroot.so
#22 0x70206fec in ?? ()

Change History (2)

comment:1 by dlmcpaul, 14 years ago

Owner: changed from marcusoverhagen to dlmcpaul
Status: newassigned

comment:2 by dlmcpaul, 14 years ago

Resolution: fixed
Status: assignedclosed

The calculation of mp3 Frame Length was incorrect for mp3 files with lsf.

Fixed the calculation and the file plays now. See hrev34073 and hrev34072

Note: See TracTickets for help on using tickets.