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 539560 - Click "File Systems" -> Segmentation fault
Click "File Systems" -> Segmentation fault
Status: RESOLVED DUPLICATE of bug 529533
Product: system-monitor
Classification: Core
Component: disk list
2.23.x
Other All
: Normal critical
: ---
Assigned To: System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-22 06:16 UTC by sangu
Modified: 2011-11-11 10:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description sangu 2008-06-22 06:16:37 UTC
Steps to reproduce:
1. Launch gnome-system-monitor
2. Click "File Systems"
3. 


Stack trace:
$ gdb gnome-system-monitor
[...]
[New Thread 0xb7328b90 (LWP 24870)]

** (gnome-system-monitor:24866): WARNING **: SELinux was found but is not enabled.


(gnome-system-monitor:24866): glibmm-WARNING **: failed to wrap type of 'GHalMount'

(gnome-system-monitor:24866): glibmm-WARNING **: failed to wrap type of 'GHalMount'

(gnome-system-monitor:24866): glibmm-WARNING **: failed to wrap type of 'GHalMount'

Program received signal SIGSEGV, Segmentation fault.
Gio::Mount::get_name (this=0x0) at mount.cc:387
387	  return Glib::convert_return_gchar_ptr_to_stdstring(g_mount_get_name(const_cast<GMount*>(gobj())));

(gdb) bt
  • #0 Gio::Mount::get_name
    at mount.cc line 387
  • #1 cb_update_disks
    at disks.cpp line 75
  • #2 cb_change_current_page
    at callbacks.cpp line 373
  • #3 _gtk_marshal_VOID__POINTER_UINT
    at gtkmarshalers.c line 2633
  • #4 IA__g_closure_invoke
    at gclosure.c line 490
  • #5 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #6 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #7 IA__g_signal_emit
    at gsignal.c line 2243
  • #8 gtk_notebook_switch_page
    at gtknotebook.c line 5814
  • #9 gtk_notebook_switch_focus_tab
    at gtknotebook.c line 5884
  • #10 gtk_notebook_button_press
    at gtknotebook.c line 2506
  • #11 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #12 g_type_class_meta_marshal
    at gclosure.c line 567
  • #13 IA__g_closure_invoke
    at gclosure.c line 490
  • #14 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #15 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #16 IA__g_signal_emit
    at gsignal.c line 2243
  • #17 gtk_widget_event_internal
    at gtkwidget.c line 4706
  • #18 IA__gtk_widget_event
    at gtkwidget.c line 4503
  • #19 IA__gtk_propagate_event
    at gtkmain.c line 2343
  • #20 IA__gtk_main_do_event
    at gtkmain.c line 1548
  • #21 gdk_event_dispatch
    at gdkevents-x11.c line 2365
  • #22 IA__g_main_context_dispatch
    at gmain.c line 2063
  • #23 g_main_context_iterate
    at gmain.c line 2696
  • #24 IA__g_main_context_iteration
    at gmain.c line 2759
  • #25 IA__gtk_main_iteration
    at gtkmain.c line 1257
  • #26 wnck_find_pid_for_resource_r
    at util.c line 326
  • #27 wnck_find_pid_for_resource_r
    at util.c line 345
  • #28 wnck_find_pid_for_resource_r
    at util.c line 345
  • #29 wnck_find_pid_for_resource_r
    at util.c line 345
  • #30 wnck_find_pid_for_resource_r
  • #31 wnck_find_pid_for_resource_r
    at util.c line 345
  • #32 wnck_find_pid_for_resource_r
    at util.c line 345
  • #33 wnck_find_pid_for_resource_r
    at util.c line 345
  • #34 wnck_find_pid_for_resource_r
    at util.c line 345
  • #35 wnck_find_pid_for_resource_r
    at util.c line 345
  • #36 wnck_find_pid_for_resource_r
    at util.c line 345
  • #37 wnck_find_pid_for_resource_r
    at util.c line 345
  • #38 wnck_find_pid_for_resource_r
  • #39 wnck_find_pid_for_resource_r
    at util.c line 345
  • #40 wnck_pid_read_resource_usage_fill_cache
    at util.c line 428
  • #41 g_idle_dispatch
    at gmain.c line 4168
  • #42 IA__g_main_context_dispatch
    at gmain.c line 2063
  • #43 g_main_context_iterate
    at gmain.c line 2696
  • #44 IA__g_main_loop_run
    at gmain.c line 2919
  • #45 IA__gtk_main
    at gtkmain.c line 1169
  • #46 Gtk::Main::run_impl
    at main.cc line 536
  • #47 Gtk::Main::run
    at main.cc line 483
  • #48 main
    at procman.cpp line 770


Other information:
OS :  Fedora Development (rawhide 20080621)
gnome-system-monitor-2.23.3-2.fc10.i386
libgtop2-2.23.2-1.fc10.i386
glibmm24-2.16.2-1.fc10.i386
gtkmm24-2.13.0-1.fc10.i386
gtk2-2.13.3-2.fc10.i386
glib2-2.17.2-2.fc10.i386
Comment 1 Benoît Dejean 2008-06-22 08:34:47 UTC

*** This bug has been marked as a duplicate of 529533 ***
Comment 2 sangu 2008-07-05 11:15:50 UTC
The same issue happens in glibmm 2.7.0.
Does gnome-system-monitor must be recompiled with glibmm 2.7.0  ?

glibmm24-2.17.0-1.fc10.i386
gtkmm24-2.13.1-1.fc10.i386
gnome-system-monitor-2.23.3-2.fc10.i386
Comment 3 Benoît Dejean 2008-07-05 11:47:19 UTC
You mean you get the same warnings before the crash ?
Comment 4 sangu 2008-07-05 11:56:51 UTC
(In reply to comment #3)
> You mean you get the same warnings before the crash ?
> 

$ gdb gnome-system-monitor
[skip]
(gnome-system-monitor:4150): glibmm-WARNING **: Failed to wrap object of type 'GHalMount'. Hint: this error is commonly caused by failing to call a library init() function.

(gnome-system-monitor:4150): glibmm-WARNING **: Failed to wrap object of type 'GHalMount'. Hint: this error is commonly caused by failing to call a library init() function.

(gnome-system-monitor:4150): glibmm-WARNING **: Failed to wrap object of type 'GHalMount'. Hint: this error is commonly caused by failing to call a library init() function.

Program received signal SIGSEGV, Segmentation fault.
Gio::Mount::get_name (this=0x0) at mount.cc:387
387	  return Glib::convert_return_gchar_ptr_to_stdstring(g_mount_get_name(const_cast<GMount*>(gobj())));
[...]



Comment 5 sangu 2008-07-05 12:01:13 UTC
oops! a few diffrent warning message. ; )
Sorry.
Comment 6 Benoît Dejean 2008-07-05 23:00:18 UTC
http://svn.gnome.org/viewvc/glibmm/branches/glibmm-2-16/ChangeLog?view=markup

It's fixed in glibmm 2.16.3.