← Back to team overview

openshot.developers team mailing list archive

[Bug 544308] Re: openshot crashes with cairo development version 1.9.6

 

Hi folks, thanks to our dear developper at Mandriva (aka as the great
Teuf), there is a simple fix for this bug (and it will affect all users
with a recent cairo version).

The problem comes from the size of the initial window claimed by openhost, it is of 50 000 and the cairo check does not allow a value of more than 32k. Full details are there:
https://qa.mandriva.com/show_bug.cgi?id=57815

Git commit:
http://cgit.freedesktop.org/cairo/commit/?id=67d40e5c7300c4082484dbda5c81808737bb2ac5
(added between 1.9.2 and 1.9.4)

A simple patch is:

--- openshot/windows/MainGTK.py 2010-04-12 05:38:29.000000000 +0200
+++ openshot/windows/MainGTK.py 2010-04-14 17:10:07.853844262 +0200
@@ -98,7 +97,7 @@

                self.MyCanvas = goocanvas.Canvas()
                self.MyCanvas.connect("scroll-event", self.on_scrolledwindow_Right_scroll_event)
-               self.MyCanvas.set_bounds (0, 0, 50000, 5000)
+               self.MyCanvas.set_bounds (0, 0, 30000, 5000)
                hboxTimeline.set_border_width(0)
                self.MyCanvas.show()

@@ -106,7 +105,7 @@
                self.TimelineCanvas_Left = goocanvas.Canvas()
                self.TimelineCanvas_Left.connect("scroll-event", self.on_scrolledwindow_Left_scroll_event)
                self.TimelineCanvas_Left.set_size_request (160, 0)
-               self.TimelineCanvas_Left.set_bounds (0, 0, 50000, 80) #l, t, r, b
+               self.TimelineCanvas_Left.set_bounds (0, 0, 30000, 80) #l, t, r, b
                self.TimelineCanvas_Left.show()

                self.TimelineCanvas_Right = goocanvas.Canvas()

Applying the fix works in our development tree (cooker) and render
openshot usable again.

Time for a 1.1.4 relelase?

-- 
openshot crashes with cairo development version 1.9.6
https://bugs.launchpad.net/bugs/544308
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: New

Bug description:
I'm providing the Mandriva package for openshot.

Although openshot works fine in latest stable Mandriva 2010 edition, the latest developpment edition known as "cooker" for the future 2010 Spring exhibits an openshot crash at the beginning.

The only reason is the migration from cairo 1.8.10 to 1.9.6 (dev branch).

I have provided a complete description of the version/os and a backtrace on mandriva's bugzilla (https://qa.mandriva.com/show_bug.cgi?id=57815).

The package (rpm) is provided by the distribution (openshot-1.1.1-1mdv2010.1.src.rpm), the distribution is Mandriva Linux 2010 Spring edition (cooker), and openshot is at version 1.1.1 (the same crash appeared with version 1.0 and 1.1).

Just to let you know upstream cairo needs adjustments for openshot (i'm not sure if cairo or openshot is at fault there).

Let me know if you need more info (and great work for giving us another good video editor !).





References