Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158853 - gaim-2.0.0_beta5-r[12].ebuild introduces problem with network manager
Summary: gaim-2.0.0_beta5-r[12].ebuild introduces problem with network manager
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-22 10:08 UTC by Mike Smith
Modified: 2007-05-01 03:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,3.50 KB, text/plain)
2006-12-22 10:16 UTC, Mike Smith
Details
GDB command file (gaim-trace.gdb,231 bytes, text/plain)
2006-12-22 11:12 UTC, Mike Smith
Details
Output of gdb for -r2 binary with previously attached commands (gaim-2b5-r2-gdb.output,3.03 KB, text/plain)
2006-12-22 11:14 UTC, Mike Smith
Details
Output of gdb for binary created with removed ebuild using previously attached commands (gaim-2b5-r0-gdb.output,3.62 KB, text/plain)
2006-12-22 11:34 UTC, Mike Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Smith 2006-12-22 10:08:36 UTC
If I use gaim-2.0.0_beta5 built from the -r1 or -r2 ebuild, it hangs within libnm_glib_init before any GUI appears and is unusable.  Location of hang determined using gdb.  strace shows an infinite sequence of nanosleeps.

I've used gaim-2.0.0_beta5.ebuild out of the CVS attic and rebuilt with that.  In binaries produced using that ebuild libnm_glib_init returns successfully and gaim is usable.
Comment 1 Mike Smith 2006-12-22 10:09:41 UTC
It would be helpful if gaim-2.0.0_beta5.ebuild were returned to the portage tree until this can be resolved.
Comment 2 Mike Smith 2006-12-22 10:16:59 UTC
Created attachment 104597 [details]
emerge --info output

Attached output of emerge --info
Comment 3 Kathryn Kulick (RETIRED) gentoo-dev 2006-12-22 10:24:03 UTC
Could ya maybe, just maybe, attach the gdb output? 
Comment 4 Jory A. Pratt 2006-12-22 10:28:38 UTC
Entire bug report makes no sense ... If you compare the two ebuild you will see nothing major has changed other then the fact you can build either gtkui or consoleui or both. I see no reason to but a stale ebuild back in tree, when your the only one that is reporting such a problem.
Comment 5 Mike Smith 2006-12-22 10:35:21 UTC
There isn't really helpful gdb output, since the program doesn't exit.  I step into libnm_glib_init (which is not in a library I've built with debug symbols) and never return.  Was there some specific output you had in mind?

I took a look at the network manager sources for that function ( NetworkManager/gnome/libnm_glib/libnm_glib.c) and found that it appears to (1) spawn a thread to set up a dbus connection and (2) loop with a sleep until that set up is complete.  That is one explanation for strace outputting the nanosleeps.
Comment 6 Mike Smith 2006-12-22 10:36:19 UTC
It may not make sense, but is easily repeatable for me.  I'm happy to provide any information you'd like to help make sense of it.
Comment 7 Jory A. Pratt 2006-12-22 10:43:52 UTC
(In reply to comment #6)
> It may not make sense, but is easily repeatable for me.  I'm happy to provide
> any information you'd like to help make sense of it.
> 

My recommendations to net-im herd is to close as later .. I see no steps to repeat not even a proper backtrace of the problem at hand here. Just seems funny only one user is even able produce this bug with as many users we have using and testing gaim and other packages in portage.
Comment 8 Mike Smith 2006-12-22 11:12:04 UTC
Created attachment 104599 [details]
GDB command file

This gdb command file was used to produce the subsequent attachment.
Comment 9 Mike Smith 2006-12-22 11:14:13 UTC
Created attachment 104600 [details]
Output of gdb for -r2 binary with previously attached commands

This gdb output shows stack information at the point of the sleep loop.  I killed gdb with an interrup to terminate the loop.
Comment 10 Mike Smith 2006-12-22 11:34:25 UTC
Created attachment 104601 [details]
Output of gdb for binary created with removed ebuild using previously attached commands

The gdb output in this attachment shows that the loop does terminate in the binary built with the ebuild that is no longer in portage.
Comment 11 Mike Smith 2006-12-22 12:02:38 UTC
A similar report appears upstream as issue 1616747.  The gaim_report attached to that issue shows a similar stack.

http://sourceforge.net/tracker/index.php?func=detail&aid=1616747&group_id=235&atid=100235
Comment 12 abma 2006-12-23 16:17:42 UTC
I had the same problem too. An strace with gaim shows only nanosleeps and no gui occurs. I've installed networkmanager too. (it's a masked ebuild)

After an
 USE="-dbus" emerge gaim
everything works fine.

Merry christmas! ;-)
Comment 13 fatty 2006-12-24 03:04:32 UTC
Thanks for your workaround Matthias.

I had the same problem and disabling dbus does the trick.

Merry christmas!
Comment 14 Kathryn Kulick (RETIRED) gentoo-dev 2006-12-30 17:53:00 UTC
Stephan and Matthias, could you two please test dbus with version 1.0.2? 
Comment 15 Olivier Crete (RETIRED) gentoo-dev 2007-05-01 03:12:13 UTC
Can you reproduce with net-im/pidgin-2.0_beta7 ?