On Fri, Jul 22, 2005 at 03:58:18PM +0000, Max Alekseyev wrote: > Paul Brossier wrote: > > >the backtrace actually suggests that the bug is somewhere in gtk. > >what does it look like with libtgtk2.0-0-dbg installed as suggested at > >http://bugs.debian.org/315083 ? > > Here it comes:
> #8 0x00002aaaabbba435 in IA__gtk_file_chooser_dialog_new ( > title=0x7fff00000000 <Address 0x7fff00000000 out of bounds>, parent=0x1, mmh, please try again the packages at piem.org which includes the attached patch. cheers, piem
#! /bin/sh /usr/share/dpatch/dpatch-run ## Paul Brossier <[EMAIL PROTECTED]> ## DP: fix out of bound error on (amd)64 bit @DPATCH@ --- kino-0.7.6/src/kino_common.cc 2005-05-16 03:26:00.000000000 +0100 +++ kino-0.76/src/kino_common.cc 2005-07-22 17:17:53.000000000 +0100 @@ -833,7 +833,7 @@ \return a string inidicating the selected file (an empty string denotes no selection) */ -char *KinoCommon::getFileToOpen( char *title ) +char *KinoCommon::getFileToOpen( const gchar *title ) { GtkWidget *dialog; GtkDrawingArea *preview; @@ -910,7 +910,7 @@ return tempFileName; } -char *KinoCommon::getFileToSave( char *title ) +char *KinoCommon::getFileToSave( const gchar *title ) { GtkWidget *dialog; --- kino-0.7.6/src/kino_common.h 2004-11-06 12:00:00.000000000 +0000 +++ kino-0.76/src/kino_common.h 2005-07-22 17:16:01.000000000 +0100 @@ -243,8 +243,8 @@ void commitComponentState( component_enum = ( component_enum ) 0 ); // File Dialogs - char *getFileToOpen( char * ); - char *getFileToSave( char * ); + char *getFileToOpen( const gchar * ); + char *getFileToSave( const gchar * ); // misc void setPreviewSize( float factor, bool noWarning = false );