Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111642 - net-im/gaim-1.5.0 crashes while try to play a sound file
Summary: net-im/gaim-1.5.0 crashes while try to play a sound file
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-05 16:52 UTC by Thomas Meyer
Modified: 2005-12-13 06:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Meyer 2005-11-05 16:52:13 UTC
gaim crashes after log on receiving a offline message. see backtrace:
"
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb74d4781 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb74d619d in abort () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x08104467 in sighandler (sig=11) at main.c:368
No locals.
#4  <signal handler called>
No symbol table info available.
#5  0xb750ea94 in free () from /lib/tls/libc.so.6
No symbol table info available.
#6  0xb48886e1 in operator delete () from
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6
No symbol table info available.
#7  0xb495e5b9 in Arts::readTypeSeq<Arts::InterfaceDef> () from
/usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#8  0xb495353d in Arts::ModuleDef::readType () from /usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#9  0xb495386f in Arts::ModuleDef::ModuleDef () from /usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#10 0xb497ffc6 in Arts::IDLFileReg::startup () from /usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#11 0xb4986eda in Arts::StartupManager::startup () from
/usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#12 0xb4967a4b in Arts::Dispatcher::Dispatcher () from /usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#13 0xb4e0647d in arts_backend_init () from /usr/kde/3.4/lib/libartscbackend.so.0
No symbol table info available.
#14 0xb72f33d7 in arts_init () from /usr/kde/3.4/lib/libartsc.so.0
No symbol table info available.
#15 0xb7fa99b2 in ao_plugin_test () from /usr/lib/ao/plugins-2/libarts.so
No symbol table info available.
#16 0xb7fa50bf in ao_default_driver_id () from /usr/lib/libao.so.2
No symbol table info available.
#17 0x080fec88 in _pref_sound_method_changed (name=0x811cc45
"/gaim/gtk/sound/method", type=GAIM_PREF_STRING,
    val=0x8146f68, data=0x0) at gtksound.c:362
No locals.
#18 0x08087df1 in do_callbacks (name=0x811cc45 "/gaim/gtk/sound/method",
pref=0x8146f18) at prefs.c:394
        cb = (struct pref_cb *) 0x8147518
        cbs = (GSList *) 0x8133578
        cb_pref = (struct gaim_pref *) 0x8146f18
---Type <return> to continue, or q <return> to quit---
#19 0x08087e5a in gaim_prefs_trigger_callback (name=0x811cc45
"/gaim/gtk/sound/method") at prefs.c:408
        pref = (struct gaim_pref *) 0x8146f18
#20 0x080fe652 in gaim_gtk_sound_play_file (filename=0x8361ab8
"/usr/share/sounds/gaim/receive.wav") at gtksound.c:160
        method = 0xbfedfd74 "Ph\024\b\230?\0326\b\220\0326\bh\0326\b\230?t\t\b\002"
        pid = -1074922152
        file = 0x81467d8
#21 0x0809748f in gaim_sound_play_file (filename=0x8361ab8
"/usr/share/sounds/gaim/receive.wav") at sound.c:66
No locals.
#22 0x080febac in gaim_gtk_sound_play_event (event=GAIM_SOUND_RECEIVE) at
gtksound.c:324
        filename = 0x8361ab8 "/usr/share/sounds/gaim/receive.wav"
        enable_pref = 0x8361a68 "/gaim/gtk/sound/enabled/im_recv"
        file_pref = 0x8361a90 "/gaim/gtk/sound/file/im_recv"
#23 0x080974d6 in gaim_sound_play_event (event=GAIM_SOUND_RECEIVE) at sound.c:75
No locals.
#24 0x080cc6d4 in gaim_gtkconv_write_im (conv=0x82f22a0, who=0x0,
    message=0x82f6850 "welcher davon bist du : \n<A
HREF=\"http://www.fettemama.org/wp-content/fmpoolparty.jpg\">http://www.fettemama.org/wp-content/fmpoolparty.jpg</A>",
flags=GAIM_MESSAGE_RECV, mtime=1130619360) at gtkconv.c:5091
        gtkconv = (GaimGtkConversation *) 0x8303290
        gaimwin = (GaimConvWindow *) 0x82b21f0
        gtkwin = (GaimGtkWindow *) 0x82f6c60
        has_focus = 0
#25 0x080784d8 in gaim_conv_im_write (im=0x82bb670, who=0x0,
    message=0x82f6850 "welcher davon bist du : \n<A
HREF=\"http://www.fettemama.org/wp-content/fmpoolparty.jpg\">http://www.fettemama.org/wp-content/fmpoolparty.jpg</A>",
flags=GAIM_MESSAGE_RECV, mtime=1130619360) at conversation.c:1781
        c = (GaimConversation *) 0x82f22a0
        __PRETTY_FUNCTION__ = "gaim_conv_im_write"
#26 0x08093802 in serv_got_im (gc=0x82b2358, who=0x82f6c50 "xxxxxxxxx",
    msg=0x82f6a08 "welcher davon bist du :
\nhttp://www.fettemama.org/wp-content/fmpoolparty.jpg", imflags=0,
    mtime=1130619360) at server.c:1100
        cnv = (GaimConversation *) 0x82f22a0
        msgflags = GAIM_MESSAGE_RECV
        queue_to_away = 0
        queue_to_docklet = 0
        message = 0x82f6850 "welcher davon bist du : \n<A
HREF=\"http://www.fettemama.org/wp-content/fmpoolparty.jpg\">http://www.fettemama.org/wp-content/fmpoolparty.jpg</A>"
        name = 0x82baa58 "xxxxxxxx"
        angel = 0x82baa58 "xxxxxxxx"
        buffy = 0x82f6850 "welcher davon bist du : \n<A
HREF=\"http://www.fettemama.org/wp-content/fmpoolparty.jpg\">http://www.fettemama.org/wp-content/fmpoolparty.jpg</A>"
        plugin_return = 0

[snip]
"

i don't know why arts gets an error. seems to be an error in maybe gaim, likely
libao, likely arts.

i created a /etc/libao.conf file with "default_driver=null" to circumvent the
problem.

i'm using the "hardened" USE flag...
the above backtrace was produced with vanilla specs (the only way gdb works
correct!?)


Reproducible: Didn't try
Steps to Reproduce:
1.start gaim and log on and receive offline message
2.
3.

Actual Results:  
signal 11

Expected Results:  
play receive sound and display offline message.
Comment 1 Hans Nieser 2005-12-13 04:01:08 UTC
My Gaim kept crashing too whenever it tried to play a sound. I have no backtrace
since I already found a workaround: in the preferences dialog set the sound
system to anything but "Automatic". Setting it to ESD is the only option with
which the sound works for me and Gaim is now working perfectly.

I am not sure if this is the same issue as yours, but if requested I will file a
new bug complete with backtrace and any other info needed (unless the backtrace
is similar to yours in which case I'll just post another comment here).
Comment 2 Don Seiler (RETIRED) gentoo-dev 2005-12-13 06:53:25 UTC
This is the age-old arts vs libao bug.

Work-arounds are to tell gaim to use something other than arts, since gaim uses
libao.