Bug 380845 - Plasma Crash while pluggin headphones
Summary: Plasma Crash while pluggin headphones
Status: RESOLVED DUPLICATE of bug 381525
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords: drkonqi
: 379880 381211 381314 381409 381458 381462 381522 381554 381569 381712 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-05 00:58 UTC by Tony
Modified: 2017-06-28 21:07 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2017-06-05 00:58:33 UTC
Application: plasmashell (5.10.90)

Qt Version: 5.9.0
Frameworks Version: 5.35.0
Operating System: Linux 4.11.3-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I just plugged in my headphones on the front planel of the pc.
I already have my speackers pluggin in the back panel "line out".
Also have tick the options "Add virtual output device......" and "Automatically switch all running streams....."

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff83f48dd40 (LWP 1548))]

Thread 15 (Thread 0x7ff73f5f2700 (LWP 2600)):
#0  0x00007ff8337fdb34 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff8337b7bb7 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8337b8ba5 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff8337b8dfc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff83932b73b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff8392d4cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ff83910705a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007ff83c28ed45 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#8  0x00007ff83910b73e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7ff754182700 (LWP 1718)):
#0  0x00007ff838a0708d in poll () from /lib64/libc.so.6
#1  0x00007ff8337b8ce9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8337b8dfc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff83932b73b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ff8392d4cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff83910705a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ff75573bf37 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#7  0x00007ff83910b73e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7ff77a64a700 (LWP 1709)):
#0  0x00007ff838a0708d in poll () from /lib64/libc.so.6
#1  0x00007ff8337b8ce9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8337b8dfc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff83932b73b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ff8392d4cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff83910705a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ff83ce46292 in QQuickPixmapReader::run() () from /usr/lib64/libQt5Quick.so.5
#7  0x00007ff83910b73e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7ff77f1d7700 (LWP 1708)):
#0  0x00007ff8382c85ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff80dc912fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff80dc91037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7ff77f9d8700 (LWP 1707)):
#0  0x00007ff8382c85ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff80dc912fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff80dc91037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7ff7801d9700 (LWP 1706)):
#0  0x00007ff8382c85ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff80dc912fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff80dc91037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7ff7809da700 (LWP 1705)):
#0  0x00007ff8382c85ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff80dc912fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff80dc91037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7ff7813e1700 (LWP 1704)):
#0  0x00007ff8382c85ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff80dc912fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff80dc91037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ff781be2700 (LWP 1703)):
#0  0x00007ff8382c85ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff80dc912fb in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff80dc91037 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ff80ffff700 (LWP 1702)):
#0  0x00007ff8382c85ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff83eb4ca04 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007ff83eb4ca49 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ff8167a2700 (LWP 1701)):
#0  0x00007ff8337fdb34 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff8337b8218 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8337b8c1b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff8337b8dfc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff83932b73b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff8392d4cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007ff83910705a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007ff83c28ed45 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#8  0x00007ff83910b73e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff817fff700 (LWP 1690)):
#0  0x00007ff8337fdb19 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff8337b8de8 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff83932b73b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007ff8392d4cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ff83910705a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff83c28ed45 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#6  0x00007ff83910b73e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff81dff2700 (LWP 1627)):
#0  0x00007ff838a0708d in poll () from /lib64/libc.so.6
#1  0x00007ff8337b8ce9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8337b8dfc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff83932b73b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ff8392d4cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff83910705a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ff8397baa45 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007ff83910b73e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff82938a700 (LWP 1560)):
#0  0x00007ff838a0708d in poll () from /lib64/libc.so.6
#1  0x00007ff83da58387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ff83da5a17a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ff82bd6f2d9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007ff83910b73e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff8382c24e7 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff838a10a2f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff83f48dd40 (LWP 1548)):
[KCrash Handler]
#6  0x00007ff83c276283 in QQmlBinding::getPropertyData(QQmlPropertyData**, QQmlPropertyData*) const () from /usr/lib64/libQt5Qml.so.5
#7  0x00007ff83c27945c in GenericBinding<10>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () from /usr/lib64/libQt5Qml.so.5
#8  0x00007ff83c279e66 in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () from /usr/lib64/libQt5Qml.so.5
#9  0x00007ff83c276dd3 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from /usr/lib64/libQt5Qml.so.5
#10 0x00007ff83c24f3e3 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /usr/lib64/libQt5Qml.so.5
#11 0x00007ff83c1f1f45 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /usr/lib64/libQt5Qml.so.5
#12 0x00007ff839302e80 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#13 0x00007ff763534e03 in QPulseAudio::VolumeObject::updateVolumeObject<pa_sink_info const> (info=0x7ffebf6f2460, this=0x56335a2ef350) at /usr/src/debug/plasma-pa-5.10.90git~20170601T094657~01753b3/src/volumeobject.h:54
#14 QPulseAudio::Device::updateDevice<pa_sink_info> (this=this@entry=0x56335a2ef350, info=info@entry=0x7ffebf6f2460) at /usr/src/debug/plasma-pa-5.10.90git~20170601T094657~01753b3/src/device.h:60
#15 0x00007ff763533995 in QPulseAudio::Sink::update (this=this@entry=0x56335a2ef350, info=info@entry=0x7ffebf6f2460) at /usr/src/debug/plasma-pa-5.10.90git~20170601T094657~01753b3/src/sink.cpp:37
#16 0x00007ff763524295 in QPulseAudio::MapBase<QPulseAudio::Sink, pa_sink_info>::updateEntry (parent=0x563359727990, info=0x7ffebf6f2460, this=0x5633597279a0) at /usr/src/debug/plasma-pa-5.10.90git~20170601T094657~01753b3/src/maps.h:138
#17 QPulseAudio::Context::sinkCallback (info=0x7ffebf6f2460, this=0x563359727990) at /usr/src/debug/plasma-pa-5.10.90git~20170601T094657~01753b3/src/context.cpp:459
#18 QPulseAudio::sink_cb (context=<optimized out>, info=0x7ffebf6f2460, eol=<optimized out>, data=0x563359727990) at /usr/src/debug/plasma-pa-5.10.90git~20170601T094657~01753b3/src/context.cpp:68
#19 0x00007ff82f76f84e in context_get_sink_info_callback (pd=pd@entry=0x563359df94a0, command=command@entry=2, tag=tag@entry=65, t=t@entry=0x563359c575b0, userdata=userdata@entry=0x56335a5dee70) at pulse/introspect.c:261
#20 0x00007ff82e9b5081 in run_action (pd=0x563359df94a0, r=0x56335a5cc870, command=2, ts=0x563359c575b0) at pulsecore/pdispatch.c:288
#21 0x00007ff82e9b53fb in pa_pdispatch_run (pd=0x563359df94a0, packet=packet@entry=0x56335a37af50, ancil_data=ancil_data@entry=0x563359c3eaa8, userdata=userdata@entry=0x5633597286f0) at pulsecore/pdispatch.c:341
#22 0x00007ff82f76453e in pstream_packet_callback (p=<optimized out>, packet=<optimized out>, ancil_data=<optimized out>, userdata=<optimized out>) at pulse/context.c:349
#23 0x00007ff82e9b804f in do_read (p=p@entry=0x563359c3e810, re=re@entry=0x563359c3e9d8) at pulsecore/pstream.c:1012
#24 0x00007ff82e9bab0b in do_pstream_read_write (p=0x563359c3e810) at pulsecore/pstream.c:248
#25 0x00007ff82e9baea9 in srb_callback (srb=<optimized out>, userdata=0x563359c3e810) at pulsecore/pstream.c:287
#26 0x00007ff82e9bb72f in srbchannel_rwloop (sr=0x56335a888130) at pulsecore/srbchannel.c:190
#27 0x00007ff82f54cfb0 in dispatch_func (source=0x5633597285a0, callback=<optimized out>, userdata=<optimized out>) at pulse/glib-mainloop.c:584
#28 0x00007ff8337b8b37 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007ff8337b8d68 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007ff8337b8dfc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007ff83932b71f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#32 0x00007ff8392d4cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#33 0x00007ff8392dd144 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#34 0x00005633570f5bb2 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.90git~20170602T071446~1a63f5e/shell/main.cpp:166

