/usr/lib/arm-linux-gnueabihf/thumbnailer/vs-thumb:5:g_malloc0_n:gst_amc_codec_get_input_buffers:gst_amc_video_dec_configure_self:gst_amc_video_dec_set_format:gst_video_decoder_setcaps

Bug #1356331 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gst-plugins-bad1.0 (Ubuntu)
Fix Released
Critical
Jim Hodapp
thumbnailer (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding thumbnailer. This problem was most recently seen with version 1.1+14.10.20140811-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/43215b871296dec498de63922819ba2129dcde46 contains more details.

TEST CASE:
1. Launch the camera-app
1. Switch to video mode and record a video
2. Open the gallery app
3. Wait until all thumbnails are generated

ACTUAL RESULT
Thumbnails are generated but the thumbnailer crashes

tags: added: qa-daily-testing rtm14
description: updated
Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

The backtrace shows that the crash happens in GStreamer's video decoding pipeline. This is a bug in GStreamer, not thumbnailer.

Furthermore this bug is not really fixable unless someone provides a test file that invokes the crash.

Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

On a closer look the crash happens when trying to allocate 8 bytes with glib, which makes this most likely a duplicate of bug 1346821.

description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I tried with the version of vs-thumb in attachment and there are 2 cases:
When executed from the gallery, vs-thumb generates the following messages in gallery-app.log
===
(vs-thumb:9491): GLib-ERROR **: /build/buildd/glib2.0-2.41.1/./glib/gmem.c:359: overflow allocating 4294967274*8 bytes
Thumbnail generator failed: Unknown error when trying to extract video screenshot, return value was �.
===

When executed directly on the videos in ~/Videos/camera it doesn't fail excepted for the shortest video (~1s) where it says:
===
$ /usr/lib/arm-linux-gnueabihf/thumbnailer/vs-thumb video20140814_0002.mp4 temp.jpg
video20140814_0002.mp4
[Info] Flush buffer h264_dec_decode !
[Info] Flush buffer h264_dec_decode !
[Info] Flush buffer h264_dec_decode !
Error creating thumbnail: Could not create sample. Unsupported or invalid file type?
===

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

These videos plays correctly on a PC but not when copied to another device (mako)

On a PC if I run vs-thumb it hangs with:
Problem prerolling, trying to continue anyway.
Media backend does not implement query_duration, using fallback time.

On a mako vs-thumb doesn't crash but the thumbnail is not generated.

Jim Hodapp (jhodapp)
Changed in gst-plugins-bad1.0 (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
Changed in thumbnailer (Ubuntu):
status: New → Invalid
Changed in gst-plugins-bad1.0 (Ubuntu):
importance: Undecided → Critical
tags: added: qasoak
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Fixed and verified on krillin 14.09-proposed #44

Changed in gst-plugins-bad1.0 (Ubuntu):
status: New → Fix Released
Revision history for this message
Jim Hodapp (jhodapp) wrote :

You are sure that this is fixed as to my knowledge, nobody submitted any bug fix for this specifically.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I'm surprised too and didn't find any related fix but yes, I'm sure. I tried to reproduce this issue several times and it's working fine now. It might have been fixed by an update of apparmor rules?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.