Opening a saving dialog crashes kino, but compiled with g++-3.4 works(all this propably amd64 specific)

Bug #24449 reported by Elmo
4
Affects Status Importance Assigned to Milestone
Kino
Unknown
Unknown
kino (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

If I do File->save/save as/save as ELI, or on the capture page when press the
"Browse for a file" button for choosing a file for output, kino crashes. Not
sure if related, but since depends on GTK and GNOME, the filedialog bases on the
same code, I believe, so I think so. Might be related to the bugs 10459 and
13627, though I'm able to open files, but common with them is that the problem
is with an AMD64 install. I have a 32bit debian testing(etch) on a 32bit machine
and no problem. Might also relate to the fact that my debian install's GTK/GNOME
libs(at least the ones that matters, I think) are of version 0.2 lower than with
the problematic Ubuntu box. I also tested with 0.76-5 from debian unstable but
no help. Next the reportbug-listings from my working and nonworking setups:

Ubuntu breezy(AMD64), non-working
-- System Information:
Debian Release: testing/unstable
  APT prefers breezy-updates
  APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 'breezy')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-9-amd64-k8
Locale: LANG=fi_FI.UTF-8@euro, LC_CTYPE=fi_FI.UTF-8@euro (charmap=UTF-8)

Versions of packages kino depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.10.3-0ubuntu2 The ATK accessibility toolkit
ii libavc1394-0 0.5.0-2 control IEEE 1394 audio/video devi
ii libbonobo2-0 2.10.1-0ubuntu1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.10.1-0ubuntu2 The Bonobo UI library
ii libc6 2.3.5-1ubuntu12 GNU C Library: Shared libraries an
ii libcairo2 1.0.2-0ubuntu1 The Cairo 2D vector graphics libra
ii libdv4 0.103-2ubuntu1 software library for DV format dig
ii libfontconfig1 2.3.2-1ubuntu4 generic font configuration library
ii libgcc1 1:4.0.1-4ubuntu9 GCC support library
ii libgconf2-4 2.12.0-0ubuntu1 GNOME configuration database syste
ii libglade2-0 1:2.5.1-2ubuntu1 library to load .glade files at ru
ii libglib2.0-0 2.8.3-0ubuntu1 The GLib library of C routines
ii libgnome-keyring0 0.4.5-0ubuntu1 GNOME keyring services library
ii libgnome2-0 2.12.0.1-0ubuntu1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.12.0-0ubuntu2 A powerful object-oriented display
ii libgnomeui-0 2.12.0-0ubuntu1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.12.1-0ubuntu2 The GNOME virtual file-system libr
ii libgtk2.0-0 2.8.6-0ubuntu2 The GTK+ graphical user interface
ii libice6 1:6.3.5-4 X11 Inter-Client Exchange library
ii liborbit2 1:2.12.4-0ubuntu1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.10.1-0ubuntu1 Layout and rendering of internatio
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libquicktime1 0.9.3-2ubuntu2 A library for reading and writing
ii libraw1394-5 0.10.1-1.1 library for direct access to IEEE
ii libsamplerate0 0.1.1-2 audio rate conversion library
ii libsm6 1:6.0.4-4 X11 Session Management library
ii libstdc++6 4.0.1-4ubuntu9 The GNU Standard C++ Library v3
ii libx11-6 1:6.2.1+cvs.20050722-8 X11 client-side library
ii libxcursor1 1.1.4-0ubuntu5 X cursor management library
ii libxext6 1:6.4.3-3 X11 miscellaneous extension librar
ii libxfixes3 1:3.0.0-3 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.3.0-2 X11 Input extension library
ii libxinerama1 1:1.1.0+cvs.20050821-1 X11 Xinerama extension library
ii libxml2 2.6.21-0ubuntu1 GNOME XML library
ii libxrandr2 1:1.0.2-2 X11 RandR extension library
ii libxrender1 1:0.9.0-1 X Rendering Extension client libra
ii libxv1 1:2.2.0+cvs.20050712-3 X11 Video extension library
ii zlib1g 1:1.2.3-3ubuntu4 compression library - runtime

Versions of packages kino recommends:
ii kino-dvtitler 0.2.0-1 title generator for use with kino
ii kino-timfx 0.2.2-2ubuntu1 effect plug-ins for kino
ii kinoplus 0.3.5-1build1 effect plug-ins for kino

-- no debconf information

Debian testing(32bit):
Package: kino
Version: 0.75-7

