Bug 193179 - Different applications crash when trying to play some media (or init Phonon) (invalid asoundrc file) [asound assert, installAlsaPhononDeviceHandle, DeviceListing]
Summary: Different applications crash when trying to play some media (or init Phonon) ...
Status: RESOLVED FIXED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: kded module for audio device listing (show other bugs)
Version: 4.4.0 (KDE 4.4.2)
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords: release_blocker
: 197600 203076 204011 206287 207463 208672 213835 214001 216139 233002 233139 238127 238129 238367 251557 254180 261000 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-19 02:54 UTC by Miguel Tadeu
Modified: 2011-03-09 00:39 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
~/.adoundrc file (333 bytes, application/octet-stream)
2009-09-04 23:16 UTC, Ryan J Redding
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Tadeu 2009-05-19 02:54:27 UTC
Application that crashed: dolphin
Version of the application: 1.2.80
KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-11-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I was in my videos directory when I selected one. A preview button showed up and I went to press it. When I did, dolphin crashed

 -- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[Current thread is 0 (LWP 6918)]

Thread 2 (Thread 0xb40f5b90 (LWP 7231)):
#0  0xb7fcc430 in __kernel_vsyscall ()
#1  0xb60e9412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb648e344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaf563ae3 in ?? () from /usr/lib/libxine.so.1

Thread 1 (Thread 0xb5c62700 (LWP 6918)):
[KCrash Handler]
#6  0xb7fcc430 in __kernel_vsyscall ()
#7  0xb63c66d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb63c8098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb63bf5ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb3829dd2 in ?? () from /usr/lib/libasound.so.2
#11 0xb38ef467 in installAlsaPhononDeviceHandle () at /build/buildd/kdebase-runtime-4.2.85/phonon/platform_kde/devicelisting.cpp:56
#12 0xb38ef686 in DeviceListing (this=0x9d5fcb8) at /build/buildd/kdebase-runtime-4.2.85/phonon/platform_kde/devicelisting.cpp:122
#13 0xb38e99be in Phonon::KdePlatformPlugin::ensureDeviceListingObject (this=0x8f283d0) at /build/buildd/kdebase-runtime-4.2.85/phonon/platform_kde/kdeplatformplugin.cpp:269
#14 0xb38e9abf in Phonon::KdePlatformPlugin::objectDescriptionIndexes (this=0x8f283d0, type=Phonon::AudioOutputDeviceType)
    at /build/buildd/kdebase-runtime-4.2.85/phonon/platform_kde/kdeplatformplugin.cpp:280
#15 0xb7b9c01c in Phonon::GlobalConfig::audioOutputDeviceListFor () from /usr/lib/libphonon.so.4
#16 0xb7b9c55f in Phonon::GlobalConfig::audioOutputDeviceFor () from /usr/lib/libphonon.so.4
#17 0xb7b96d87 in ?? () from /usr/lib/libphonon.so.4
#18 0xb7ba7825 in ?? () from /usr/lib/libphonon.so.4
#19 0xb7ba7bc0 in Phonon::VideoPlayer::VideoPlayer () from /usr/lib/libphonon.so.4
#20 0x08084c5a in PhononWidget::play (this=0xffffffff) at /build/buildd/kdebase-4.2.85/apps/dolphin/src/panels/information/phononwidget.cpp:42
#21 0x08064538 in PhononWidget::qt_metacall (this=0x8e03b60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfce6e2c)
    at /build/buildd/kdebase-4.2.85/obj-i486-linux-gnu/apps/dolphin/src/moc_phononwidget.cpp:77
