PITIVI crashes when adding video clips with RGBA transparency enabled

Bug #586390 reported by Ken VanDine
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
GStreamer
New
Undecided
Unassigned
PiTiVi
Invalid
Undecided
Unassigned
pitivi (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: pitivi

When adding a video clip to the timeline pitivi crashes with the error below. The same video clip works on Lucid, I suspect this is related to rgba in gtk.

(pitivi:7794): GStreamer-CRITICAL **: Could not convert static caps "image/png, width = (int) [ 16, 4096 ], height = (int) [ 16, 4096 ], framerate = (fraction) [ 0.0, MAX ]"
Traceback (most recent call last):
  File "/usr/lib/pitivi/python/pitivi/discoverer.py", line 682, in _newDecodedPadCb
    self._newVideoPadCb(pad)
  File "/usr/lib/pitivi/python/pitivi/discoverer.py", line 631, in _newVideoPadCb
    gst.element_link_many(pngenc, pngsink)
gst.LinkError: failed to link pngenc0 with filesink0
Traceback (most recent call last):
  File "/usr/lib/pitivi/python/pitivi/timeline/track.py", line 891, in _compositionDurationChangedCb
    self.emit('duration-changed', duration)
  File "/usr/lib/pitivi/python/pitivi/signalinterface.py", line 145, in emit
    *args, **kwargs)
  File "/usr/lib/pitivi/python/pitivi/signalinterface.py", line 119, in emit
    res = cb(*ar, **kw)
  File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 1482, in _trackDurationChangedCb
    self._updateDuration()
  File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 1488, in _updateDuration
    self.emit('duration-changed', duration)
  File "/usr/lib/pitivi/python/pitivi/signalinterface.py", line 145, in emit
    *args, **kwargs)
  File "/usr/lib/pitivi/python/pitivi/signalinterface.py", line 119, in emit
    res = cb(*ar, **kw)
  File "/usr/lib/pitivi/python/pitivi/ui/mainwindow.py", line 974, in _timelineDurationChangedCb
    self._setBestZoomRatio()
  File "/usr/lib/pitivi/python/pitivi/ui/mainwindow.py", line 720, in _setBestZoomRatio
    ideal_zoom_ratio = ruler_width / float(timeline_duration / gst.SECOND)
ZeroDivisionError: float division

Gdk-ERROR **: The program 'pitivi' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 46 error_code 8 request_code 132 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...
Trace/breakpoint trap

Changed in pitivi (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Edward Hervey (bilboed) (bilboed-deactivatedaccount) wrote :

Please re-assign this to gst-plugins-good package handling.

The initial error was fixed in gst-plugins-good by the following commit:
commit 2a5f368bc79d5fa7a1d234a0e06282973f9e6cf9
Author: Benjamin Otte <email address hidden>
Date: Mon Mar 8 22:57:34 2010 +0100

    png: fractions don't allow doubles

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

ken, could you confirm if the issue is fixed with the current gstreamer?

tags: removed: gtk-csd
Changed in pitivi (Ubuntu):
importance: Medium → Low
status: New → Incomplete
Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote :

Actually, why is the importance "LOW"? As far as I know, Ubuntu 10.10 should come with rgba by default.

In my case PITIVI only crashes, no error messages. I wanted to disable RGBA transparency, but I somehow can't do that, it stays on even after disabling it. Could u help me how to do that, for I could test it?

Revision history for this message
Luis de Bethencourt Guimerá (luisbg) wrote :

The problem is in gstreamer/ubuntu, so closing the pitivi bug report.

Changed in pitivi (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
zsolt.ruszinyák (zsolt-ruszinyak) wrote :

I have managed to disable transparency now (by uninstalling some packages) and PITIVI works again.

summary: - crashes when adding video clips
+ PITIVI crashes when adding video clips
summary: - PITIVI crashes when adding video clips
+ PITIVI crashes when adding video clips with RGBA transparency enabled
Changed in pitivi:
status: New → Invalid
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.