Bug 358814

Summary: Kmail settings dialog hungs while turn on Security/HTML in messages
Product: [Unmaintained] phonon-backend-gstreamer Reporter: Alexander Miroshnichenko <alexminder>
Component: generalAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED REMIND    
Severity: crash CC: montel, myriam, romain.perier, sitter, tdfischer
Priority: NOR    
Version: 4.7.2   
Target Milestone: 4.8   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: core file

Description Alexander Miroshnichenko 2016-01-31 10:04:35 UTC
Version 5.1.1 (kde-apps/kdepim-15.12.1)

KDE Frameworks 5.18.0,
Qt 5.5.1,
KDE Plasma 5.5.4

Reproducible: Always

Steps to Reproduce:
1. Run kmail
2. Open Settings
3. Turn on Security/HTML in messages
4. Apply

Actual Results:  
It is impossible to turn on HTML message view

Expected Results:  
Save and continue working
Comment 1 Laurent Montel 2016-01-31 10:43:58 UTC
it works fine.
could you use gdb to know what freeze your kmail ?
Comment 2 Alexander Miroshnichenko 2016-02-02 18:28:28 UTC
(gdb) bt
#0  0x000003a226c8dd89 in syscall () from /lib64/libc.so.6
#1  0x000003a21bec9606 in g_cond_wait (cond=cond@entry=0x3a21c172f20 <g_once_cond>, mutex=mutex@entry=0x3a21c172f30 <g_once_mutex>) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gthread-posix.c:1395
#2  0x000003a21bea4573 in g_once_init_enter (location=location@entry=0x3a1b8370df8 <g_define_type_id.volatile>) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gthread.c:649
#3  0x000003a1b8096c6c in gst_object_get_type () at /usr/src/debug/media-libs/gstreamer-0.10.36-r2/gstreamer-0.10.36/gst/gstobject.c:175
#4  0x000003a1b80ee9a4 in gst_registry_get_type () at /usr/src/debug/media-libs/gstreamer-0.10.36-r2/gstreamer-0.10.36/gst/gstregistry.c:199
#5  0x000003a1b80eeced in gst_registry_get_default () at /usr/src/debug/media-libs/gstreamer-0.10.36-r2/gstreamer-0.10.36/gst/gstregistry.c:324
#6  0x000003a1b83996d3 in Phonon::Gstreamer::EffectManager::EffectManager (this=0x28ad4fefb0, backend=<optimized out>) at /usr/src/debug/media-libs/phonon-gstreamer-4.7.2/phonon-backend-gstreamer-4.7.2/gstreamer/effectmanager.cpp:44
#7  0x000003a1b838c261 in Phonon::Gstreamer::Backend::Backend (this=this@entry=0x28ad376b30, parent=parent@entry=0x0) at /usr/src/debug/media-libs/phonon-gstreamer-4.7.2/phonon-backend-gstreamer-4.7.2/gstreamer/backend.cpp:117
#8  0x000003a1b838c726 in qt_plugin_instance () at /usr/src/debug/media-libs/phonon-gstreamer-4.7.2/phonon-backend-gstreamer-4.7.2-qt5/gstreamer/moc_backend.cpp:248
#9  0x000003a22770824f in QPluginLoader::instance (this=this@entry=0x3c2f1d1b6e0) at plugin/qpluginloader.cpp:192
#10 0x000003a21a42a4e8 in Phonon::FactoryPrivate::tryCreateBackend (this=this@entry=0x28ad371d20, path=...) at /usr/src/debug/media-libs/phonon-4.7.2/phonon-4.7.2/phonon/factory.cpp:117
#11 0x000003a21a42c9aa in Phonon::FactoryPrivate::createSuitableBackend (this=this@entry=0x28ad371d20, libPath=..., plugins=...) at /usr/src/debug/media-libs/phonon-4.7.2/phonon-4.7.2/phonon/factory.cpp:215
#12 0x000003a21a42d183 in Phonon::FactoryPrivate::createBackend (this=this@entry=0x28ad371d20) at /usr/src/debug/media-libs/phonon-4.7.2/phonon-4.7.2/phonon/factory.cpp:299
#13 0x000003a21a42da25 in Phonon::Factory::backend (createWhenNull=createWhenNull@entry=true) at /usr/src/debug/media-libs/phonon-4.7.2/phonon-4.7.2/phonon/factory.cpp:571
#14 0x000003a21a42e076 in Phonon::Factory::createAudioOutput (parent=0x28ad389be0) at /usr/src/debug/media-libs/phonon-4.7.2/phonon-4.7.2/phonon/factory.cpp:466
#15 0x000003a21a42113d in Phonon::AudioOutputPrivate::createBackendObject (this=0x28ad371d70) at /usr/src/debug/media-libs/phonon-4.7.2/phonon-4.7.2/phonon/audiooutput.cpp:130
#16 0x000003a21a41e355 in Phonon::AudioOutputPrivate::init (this=0x28ad371d70, c=Phonon::NotificationCategory) at /usr/src/debug/media-libs/phonon-4.7.2/phonon-4.7.2/phonon/audiooutput.cpp:97
#17 0x000003a2235f59d2 in NotifyByAudio::notify (this=0x28ad36bf80, notification=0x28ace49270, config=0x3c2f1d1bd10) at /usr/src/debug/kde-frameworks/knotifications-5.18.0/knotifications-5.18.0/src/notifybyaudio.cpp:53
#18 0x000003a2235d5e9b in KNotificationManager::notify (this=0x3a22380f030 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>, n=n@entry=0x28ace49270)
    at /usr/src/debug/kde-frameworks/knotifications-5.18.0/knotifications-5.18.0/src/knotificationmanager.cpp:205