#22 0xb677ba58 in QMetaObject::activate (sender=0x9d86560, from_signal_index=29, to_signal_index=30, argv=0xbfce6e2c) at kernel/qobject.cpp:3120
#23 0xb677be90 in QMetaObject::activate (sender=0x9d86560, m=0xb72211e4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfce6e2c) at kernel/qobject.cpp:3214
#24 0xb7038c81 in QAbstractButton::clicked (this=0x9d86560, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#25 0xb6d61979 in QAbstractButtonPrivate::emitClicked (this=0x9d86390) at widgets/qabstractbutton.cpp:543
#26 0xb6d635b4 in QAbstractButtonPrivate::click (this=0x9d86390) at widgets/qabstractbutton.cpp:536
#27 0xb6d63846 in QAbstractButton::mouseReleaseEvent (this=0x9d86560, e=0xbfce7428) at widgets/qabstractbutton.cpp:1115
#28 0xb6e4b20c in QToolButton::mouseReleaseEvent (this=0x9d86560, e=0xbfce7428) at widgets/qtoolbutton.cpp:709
#29 0xb69d38c3 in QWidget::event (this=0x9d86560, event=0xbfce7428) at kernel/qwidget.cpp:7521
#30 0xb6d6181e in QAbstractButton::event (this=0x9d86560, e=0xbfce7428) at widgets/qabstractbutton.cpp:1077
#31 0xb6e4dc3a in QToolButton::event (this=0x9d86560, event=0xbfce7428) at widgets/qtoolbutton.cpp:1151
#32 0xb697cbcc in QApplicationPrivate::notify_helper (this=0x8bc0b20, receiver=0x9d86560, e=0xbfce7428) at kernel/qapplication.cpp:4057
#33 0xb6985851 in QApplication::notify (this=0xbfce8d94, receiver=0x9d86560, e=0xbfce7428) at kernel/qapplication.cpp:3759
#34 0xb76e1c9d in KApplication::notify (this=0xbfce8d94, receiver=0x9d86560, event=0xbfce7428) at /build/buildd/kde4libs-4.2.85/kdeui/kernel/kapplication.cpp:307
#35 0xb67657ab in QCoreApplication::notifyInternal (this=0xbfce8d94, receiver=0x9d86560, event=0xbfce7428) at kernel/qcoreapplication.cpp:610
#36 0xb69848be in QApplicationPrivate::sendMouseEvent (receiver=0x9d86560, event=0xbfce7428, alienWidget=0x9d86560, nativeWidget=0x8e12c88, buttonDown=0xb7228aa0, lastMouseReceiver=@0xb7228aa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#37 0xb69f4aee in QETWidget::translateMouseEvent (this=0x8e12c88, event=0xbfce8abc) at kernel/qapplication_x11.cpp:4448
#38 0xb69f3ead in QApplication::x11ProcessEvent (this=0xbfce8d94, event=0xbfce8abc) at kernel/qapplication_x11.cpp:3444
#39 0xb6a1f06a in x11EventSourceDispatch (s=0x8bc4488, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0xb5ee4b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb5ee80eb in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb5ee8268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb67911d8 in QEventDispatcherGlib::processEvents (this=0x8bc02e0, flags={i = -1076982664}) at kernel/qeventdispatcher_glib.cpp:324
#44 0xb6a1e765 in QGuiEventDispatcherGlib::processEvents (this=0x8bc02e0, flags={i = -1076982616}) at kernel/qguieventdispatcher_glib.cpp:202
#45 0xb6763dda in QEventLoop::processEvents (this=0xbfce8d20, flags={i = -1076982552}) at kernel/qeventloop.cpp:149
#46 0xb676421a in QEventLoop::exec (this=0xbfce8d20, flags={i = -1076982488}) at kernel/qeventloop.cpp:200
#47 0xb67666c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#48 0xb697ca47 in QApplication::exec () at kernel/qapplication.cpp:3526
#49 0x0807a8ef in main (argc=6, argv=0xbfce8f44) at /build/buildd/kdebase-4.2.85/apps/dolphin/src/main.cpp:94
Comment 1 Dario Andres 2009-06-23 20:54:31 UTC
*** Bug 197600 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-09-04 23:05:34 UTC
*** Bug 206287 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-09-04 23:06:11 UTC
More complete backtrace:
---

