libgtk 2.21.6 random segfault with many gdk functions

Bug #626040 reported by ammonkey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTK+
Invalid
Medium
gtk+2.0 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Since the move to libgtk 2.21.6 some applications like nautilus tend to crash segfault randomly. gdb show the segfaults happen on many gdk functions. Here are two differents backtraces for a same segfault happening in differents conditions.

http://pastebin.com/pue90cRC
http://pastebin.com/SjVsJN90

There are other segfaults that concern some other gdk functions but they are hard to reproduce because of the previous one.

Downgrading to libgtk 2.21.5 solve theses segfault. But there's now too many packages asking for libgtk 2.21.6 as a depency to be a viable solution. The strange thing is that if you previously compiled nautilus with libgtk 2.21.5 even if you update libgtk-2.0 to 2.21.6 then the problem is solved. Maybe this come from some missing headers in 2.21.6. I don't have any clue but this is what i've observed and what the backtraces tend to say.

This bug may concern some other gtk apps than nautilus, some apps using advanced drawing gdk functions.

It's a critical bug because nautilus is barely usable and even to get a window you have to pray for it to avoid the random crash at launch and after. Just change a theme and nautilus crash / restart. It happens very very often.

ps: reported upstream https://bugzilla.gnome.org/show_bug.cgi?id=628216

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, however there's no need to report a bug in Ubuntu if you already did it at the upstream bts. linking that report for now.

Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in gtk:
status: Unknown → New
Revision history for this message
ammonkey (am-monkeyd) wrote :

same happens with 2.27.1
Maybe it's time to consider a real downgrade to 2.25, the maverick release is in 30+ days.

Revision history for this message
ammonkey (am-monkeyd) wrote :

oups mixed up the versions
s/2.27.1/2.21.7 /
s/2.25/2.21.5/

Revision history for this message
Cody Russell (bratsche) wrote :

Are you still having this issue? Can you maybe post your ~/.xsession-errors file just prior to the crash? I'm unable to reproduce this error on any of my machines.

Revision history for this message
Cody Russell (bratsche) wrote :

Or if there's a way to give me a hint on how to reliable reproduce the crasher, that would help immensely.

Changed in gtk:
importance: Unknown → Medium
Revision history for this message
ammonkey (am-monkeyd) wrote :

@Cody Russell seems fixed with vanilla nautilus 2.31.92. Maybe some compil DEPRECATED flags changed.

Changed in gtk+2.0 (Ubuntu):
status: Triaged → Invalid
Changed in gtk:
status: New → 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.