[Pkg-alsa-devel] Bug#674431: libasound2:amd64: Crashes with bad asoundrc

Chris Chiappa chris+debian at chiappa.net
Thu May 24 14:17:13 UTC 2012


Package: libasound2:amd64
Version: 1.0.25-3
Severity: normal

I haven't investigated what's wrong with the asoundrc yet, but the
attached one produces the following crash in multiple applications
(pidgin, alsamixer):

(gdb) run
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:22:26:Unexpected char
ALSA lib conf.c:3406:(config_file_open) /home/cchiappa/.asoundrc may be old or corrupted: consider to remove or fix it

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff66c5849 in *__GI___libc_free (mem=0x7ffff712a27e) at malloc.c:3724
3724               malloc.c: No such file or directory.
(gdb) where
#0  0x00007ffff66c5849 in *__GI___libc_free (mem=0x7ffff712a27e)
    at malloc.c:3724
#1  0x00007ffff70a9d9e in snd_config_substitute (dst=dst at entry=0x6112c0, 
    src=0x7ffff712a27e) at conf.c:1496
#2  0x00007ffff70ab4c2 in snd_config_hooks_call (config=0x611630, 
    root=0x6112c0, private_data=<optimized out>) at conf.c:3331
#3  snd_config_hooks (config=0x6112c0, private_data=0x0) at conf.c:3362
#4  0x00007ffff70abfff in snd_config_update_r (_top=_top at entry=0x7ffff73677c8, 
    _update=_update at entry=0x7ffff73677d0, cfgs=cfgs at entry=0x0) at conf.c:3768
#5  0x00007ffff70ac472 in snd_config_update () at conf.c:3799
#6  0x00007ffff70b599b in snd_ctl_open (ctlp=ctlp at entry=0x7fffffffd718, 
    name=0x40b2b0 "default", mode=mode at entry=0) at control.c:970
#7  0x00007ffff70b32bb in snd_hctl_open (hctlp=hctlp at entry=0x7fffffffd748, 
    name=<optimized out>, mode=mode at entry=0) at hcontrol.c:75
#8  0x00007ffff70be5cd in snd_mixer_attach (mixer=mixer at entry=0x6110e0, 
    name=<optimized out>) at mixer.c:203
#9  0x00007ffff70bf752 in snd_mixer_selem_register (mixer=0x6110e0, 
    options=0x60f600, classp=<optimized out>) at simple.c:69
#10 0x000000000040933c in ?? ()
#11 0x0000000000404810 in ?? ()
#12 0x00007ffff6669ead in __libc_start_main (main=<optimized out>, 
    argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd898)
    at libc-start.c:228
#13 0x00000000004048a9 in ?? ()
#14 0x00007fffffffd898 in ?? ()
#15 0x000000000000001c in ?? ()
#16 0x0000000000000001 in ?? ()
#17 0x00007fffffffdc70 in ?? ()
#18 0x0000000000000000 in ?? ()


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libasound2:amd64 depends on:
ii  libc6              2.13-32
ii  multiarch-support  2.13-32

libasound2:amd64 recommends no packages.

Versions of packages libasound2:amd64 suggests:
ii  libasound2-plugins  1.0.25-2

-- no debconf information
-------------- next part --------------
#pcm.pulse {
#    type pulse
#}

#ctl.pulse {
#    type pulse
#}

#pcm.!default {
#    type pulse
    # If defaults.namehint.showall is set to off in alsa.conf, then this is
    # necessary to make this pcm show up in the list returned by
    # snd_device_name_hint or aplay -L
#    hint.description "Default Audio Device"
#}
#ctl.!default {
#    type pulse
#}

pcm.!default {
    type hw
    card sysdefault:CARD=External
}


More information about the Pkg-alsa-devel mailing list