Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115271

Summary: gaim crash on startup, seems to have something to do with ARTS
Product: Gentoo Linux Reporter: Greg McMullen <greg.mcmullen>
Component: Current packagesAssignee: Spider (RETIRED) <spider>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Greg McMullen 2005-12-12 00:41:12 UTC
Gaim started segfaulting on startup randomly. I can't think of anything I did
that would cause the problem, i.e. I didn't change any settings, install any
plugins, update gaim, etc.. It is worthy to note that I was able to access my
buddy list initially, and it segfaulted as soon as I sent a message to anyone.
Now it segfaults on startup. I suspect it has something to do with sound as Arts
is at the top of the backtrace which is below.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 11065)]
Error while running hook_stop:
Invalid type combination in ordering comparison.
0xb7e8f102 in pthread_mutex_lock () from /lib/libpthread.so.0
gdb> bt
#0  0xb7e8f102 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb772ac3d in free () from /lib/libc.so.6
#2  0xb5cf6901 in operator delete () from
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++
.so.6
#3  0xb5d82509 in Arts::readTypeSeq<Arts::InterfaceDef> () from
/usr/kde/3.4/lib/libmcop
.so.1
#4  0xb5d766df in Arts::ModuleDef::readType () from /usr/kde/3.4/lib/libmcop.so.1
#5  0xb5d769a3 in Arts::ModuleDef::ModuleDef () from /usr/kde/3.4/lib/libmcop.so.1
#6  0xb5da2e28 in Arts::IDLFileReg::startup () from /usr/kde/3.4/lib/libmcop.so.1
#7  0xb5da99ca in Arts::StartupManager::startup () from
/usr/kde/3.4/lib/libmcop.so.1
#8  0xb5d8c22d in Arts::Dispatcher::Dispatcher () from /usr/kde/3.4/lib/libmcop.so.1
#9  0xb6775359 in arts_backend_init () from /usr/kde/3.4/lib/libartscbackend.so.0
#10 0xb7576346 in arts_init () from /usr/kde/3.4/lib/libartsc.so.0
#11 0xb7ee0959 in ao_plugin_test () from /usr/lib/ao/plugins-2/libarts.so
#12 0xb7edb7ef in ao_default_driver_id () from /usr/lib/libao.so.2
#13 0x080f40c8 in gaim_gtk_sound_get_ui_ops ()
#14 0x080853c3 in gaim_prefs_destroy ()
#15 0x080f3a9f in gaim_gtk_roomlist_init ()
#16 0x080f3f7a in gaim_gtk_roomlist_init ()
#17 0x080c2f6a in gaim_gtk_conversations_get_win_ui_ops ()
#18 0x0808edb4 in serv_got_im ()
#19 0xb69a4813 in oscar_caps_to_string () from /usr/lib/gaim/liboscar.so
#20 0xb698e590 in aim_im_sendmtn () from /usr/lib/gaim/liboscar.so
#21 0xb699343f in aim_rxdispatch () from /usr/lib/gaim/liboscar.so
#22 0xb699e7f0 in oscar_caps_to_string () from /usr/lib/gaim/liboscar.so
#23 0x080cc5b5 in gaim_gtkdialogs_remove_chat ()
#24 0xb7940f8f in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
#25 0xb7916765 in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0
#26 0xb791711d in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0
#27 0xb7912496 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#28 0xb7c37d33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x080f99c8 in main ()


Reproducible: Always
Steps to Reproduce:
1. Run gaim
2. possibly send or recieve an IM
3.

Actual Results:  
Segfault

Expected Results:  
run :-P
Comment 1 Don Seiler (RETIRED) gentoo-dev 2005-12-12 06:42:34 UTC
libao + arts == not working. See http://trac.xiph.org/cgi-bin/trac.cgi/ticket/644


Unfortunately when you choose auto-detect for sound and libao tries to use arts,
you'll get problems.  The problem is not with gaim, it is with libao.

Search any number of the already-closed bugs on this subject here.
Comment 2 Spider (RETIRED) gentoo-dev 2005-12-12 08:42:12 UTC
Hmmm,  From my previous look at the code there isn't much I can do except either
block arts usage ( Not a good solution for libao , but possible)  or wait for
upstream .: / 

*** This bug has been marked as a duplicate of 87348 ***