Re: Hang in libnm_glib_init



On Wed, 2006-10-25 at 23:15 -0500, Richard Laager wrote:
> Gaim recently started using NetworkManager recently in order to properly
> reconnect when the network is disconnected and reconnected. I'm a Gaim
> developer looking for some guidance.
> 
> When I installed libnm-glib-dev and recompiled Gaim from SVN, it now
> hangs at startup. The UI never loads.

Admittedly, libnm_glib is pretty bad, but was developed as a hack for eg
firefox to not have to hook up to DBus directly.  In any case, the only
g_usleep() in libnm_glib is waiting for dbus handler thread to start.
Instead of doing a 'bt', can you do a 't a a bt' (thread apply all
backtrace) to get a backtrace that includes _all_ threads?

Thanks!
Dan

> I use Network Manager, so I'm not sure what Gaim is waiting for. I tried
> unplugging the network cable and plugging it back in to force a
> network-up situation, but that didn't do it either. The existing Gaim is
> still hanging, and new copies of Gaim do the same.
> 
> I'm running Ubuntu Dapper.
> 
> Thanks,
> Richard
> 
> (gdb) bt
> #0  0xffffe410 in __kernel_vsyscall ()
> #1  0x47a5cd56 in __nanosleep_nocancel ()
>    from /lib/tls/i686/cmov/libpthread.so.0
> #2  0x4ab84b04 in g_usleep () from /usr/lib/libglib-2.0.so.0
> #3  0xb7f028e6 in libnm_glib_init () from /usr/lib/libnm_glib.so.0
> #4  0xb7f450d5 in gaim_network_init () at network.c:597
> #5  0xb7f3a3b5 in gaim_core_init (ui=0x80d29ad "gtk-gaim") at core.c:128
> #6  0x080a8a80 in main (argc=1, argv=0xbf8bce34) at gtkmain.c:706
> _______________________________________________
> 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]