[android-porting] Re: Crash in getSlotFromBufferLocked

2013-03-14 Thread ffxx68
Ok - got it. I double checked the patch for ICS and realized I forgot to port one single line. Inside media/libstagefright/AwesomePlayer.cpp, initRenderer_l(), AwesomeLocalRenderer had to be forced, in place of the default AwesomeNativeWindowRenderer. On Friday, 8 March 2013 16:56:35 UTC+1,

[android-porting] Re: Crash in getSlotFromBufferLocked

2013-03-11 Thread ffxx68
I've narrowed down a bit the place where the failure happens. It's within frameworks/av/media/libstagefright/AwesomePlayer.cpp: struct AwesomeNativeWindowRenderer : public AwesomeRenderer { AwesomeNativeWindowRenderer( const spANativeWindow nativeWindow, int32_t

[android-porting] Re: Crash in getSlotFromBufferLocked

2013-03-11 Thread ffxx68
Yes of course there's a debugger! gdbserver/gdb can make the job, but what process do you suggest to attach to? I'm running AwesomePlayer, but I don't know which process I should attach to, any of these? system251 1 48316 26624 40062b64 S /system/bin/surfaceflinger u0_a7