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 602697 - Crash in gdu_pool_get_devices at gdu-pool.c line 1345
Crash in gdu_pool_get_devices at gdu-pool.c line 1345
Status: RESOLVED OBSOLETE
Product: gnome-disk-utility
Classification: Core
Component: notifications
2.32.x
Other All
: High blocker
: ---
Assigned To: gnome-disk-utility-maint
gnome-disk-utility-maint
: 598065 603578 604213 606131 606187 608641 610422 610476 612829 613285 613505 614149 614708 615036 617380 617860 621355 621603 621813 625819 627295 632389 633264 642569 642678 645275 645863 646785 646787 648630 651809 651933 652405 652444 655645 655681 656210 656962 657604 657929 658037 658300 658515 658618 659988 661637 662006 662444 665270 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-11-23 09:27 UTC by mar_defy420
Modified: 2012-11-12 21:09 UTC
See Also:
GNOME target: 2.32.x
GNOME version: 2.31/2.32



Description mar_defy420 2009-11-23 09:27:04 UTC
Version: 0.3

What were you doing when the application crashed?
booting up


Distribution: Unknown
Gnome Release: 2.28.0 2009-10-23 (Foresight Linux)
BugBuddy Version: 2.28.0

System: Linux 2.6.30.9-4-fl.smp.gcc4.1.x86_64 #1 SMP Wed Nov 4 11:21:22 UTC 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10603000
Selinux: Enforcing
Accessibility: Disabled
GTK+ Theme: nimbus
Icon Theme: gnome-brave
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 148398080 vsize: 148398080 resident: 7290880 share: 5615616 rss: 7290880 rss_rlim: 18446744073709551615
CPU usage: start_time: 1258968383 rtime: 3 utime: 2 stime: 1 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/libexec/gdu-notification-daemon'

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f9abad986e0 (LWP 2741)]
0x00007f9ab90fb9c5 in waitpid () from /lib64/libpthread.so.0

Thread 1 (Thread 0x7f9abad986e0 (LWP 2741))

  • #0 waitpid
    from /lib64/libpthread.so.0
  • #1 g_spawn_sync
    from /lib64/libglib-2.0.so.0
  • #2 g_spawn_command_line_sync
    from /lib64/libglib-2.0.so.0
  • #3 ??
    from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 gdu_pool_get_devices
    from /usr/lib64/libgdu.so.0
  • #6 update_all
    at notification-main.c line 262
  • #7 main
    at notification-main.c line 574
  • #0 waitpid
    from /lib64/libpthread.so.0


---- Critical and fatal warnings logged during execution ----

** GLib-GObject **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed 
** GLib-GObject **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed 
** GLib-GObject **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed 
** GLib-GObject **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed 


