mgorny/sw-notify-send — Issue #3: sw-notify-send hangs after being run by uam
Author: krigstask
Created: 2011-12-14 07:08:22+00:00
State: open

I've noticed a bunch of `sw-notify-send` processes hanging in background

```
% ps ax | grep sw-notify-send
5146 ? S 0:00 sw-notify-send -i drive-removable-media -a Unmount:uam-pumount /dev/sdb1 -- silipower mounted /dev/sdb1 mounted successfully in /media/silipower
```
Notifications shows up all right, but the processes don't exit.
GDB backtrace:

```
(gdb) bt
#0 0x00007f0787f75ad8 in poll () from /lib64/libc.so.6
#1 0x00007f0787a627b0 in socket_do_iteration () from /usr/lib64/libdbus-1.so.3
#2 0x00007f0787a6169d in _dbus_transport_do_iteration () from /usr/lib64/libdbus-1.so.3
#3 0x00007f0787a4fdc5 in _dbus_connection_do_iteration_unlocked ()
from /usr/lib64/libdbus-1.so.3
#4 0x00007f0787a50a82 in _dbus_connection_read_write_dispatch ()
from /usr/lib64/libdbus-1.so.3
#5 0x00007f078843779b in notify_session_dispatch () from /usr/lib64/libtinynotify.so.0
#6 0x0000000000400f3c in main (argc=8, argv=0x7fff94bde988)
at /var/tmp/portage/x11-misc/sw-notify-send-1.1/work/tinynotify-send-1.1/src/tinynotify-send.c:93
```