[Bug 21629] New: filechooser crash

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Dec 28 22:12:53 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=21629
Ubuntu | gtk+2.0

           Summary: filechooser crash
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gtk+2.0
        AssignedTo: seb128 at ubuntu.com
        ReportedBy: jani at ubuntu.com
         QAContact: desktop-bugs at lists.ubuntu.com


Noticed in evince open dialog but turned out to be a gtk bug
If the filechooser adds filters using gtk_file_filter_add_pixbuf_formats
(filter) as evince does _and_
if the directory it is opening in contains a file which ends in .ac
(configure.ac for instance) it crashes
in strcmp() in some gtk_filter_filter private function.
Maybe other extensions trigger it too not just .ac
Works on breezy, only latest gtk on dapper crashes.

Reproduce with the following script, try with a.ac and without it in the current
dir.


#!/usr/bin/python
import gtk

fc = gtk.FileChooserDialog("Pig", None, gtk.FILE_CHOOSER_ACTION_OPEN,
                                (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
                                gtk.STOCK_OPEN, gtk.RESPONSE_OK))

ff = gtk.FileFilter()
ff.add_pixbuf_formats()
fc.add_filter(ff)
fc.run()

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list