#19 0x000003a2235d3030 in KNotification::sendEvent (this=0x28ace49270) at /usr/src/debug/kde-frameworks/knotifications-5.18.0/knotifications-5.18.0/src/knotification.cpp:398
#20 0x000003a22774c92a in QObject::event (this=0x28ace49270, e=<optimized out>) at kernel/qobject.cpp:1239
#21 0x000003a2284891fc in QApplicationPrivate::notify_helper (this=this@entry=0x28ab58cc00, receiver=receiver@entry=0x28ace49270, e=e@entry=0x28ad36a540) at kernel/qapplication.cpp:3716
#22 0x000003a22848ecc2 in QApplication::notify (this=0x3c2f1d1dfd0, receiver=0x28ace49270, e=0x28ad36a540) at kernel/qapplication.cpp:3499
#23 0x000003a22771b64d in QCoreApplication::notifyInternal (this=0x3c2f1d1dfd0, receiver=0x28ace49270, event=event@entry=0x28ad36a540) at kernel/qcoreapplication.cpp:965
#24 0x000003a22771ee03 in QCoreApplication::sendEvent (event=0x28ad36a540, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x28ab588610) at kernel/qcoreapplication.cpp:1593
#26 0x000003a22771f42e in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#27 0x000003a227776009 in postEventSourceDispatch (s=0x28ab6f2a30) at kernel/qeventdispatcher_glib.cpp:271
#28 0x000003a21be7405c in g_main_dispatch (context=0x3a2000016f0) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gmain.c:3122
#29 g_main_context_dispatch (context=context@entry=0x3a2000016f0) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gmain.c:3737
#30 0x000003a21be74368 in g_main_context_iterate (context=context@entry=0x3a2000016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gmain.c:3808
#31 0x000003a21be74471 in g_main_context_iteration (context=0x3a2000016f0, may_block=1) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gmain.c:3869
#32 0x000003a2277760bd in QEventDispatcherGlib::processEvents (this=0x28ab6e6070, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#33 0x000003a227719c4b in QEventLoop::exec (this=this@entry=0x3c2f1d1c390, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#34 0x000003a2286c0730 in QDialog::exec (this=0x28ad32fff0) at dialogs/qdialog.cpp:541
#35 0x000003a21f5b54b9 in KMessageBox::createKMessageBox (dialog=dialog@entry=0x28ad32fff0, buttons=buttons@entry=0x28abfe1730, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x3c2f1d1c7b0, options=..., details=..., 
    notifyType=QMessageBox::Warning) at /usr/src/debug/kde-frameworks/kwidgetsaddons-5.18.0/kwidgetsaddons-5.18.0/src/kmessagebox.cpp:393
#36 0x000003a21f5b5851 in KMessageBox::createKMessageBox (dialog=dialog@entry=0x28ad32fff0, buttons=buttons@entry=0x28abfe1730, icon=icon@entry=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x3c2f1d1c7b0, 
    options=..., details=...) at /usr/src/debug/kde-frameworks/kwidgetsaddons-5.18.0/kwidgetsaddons-5.18.0/src/kmessagebox.cpp:197
#37 0x000003a21f5b77eb in KMessageBox::warningContinueCancelListInternal (dialog=dialog@entry=0x28ad32fff0, text=..., strlist=..., caption=..., buttonContinue_=..., buttonCancel_=..., dontAskAgainName=..., options=...)
    at /usr/src/debug/kde-frameworks/kwidgetsaddons-5.18.0/kwidgetsaddons-5.18.0/src/kmessagebox.cpp:683
