GTK2 Open File Dialog causes crash

Bug #207598 reported by Lightning
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

All GTK2 applications including Firefox cannot use the File Open or Save dialogs, when navigating in almost all directories except those with custom icon such as Desktop in home dir, it is either related to GTK2 itself or Gnome VFS (suggested by app output), this type of behaviour only appeared after (auto)upgrading to gutsy.

ProblemType: Crash
Architecture: amd64
Date: Thu Mar 27 09:25:59 2008
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/gedit
NonfreeKernelModules: vmnet vmmon nvidia
Package: gedit 2.20.3-0ubuntu1
PackageArchitecture: amd64
ProcCmdline: gedit
ProcCwd: /home/vivi
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=ro_RO.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: gedit
StacktraceTop:
 strlen () from /lib/libc.so.6
 vfprintf () from /lib/libc.so.6
 vasprintf () from /lib/libc.so.6
 g_vasprintf () from /usr/lib/libglib-2.0.so.0
 g_strdup_vprintf () from /usr/lib/libglib-2.0.so.0
Title: gedit crashed with SIGSEGV in strlen()
Uname: Linux VIVIPC 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Tags: apport-crash
Revision history for this message
Lightning (lightningflash) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:strlen () from /lib/libc.so.6
vfprintf () from /lib/libc.so.6
vasprintf () from /lib/libc.so.6
IA__g_vasprintf (string=0x1,
IA__g_strdup_vprintf (format=0x1 <Address 0x1 out of bounds>, args=0x7fffeda79738)

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Changed in gedit:
importance: Undecided → Medium
Revision history for this message
Lightning (lightningflash) wrote :

Application Output

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a valgrind log following the instructions at [WWW] https://wiki.ubuntu.com/Valgrind and attach the file to the bug report. This will greatly help us in tracking down your problem. What do you have in .gtk-bookmarks?

Changed in gedit:
assignee: nobody → desktop-bugs
status: New → Incomplete
Revision history for this message
tronicum (stefan-sels) wrote :

I also experience this problem with both Firefox (2.0 and 3.0b4). I upgraded to Kubuntu Gutsy. See my attached valgrind log.

Revision history for this message
tronicum (stefan-sels) wrote :

my .gtk-bookmarks is empty btw.

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

the valgrind log is almost empty, are you sure you had no firefox already running which has been used rather than the new one?

Revision history for this message
tronicum (stefan-sels) wrote :

I had, but it seems valgrind does not follow processes called by a shell script. As firefox is launched by such, it did follow.

I made a new log by calling /usr/lib/firefox-3.0b4/firefox via valgrind (see attachment)

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

the log has some errors but lack debug symbols, could you install libgtk2.0-0-dbg and get a new one?

Revision history for this message
tronicum (stefan-sels) wrote :

sure. see attachment.

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

The log has still no debug symbol for some reason

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

Could you describe the exacts action you do in firefox to trigger the bug? Could you try to upgrade to the current hardy versions and see if that's still an issue?

Revision history for this message
tronicum (stefan-sels) wrote :

The action I did was open this launchpad page, trying to save an Image.

BUT: the problem vanished with latest hardy as of today! It works fine now...

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

closing the bug since that works correctly now, feel free to reopen if you get the issue again though

Changed in gedit:
status: Incomplete → Fix Released
Revision history for this message
Lightning (lightningflash) wrote :

Upgraded to hardy today, bug is still there, going to get the valgrind log

Revision history for this message
Lightning (lightningflash) wrote :

Valgrind log
Problem is still there ...
I should use a non-gtk browser in the future, getting files attached is a pain with this bug ;)

Revision history for this message
Lightning (lightningflash) wrote :

Bug is still present after upgrading to Ubuntu 8.04 - Hardy Heron

Changed in gedit:
status: Fix Released → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

the log has no debug symbols, could you install libglib2.0-0-dbgsym libgtk2.0-0-dbgsym and get a new one?

Changed in gedit:
status: New → Incomplete
Revision history for this message
Lightning (lightningflash) wrote :

Will try again tomorrow, libgtk2.0-0-dbgsym shows wrong unresolved dependencies, "2.12.9-3ubuntu3 is about to be installed" but debugsym package requires 2.12.9-3ubuntu2
I think libglib may not be enough for you to track the problem, it is strange that directories that have custom icon can be browsed safely, this makes me think it might be some configuration that got mixedup during the upgrade to Feisty and persists even in Hardy.
Apparently i'm stuck until the repositories are in synch again :(

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

you can install libgtk2.0-0-dbg instead

Revision history for this message
Lightning (lightningflash) wrote :

I hope it has what you need to find the problem ...

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

thank you for your effort there bug the log has still no gtk debug symbols, the log has an error but no segfault, did you get the crash? do you get the issue when using the stock GNOME settings? you might want to try installing the hardy gtk version and the dbgsym to try getting debug symbols

Revision history for this message
Lightning (lightningflash) wrote :

Apparently debug symbols are now available, i have upgraded to hardy and i am using the most recent versions of most packages including gtk2 and glib.
The application does crash when i navigate into subfolders that have no custom icon (or settings), i have used the default theme, nothing changes, i had experienced a similar issue with gimp even on other OS but since it affects my whole system it's quite annoying, if you have any suggestions i will try them.
Will get another valgrind log in the morning.

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

so the issue is due to custom icons? do you still get it or is that fixed in hardy?

Revision history for this message
Johann Philipp Strathausen (strathausen) wrote :

Having the same problem. AFAIR this started to happen when I once used the gtk-qt-engine and kde-Dialogues. Don't use them anymore and upgraded to Hardy, but the problem remains.

Revision history for this message
Johann Philipp Strathausen (strathausen) wrote :

With me the application appears to only crash when I want to access a folder that is not listed on the left side (Locations, there the drives are displayed, etc.)

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

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in gedit:
status: Incomplete → Invalid
Revision history for this message
Antti Salminen (antti-salminen) wrote :

I've got the same issue after a fresh upgrade to Hardy. I've tried to produce a valgrind log with the symbols you need, please let me know if it helps. It's from Rhythmbox, trying to do "Add folder" triggers the crash.

Revision history for this message
Antti Salminen (antti-salminen) wrote :

Reopening, hopefully my additions will complete the report...

Changed in gedit:
status: Invalid → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has different comments and is confusing now, could you rather open a new bug if you still get the issue on hardy?

Changed in gedit:
status: Incomplete → 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.