Re: network manager and dbus problem



On Wed, 2008-07-02 at 11:27 +0100, Robert Piasek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> For the last couple of days I'm experiencing some strange problems with 
> dbus. Pretty often dbus dies with segfault. Ok so what does it have to 
> do with networkmanager? Well it happens _only_ when NM is running. The 
> problem appeared between around week and two weeks ago (I'm using trunk 
> version of NM).
> 
> 
> [kernel] [ 3890.217064] dbus-daemon[6487]: segfault at 7fd9aa16e790 ip 
> 7fd9a96d7f62 sp 7fffb1e3b438 error 4 in libc-2.8.so[7fd9a965c000+14b000]

This should never happen; can you file a bug against dbus with the
relevant information?  To debug something like this is sort of hard; it
involves attaching to dbus with gdb on a VT and making gdb pass a
certain set of signals along to process instead of catching them (pipe,
chld, term).  Then you wait until all the desktop apps freeze and go to
the VT, and get a backtrace from dbus.  Ideally you've installed the
debuginfo for dbus and libc as well.  I can provide more information
about how to debug this if you are up for it.

Basically, any time the bus daemon dies, that's a hard bug.  The bus
daemon should _never_ die, no matter what input a process (like NM for
example) gives it.

> 
> The only NM logs which are unusual:
> 
> [NetworkManager] <WARN>  killswitch_getpower_reply(): Error getting 
> killswitch power: process 22233: arguments to dbus_move_error() were 
> incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" 
> failed in file dbus-errors.c line 278. _ This is normally a bug in some 
> application using the D-Bus library.

This looks like a bug in dbus-glib.  What dbus-glib version do you have
installed?  NM is correctly passing a blank error placeholder into the
call to dbus_g_proxy_end_call() so the issue is likely in dbus-glib's
dbus-to-gerror translation functions.

Dan

> Cheers,
> Rob
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iQIcBAEBAgAGBQJIa1gpAAoJELvLB8ABrzqYz64QAKl+5sjzfqoRhhnG2c5EycqK
> YboF7r+/YMxV+Vb3ncYe67ZbPHGhuuA4DbrEA9ZjjJpqCTkMZ2ZQ0WFv8BIgO745
> tbLTX42QDQB6e/VxmolWOGAxul6LYWXDAhDFchVFg0Cc1rp9ZNxyDcZzwBZrPc0/
> Oow2HiXPtO0Ur0opPmlmReBq830dRQ6SRVSXBy9tFYbEClHE8+Ors65B+Guad6LC
> +Tqqc418+BAagFhDQxwhnOiu0eiKXeHX0RwIXhuJlNO33/1Iu8UFF/LxtO7uVcno
> v0Z0eMqXENKZ26Flu9bAqYWsv1VbWBzuySj9PIT0VzElOvBwFSfmfS/Qjg6X5ZQL
> wJX5btH/ZN0ZiETMUl5Yr7Z/QwV6A9s/zuuRJgIdsyYS6cirduhmwhOlvFOVq145
> mBeAo4/M8rXLdVWiIfZdJveK1d0bOKdiRJFiFDd1f1uNypWWWgCcZKGJIuvDQIap
> QLoaR1q6hayLZN1gyuPnxqw7fMagIis2O4VJHJ3UD6WtL+DAA0mDeqrpj16M79D3
> TRHCX8ht1vf2Nz12YXleqYGG+c07YY1Zt8e4hR8LYkF8g8R1w8krqTW+6hKhC+VO
> /oHf9eW9udlirkVmxBdTy9nhANuvmD4GWD1p6Hn9eM3jMfCOPNc7EgRPS2HVFvbs
> WCBZF7J1YDv2ankGoq3d
> =ixYM
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]