Bug 381569 - Plasma crashes when pulseaudio sink is closed
Summary: Plasma crashes when pulseaudio sink is closed
Status: RESOLVED DUPLICATE of bug 380845
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.10.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-06-23 11:25 UTC by Łukasz Żarnowiecki
Modified: 2017-06-26 22:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Żarnowiecki 2017-06-23 11:25:18 UTC
Application: plasmashell (5.10.2)

Qt Version: 5.9.0
Frameworks Version: 5.35.0
Operating System: Linux 4.11.6-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
When I am hang up on call which uses microphone plasma crashes I think due to a problem with no properly handling pulseaudio sink.

The crash can be reproduced every time.

-- Backtrace:
Application: Plazma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4612ef6d80 (LWP 4211))]

Thread 9 (Thread 0x7f4538d8d700 (LWP 11587)):
#0  0x00007f460c53502d in read () at /usr/lib/libc.so.6
#1  0x00007f4600850ed1 in read (__nbytes=10, __buf=0x7f4538d8cbe0, __fd=33) at /usr/include/bits/unistd.h:44
#2  0x00007f4600850ed1 in pa_read (fd=33, buf=buf@entry=0x7f4538d8cbe0, count=count@entry=10, type=type@entry=0x6177528) at pulsecore/core-util.c:434
#3  0x00007f4600ee12ee in clear_wakeup (m=<optimized out>) at pulse/mainloop.c:781
#4  0x00007f4600ee12ee in pa_mainloop_prepare (m=m@entry=0x6177450, timeout=-1) at pulse/mainloop.c:789
#5  0x00007f4600ee1d60 in pa_mainloop_iterate (m=0x6177450, block=<optimized out>, retval=0x0) at pulse/mainloop.c:923
#6  0x00007f4600ee1e20 in pa_mainloop_run (m=0x6177450, retval=retval@entry=0x0) at pulse/mainloop.c:944
#7  0x00007f4600eefe09 in thread (userdata=0x5bff010) at pulse/thread-mainloop.c:100
#8  0x00007f460087fef8 in internal_thread_func (userdata=0x61a60a0) at pulsecore/thread-posix.c:81
#9  0x00007f460bdf7297 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f460c54325f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f453aad4700 (LWP 4910)):
#0  0x00007f4607139a25 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f46070f4321 in g_main_context_query () at /usr/lib/libglib-2.0.so.0
#2  0x00007f46070f4b77 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f46070f4d0c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f460ce61e9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f460ce0821a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f460cc2a40a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f460fd99645 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f460cc2ecbd in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f460bdf7297 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f460c54325f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f455d56a700 (LWP 4606)):
#0  0x00007f4607139a44 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f46070f43d9 in g_main_context_query () at /usr/lib/libglib-2.0.so.0
#2  0x00007f46070f4b77 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f46070f4d0c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f460ce61e9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f460ce0821a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f460cc2a40a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f4610951836 in  () at /usr/lib/libQt5Quick.so.5
#8  0x00007f460cc2ecbd in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f460bdf7297 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f460c54325f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f45ecb1a700 (LWP 4528)):
#0  0x00007f460bdfd39d in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f461266cac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f461266cb09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f460bdf7297 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f460c54325f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f45eeb7f700 (LWP 4324)):
#0  0x00007f460c5392bd in poll () at /usr/lib/libc.so.6
#1  0x00007f46070f4bf9 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f46070f4d0c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f460ce61e9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f460ce0821a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f460cc2a40a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f460fd99645 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f460cc2ecbd in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f460bdf7297 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f460c54325f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f45f5138700 (LWP 4271)):
#0  0x00007f460c5500a5 in __libc_enable_asynccancel () at /usr/lib/libc.so.6
#1  0x00007f460c535022 in read () at /usr/lib/libc.so.6
#2  0x00007f46071386f0 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f46070f46db in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#4  0x00007f46070f4ba0 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f46070f4d0c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#6  0x00007f460ce61e9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f460ce0821a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#8  0x00007f460cc2a40a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#9  0x00007f460fd99645 in  () at /usr/lib/libQt5Qml.so.5
#10 0x00007f460cc2ecbd in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f460bdf7297 in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007f460c54325f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f45f6b82700 (LWP 4241)):
#0  0x00007f4607139a44 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f46070f4b1e in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f46070f4d0c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f460ce61e9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f460ce0821a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f460cc2a40a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f460d288d45 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f460cc2ecbd in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f460bdf7297 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f460c54325f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f45fce12700 (LWP 4229)):
#0  0x00007f460c5392bd in poll () at /usr/lib/libc.so.6
#1  0x00007f461157a8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f461157c679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f45ff383d49 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f460cc2ecbd in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f460bdf7297 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f460c54325f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f4612ef6d80 (LWP 4211)):
[KCrash Handler]
#5  0x00007f460fd7fff1 in QQmlBinding::getPropertyData(QQmlPropertyData**, QQmlPropertyData*) const () at /usr/lib/libQt5Qml.so.5
#6  0x00007f460fd832cc in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f460fd83dae in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f460fd80b93 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt5Qml.so.5
#9  0x00007f460fd57a83 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt5Qml.so.5
#10 0x00007f460fcf6499 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib/libQt5Qml.so.5
#11 0x00007f460ce37c9f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#12 0x00007f455214a048 in  () at /usr/lib/qt/qml/org/kde/plasma/private/volume/libplasma-volume-declarative.so
#13 0x00007f460ce3857f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#14 0x00007f455214e325 in  () at /usr/lib/qt/qml/org/kde/plasma/private/volume/libplasma-volume-declarative.so
#15 0x00007f45521437ee in  () at /usr/lib/qt/qml/org/kde/plasma/private/volume/libplasma-volume-declarative.so
#16 0x00007f4600ed7d6c in context_get_sink_info_callback (pd=pd@entry=0x3f60750, command=command@entry=2, tag=tag@entry=336, t=t@entry=0x4617390, userdata=userdata@entry=0x4feb970) at pulse/introspect.c:261
#17 0x00007f4600869b51 in run_action (pd=0x3f60750, r=0x4fe9630, command=2, ts=0x4617390) at pulsecore/pdispatch.c:288
#18 0x00007f4600869ed8 in pa_pdispatch_run (pd=0x3f60750, packet=packet@entry=0x4fecb50, ancil_data=ancil_data@entry=0x3adb318, userdata=userdata@entry=0x3cbbd20) at pulsecore/pdispatch.c:341
#19 0x00007f4600ecca4e in pstream_packet_callback (p=<optimized out>, packet=0x4fecb50, ancil_data=0x3adb318, userdata=0x3cbbd20) at pulse/context.c:349
#20 0x00007f460086c927 in do_read (p=p@entry=0x3adb080, re=re@entry=0x3adb248) at pulsecore/pstream.c:1012
#21 0x00007f460086f56b in do_pstream_read_write (p=0x3adb080) at pulsecore/pstream.c:248
#22 0x00007f460086f909 in srb_callback (srb=<optimized out>, userdata=0x3adb080) at pulsecore/pstream.c:287
#23 0x00007f460087018a in srbchannel_rwloop (sr=0x455e690) at pulsecore/srbchannel.c:190
#24 0x00007f4600cb8f36 in dispatch_func (source=0x3cbbaf0, callback=<optimized out>, userdata=<optimized out>) at pulse/glib-mainloop.c:584
#25 0x00007f46070f4a47 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#26 0x00007f46070f4c78 in  () at /usr/lib/libglib-2.0.so.0
#27 0x00007f46070f4d0c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#28 0x00007f460ce61e7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#29 0x00007f460ce0821a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007f460ce10a74 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#31 0x000000000041cc32 in  ()
#32 0x00007f460c47643a in __libc_start_main () at /usr/lib/libc.so.6
#33 0x000000000041cfaa in _start ()

Reported using DrKonqi
Comment 1 David Edmundson 2017-06-26 22:14:55 UTC

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