GNOME Bugzilla – Bug 120118
crash: enable line numbers, then disabling them causes crash
Last modified: 2004-12-22 21:47:04 UTC
Using 2.4 beta1 ebuilds from breakmygentoo.net Steps to reproduce: 1 launch gedit 2 go to prefs 3 enable line numbers 4 don't close prefs window and disable line numbers --> crash
I cannot reproduce this bug. Could you please attach more info. A backtrace would help a lot. See http://bugzilla.gnome.org/getting-traces.cgi for more info on how to get a stack trace.
+ Trace 40524
Aucun processus de ce type = processus not found
+ Trace 40532
backtrace from gedit crash it only seems to happen when turning line numbers off. The gconf setting gets propagated before the crash, on next startup the linenumbers will be off.
According to Obz and foser in #gentoo this bug can be reproduced using test-widget in gtksourceview/tests disabling both markers and line numbers. I cannot reproduc it on my machine (gtk+ from CVS on RH Linux 8)
I can't reproduce either (RH9 + very recent CVS Gnome 2.4). Which version of Gtk+ and GtkSourceView are you using?
I'm using Garnome (the version for GNOME RC1, IIRC) on Debian. I can't reproduce. I don't think there are Debian packages for 2.4 yet, so I can't test native packages. It may be a problem with programs compiled with -O5 and more (like many bugs reported by gentoo users). Can you rebuild things without optimizations ?
Created attachment 20422 [details] [review] gtksourceview-0.6.0-border_fix.patch
Hello. I can reproduce the behavior reported, as well as the backtrace attached by foser. Having a look at the problem, I found a possible workaround. The crash seems to go away when gtksourceview (v0.6.0) is compiled with the above patch. As foser told me: "..although i think your patch is a workaround for the real problem, i think it indicates where we need to look.. could you contact paolo or add it to the gnome bugreport later on so we can work from there ?" Thanks.
This patch looks a workaround to me and so I don't think it should be included in gtksourceview. BTW, it shows as that the problem is the disappearing of the "left window" (I was already suspecting it). Are you sure your gtk+ patches are not the cause of the problem? Have you tried to reproduce it on a non-over-optimized glib/pango/gtk+ stack?
*** Bug 124880 has been marked as a duplicate of this bug. ***
Just to comment, I'm using "-march=pentium3 -O3 -pipe -fPIC" on my gentoo. Last time I checked, thats still pretty conservative.
Ken: We mark all bugs compiled with -O3 or higher as NOTABUG since that level of optimization is known to break some things. Can you recompile with -O2 and see if the crash still occurs?
I tried with -O2 with 2.4.0, problem still exists. I get the same stacktrace as foser above.
This seems to be a gentoo specific bug. Nobody using other dists is able to reproduce it. I'm going to re-close it as NOTABUG. Please, repost this bug to gentoo guys if you want to see it fixed.
*** Bug 127845 has been marked as a duplicate of this bug. ***
*** Bug 127900 has been marked as a duplicate of this bug. ***