Bug 371738 - Crash trying to part #radeon
Summary: Crash trying to part #radeon
Status: RESOLVED DUPLICATE of bug 348414
Alias: None
Product: frameworks-knotifications
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.26.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Klapetek
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-27 09:58 UTC by Luke-Jr
Modified: 2016-10-28 22:06 UTC (History)
4 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 Luke-Jr 2016-10-27 09:58:23 UTC
Application: konversation (1.6-branch #4910)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.21-gentoo x86_64
Distribution: "NAME=Gentoo"

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

Right-clicked on #radeon channel and tried to part it. I was prompted to confirm, and when I clicked the Yes button it crashed. After restarting, attempted to do the same, and it crashed again. This was before the part command got sent to the server, leaving me in the channel when Konversation started back up.

I was able to part #radeon successfully only by switching to the status tab and typing /part #radeon

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2a7fbc6780 (LWP 4686))]

Thread 4 (Thread 0x7f2a74b91700 (LWP 4688)):
#0  0x00007f2a84591eec in g_mutex_lock (mutex=mutex@entry=0x7f2a70000990) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gthread-posix.c:1335
#1  0x00007f2a8453cdcb in g_main_context_prepare (context=context@entry=0x7f2a70000990, priority=priority@entry=0x7f2a74b90c70) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3444
#2  0x00007f2a8453d806 in g_main_context_iterate (context=context@entry=0x7f2a70000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3820
#3  0x00007f2a8453da51 in g_main_context_iteration (context=0x7f2a70000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3901
#4  0x00007f2a89b4e404 in QEventDispatcherGlib::processEvents (this=0x7f2a700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f2a89af1cda in QEventLoop::exec (this=this@entry=0x7f2a74b90de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2a8990d62d in QThread::exec (this=this@entry=0x7f2a89dd62c0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007f2a89d5d565 in QDBusConnectionManager::run (this=0x7f2a89dd62c0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007f2a89912f32 in QThreadPrivate::start (arg=0x7f2a89dd62c0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007f2a878f24dc in start_thread (arg=0x7f2a74b91700) at pthread_create.c:333
#10 0x00007f2a88f3783d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f2a6f5ef700 (LWP 4689)):
#0  0x00007f2a88f2db0d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2a8453d8e5 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f2a68002e70, timeout=8565, context=0x7f2a68000990) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f2a68000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3835
#3  0x00007f2a8453da51 in g_main_context_iteration (context=0x7f2a68000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3901
#4  0x00007f2a89b4e404 in QEventDispatcherGlib::processEvents (this=0x7f2a680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f2a89af1cda in QEventLoop::exec (this=this@entry=0x7f2a6f5eee20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2a8990d62d in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007f2a89912f32 in QThreadPrivate::start (arg=0x5624b087ea70) at thread/qthread_unix.cpp:341
#8  0x00007f2a878f24dc in start_thread (arg=0x7f2a6f5ef700) at pthread_create.c:333
#9  0x00007f2a88f3783d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f2a598e1700 (LWP 4690)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2a6e746253 in cnd_wait (mtx=0x5624b0c4a000, cond=<optimized out>) at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/include/c11/threads_posix.h:159
#2  pipe_semaphore_wait (sema=0x5624b0c4a000) at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0x5624b0c49bb0) at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:710
#4  0x00007f2a6e74584a in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/include/c11/threads_posix.h:87
#5  0x00007f2a878f24dc in start_thread (arg=0x7f2a598e1700) at pthread_create.c:333
#6  0x00007f2a88f3783d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f2a7fbc6780 (LWP 4686)):
[KCrash Handler]
#6  0x00007f2a8e286aca in KNotification::event (eventid=3566545936, title=..., text=..., widget=0x5624c4282bd0, flags=...) at /var/tmp/portage/kde-frameworks/knotifications-5.26.0/work/knotifications-5.26.0/src/knotification.cpp:368
#7  0x00007f2a8e2a9af7 in QHash<Phonon::MediaObject*, KNotification*>::remove (akey=@0x7ffd96d61840: 0x5624c42565b0, this=0x5624b1329f70) at /usr/include/qt5/QtCore/qhash.h:779
#8  NotifyByAudio::onAudioFinished (this=0x5624b1329f50) at /var/tmp/portage/kde-frameworks/knotifications-5.26.0/work/knotifications-5.26.0/src/notifybyaudio.cpp:157
#9  0x00007f2a8e2b0b35 in KStatusNotifierItemDBus::qt_static_metacall (_o=0x5624d4952c10, _c=2585495683, _id=-727704416, _a=0x5624c4282bd0) at /var/tmp/portage/kde-frameworks/knotifications-5.26.0/work/knotifications-5.26.0_build/src/moc_kstatusnotifieritemdbus_p.cpp:145
#10 0x00007f2a89b23515 in QMetaObject::activate (sender=0x5624c42565b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3730
#11 0x00007f2a89b24155 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f2a8acd0220 <Phonon::MediaObject::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3595
#12 0x00007f2a8aa9aa09 in Phonon::MediaObject::finished (this=<optimized out>) at /var/tmp/portage/media-libs/phonon-4.9.0/work/phonon-4.9.0-qt5/phonon/moc_mediaobject.cpp:437
#13 0x00007f2a8aa9de65 in Phonon::MediaObject::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/media-libs/phonon-4.9.0/work/phonon-4.9.0-qt5/phonon/moc_mediaobject.cpp:183
#14 0x00007f2a89b24cea in QObject::event (this=0x5624c42565b0, e=<optimized out>) at kernel/qobject.cpp:1256
#15 0x00007f2a8a49e1c4 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5624c42565b0, e=0x5624cece08a0) at kernel/qapplication.cpp:3804
#16 0x00007f2a8a4a2f66 in QApplication::notify (this=0x7ffd96d620f0, receiver=0x5624c42565b0, e=0x5624cece08a0) at kernel/qapplication.cpp:3561
#17 0x00007f2a89af38c8 in QCoreApplication::notifyInternal2 (receiver=0x5624c42565b0, event=event@entry=0x5624cece08a0) at kernel/qcoreapplication.cpp:1015
#18 0x00007f2a89af6477 in QCoreApplication::sendEvent (event=0x5624cece08a0, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5624b0390260) at kernel/qcoreapplication.cpp:1650
#20 0x00007f2a89af6a8e in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#21 0x00007f2a89b4e339 in postEventSourceDispatch (s=0x5624b07de770) at kernel/qeventdispatcher_glib.cpp:270
#22 0x00007f2a8453d63c in g_main_dispatch (context=0x7f2a780016f0) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3154
#23 g_main_context_dispatch (context=context@entry=0x7f2a780016f0) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3769
#24 0x00007f2a8453d948 in g_main_context_iterate (context=context@entry=0x7f2a780016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3840
#25 0x00007f2a8453da51 in g_main_context_iteration (context=0x7f2a780016f0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3901
#26 0x00007f2a89b4e3ed in QEventDispatcherGlib::processEvents (this=0x5624b07ee990, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#27 0x00007f2a89af1cda in QEventLoop::exec (this=this@entry=0x7ffd96d61f90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007f2a89afad26 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#29 0x00005624afec00ae in main (argc=1, argv=<optimized out>) at /var/tmp/portage/net-irc/konversation-1.6.2/work/konversation-1.6.2/src/main.cpp:159

Reported using DrKonqi
Comment 1 Eike Hein 2016-10-28 07:34:13 UTC
You're crashing in Phonon there, which is the sound playback lib used by the notification lib to play a sound for the event -- as a workaround you could disable the sound for now, or try a different playback backend for Phonon.
Comment 2 Harald Sitter 2016-10-28 08:24:38 UTC
I am pretty sure this was fixed in master for 5.28

https://quickgit.kde.org/?p=knotifications.git&a=commit&h=1cea23a21517462202ec85ba215cc1171ac150cc
Comment 3 Luke-Jr 2016-10-28 08:26:24 UTC
(In reply to Harald Sitter from comment #2)
> I am pretty sure this was fixed in master for 5.28
> 
> https://quickgit.kde.org/?p=knotifications.
> git&a=commit&h=1cea23a21517462202ec85ba215cc1171ac150cc

That commit seems to be a bug when closing the application, which I was not doing...
Comment 4 Christoph Feck 2016-10-28 22:06:46 UTC

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