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 316738 - Segfault upon close
Segfault upon close
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: logview
trunk
Other All
: High critical
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
: 316830 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-19 21:38 UTC by Luke Macken
Modified: 2005-09-25 22:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
logview-crash-fix.patch (437 bytes, patch)
2005-09-19 21:39 UTC, Luke Macken
committed Details | Review

Description Luke Macken 2005-09-19 21:38:54 UTC
Steps to reproduce:
Steps to Reproduce:
1. Open System Tools->System Log as a regular user
2. Close the application

Stack trace:
  • #0 destroy
    at logview.c line 221
  • #1 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #2 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #3 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #4 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #6 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #7 gtk_widget_hide_on_delete
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 gtk_window_remove_embedded_xid
    from /usr/lib/libgtk-x11-2.0.so.0
  • #9 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_widget_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 gdk_screen_get_setting
    from /usr/lib/libgdk-x11-2.0.so.0
  • #14 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #17 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 main
    at logview.c line 400


Other information:
When opening the gnome-system-log as an unprivileged user, no logfiles are opened. 
Closing the gnome-system-log application with no log files open will then cause
a crash.
Comment 1 Luke Macken 2005-09-19 21:39:57 UTC
Created attachment 52407 [details] [review]
logview-crash-fix.patch

Patch to fix segmentation fault when closing gnome-system-log
Comment 2 Vincent Noel 2005-09-20 14:19:35 UTC
I have applied your patch. Thanks a lot for your help !
Comment 3 Kjartan Maraas 2005-09-25 22:02:01 UTC
*** Bug 316830 has been marked as a duplicate of this bug. ***