gstreamer has import issue with some .png

Bug #40565 reported by Manuel Martín Salvador
16
Affects Status Importance Assigned to Milestone
GStreamer
Fix Released
Medium
gst-plugins-good0.10 (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

When I run rhythmbox, it crashes apparently when it is re-exploring the mp3 collection. The warning changes randomly, here some examples.

(rhythmbox:10070): Rhythmbox-WARNING **: Unable to start mDNS browsing
libpng error: Missing IHDR before cHRM
Violación de segmento
-----------------------
(rhythmbox:10300): Rhythmbox-WARNING **: Unable to start mDNS browsing
libpng error: Missing IHDR before pHYs
Violación de segmento
-----------------------
(rhythmbox:10365): Rhythmbox-WARNING **: Unable to start mDNS browsing
libpng error: [00][00][00][00]: invalid chunk type
Instrucción ilegal

Revision history for this message
Vassilis Pandis (pandisv) wrote : Re: Rhythmbox 0.9.3.1 crashes at start

Thanks for your bug report. Could you please try to obtain a backtrace by following the instructions on http://wiki.ubuntu.com/DebuggingProgramCrash - thanks.

Changed in rhythmbox:
status: Unconfirmed → Needs Info
Revision history for this message
Manuel Martín Salvador (draxus) wrote :

Is too long to paste here. You cand find at http://draxus.org/upload/backtrace.txt

Revision history for this message
Manuel Martín Salvador (draxus) wrote :

I found the problem when I run with -d option.

[0x8143970] [rb_metadata_load] rb-metadata-gst.c:846 (18:21:48): failed to go to PAUSED for file:///media/sdb1/backups/images/buttons/usa-firefox.png
libpng error: Not a PNG file
Violación de segmento

And when I do the command file to this file I get this:
/media/sdb1/backups/images/buttons/usa-firefox.png: PNG image data, 110 x 32, 8-bit colormap, non-interlaced

Anyway it was my error. I'm going to select only the music folder to re-explore at start. Thanks :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

That might be a duplicate of http://bugzilla.gnome.org/show_bug.cgi?id=335755 which is a gst-plugins-good0.10 bug fixed upstream. Maybe you could attach that image to the bug? Or comment when gst-plugins-good0.10 is updated if the new version fix the issue?

Does "gst-launch-0.10 -t filesrc location=/media/sdb1/backups/images/buttons/usa-firefox.png ! decodebin ! fakesink" crash too?

Changed in rhythmbox:
assignee: nobody → desktop-bugs
Revision history for this message
Manuel Martín Salvador (draxus) wrote :

I have uploaded the image to http://bugzilla.gnome.org/show_bug.cgi?id=335755

When I run "gst-launch-0.10 -t filesrc location=/media/sdb1/backups/images/buttons/usa-firefox.png ! decodebin ! fakesink", it crashes:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/decodebin0/pngdec0: Element doesn't implement handling of this stream. Please file a bug.
Additional debug info:
gstpngdec.c(332): gst_pngdec_caps_create_and_set (): /pipeline0/decodebin0/pngdec0:
pngdec does not support grayscale or paletted data yet
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

Revision history for this message
Sebastien Bacher (seb128) wrote :
Download full text (4.7 KiB)

Could you try if that update fixes the issue?

 gst-plugins-good0.10 (0.10.3-0ubuntu1) dapper; urgency=low
 .
   * New upstream version (Ubuntu: #43135):
     Changes since 0.10.2:
     - Annodex/CMML support
     - RTSP and RTP enhancements
     - HAL configured audio device support
     - FLAC, Matroska, AVI, WAV, ID3, APE, DV and JPEG plugin improvements
     - Recognise SSA/ASS and USF subtitles in Matroska files
     - Fixes for ESD and SunAudio output plugins
     - More uniform plugin descriptions
     - IceCast metadata reading plugin added
     - New plugins ported from 0.8: OSX audio, AVI muxer, X-Windows input,
       WAV encoder, Gdk-Pixbuf image decoder, Smoke decoder,
       Video colour balance
     - Lots of bug fixes
     Bugs fixed since 0.10.2:
     - RTSP src not working with WMServer servers
     - Replacing icy demuxing in gnomevfssrc
     - HAL sound device wrapper plugins
     - totem (gstreamer) crashes when playing an avi file (Ubuntu: #38800)
     - avidemux does not handle eos at end of seek-region
     - faulty GObject macros
     - [patch] Streaming support for wavparse
     - [pngdec] doesn't handle grayscale or paletted
     - Time slider does not work with avi videos from Cannon SD100
     - [auparse] .au files don't play in playbin
     - [wavparse] will not play DTS stream in malformed WAV
     - rtspsrc filter sometimes uses an odd port for rtp
     - annodex decoding and encoding support
     - [id3demux] read in replaygain information from RVA2 frame...
     - " Seek in ready " for dvdemux
     - problem with auparse or mulawdec, choppy esd playback
     - videobalance not ported to new GstVideoFilter
     - " Seek in ready " support for wavparse plugin
     - gst-plugins-good fail to compile with gcc 4.1
     - Profile support for gconfaudiosink
     - Crash playing any song from a particular album over rhyth...
     - Unable to play .fli files
     - Critical warnings when using cddacdiosrc
     - Gstreamer doesn't recognise tags
     - [alpha] state change function returns a constant
     - Another file that gstreamer can't read the tags on
     - [jpeg] smokedec not ported
     - [pngdec] does not support files with png streams
     - [PATCH] avimux ported to 0.10
     - [wavparse] does not support multichannel wavs
     - [id3demux] reads unicode tags incorrectly where .8 did it...
     - [apedemux] some WavPack files with APE tags fail to play ...
     - [sunaudio] unused variables break CVS build with -Werror
     - [PATCH] Fix gst_pad_new_from_template (gst_static_pad_tem...
     - invalid get_times implementation in gstdynudpsink
     - [patch] unref the result of gst_pad_get_parent
     - [jpegdec] wrong durations set on buffers after seeking in...
     - avi of mpeg4 video and adpcm audio from digital camera re...
     - [id3demux] mp3 fails to play because typefinding thinks i...
     - [goom] zoom filter leaked
     - [wavparse] incorrect way to calculate seek position with ...
     - rhythmbox import crasher - png?
     - Video playback out of sync (Ubuntu: #33073)
     - [speexenc] doesn't work (Ubuntu: #34904)
     - move tagli...

Read more...

Revision history for this message
Manuel Martín Salvador (draxus) wrote :

Sorry, but where can I get this update?

Revision history for this message
Sebastien Bacher (seb128) wrote :

To dapper when the update will have been accepted (it has been rejected previously because of a small mistake, I'm reuploading at the moment) and built, which should take some hours from now

Clemens (clast)
Changed in gst-plugins-good0.10:
status: Needs Info → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

clast, thank you for triaging bugs. This one is "Needs info" because it's not clear if it fixes the issue or not and we are waiting for some feedback from the submitter

Changed in gst-plugins-good0.10:
status: Fix Committed → Needs Info
Revision history for this message
Clemens (clast) wrote :

well, i guess i was a little too fast here ;)
but as the release notes of gst-plugins-good 0.10.3 say:

Bugs fixed in this release:
rhythmbox import crasher - png

you're right, though, we need to wait for this to get confirmed.

Revision history for this message
Manuel Martín Salvador (draxus) wrote :

I'm trying to install manually this update (so it isn't in dapper yet), but I get this error in configure:

checking for LIBOIL... configure: error: liboil-0.3 is required
  configure failed

I don't know why, because I have it installed in:
/usr/lib/liboil-0.3.so.0.1.0
/usr/lib/liboil-0.3.so.0

Should I wait to get it from repositories?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Don't bother building it, the package will be update. To install easily what is required "apt-get build-dep gst-plugins-good0.10" will do the trick

Revision history for this message
Manuel Martín Salvador (draxus) wrote :

Works good. Thanks a lot! :)

Changed in gst-plugins-good0.10:
status: Needs Info → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for confirming it's fixed

Changed in gst-plugins-good0.10:
status: Fix Committed → Fix Released
Changed in gstreamer:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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