https://bugs.kde.org/show_bug.cgi?id=471497
Bug ID: 471497 Summary: Crash when saving attachment to webdavs folder Classification: Applications Product: kontact Version: unspecified Platform: openSUSE OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kdepim-b...@kde.org Reporter: axel.br...@gmx.de Target Milestone: --- Application: kontact (5.23.2 (23.04.2)) Qt Version: 5.15.10 Frameworks Version: 5.107.0 Operating System: Linux 6.3.9-1-default x86_64 Windowing System: X11 Distribution: "openSUSE Tumbleweed" DrKonqi: 5.27.6 [KCrashBackend] -- Information about the crash: I have a webdavs share already open in a dolphin session. When saving an attachment (save as...) I open the webdavs share from the kmail dialog. I can select the correct folder, when I hit 'save' it crashes The crash can be reproduced every time. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #4 QArrayData::data (this=0x50) at /usr/include/qt5/QtCore/qarraydata.h:69 #5 QTypedArrayData<KMime::Headers::Base*>::data (this=0x50) at /usr/include/qt5/QtCore/qarraydata.h:210 #6 QTypedArrayData<KMime::Headers::Base*>::constBegin (this=0x50) at /usr/include/qt5/QtCore/qarraydata.h:216 #7 QVector<KMime::Headers::Base*>::begin (this=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:220 #8 KMime::Content::headerByType (this=this@entry=0x555c3fa415e0, type=0x7f590825d040 "Content-Transfer-Encoding") at /usr/src/debug/kmime-23.04.2/src/kmime_content.cpp:626 #9 0x00007f59082458aa in KMime::Content::header<KMime::Headers::ContentTransferEncoding> (create=true, this=0x555c3fa415e0) at /usr/src/debug/kmime-23.04.2/src/kmime_content.h:681 #10 KMime::Content::contentTransferEncoding (this=this@entry=0x555c3fa415e0, create=create@entry=true) at /usr/src/debug/kmime-23.04.2/src/kmime_content.cpp:883 #11 0x00007f5908245e85 in KMime::Content::decodedContent (this=this@entry=0x555c3fa415e0) at /usr/src/debug/kmime-23.04.2/src/kmime_content.cpp:318 #12 0x00007f58b1569248 in MessageViewer::Util::saveContent (url=..., content=0x555c3fa415e0, parent=<optimized out>) at /usr/src/debug/messagelib-23.04.2/messageviewer/src/utils/messageviewerutil.cpp:420 #13 MessageViewer::Util::saveContents (parent=0x555c35ae38b0, contents=..., urlList=...) at /usr/src/debug/messagelib-23.04.2/messageviewer/src/utils/messageviewerutil.cpp:323 #14 0x00007f58b15455ee in MessageViewer::ViewerPrivate::slotHandleAttachment (this=0x555c35ff6150, choice=<optimized out>) at /usr/src/debug/messagelib-23.04.2/messageviewer/src/viewer/viewer_p.cpp:2618 #15 0x00007f59499257a2 in QtPrivate::QSlotObjectBase::call (a=0x7fff61875260, r=0x555c35ff6150, this=0x555c3e6fdb50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate<false> (sender=0x555c3e3b8fe0, signal_index=4, argv=0x7fff61875260) at kernel/qobject.cpp:3925 #17 0x00007f594991e40f in QMetaObject::activate (sender=sender@entry=0x555c3e3b8fe0, m=m@entry=0x7f594aabacc0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff61875260) at kernel/qobject.cpp:3985 #18 0x00007f594a59e8b2 in QAction::triggered (this=this@entry=0x555c3e3b8fe0, _t1=<optimized out>) at .moc/moc_qaction.cpp:376 #19 0x00007f594a5a142f in QAction::activate (this=0x555c3e3b8fe0, event=<optimized out>) at kernel/qaction.cpp:1161 #20 0x00007f594a725ef2 in QMenuPrivate::activateCausedStack (this=this@entry=0x555c40256780, causedStack=..., action=action@entry=0x555c3e3b8fe0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384 #21 0x00007f594a72dd23 in QMenuPrivate::activateAction (this=0x555c40256780, action=0x555c3e3b8fe0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1461 #22 0x00007f594a5e6d68 in QWidget::event (this=0x7fff61875fe0, event=0x7fff61875850) at kernel/qwidget.cpp:9045 #23 0x00007f594a5a519e in QApplicationPrivate::notify_helper (this=this@entry=0x555c3552d420, receiver=receiver@entry=0x7fff61875fe0, e=e@entry=0x7fff61875850) at kernel/qapplication.cpp:3640 #24 0x00007f594a5ad5cf in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fff61875850) at kernel/qapplication.cpp:3084 #25 0x00007f59498ed4f8 in QCoreApplication::notifyInternal2 (receiver=0x7fff61875fe0, event=0x7fff61875850) at kernel/qcoreapplication.cpp:1064 #26 0x00007f59498ed6ce in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474 #27 0x00007f594a5ab92e in QApplicationPrivate::sendMouseEvent (receiver=0x7fff61875fe0, event=event@entry=0x7fff61875850, alienWidget=<optimized out>, nativeWidget=0x7fff61875fe0, buttonDown=buttonDown@entry=0x7f594aaf2330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622 #28 0x00007f594a6002ca in QWidgetWindow::handleMouseEvent (this=this@entry=0x555c402602f0, event=event@entry=0x7fff61875b00) at kernel/qwidgetwindow.cpp:580 #29 0x00007f594a602d1f in QWidgetWindow::event (this=0x555c402602f0, event=0x7fff61875b00) at kernel/qwidgetwindow.cpp:300 #30 0x00007f594a5a519e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555c402602f0, e=0x7fff61875b00) at kernel/qapplication.cpp:3640 #31 0x00007f59498ed4f8 in QCoreApplication::notifyInternal2 (receiver=0x555c402602f0, event=0x7fff61875b00) at kernel/qcoreapplication.cpp:1064 #32 0x00007f59498ed6ce in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474 #33 0x00007f5949d7d12b in QGuiApplicationPrivate::processMouseEvent (e=0x555c3f7b78e0) at kernel/qguiapplication.cpp:2285 #34 0x00007f5949d503ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #35 0x00007f59379041aa in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #36 0x00007f59401168d8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #37 0x00007f5940116ce8 in ?? () from /lib64/libglib-2.0.so.0 #38 0x00007f5940116d7c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #39 0x00007f5949946496 in QEventDispatcherGlib::processEvents (this=0x555c35610d10, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #40 0x00007f59498ebf8b in QEventLoop::exec (this=this@entry=0x7fff61875e40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #41 0x00007f594a72b70f in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) (this=0x555c40256780, p=..., action=action@entry=0x0, positionFunction=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #42 0x00007f594a72b82f in QMenu::exec (this=this@entry=0x7fff61875fe0, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2686 #43 0x00007f58b15306bf in MessageViewer::ViewerPrivate::showAttachmentPopup (this=0x555c35ff6150, node=<optimized out>, name=..., globalPos=...) at /usr/src/debug/messagelib-23.04.2/messageviewer/src/viewer/viewer_p.cpp:620 #44 0x00007f58b15472a0 in MessageViewer::AttachmentURLHandler::handleContextMenuRequest (this=<optimized out>, url=..., p=..., w=0x555c35ff6150) at /usr/src/debug/messagelib-23.04.2/messageviewer/src/viewer/urlhandlermanager.cpp:790 #45 0x00007f58b153d2ba in MessageViewer::URLHandlerManager::handleContextMenuRequest (w=0x555c35ff6150, p=..., url=..., this=<optimized out>) at /usr/src/debug/messagelib-23.04.2/messageviewer/src/viewer/urlhandlermanager.cpp:328 #46 MessageViewer::ViewerPrivate::slotUrlPopup (this=0x555c35ff6150, result=...) at /usr/src/debug/messagelib-23.04.2/messageviewer/src/viewer/viewer_p.cpp:2021 #47 0x00007f59499257a2 in QtPrivate::QSlotObjectBase::call (a=0x7fff61876210, r=0x555c35ff6150, this=0x555c35e54460) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #48 doActivate<false> (sender=0x555c35f07650, signal_index=22, argv=0x7fff61876210) at kernel/qobject.cpp:3925 #49 0x00007f594991e40f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f58b15fd260 <MessageViewer::MailWebEngineView::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fff61876210) at kernel/qobject.cpp:3985 #50 0x00007f58b14ef865 in MessageViewer::MailWebEngineView::popupMenu (this=<optimized out>, _t1=...) at /usr/src/debug/messagelib-23.04.2/build/messageviewer/src/KPim5MessageViewer_autogen/UEGXWF64LR/moc_mailwebengineview.cpp:271 #51 0x00007f59499257a2 in QtPrivate::QSlotObjectBase::call (a=0x7fff61876310, r=0x555c35f07650, this=0x555c3f6044a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #52 doActivate<false> (sender=0x555c40186140, signal_index=3, argv=0x7fff61876310) at kernel/qobject.cpp:3925 #53 0x00007f594991e40f in QMetaObject::activate (sender=sender@entry=0x555c40186140, m=m@entry=0x7f58b1408020 <WebEngineViewer::WebHitTest::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff61876310) at kernel/qobject.cpp:3985 #54 0x00007f58b13c7a02 in WebEngineViewer::WebHitTest::finished (this=this@entry=0x555c40186140, _t1=...) at /usr/src/debug/messagelib-23.04.2/build/webengineviewer/src/KPim5WebEngineViewer_autogen/EWIEGA46WW/moc_webhittest.cpp:143 #55 0x00007f58b13cb6fc in WebEngineViewer::WebHitTest::handleHitTest (this=0x555c40186140, result=...) at /usr/src/debug/messagelib-23.04.2/webengineviewer/src/webhittest.cpp:118 #56 0x00007f5948d6baa1 in QtWebEngineCore::CallbackDirectory::invokeInternal<QVariant const&> (result=..., callbackId=<optimized out>, this=<optimized out>) at ../core/api/qwebenginecallback_p.h:182 #57 QtWebEngineCore::CallbackDirectory::invoke (result=..., callbackId=93854520769456, this=<optimized out>) at ../core/api/qwebenginecallback_p.h:111 #58 QWebEnginePagePrivate::didRunJavaScript (this=this@entry=0x555c35bb9a90, requestId=requestId@entry=5, result=...) at api/qwebenginepage.cpp:387 #59 0x00007f5941c3b7db in QtWebEngineCore::callbackOnEvaluateJS (result=..., requestId=5, adapterClient=0x555c35bb9a90) at /usr/src/debug/qtwebengine-everywhere-src-5.15.14/src/core/web_contents_adapter.cpp:224 #60 QtWebEngineCore::callbackOnEvaluateJS (adapterClient=0x555c35bb9a90, requestId=5, result=...) at /usr/src/debug/qtwebengine-everywhere-src-5.15.14/src/core/web_contents_adapter.cpp:221 #61 0x00007f5941c437bd in base::internal::FunctorTraits<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), void>::Invoke<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value> (function=<optimized out>) at release/../../3rdparty/chromium/base/bind_internal.h:392 #62 base::internal::InvokeHelper<false, void>::MakeItSo<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value> (functor=<optimized out>) at release/../../3rdparty/chromium/base/bind_internal.h:637 #63 base::internal::Invoker<base::internal::BindState<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), QtWebEngineCore::WebContentsAdapterClient*, unsigned long long>, void (base::Value)>::RunImpl<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), std::tuple<QtWebEngineCore::WebContentsAdapterClient*, unsigned long long>, 0ul, 1ul>(void (*&&)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), std::tuple<QtWebEngineCore::WebContentsAdapterClient*, unsigned long long>&&, std::integer_sequence<unsigned long, 0ul, 1ul>, base::Value&&) (unbound_args#0=..., bound=..., functor=<optimized out>) at release/../../3rdparty/chromium/base/bind_internal.h:711 #64 base::internal::Invoker<base::internal::BindState<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), QtWebEngineCore::WebContentsAdapterClient*, unsigned long long>, void (base::Value)>::RunOnce(base::internal::BindStateBase*, base::Value&&) (base=0x555c3eda7bc0, unbound_args#0=...) at release/../../3rdparty/chromium/base/bind_internal.h:679 #65 0x00007f594263d782 in base::OnceCallback<void (base::Value)>::Run(base::Value) && () at ../../3rdparty/chromium/base/callback.h:100 #66 content::mojom::FrameNavigationControl_JavaScriptExecuteRequestInIsolatedWorld_ForwardToCallback::Accept () at gen/content/common/frame.mojom.cc:2724 #67 0x00007f5944373e6b in mojo::InterfaceEndpointClient::HandleValidatedMessage () at ../../3rdparty/chromium/mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:581 #68 0x00007f59443bcf46 in AcceptOnProxyThread () at ../../3rdparty/chromium/ipc/ipc_mojo_bootstrap.cc:950 #69 0x00007f59443baa09 in Invoke<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message> () at ../../3rdparty/chromium/base/bind_internal.h:498 #70 MakeItSo<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message> () at ../../3rdparty/chromium/base/bind_internal.h:637 #71 RunImpl<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), std::tuple<scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message>, 0, 1> () at ../../3rdparty/chromium/base/bind_internal.h:711 #72 RunOnce () at ../../3rdparty/chromium/base/bind_internal.h:679 #73 0x00007f5943cd4d51 in base::OnceCallback<void ()>::Run() && () at ../../3rdparty/chromium/base/callback.h:100 #74 base::TaskAnnotator::RunTask () at ./../../3rdparty/chromium/base/task/common/task_annotator.cc:163 #75 0x00007f5943ce95f4 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:332 #76 0x00007f5943ce9afc in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252 #77 0x00007f5941bc78f7 in QtWebEngineCore::MessagePumpForUIQt::handleScheduledWork (this=0x555c359abcd0) at /usr/src/debug/qtwebengine-everywhere-src-5.15.14/src/core/browser_main_parts_qt.cpp:208 #78 QtWebEngineCore::MessagePumpForUIQt::MessagePumpForUIQt()::{lambda()#1}::operator()() const (__closure=<optimized out>) at /usr/src/debug/qtwebengine-everywhere-src-5.15.14/src/core/browser_main_parts_qt.cpp:121 #79 std::__invoke_impl<void, QtWebEngineCore::MessagePumpForUIQt::MessagePumpForUIQt()::{lambda()#1}&>(std::__invoke_other, QtWebEngineCore::MessagePumpForUIQt::MessagePumpForUIQt()::{lambda()#1}&) (__f=...) at /usr/include/c++/13/bits/invoke.h:61 #80 std::__invoke_r<void, QtWebEngineCore::MessagePumpForUIQt::MessagePumpForUIQt()::{lambda()#1}&>(QtWebEngineCore::MessagePumpForUIQt::MessagePumpForUIQt()::{lambda()#1}&) (__fn=...) at /usr/include/c++/13/bits/invoke.h:150 #81 std::_Function_handler<void (), QtWebEngineCore::MessagePumpForUIQt::MessagePumpForUIQt()::{lambda()#1}>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/13/bits/std_function.h:290 #82 0x00007f59499191bb in QObject::event (this=0x555c359abce0, e=0x7f585004b9a0) at kernel/qobject.cpp:1369 #83 0x00007f594a5a519e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555c359abce0, e=0x7f585004b9a0) at kernel/qapplication.cpp:3640 #84 0x00007f59498ed4f8 in QCoreApplication::notifyInternal2 (receiver=0x555c359abce0, event=0x7f585004b9a0) at kernel/qcoreapplication.cpp:1064 #85 0x00007f59498ed6be in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #86 0x00007f59498f0af1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555c3552a3b0) at kernel/qcoreapplication.cpp:1821 #87 0x00007f59498f1038 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680 #88 0x00007f5949946c83 in postEventSourceDispatch (s=0x555c356017f0) at kernel/qeventdispatcher_glib.cpp:277 #89 0x00007f59401168d8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #90 0x00007f5940116ce8 in ?? () from /lib64/libglib-2.0.so.0 #91 0x00007f5940116d7c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #92 0x00007f5949946496 in QEventDispatcherGlib::processEvents (this=0x555c35610d10, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #93 0x00007f59498ebf8b in QEventLoop::exec (this=this@entry=0x7fff61876d90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #94 0x00007f59498f4420 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #95 0x00007f5949d7059c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870 #96 0x00007f594a5a5115 in QApplication::exec () at kernel/qapplication.cpp:2832 #97 0x0000555c33cf6fe3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kontact-23.04.2/src/main.cpp:216 [Inferior 1 (process 6178) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.