#38 0x000003a21f5b7b2a in KMessageBox::warningContinueCancelList (parent=parent@entry=0x28ad1a4950, text=..., strlist=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...)
    at /usr/src/debug/kde-frameworks/kwidgetsaddons-5.18.0/kwidgetsaddons-5.18.0/src/kmessagebox.cpp:703
#39 0x000003a21f5b7b7f in KMessageBox::warningContinueCancel (parent=parent@entry=0x28ad1a4950, text=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...)
    at /usr/src/debug/kde-frameworks/kwidgetsaddons-5.18.0/kwidgetsaddons-5.18.0/src/kmessagebox.cpp:650
#40 0x000003a228f9c4b6 in SecurityPageGeneralTab::save (this=0x28ad1a4950) at /usr/src/debug/kde-apps/kdepim-15.12.1/kdepim-15.12.1/kmail/configuredialog/configuresecuritypage.cpp:126
#41 0x000003a228f931aa in ConfigModuleWithTabs::save (this=0x28ad19b6b0) at /usr/src/debug/kde-apps/kdepim-15.12.1/kdepim-15.12.1/kmail/configuredialog/configuredialog_p.cpp:64
#42 0x000003a222244c37 in KCModuleProxy::save (this=this@entry=0x28ad1a17f0) at /usr/src/debug/kde-frameworks/kcmutils-5.18.0/kcmutils-5.18.0/src/kcmoduleproxy.cpp:272
#43 0x000003a2222416c2 in KCMultiDialogPrivate::apply (this=<optimized out>) at /usr/src/debug/kde-frameworks/kcmutils-5.18.0/kcmutils-5.18.0/src/kcmultidialog.cpp:323
#44 0x000003a222241972 in KCMultiDialog::slotOkClicked (this=0x28abef6ce0) at /usr/src/debug/kde-frameworks/kcmutils-5.18.0/kcmutils-5.18.0/src/kcmultidialog.cpp:358
#45 0x000003a228f9216f in ConfigureDialog::slotOk (this=0x28abef6ce0) at /usr/src/debug/kde-apps/kdepim-15.12.1/kdepim-15.12.1/kmail/configuredialog/configuredialog.cpp:93
#46 0x000003a22774b0f6 in QtPrivate::QSlotObjectBase::call (a=0x3c2f1d1cbf0, r=0x28abef6ce0, this=0x28ad315430) at ../../src/corelib/kernel/qobject_impl.h:124
#47 QMetaObject::activate (sender=sender@entry=0x28abf87ea0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x3c2f1d1cbf0) at kernel/qobject.cpp:3698
#48 0x000003a22774bdb5 in QMetaObject::activate (sender=sender@entry=0x28abf87ea0, m=m@entry=0x3a228a3d860 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x3c2f1d1cbf0)
    at kernel/qobject.cpp:3578
#49 0x000003a2288badbf in QAbstractButton::clicked (this=this@entry=0x28abf87ea0, _t1=false) at .moc/moc_qabstractbutton.cpp:303
#50 0x000003a228588a3e in QAbstractButtonPrivate::emitClicked (this=0x28abadca50) at widgets/qabstractbutton.cpp:534
#51 0x000003a2285899dd in QAbstractButtonPrivate::click (this=0x28abadca50) at widgets/qabstractbutton.cpp:527
#52 0x000003a228589bcd in QAbstractButton::mouseReleaseEvent (this=0x28abf87ea0, e=0x3c2f1d1d120) at widgets/qabstractbutton.cpp:1132
#53 0x000003a2284d91f0 in QWidget::event (this=0x28abf87ea0, event=0x3c2f1d1d120) at kernel/qwidget.cpp:9044
#54 0x000003a2284891fc in QApplicationPrivate::notify_helper (this=this@entry=0x28ab58cc00, receiver=receiver@entry=0x28abf87ea0, e=e@entry=0x3c2f1d1d120) at kernel/qapplication.cpp:3716
#55 0x000003a22848f82c in QApplication::notify (this=<optimized out>, receiver=0x28abf87ea0, e=0x3c2f1d1d120) at kernel/qapplication.cpp:3276
#56 0x000003a22771b64d in QCoreApplication::notifyInternal (this=0x3c2f1d1dfd0, receiver=receiver@entry=0x28abf87ea0, event=event@entry=0x3c2f1d1d120) at kernel/qcoreapplication.cpp:965
#57 0x000003a22848e09a in QCoreApplication::sendSpontaneousEvent (event=0x3c2f1d1d120, receiver=0x28abf87ea0) at ../../src/corelib/kernel/qcoreapplication.h:227
#58 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x28abf87ea0, event=event@entry=0x3c2f1d1d120, alienWidget=alienWidget@entry=0x28abf87ea0, nativeWidget=0x28abef6ce0, 
    buttonDown=buttonDown@entry=0x3a228a4a1e0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2770
