[Pkg-alsa-devel] Bug#681078: libasound2:amd64: Incorrect assert in snd_hctl_handle_events

Ralf Jung post at ralfj.de
Tue Jul 10 13:18:26 UTC 2012


Package: libasound2
Version: 1.0.25-3
Severity: normal
Tags: upstream

Dear Maintainer,

the function snd_hctl_handle_events contains an incorrect assert which causes
the KMix module of KDEd to crash when logging in, with this backtrace:

Thread 1 (Thread 0x7f9676969760 (LWP 3376)):
[KCrash Handler]
#6  0x00007f9674105475 in *__GI_raise (sig=<optimized out>) at
.../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f96741086f0 in *__GI_abort () at abort.c:92
#8  0x00007f96740fe621 in *__GI___assert_fail (assertion=0x7f965221ac1e "elem",
file=<optimized out>, line=764, function=0x7f9652218560
"snd_hctl_handle_event") at assert.c:81
#9  0x00007f965219ff9d in snd_hctl_handle_events () from /usr/lib/x86_64-linux-
gnu/libasound.so.2
#10 0x00007f96521ab241 in snd_mixer_handle_events () from /usr/lib/x86_64
-linux-gnu/libasound.so.2
#11 0x00007f965246cc6d in ?? () from /usr/lib/kde4/kded_kmixd.so
#12 0x00007f96524658ca in ?? () from /usr/lib/kde4/kded_kmixd.so
#13 0x00007f96755a9aae in QObject::event (this=0xfe87d0, e=<optimized out>) at
kernel/qobject.cpp:1195
#14 0x00007f967493e70c in QApplicationPrivate::notify_helper
(this=this at entry=0xacebe0, receiver=receiver at entry=0xfe87d0,
e=e at entry=0x10ea4f0) at kernel/qapplication.cpp:4556
#15 0x00007f9674942b8a in QApplication::notify (this=0x7fffab979e80,
receiver=0xfe87d0, e=0x10ea4f0) at kernel/qapplication.cpp:4417
#16 0x00007f967635d8a6 in KApplication::notify (this=0x7fffab979e80,
receiver=0xfe87d0, event=0x10ea4f0) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f9675594bde in QCoreApplication::notifyInternal
(this=0x7fffab979e80, receiver=receiver at entry=0xfe87d0,
event=event at entry=0x10ea4f0) at kernel/qcoreapplication.cpp:915
....

This has been reported against
KDE at https://bugs.kde.org/show_bug.cgi?id=209975
alsa at https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5471
and there is a patch for it upstream
http://git.alsa-project.org/?p=alsa-
lib.git;a=commitdiff;h=86e27cdbf119440101a850e1b44baebfefe863ca;hp=52160de21ee6a710a746b0881d9581994d039123

Would it be possible to backport that commit?

Kind regards,
Ralf



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

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

libasound2:amd64 recommends no packages.

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

-- no debconf information





More information about the Pkg-alsa-devel mailing list