After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 127845 - GEdit segfault
GEdit segfault
Status: RESOLVED DUPLICATE of bug 120118
Product: gedit
Classification: Applications
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
Depends on:
Blocks:
 
 
Reported: 2003-11-24 21:56 UTC by Øyvind Stegard
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Øyvind Stegard 2003-11-24 22:00:18 UTC
Distribution: Unknown
Package: gedit
Severity: normal
Version: GNOME2.4.0 2.4.0
Gnome-Distributor: Gentoo Linux
Synopsis: GEdit segfault
Bugzilla-Product: gedit
Bugzilla-Component: general
Bugzilla-Version: 2.4.0
BugBuddy-GnomeVersion: 2.0 (2.4.0.1)
Description:
Description of the crash:
Quick turning line-numbering on-off-on causes gedit to segfault.

Steps to reproduce the crash:
1. See above.
2. 
3. 

Expected Results:
I expected line-numbering to be turned on and off without a crash =)	

How often does this happen?
Often

Additional Information:



Debugging Information:

Backtrace was generated from '/usr/bin/gedit'

(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 2970)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...0x4051c1c7 in waitpid () from
/lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 2970))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 __pthread_sighandler
    from /lib/libpthread.so.0
  • #3 <signal handler called>
  • #4 gdk_window_get_toplevel
    from /usr/lib/libgdk-x11-2.0.so.0
  • #5 gdk_window_process_updates_internal
    from /usr/lib/libgdk-x11-2.0.so.0
  • #6 gdk_window_process_all_updates
    from /usr/lib/libgdk-x11-2.0.so.0
  • #7 gdk_window_update_idle
    from /usr/lib/libgdk-x11-2.0.so.0
  • #8 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #10 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #11 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #12 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #13 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 main
  • #15 __libc_start_main
    from /lib/libc.so.6
  • #0 waitpid
    from /lib/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-11-24 17:00 -------

Unknown version 2.4.0 in product gedit. Setting version to the default, "unspecified".
The original reporter (oyvinst@ifi.uio.no) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, maggi@athena.polito.it.

Comment 1 Øyvind Stegard 2003-11-25 00:42:26 UTC
It helps to have a lot of files opened at once, to trigger the bug.
Comment 2 Elijah Newren 2003-12-10 05:07:26 UTC
What level of optimization are you compiled with?  What version of gtk
are you using?  Are you compiling in any extra patches?

This looks like it might be a duplicate of bug 120118, but I'm not sure.
Comment 3 Øyvind Stegard 2003-12-11 14:23:09 UTC
At the time of compilation I think I used CFLAGS="-march=pentium3 -O2
-fomit-frame-pointer". The bug is really much simpler to trigger than
I indicated earlier. There is no need to have any open documents. Just
go into Prefs, enable line numbers, then disable them again => segfault. 

Gtk version is 2.2.4 (glib 2.2.3). There are extra patches applied by
the Gentoo ebuild script. After some investigation I think these are
included:
# the wrong symbols
gtk+-2.0.6-exportsymbols.patch
# should speed up metacity
gtk+-wm.patch
# bautifying patch for disabled icons
disable_icons_smooth_alpha.patch
# xft/slighthint stuff from RH
xftprefs.patch
# notification area loop fix
(http://bugs.gnome.org/show_bug.cgi?id=122327)
# submitted by <pat@engsoc.org>
2.2-notificationarea_loop.patch
                                                                     
                                

                                                                     
                                And yes, this is in fact a duplicate
of bug # 120118 (just checked it out). I don't use aggressive
optimalization options.
Comment 4 Paolo Maggi 2003-12-11 14:47:57 UTC

*** This bug has been marked as a duplicate of 120118 ***
Comment 5 Elijah Newren 2003-12-11 19:00:53 UTC
Øyvind Stegard: For future reference, -fomit-frame-pointer makes stack
traces useless.  Please recompile without that option to obtain useful
stack traces.  I suspect one of the gtk+ patches may be at fault, so
if I were to try to track it down, I'd start by removing those to see
if they helped.  Anyway, just some food for thought.  I'll let the
rest of the discussion (if there be any) go on in bug 120118.