Thread 1 (Thread 0xb631e700 (LWP 23131)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb6a13660 in *__GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6a14e98 in *__GI_abort () at abort.c:88
#9  0xb6a0c6ce in *__GI___assert_fail (assertion=0xb4233fed "config && in",
file=0xb4233e75 "conf.c", line=1553, function=0xb4234ec7 "snd_config_load1") at
assert.c:78
#10 0xb41b5e52 in snd_config_load1 (config=0x0, in=0x6, override=0) at
conf.c:1553
#11 0xb4254817 in installAlsaPhononDeviceHandle () at
/var/tmp/portage/kde-base/phonon-kde-4.3.0/work/phonon-kde-4.3.0/phonon/platform_kde/devicelisting.cpp:56
#12 0xb4254a36 in DeviceListing (this=0x91eccc0) at
/var/tmp/portage/kde-base/phonon-kde-4.3.0/work/phonon-kde-4.3.0/phonon/platform_kde/devicelisting.cpp:122
Comment 4 Dario Andres 2009-09-04 23:06:35 UTC
@Can you attach your asoundrc config files ? Thanks
Comment 5 Ryan J Redding 2009-09-04 23:16:35 UTC
Created attachment 36695 [details]
~/.adoundrc file
Comment 6 Dario Andres 2009-09-16 03:21:42 UTC
*** Bug 207463 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-09-27 13:34:56 UTC
*** Bug 208672 has been marked as a duplicate of this bug. ***
Comment 8 Myriam Schweingruber 2009-11-08 22:32:07 UTC
*** Bug 203076 has been marked as a duplicate of this bug. ***
Comment 9 Myriam Schweingruber 2009-11-08 22:45:35 UTC
Confirmed by duplicates.
Comment 10 Jonathan Thomas 2009-11-10 01:35:51 UTC
*** Bug 213835 has been marked as a duplicate of this bug. ***
Comment 11 Jonathan Thomas 2009-11-10 16:50:48 UTC
*** Bug 214001 has been marked as a duplicate of this bug. ***
Comment 12 Jonathan Thomas 2009-12-16 07:02:31 UTC
*** Bug 216139 has been marked as a duplicate of this bug. ***
Comment 13 Jonathan Thomas 2009-12-16 15:05:23 UTC
*** Bug 204011 has been marked as a duplicate of this bug. ***
Comment 14 Myriam Schweingruber 2010-04-06 12:44:09 UTC
Is this still valid with KDE SC 4.4.2? I can't reproduce this here, using Kubuntu 10.04 beta.
Comment 15 Myriam Schweingruber 2010-04-18 11:05:28 UTC
Closing for lack of feedback, works for me, see comment #14. Please only reopen this report if you can reproduce this with KDE SC 4.4.2/Phonon 4.4.0 or newer.
Comment 16 Myriam Schweingruber 2010-05-20 20:43:57 UTC
Reopening due to duplicates with KDE SC 4.4.2/Phonon 4.4.0
Comment 17 Myriam Schweingruber 2010-05-20 20:44:35 UTC
*** Bug 238127 has been marked as a duplicate of this bug. ***
Comment 18 Jonathan Thomas 2010-05-20 22:04:09 UTC
*** Bug 238129 has been marked as a duplicate of this bug. ***
Comment 19 Christoph Feck 2010-05-21 12:34:03 UTC
*** Bug 238367 has been marked as a duplicate of this bug. ***
Comment 20 erhan 2010-05-21 12:53:46 UTC
what is the solution of this bug? i didnt find it in the post.
Comment 21 erhan 2010-06-05 08:51:59 UTC
Hello, is there a solution for this problem?
Comment 22 erhan 2010-06-06 01:27:27 UTC
here is my

.asoundrc


pcm.bluetooth {
        type plug
        slave {
                pcm "bluetooth_hw"
        }
}

