Hi Deva,

Thanks for your reply.

I am working on donut-25.12 on Zoom2 platform.
As m4a uses AAC codec for decoding ,I am testing with that.

>From the stack trace using arm-eabi-addr2line I got to know that the
crashing is happening in
SendInputBufferToComponent() -> getMediaFragments().

Can you provide me some input on the function getMediaFragments() and
what can be the reason for crashing here??
It would be a great help.

Thanks & Regards,
Anupama

On Mar 24, 11:48 pm, Deva R <[email protected]> wrote:
> what platform/codebase?
> and how aboutplayingjust m4a file?
>
> there's no buffer left in memory pool.. not sure of why, probably due
> to previous node failed to release its buffers..
>
> error code 114 maps to no memory 
> availability..http://git.omapzoom.org/?p=patch/platform/external/opencore.git;a=blo...
>  '#define OsclErrNoResources 114'
>
> you can back track from
> \external\opencore\oscl\oscl\osclmemory\src\oscl_mem_mempool.cpp
> (where error code is raised on buffer alloc), to codec node, then to
> codecs..
>
>
>
> On Wed, Mar 24, 2010 at 11:48 PM, anupama <[email protected]> wrote:
> > Hi All,
>
> > I am working on aac codec integration to android platform.
> > It is integrated and I am able to play one test_ADTS.aac file.
> > But facing some problemwhileplayingm4a file.
> > It plays for .1 to .2 seconds and then it iscrashing.
>
> > Following is the logs what I am getting.
>
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1329:PVMFOMXAudioDecNode::Run() - Loo
> > pCount = 1, Time spent in loop(in ms) = 45,
> > iNumOutstandingInputBuffers = 1, iNu
> > mOutstandingOutputBuffers = 1
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1329:PVMFOMXAudioDecNode::Run() Out
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1329:FillBufferDoneThreadSafeCallback
> > AO::Run() In
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1330:FillBufferDoneThreadSafeCallback
> > AO::Run() - No more events, call PendForExec()
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1330:FillBufferDoneThreadSafeCallback
> > AO::Run() - Calling Process Event
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1330:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: In
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1330:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Output frame 0 received
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1330:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Wrapping buffer 10f588 of size 2048
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1330:PVMFOMXAudioDecNode::QueueOutput
> > Frame: In
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1331::PVMFOMXAudioDecNode::QueueOutpu
> > tFrame(): - SeqNum=1, TS=0
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1331:PVMediaOutputNodePort::setParame
> > tersSync - FSI - Fmt=audio/L16
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1331:PVMediaOutputNodePort::ConfigMIO
> >  - SamplingRate=44100, NumChannels=2
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1332:AndroidAudioMIO::setParametersSy
> > nc() Audio Sampling Rate Key, Value 44100
> > .
> > .
> > .
> > .
> > E/PV      (  878): PVLOG:TID(0x5b6d0):Time=1395:PORT OMXAudioDecOut
> > Msg Sent Dir
> > ectly MediaData SeqNum 0, SId 0, TS 0, Q-depth 0/10
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1396:PVMFOMXAudioDecNode::QueueOutput
> > Frame(): Queued frame OK
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1396:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Buffer 10f588 of size 2048 queued - reschedule the node
> > to send o
> > ut
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1396:FillBufferDoneThreadSafeCallback
> > AO::Run() Out
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1396:FillBufferDoneThreadSafeCallback
> > AO::Run() In
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1396:FillBufferDoneThreadSafeCallback
> > AO::Run() - No more events, call PendForExec()
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1397:FillBufferDoneThreadSafeCallback
> > AO::Run() - Calling Process Event
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1397:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: In
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1397:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Output frame 1 received
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1397:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Wrapping buffer 10f588 of size 2048
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1397:PVMFOMXAudioDecNode::QueueOutput
> > Frame: In
> > E/PV      (  878): PVLOG:TID(0x5b6d0):Time=1398:OsclError::Leave!
> > reason 114
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1398:PVMFOMXAudioDecNode::QueueOutput
> > Frame() call PVMFMediaData::createMediaData is failed
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1398:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Problem queing buffer 10f588 of size 2048 - releasing
> > the buffer
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1407:PVMFOMXAudioDecNode::freechunkav
> > ailable() Memory chunk in OUTPUT mempool was deallocated, 1 out of 1
> > now availab
> > le
> > .
> > .
> > .
>
> > .
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1454:FillBufferDoneThreadSafeCallback
> > AO::Run() - No more events, call PendForExec()
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1454:FillBufferDoneThreadSafeCallback
> > AO::Run() - Calling Process Event
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1454:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: In
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1454:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Output frame 2 received
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1455:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Wrapping buffer 10f588 of size 2048
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1455:PVMFOMXAudioDecNode::QueueOutput
> > Frame: In
> > E/PV      (  878): PVLOG:TID(0x5b6d0):Time=1455:OsclError::Leave! re
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1456:PVMFOMXAudioDecNode::QueueOutput
> > Frame() call PVMFMediaData::createMediaData is failed
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1456:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Problem queing buffer 10f588 of size 2048 - releasing
> > the buffer
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1456:PVMFOMXAudioDecNode::freechunkav
> > ailable() Memory chunk in OUTPUT mempool was deallocated, 2 out of 1
> > now availab
> > le
> > .PVLOG:TID(0x5b6d0):Time=1513:PVMFOMXAudioDecNode::QueueOutput
> > Frame() call PVMFMediaData::createMediaData is failed
> > E/PV      (  878):
> > PVLOG:TID(0x5b6d0):Time=1513:PVMFOMXAudioDecNode::FillBufferD
> > oneProcessing: Problem queing buffer 10f588 of size 2048 - releasing
> > the buffer
> > D/libc-abort(  878): abort() called in pid 878
> > I/DEBUG   (  875): *** *** *** *** *** *** *** *** *** *** *** *** ***
> > *** *** *
> > **
> > I/DEBUG   (  875): Build fingerprint: 'zoom/zoom2/zoom2/zoom2:1.6/
> > Donut/eng.root
> > .20100224.155924:eng/test-keys'
> > I/DEBUG   (  875): pid: 878, tid: 1194  >>> /system/bin/mediaserver
> > <<<
> > I/DEBUG   (  875): signal 11 (SIGSEGV), fault addr deadbaad
> > I/DEBUG   (  875):  r0 00000003  r1 deadbaad  r2 00000027  r3 ffff629c
> > I/DEBUG   (  875):  r4 ffff6274  r5 afe30048  r6 afe39dd4  r7 afe39dd4
> > I/DEBUG   (  875):  r8 4100ab24  r9 afe39dd4  10 a9d29e05  fp 00000001
> > I/DEBUG   (  875):  ip 0000001a  sp 41a0ad60  lr afe2000b  pc
> > afe1072a  cpsr 200
> > 00030
> > I/DEBUG   (  875):          #00  pc 0001072a  /system/lib/libc.so
> > I/DEBUG   (  875):          #01  pc 0000b05a  /system/lib/libc.so
> > I/DEBUG   (  875):          #02  pc 000c8852  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #03  pc 00076aec  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #04  pc 0007732e  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #05  pc 000c8bd6  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #06  pc 000c8c1c  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #07  pc 000d0612  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #08  pc 000d01b4  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #09  pc 000317ce  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #10  pc 00031884  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #11  pc 0003227a  /system/lib/
> > libopencore_common.so
> > I/DEBUG   (  875):          #12  pc 000bea4c  /system/lib/
> > libopencore_player.so
> > I/DEBUG   (  875):          #13  pc 000beb34  /system/lib/
> > libopencore_player.so
> > I/DEBUG   (  875):          #14  pc 00029e6c  /system/lib/libutils.so
> > I/DEBUG   (  875):          #15  pc 0000f940  /system/lib/libc.so
> > I/DEBUG   (  875):          #16  pc 0000f4b4  /system/lib/libc.so
> > I/DEBUG   (  875): stack:
> > I/DEBUG   (  875):     41a0ad20  001043c0  [heap]
> > I/DEBUG   (  875):     41a0ad24  afe12f59  /system/lib/libc.so
> > I/DEBUG   (  875):     41a0ad28  afe3cd9c
> > I/DEBUG   (  875):     41a0ad2c  afe39ff0  /system/lib/libc.so
> > I/DEBUG   (  875):     41a0ad30  0000000f
> > I/DEBUG   (  875):     41a0ad34  afe13f0d  /system/lib/libc.so
> > I/DEBUG   (  875):     41a0ad38  0005d638  [heap]
> > I/DEBUG   (  875):     41a0ad3c  987b999c
> > I/DEBUG   (  875):     41a0ad40  fffb5f45
> > I/DEBUG   (  875):     41a0ad44  ffff6274
> > I/DEBUG   (  875):     41a0ad48  afe30048  /system/lib/libc.so
> > I/DEBUG   (  875):     41a0ad4c  afe39dd4  /system/lib/libc.so
> > I/DEBUG   (  875):     41a0ad50  afe39dd4  /system/lib/libc.so
> > I/DEBUG   (  875):     41a0ad54  afe10723  /system/lib/libc.so
> > I/DEBUG   (  875):     41a0ad58  df002777
> > I/DEBUG   (  875):     41a0ad5c  e3a070ad
> > I/DEBUG   (  875): #00 41a0ad60  0010f400  [heap]
> > I/DEBUG   (  875):     41a0ad64  afe0ea00  /system/lib/libc.so
> > I/DEBUG   (  875):     41a0ad68  0010f400  [heap]
> > .
> > .
> > .
> > /MediaPlayer(  915): MediaPlayer server died!
> > I/ServiceManager(  872): service 'media.audio_flinger' died
> > I/ServiceManager(  872): service 'media.player' died
> > I/ServiceManager(  872): service 'media.camera' died
> > W/MediaPlayer( 1180): MediaPlayer server died!
> > E/MediaPlayer( 1180): error (100, 0)
> > E/MediaPlayer( 1180): Error (100,0)
>
> > I am not able to
>
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

To unsubscribe from this group, send email to 
android-porting+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to