----------- .xsession-errors ---------------------
(gdu-notification-daemon:2741): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
beagled will run in the background.
Use beagle-status to check progress of beagled.
For log files check /home/Quigui/.beagle/Log/current-Beagle.
[35;01mwarning: No hp: or hpfax: devices found in any installed CUPS queue. Exiting.[0m
[01mHP Linux Imaging and Printing System (ver. 3.9.8)[0m
[01mSystem Tray Status Service ver. 2.0[0m
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
--------------------------------------------------
Comment 1 Akhil Laddha 2009-11-23 12:52:09 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot
to solve the problem, so it will be hard for the developers to fix that crash.
Could you please install some debugging packages [1], start the application as
normal, and reproduce the crash, if possible?

Once bug-buddy pops up, you can find the stacktrace in the Details, now
containing way more information. Please copy that stacktrace and paste it as a
comment here. Thanks in advance!

[1] More details can be found here: http://live.gnome.org/GettingTraces
Comment 2 Akhil Laddha 2009-12-02 12:21:21 UTC
*** Bug 603578 has been marked as a duplicate of this bug. ***
Comment 3 Akhil Laddha 2009-12-10 04:15:25 UTC
*** Bug 604213 has been marked as a duplicate of this bug. ***
Comment 4 marcus 2009-12-10 15:34:43 UTC
Tried to install those apps without success. Conflicts with glib and gtk.
Comment 5 Fabio Durán Verdugo 2010-01-05 17:35:38 UTC
*** Bug 606131 has been marked as a duplicate of this bug. ***
Comment 6 Akhil Laddha 2010-01-06 10:13:02 UTC
*** Bug 606187 has been marked as a duplicate of this bug. ***
Comment 7 Akhil Laddha 2010-02-01 04:23:19 UTC
*** Bug 608641 has been marked as a duplicate of this bug. ***
Comment 8 Akhil Laddha 2010-02-01 04:24:53 UTC
Bug 608641 has better traces

  • #4 <signal handler called>

Comment 9 Akhil Laddha 2010-02-19 08:55:14 UTC
*** Bug 610422 has been marked as a duplicate of this bug. ***
Comment 10 Akhil Laddha 2010-02-20 03:41:53 UTC
*** Bug 610476 has been marked as a duplicate of this bug. ***
Comment 11 Akhil Laddha 2010-03-09 09:07:55 UTC
*** Bug 598065 has been marked as a duplicate of this bug. ***
Comment 12 Akhil Laddha 2010-03-14 13:20:19 UTC
*** Bug 612829 has been marked as a duplicate of this bug. ***
Comment 13 Fabio Durán Verdugo 2010-03-19 01:15:12 UTC
*** Bug 613285 has been marked as a duplicate of this bug. ***
Comment 14 Fabio Durán Verdugo 2010-03-21 22:23:04 UTC
*** Bug 613505 has been marked as a duplicate of this bug. ***
Comment 15 Javier Jardón (IRC: jjardon) 2010-03-24 01:41:37 UTC
Confirming
Comment 16 Pacho Ramos 2010-03-24 13:31:52 UTC
(In reply to comment #1)
> Thanks for taking the time to report this bug.
> Unfortunately, that stack trace is missing some elements that will help a lot
> to solve the problem, so it will be hard for the developers to fix that crash.
> Could you please install some debugging packages [1], start the application as
> normal, and reproduce the crash, if possible?
> 
> Once bug-buddy pops up, you can find the stacktrace in the Details, now
> containing way more information. Please copy that stacktrace and paste it as a
> comment here. Thanks in advance!
> 
> [1] More details can be found here: http://live.gnome.org/GettingTraces

More traces were send, do they contain enough information?

Regards
Comment 17 Pacho Ramos 2010-03-24 20:38:44 UTC
Maybe this downstream comment could help:
http://bugs.gentoo.org/show_bug.cgi?id=309349#c9

"gdu-notification-daemon crashes with a segmentation violation in
gdu_pool_get_devices(), because it cannot get a connection to
devkit-disks-daemon. This in turn is not started by dbus-daemon (as it is
supposed to be), because /usr/libexec/dbus-daemon-launch-helper cannot be
executed by user messagebus.
gdu_pool_get_devices should of course handle this gracefully, but changing
group ownership of dbus-daemon-launch-helper to messagebus fixes it (and
missing suspend/hibernate/shutdown entries as well, because devkit-power-daemon
is also affected). I haven't fully considered yet, whether this causes any
other problems, but haven't noticed anything so far."
Comment 18 André Klapper 2010-03-24 21:47:55 UTC
(In reply to comment #16)
> More traces were send, do they contain enough information?

Where? How?
Comment 19 Pacho Ramos 2010-03-24 22:02:48 UTC
In duplicated bug reports
Comment 20 Akhil Laddha 2010-03-29 04:29:22 UTC
*** Bug 614149 has been marked as a duplicate of this bug. ***
Comment 21 robert.bradbury 2010-03-29 14:43:34 UTC
I believe this bug may also be effecting "gvfs-gdu-volume-monitor" (in /usr/libexec), as demonstrated by repeated segfaults in kern.log:
Mar 27 23:19:28 frodo kernel: gvfs-gdu-volume[4913]: segfault at c ip b76e863a sp bfbad0b0 error 4 in libgdu.so.0.0.0[b76db000+21000]
Mar 27 23:19:33 frodo kernel: gvfs-gdu-volume[4993]: segfault at c ip b782363a sp bfcc8f00 error 4 in libgdu.so.0.0.0[b7816000+21000]
Mar 27 23:21:35 frodo kernel: gvfs-gdu-volume[5390]: segfault at c ip b76bd63a sp bf914980 error 4 in libgdu.so.0.0.0[b76b0000+21000]
Mar 27 23:21:39 frodo kernel: gvfs-gdu-volume[5498]: segfault at c ip b76a663a sp bfe874c0 error 4 in libgdu.so.0.0.0[b7699000+21000]
Mar 28 10:34:47 frodo kernel: gvfs-gdu-volume[11821]: segfault at c ip b77d463a sp bf8fa1e0 error 4 in libgdu.so.0.0.0[b77c7000+21000]
Mar 28 18:22:55 frodo kernel: gvfs-gdu-volume[30823]: segfault at c ip b782963a sp bf93c2a0 error 4 in libgdu.so.0.0.0[b781c000+21000]
Mar 28 18:22:59 frodo kernel: gvfs-gdu-volume[30864]: segfault at c ip b77dc63a sp bfc2cf90 error 4 in libgdu.so.0.0.0[b77cf000+21000]
Mar 29 02:51:50 frodo kernel: gvfs-gdu-volume[1854]: segfault at c ip b780f63a sp bfb12920 error 4 in libgdu.so.0.0.0[b7802000+21000]

Tracing the core dump that results from this indicates that update_drives is calling gdu_pool_get_presentables with a NULL pointer which is then dereferenced to produce the segfault.  Obvious fix is to check for NULL pointers and not try to dereference them.

Stack trace is:
Core was generated by `/usr/libexec/gvfs-gdu-volume-monitor'.
Program terminated with signal 11, Segmentation fault.
  • #0 gdu_pool_get_presentables
    at gdu-pool.c line 1381
  • #0 gdu_pool_get_presentables
    at gdu-pool.c line 1381
  • #1 update_drives
    at ggduvolumemonitor.c line 1209
  • #2 update_all
    at ggduvolumemonitor.c line 1002
  • #3 g_gdu_volume_monitor_constructor
    at ggduvolumemonitor.c line 455
  • #4 IA__g_object_newv
    at gobject.c line 1171
  • #5 IA__g_object_new_valist
  • #6 IA__g_object_new
    at gobject.c line 1086
  • #7 monitor_try_create
    at gvfsproxyvolumemonitordaemon.c line 2045
  • #8 g_vfs_proxy_volume_monitor_daemon_main
    at gvfsproxyvolumemonitordaemon.c line 2088
  • #9 main
    at gdu-volume-monitor-daemon.c line 42

Comment 22 Fabio Durán Verdugo 2010-04-04 01:44:21 UTC
*** Bug 614708 has been marked as a duplicate of this bug. ***
Comment 23 Akhil Laddha 2010-04-07 09:52:39 UTC
*** Bug 615036 has been marked as a duplicate of this bug. ***
Comment 24 André Klapper 2010-05-02 14:27:21 UTC
*** Bug 617380 has been marked as a duplicate of this bug. ***
Comment 25 Akhil Laddha 2010-05-06 08:38:41 UTC
*** Bug 617860 has been marked as a duplicate of this bug. ***
Comment 26 Akhil Laddha 2010-06-12 11:05:13 UTC
*** Bug 621355 has been marked as a duplicate of this bug. ***
Comment 27 Akhil Laddha 2010-06-15 03:51:21 UTC
*** Bug 621603 has been marked as a duplicate of this bug. ***
Comment 28 Fabio Durán Verdugo 2010-06-16 20:03:38 UTC
*** Bug 621813 has been marked as a duplicate of this bug. ***
Comment 29 Akhil Laddha 2010-08-03 06:57:53 UTC
*** Bug 625819 has been marked as a duplicate of this bug. ***
Comment 30 Ed Catmur 2010-08-18 19:20:31 UTC
*** Bug 627295 has been marked as a duplicate of this bug. ***
Comment 31 Ed Catmur 2010-08-18 19:21:46 UTC
ed@capella ~ $ /usr/libexec/gdu-notification-daemon

(gdu-notification-daemon:6283): libgdu-WARNING **: Couldn't get daemon properties
======================================================================
Error constructing GduPool: (unspecified error)

This error suggests there's a problem with your udisks or D-Bus installation.
======================================================================

(gdu-notification-daemon:6283): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gdu-notification-daemon:6283): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gdu-notification-daemon:6283): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gdu-notification-daemon:6283): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gdu-notification-daemon:6283): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gdu-notification-daemon:6283): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gdu-notification-daemon:6283): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gdu-notification-daemon:6283): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
**
libgdu:ERROR:gdu-pool.c:2459:gdu_pool_get_devices: assertion failed: (pool != NULL)
Comment 32 Fabio Durán Verdugo 2010-10-18 00:24:06 UTC
*** Bug 632389 has been marked as a duplicate of this bug. ***
Comment 33 Akhil Laddha 2010-10-27 12:33:39 UTC
*** Bug 633264 has been marked as a duplicate of this bug. ***
Comment 34 Akhil Laddha 2010-10-27 12:34:42 UTC
last dupe in 2.30.x
Comment 35 Fabio Durán Verdugo 2011-02-17 15:40:13 UTC
*** Bug 642569 has been marked as a duplicate of this bug. ***
Comment 36 Fabio Durán Verdugo 2011-02-18 15:23:59 UTC
*** Bug 642678 has been marked as a duplicate of this bug. ***
Comment 37 Akhil Laddha 2011-03-20 01:15:50 UTC
*** Bug 645275 has been marked as a duplicate of this bug. ***
Comment 38 Akhil Laddha 2011-03-28 00:58:36 UTC
*** Bug 645863 has been marked as a duplicate of this bug. ***
Comment 39 Akhil Laddha 2011-04-05 07:53:19 UTC
*** Bug 646785 has been marked as a duplicate of this bug. ***
Comment 40 Akhil Laddha 2011-04-05 10:01:19 UTC
*** Bug 646787 has been marked as a duplicate of this bug. ***
Comment 41 Fabio Durán Verdugo 2011-04-25 19:43:02 UTC
*** Bug 648630 has been marked as a duplicate of this bug. ***
Comment 42 Cristian Aravena Romero 2011-06-04 00:07:46 UTC
Open bug in launchpad.net:
https://bugs.launchpad.net/bugs/418300

"Was restarting gnome-do, as it was using too much cpu on startup."

bug in version [0]2.32.1-0ubuntu4
https://launchpadlibrarian.net/72956969/_usr_lib_gnome-disk-utility_gdu-notification-daemon.1000.crash

  • #0 gdu_pool_get_devices
    at gdu-pool.c line 1345
  • #1 update_all
    at notification-main.c line 262
  • #2 main
    at notification-main.c line 574

Comment 43 Fabio Durán Verdugo 2011-06-05 18:26:08 UTC
*** Bug 651933 has been marked as a duplicate of this bug. ***
Comment 44 André Klapper 2011-06-12 20:15:10 UTC
*** Bug 652405 has been marked as a duplicate of this bug. ***
Comment 45 André Klapper 2011-06-13 11:12:32 UTC
*** Bug 651809 has been marked as a duplicate of this bug. ***
Comment 46 André Klapper 2011-06-13 11:12:37 UTC
*** Bug 652444 has been marked as a duplicate of this bug. ***
Comment 47 André Klapper 2011-07-30 19:42:40 UTC
*** Bug 655645 has been marked as a duplicate of this bug. ***
Comment 48 Fabio Durán Verdugo 2011-07-31 22:40:43 UTC
*** Bug 655681 has been marked as a duplicate of this bug. ***
Comment 49 Akhil Laddha 2011-08-09 12:28:32 UTC
*** Bug 656210 has been marked as a duplicate of this bug. ***
Comment 50 Akhil Laddha 2011-08-09 12:29:00 UTC
last dupe in 2.32.x
Comment 51 André Klapper 2011-08-20 19:48:21 UTC
*** Bug 656962 has been marked as a duplicate of this bug. ***
Comment 52 Fabio Durán Verdugo 2011-08-29 18:41:28 UTC
*** Bug 657604 has been marked as a duplicate of this bug. ***
Comment 53 André Klapper 2011-09-01 15:25:40 UTC
*** Bug 657929 has been marked as a duplicate of this bug. ***
Comment 54 André Klapper 2011-09-02 15:13:32 UTC
*** Bug 658037 has been marked as a duplicate of this bug. ***
Comment 55 Fabio Durán Verdugo 2011-09-06 02:18:08 UTC
*** Bug 658300 has been marked as a duplicate of this bug. ***
Comment 56 Akhil Laddha 2011-09-08 01:49:54 UTC
*** Bug 658515 has been marked as a duplicate of this bug. ***
Comment 57 Akhil Laddha 2011-09-09 02:16:40 UTC
*** Bug 658618 has been marked as a duplicate of this bug. ***
Comment 58 Akhil Laddha 2011-09-25 06:11:21 UTC
*** Bug 659988 has been marked as a duplicate of this bug. ***
Comment 59 Akhil Laddha 2011-10-13 09:31:44 UTC
*** Bug 661637 has been marked as a duplicate of this bug. ***
Comment 60 Akhil Laddha 2011-10-17 22:49:12 UTC
*** Bug 662006 has been marked as a duplicate of this bug. ***
Comment 61 André Klapper 2011-10-22 18:51:55 UTC
*** Bug 662444 has been marked as a duplicate of this bug. ***
Comment 62 Akhil Laddha 2011-12-01 09:45:52 UTC
*** Bug 665270 has been marked as a duplicate of this bug. ***
Comment 63 David Zeuthen (not reading bugmail) 2012-11-12 21:09:15 UTC
As of gnome-disk-utility 3.4 everything was rewritten to use udisks2 and GDBus. Since this bug is for an old version, closing as OBSOLETE.

Thanks for taking the time to report this bug.
However, you are using a version that is too old and not supported anymore. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes for the version that you use.

By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME.
Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.