Reported using DrKonqi
Comment 1 Tony 2017-06-16 18:42:36 UTC
This may have something to do with the fact that "ALSA" mutes unused/unplug output ports by default (which is stupid imo).
Comment 2 Christoph Feck 2017-06-19 20:13:32 UTC
*** Bug 381409 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2017-06-19 20:14:06 UTC
*** Bug 381211 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2017-06-19 20:14:29 UTC
*** Bug 381314 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2017-06-19 20:15:04 UTC
*** Bug 379880 has been marked as a duplicate of this bug. ***
Comment 6 David Edmundson 2017-06-21 11:49:28 UTC
*** Bug 381462 has been marked as a duplicate of this bug. ***
Comment 7 David Edmundson 2017-06-21 11:50:12 UTC
*** Bug 381458 has been marked as a duplicate of this bug. ***
Comment 8 David Edmundson 2017-06-21 11:50:18 UTC
*** Bug 381145 has been marked as a duplicate of this bug. ***
Comment 9 David Edmundson 2017-06-21 12:17:22 UTC
If anyone can run this in valgrind and reproduce that'd be really useful.
Comment 10 Christoph Feck 2017-06-21 12:24:54 UTC
All reporters so far use Qt 5.9.0.
Comment 11 Nikola Schnelle 2017-06-21 18:27:50 UTC
I can easily crash plasma with scrolling over sound/volume systray icon. Although it does not crash every time.

I have never used valgrind and have no spare time atm to read docs, but if there is some easy copy/paste valgrind command I would more than happy to run it :)
Comment 12 Christoph Feck 2017-06-22 10:23:46 UTC
*** Bug 381522 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2017-06-23 07:14:59 UTC
*** Bug 381554 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2017-06-23 07:17:04 UTC
This is probably unrelated to plasma-pa, see also bug 381525.
Comment 15 David Edmundson 2017-06-26 22:14:55 UTC
*** Bug 381569 has been marked as a duplicate of this bug. ***
Comment 16 David Edmundson 2017-06-27 10:02:31 UTC
*** Bug 381712 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2017-06-28 21:07:23 UTC
This is indeed a regression in Qt 5.9.

*** This bug has been marked as a duplicate of bug 381525 ***