pcm.bluetooth_hw {
        type bluetooth
        device 00:17:91:04:12:AB   # Make sure you put YOUR device MAC here
        profile "auto"
}
Comment 23 erhan 2010-07-30 17:25:23 UTC
hi all,

i would be glad if someone can tell me if there is a solution for this problem.

i would like to play music by bluetooth on my cinema system without crashes.

thanks
Comment 24 Myriam Schweingruber 2010-08-14 10:46:32 UTC
*** Bug 233002 has been marked as a duplicate of this bug. ***
Comment 25 Myriam Schweingruber 2010-08-14 10:47:37 UTC
*** Bug 233139 has been marked as a duplicate of this bug. ***
Comment 26 Christoph Feck 2010-09-17 13:03:55 UTC
*** Bug 251557 has been marked as a duplicate of this bug. ***
Comment 27 Myriam Schweingruber 2010-10-16 23:25:54 UTC
*** Bug 254180 has been marked as a duplicate of this bug. ***
Comment 28 Dario Andres 2010-12-23 00:17:59 UTC
[Comment from a bug triager]
From bug 261000:
-- Information about the crash:
Ubuntu 10.04 updated to 10.10 
Amarok won't run but crashes

-- Updated backtrace (KDE SC 4.5.1):
[KCrash Handler]
#6  0x00007f47893e7ba5 in raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f47893eb6b0 in abort () at abort.c:92
#8  0x00007f47893e0a71 in __assert_fail (assertion=0x7f476ab3295e "config &&
in", file=<value optimized out>, line=1625, function=0x7f476ab338a0
"snd_config_load1") at assert.c:81
#9  0x00007f476aab5440 in ?? () from /usr/lib/libasound.so.2
#10 0x00007f476ad728d5 in installAlsaPhononDeviceHandle () at
../../../phonon/platform_kde/devicelisting.cpp:56
#11 0x00007f476ad72e1c in Phonon::DeviceListing::DeviceListing (this=<value
optimized out>) at ../../../phonon/platform_kde/devicelisting.cpp:122
#12 0x00007f476ad6de15 in Phonon::KdePlatformPlugin::ensureDeviceListingObject
(this=0x171bb30) at ../../../phonon/platform_kde/kdeplatformplugin.cpp:271
#13 0x00007f476ad6deec in Phonon::KdePlatformPlugin::objectDescriptionIndexes
(this=<value optimized out>, type=<value optimized out>) at
../../../phonon/platform_kde/kdeplatformplugin.cpp:282
#14 0x00007f47865bdfaa in Phonon::GlobalConfig::audioOutputDeviceListFor
(this=0x7fffe4355740, category=<value optimized out>, override=6) at
../../phonon/globalconfig.cpp:307
#15 0x00007f47865be32a in Phonon::GlobalConfig::audioOutputDeviceFor
(this=<value optimized out>, category=<value optimized out>, override=<value
optimized out>) at ../../phonon/globalconfig.cpp:344
#16 0x00007f47865b9cf6 in Phonon::AudioOutputPrivate::createBackendObject
(this=0x170ce20) at ../../phonon/audiooutput.cpp:137
#17 0x00007f47865b79d7 in Phonon::AudioOutputPrivate::init (this=0x170ce20,
c=Phonon::MusicCategory) at ../../phonon/audiooutput.cpp:106
Comment 29 Dario Andres 2010-12-23 00:18:07 UTC
*** Bug 261000 has been marked as a duplicate of this bug. ***
Comment 30 Dario Andres 2010-12-23 00:20:09 UTC
[Comment from a bug triager]
Bug 256411 comment 1 may be useful for some people which experienced this after the Ubuntu 10.04->10.10 upgrade.
Regards
Comment 31 Miguel Tadeu 2011-01-11 13:43:38 UTC
It's not happening anymore with kubuntu 10.10 with kde4.5.5 from PPA
Comment 32 Harald Sitter 2011-03-09 00:39:15 UTC
Closing then I suppose.