Closed Bug 801738 Opened 12 years ago Closed 12 years ago

3gp files cause Video app to crash

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 798448
blocking-basecamp +

People

(Reporter: daleharvey, Assigned: eflores)

References

Details

(Keywords: crash, Whiteboard: [b2g])

Attachments

(1 file)

On attempting to play a video file recorded on the device, the Video app crashes before onmetadataloaded callback

E/GeckoConsole(  413): [JavaScript Warning: "Media resource blob:9e7ad29b-8f2d-48d9-bba7-7c1ab0f827f0 could not be decoded." {file: "app://video.gaiamobile.org/index.html" line: 0}]
E/GeckoConsole(  106): [JavaScript Warning: "Media resource blob:9e7ad29b-8f2d-48d9-bba7-7c1ab0f827f0 could not be decoded." {file: "app://video.gaiamobile.org/index.html" line: 0}]

Is reported at the shell, I have attached the video file
Adding Chris Double and Edwin -- Guys, can one of you look at this and see what's crashing?   

If the problem is that there's a format trying to be played here that the hardware doesn't actually support, that would be good to flag as soon as we can.  In any case, the app shouldn't crash.  Thanks!
blocking-basecamp: --- → ?
blocking-basecamp: ? → +
Keywords: crash
Whiteboard: [b2g]
Assignee: nobody → chris.double
The log errors I get before crash:

E/GeckoConsole( 1022): [JavaScript Warning: "Media resource blob:a867dbd4-89fc-432f-8974-feb46db9a0c3 could not be decoded." {file: "app://video.gaiamobile.org/index.html" line: 0}]
E/omx_vdec( 1022): Error: Invalid Inp/OutMem pointers 
F/OMXCodec( 1022): frameworks/base/media/libstagefright/OMXCodec.cpp:2259 CHECK(mState == LOADED || mState == ERROR || mState == LOADED_TO_IDLE) failed.
F/libc    ( 1022): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
E/GeckoConsole(  438): [JavaScript Warning: "Media resource blob:a867dbd4-89fc-432f-8974-feb46db9a0c3 could not be decoded." {file: "app://video.gaiamobile.org/index.html" line: 0}]
Dale, do you know what kernel version your device is running? On Kernel 8 I crashed. On kernel 10 I don't crash but 3gp still doesn't load which I'm investigating.
I still get the Invalid Inp/OutMem pointers error though, so possibly the crash is intermittent.
I flashed yesterdays build so I should be kernel 10, I am getting a full crash, here is the log from opening the app

http://pastebin.mozilla.org/1868460
Edwin, can you take a look at this? I've been assigned a bunch of high priority android bugs for now. I seem to recall you encountering and dealing with the invalid pmem issues before. Is it kernel related?
Assignee: chris.double → eflores
Edwin I just wanted to ping you to see if you had taken a look, right now we currently cant view the videos we record on the device so its a fairly large issue
Yes, have been looking at this off and on for the last couple of days. I suspect we are just releasing an invalid GraphicBuffer somewhere; will move to top of todo list.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: