Public bug reported:

Binary package hint: lib32asound2

On x86-64 karmic (updated as at 2009-08-15), skype 2.0.0.72-0 crashes
when trying to establish a voice call, or visiting the sound settings.

Running skype directly under GDB, we see a SEGV in

$ gdb --args /usr/bin/skype.real
(gdb) run
<starting a call>
ALSA lib ../../src/conf.c:2700:(snd_config_hooks_call) Cannot open shared 
library libasound_module_conf_pulse.so
ALSA lib ../../../src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL 
hw:0

Program received signal SIGSEGV, Segmentation fault.
0xf7f04a28 in snd_async_del_handler () from /usr/lib32/libasound.so.2


(gdb) where
#0  0xf7f04a28 in snd_async_del_handler () from /usr/lib32/libasound.so.2
#1  0xf7f0efa8 in snd_ctl_close () from /usr/lib32/libasound.so.2
#2  0x088837b7 in ?? ()
#3  0x0888489b in ?? ()
<snip>

which is in:

int snd_async_del_handler(snd_async_handler_t *handler)
{
        int err = 0;
        assert(handler);
        list_del(&handler->glist);
        if (list_empty(&snd_async_handlers)) {
                struct sigaction act;
                memset(&act, 0, sizeof(act));
                act.sa_flags = 0;
                act.sa_handler = SIG_DFL;
                err = sigaction(snd_async_signo, &act, NULL);
                if (err < 0) {
                        SYSERR("sigaction");
                        return -errno;
                }
        }
        if (handler->type == SND_ASYNC_HANDLER_GENERIC)
                goto _end;
        if (!list_empty(&handler->hlist))
                list_del(&handler->hlist);
        if (!list_empty(&handler->hlist))
                goto _end;
        switch (handler->type) {
#ifdef BUILD_PCM
        case SND_ASYNC_HANDLER_PCM:
                err = snd_pcm_async(handler->u.pcm, -1, 1);
                break;
#endif
        case SND_ASYNC_HANDLER_CTL:
                err = snd_ctl_async(handler->u.ctl, -1, 1);
                break;
        default:
                assert(0);
        }
 _end:
        free(handler);
        return err;
}

** Affects: alsa-lib (Ubuntu)
     Importance: Undecided
         Status: New

-- 
SEGV in libasound:snd_async_del_handler()
https://bugs.launchpad.net/bugs/414214
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to