#59 0x000003a2284f9e2a in QWidgetWindow::handleMouseEvent (this=this@entry=0x28abf88c50, event=event@entry=0x3c2f1d1d550) at kernel/qwidgetwindow.cpp:555
#60 0x000003a2284fc3eb in QWidgetWindow::event (this=0x28abf88c50, event=0x3c2f1d1d550) at kernel/qwidgetwindow.cpp:210
#61 0x000003a2284891fc in QApplicationPrivate::notify_helper (this=this@entry=0x28ab58cc00, receiver=receiver@entry=0x28abf88c50, e=e@entry=0x3c2f1d1d550) at kernel/qapplication.cpp:3716
---Type <return> to continue, or q <return> to quit---
#62 0x000003a22848ecc2 in QApplication::notify (this=0x3c2f1d1dfd0, receiver=0x28abf88c50, e=0x3c2f1d1d550) at kernel/qapplication.cpp:3499
#63 0x000003a22771b64d in QCoreApplication::notifyInternal (this=0x3c2f1d1dfd0, receiver=receiver@entry=0x28abf88c50, event=event@entry=0x3c2f1d1d550) at kernel/qcoreapplication.cpp:965
#64 0x000003a227a60acc in QCoreApplication::sendSpontaneousEvent (event=0x3c2f1d1d550, receiver=0x28abf88c50) at ../../src/corelib/kernel/qcoreapplication.h:227
#65 QGuiApplicationPrivate::processMouseEvent (e=0x28ad330ae0) at kernel/qguiapplication.cpp:1789
#66 0x000003a227a628f5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x28ad330ae0) at kernel/qguiapplication.cpp:1581
#67 0x000003a227a3f768 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:625
#68 0x000003a20858a892 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#69 0x000003a21be7405c in g_main_dispatch (context=0x3a2000016f0) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gmain.c:3122
#70 g_main_context_dispatch (context=context@entry=0x3a2000016f0) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gmain.c:3737
#71 0x000003a21be74368 in g_main_context_iterate (context=context@entry=0x3a2000016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gmain.c:3808
#72 0x000003a21be74471 in g_main_context_iteration (context=0x3a2000016f0, may_block=1) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gmain.c:3869
#73 0x000003a2277760bd in QEventDispatcherGlib::processEvents (this=0x28ab6e6070, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#74 0x000003a227719c4b in QEventLoop::exec (this=this@entry=0x3c2f1d1d960, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#75 0x000003a2277222a6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#76 0x00000028a801119f in main (argc=1, argv=0x3c2f1d1e218) at /usr/src/debug/kde-apps/kdepim-15.12.1/kdepim-15.12.1/kmail/main.cpp:151
(gdb)
Comment 3 Alexander Miroshnichenko 2016-02-02 18:34:28 UTC
(gdb) frame 1
#1  0x000003a21bec9606 in g_cond_wait (cond=cond@entry=0x3a21c172f20 <g_once_cond>, mutex=mutex@entry=0x3a21c172f30 <g_once_mutex>) at /usr/src/debug/dev-libs/glib-2.44.1-r1/glib-2.44.1/glib/gthread-posix.c:1395
1395      syscall (__NR_futex, &cond->i[0], (gsize) FUTEX_WAIT_PRIVATE, (gsize) sampled, NULL);
Comment 4 Alexander Miroshnichenko 2016-02-02 18:49:35 UTC
Created attachment 96981 [details]
core file
Comment 5 Alexander Miroshnichenko 2016-02-02 19:04:23 UTC
I had changed phonon backend to VLC. It helps. 
With gstreamer backend issue exists.
Comment 6 Laurent Montel 2016-02-02 21:25:59 UTC
So it's a bug in notification and gstreamer backend.
I don't know why but it's not a kmail bug
Comment 7 Alexander Miroshnichenko 2016-06-14 19:59:21 UTC
Hello,

Do you have any new info ?
Comment 8 Alexander Miroshnichenko 2016-06-14 20:00:57 UTC
Can you assign bug to the right group ?