-- System Information:
Debian Release: testing/unstable
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages kino depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
ii libavc1394-0 0.5.1-1 control IEEE 1394 audio/video devi
ii libbonobo2-0 2.10.1-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.10.1-1 The Bonobo UI library
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libdv4 0.103-2 software library for DV format dig
ii libgcc1 1:4.0.2-2 GCC support library
ii libgconf2-4 2.10.1-6 GNOME configuration database syste
ii libglade2-0 1:2.5.1-2 library to load .glade files at ru
ii libglib1.2 1.2.10-10 The GLib library of C routines
ii libglib2.0-0 2.8.3-1 The GLib library of C routines
ii libgnome2-0 2.10.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.10.2-2 A powerful object-oriented display
ii libgnomeui-0 2.10.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.10.1-5 The GNOME virtual file-system libr
ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface
ii libice6 6.8.2.dfsg.1-7 Inter-Client Exchange library
ii liborbit2 1:2.12.4-1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.8.2-3 Layout and rendering of internatio
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libquicktime1 0.9.3-2 A library for reading and writing
ii libraw1394-5 0.10.1-1.1 library for direct access to IEEE
ii libsamplerate0 0.1.1-2 audio rate conversion library
ii libsm6 6.8.2.dfsg.1-7 X Window System Session Management
ii libstdc++5 1:3.3.6-7 The GNU Standard C++ Library v3
ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li
ii libxext6 6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii libxml2 2.6.22-1 GNOME XML library
ii libxv1 6.8.2.dfsg.1-7 X Window System video extension li
ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m
ii zlib1g 1:1.2.3-4 compression library - runtime

Versions of packages kino recommends:
ii kino-dvtitler 0.2.0-1 title generator for use with kino
ii kino-timfx 0.2.2-3 effect plug-ins for kino
ii kinoplus 0.3.5-1 effect plug-ins for kino

-- no debconf information

Revision history for this message
Elmo (elmo13) wrote :

It seems that opening any "saving"-dialog chrashes kino. I also read in the
forums that the hoary version installed in breezy works, but haven't tested myself.

Revision history for this message
Mike Dobbs (spam-mdobbs) wrote :

I found if you recompile kino with g++-3.4 it no longer crashes on save. I'm
running amd64.

Revision history for this message
Elmo (elmo13) wrote :

Now just if someone would be so kind to just make the appropriate changes...

Revision history for this message
Mike Dobbs (spam-mdobbs) wrote :

This seems to fix it. Seems to be the same gtk_file_chooser_dialog_new NULL cast
probem as in #13627. My patch below.

--- src/kino_common.cc 2005-12-21 21:08:39.000000000 -0600
+++ src/kino_common.cc.org 2004-10-23 02:00:55.000000000 -0500
@@ -844,7 +844,7 @@
                                GTK_FILE_CHOOSER_ACTION_OPEN,
                                GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
                                GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
- (const gchar *) NULL );
+ NULL );

        preview = ( GtkDrawingArea* )gtk_drawing_area_new();
        gtk_widget_set_size_request( GTK_WIDGET(preview), 160, 120 );
@@ -919,7 +919,7 @@
                                        GTK_FILE_CHOOSER_ACTION_SAVE,
                                        GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
                                        GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
- (const gchar *) NULL);
+ NULL);
        gtk_window_set_modal( GTK_WINDOW( dialog ), TRUE );
        if ( last_directory == "" )
        {

Revision history for this message
Mike Dobbs (spam-mdobbs) wrote :

Created an attachment (id=5450)
add (const gchar *) NULL) to end of gtk_file_chooser_dialog_new

Revision history for this message
Daniel Holbach (dholbach) wrote :

Is this still a problem?

Changed in kino:
status: Unconfirmed → Needs Info
Revision history for this message
Elmo (elmo13) wrote : Re: [Bug 24449] Re: Opening a saving dialog crashes kino, but compiled with g++-3.4 works(all this propably amd64 specific)

Daniel Holbach wrote:
> Is this still a problem?
>
> ** Changed in: kino (Ubuntu)
> Status: Unconfirmed => Needs Info
>
>
I think this has been corrected upstream at least, but not sure. I can
test if there's still a problem.

Revision history for this message
Joachim R. (jro) wrote :

It has nothing to do with the open file dialog bug.
In fact my bug is a duplicate of https://bugs.launchpad.net/ubuntu/+source/kino/+bug/188553

Revision history for this message
Joachim R. (jro) wrote :

sorry wrong post !
I'm not in the right bug... you can delet all my posts on this bug

LaserJock (laserjock)
Changed in kino:
assignee: jr → nobody
Revision history for this message
LaserJock (laserjock) wrote :

Looks like this has been fixed upstream. If this problem happens again feel free to reopen.

Changed in kino:
status: Incomplete → Fix Released
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.