Summary: | QtCurve style configure dialog crashes | ||
---|---|---|---|
Product: | [Frameworks and Libraries] QtCurve | Reporter: | symbolicallydeath |
Component: | qt5 | Assignee: | Yichao Yu <yyc1992> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | beojan, denis, eugene.shalygin+bugzilla.kde, fabian, hein, ignus.gracia+bugs.kde.org, jerry.flynn, kde, m3johan, moacirjunior94, NEOAethyr, pozharlab, rb03884, rgbear9, slobeck, szuru.buru |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-integration/73eeda3a7dfb3b155a6198ff733e5ab2f1a89f0e | Version Fixed In: | 5.12.7 |
Sentry Crash Report: | |||
Attachments: |
backtrace
Backtrace |
Description
symbolicallydeath
2017-02-11 09:41:22 UTC
I have a feeling what happens but can you install debug symbols for plasma-integration to see where inside it tries to do winId() (In reply to Kai Uwe Broulik from comment #1) > I have a feeling what happens but can you install debug symbols for > plasma-integration to see where inside it tries to do winId() Is this useful? Sorry, I don't know how to activate properly the debug symbols Application: Impostazioni di sistema (systemsettings5), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f28b853d5c0 (LWP 25503))] Thread 3 (Thread 0x7f2897b84700 (LWP 25505)): #0 0x00007f28ae3c3dd4 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f28ae37dc7c in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f28ae37e6ab in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f28ae37e89c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f28b4b7706b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f28b4b2089a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f28b4942a73 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f28b5491125 in ?? () from /usr/lib/libQt5DBus.so.5 #8 0x00007f28b49476d8 in ?? () from /usr/lib/libQt5Core.so.5 #9 0x00007f28b029f454 in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f28b425c7df in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f28a494e700 (LWP 25504)): #0 0x00007f28b425348d in poll () from /usr/lib/libc.so.6 #1 0x00007f28b0b228e0 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f28b0b24679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f28a6eb2239 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f28b49476d8 in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f28b029f454 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f28b425c7df in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f28b853d5c0 (LWP 25503)): [KCrash Handler] #6 0x00007f28b5f26724 in QWindow::type() const () from /usr/lib/libQt5Gui.so.5 #7 0x00007f28b5f2bd92 in QWindow::winId() const () from /usr/lib/libQt5Gui.so.5 #8 0x00007f289f799192 in QDBusMenuBar::unregisterMenuBar (this=this@entry=0xe5a6b0) at /home/chaosjaro/Build/Plasma-integration/src/plasma-integration-5.9.1/src/platformtheme/qdbusmenubar.cpp:216 #9 0x00007f289f79986d in QDBusMenuBar::handleReparent (this=0xe5a6b0, newParentWindow=0xe21fb0) at /home/chaosjaro/Build/Plasma-integration/src/plasma-integration-5.9.1/src/platformtheme/qdbusmenubar.cpp:165 #10 0x00007f28b6832d1c in ?? () from /usr/lib/libQt5Widgets.so.5 #11 0x00007f28b68339f5 in QMenuBar::eventFilter(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #12 0x00007f28b4b221a1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #13 0x00007f28b66b6325 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #14 0x00007f28b66bdb61 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #15 0x00007f28b4b22440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #16 0x00007f28b66fee26 in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () from /usr/lib/libQt5Widgets.so.5 #17 0x00007f28b66ffbbc in QWidget::setParent(QWidget*) () from /usr/lib/libQt5Widgets.so.5 #18 0x00007f28b66d9926 in QLayout::addChildWidget(QWidget*) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007f28b66d999f in QLayout::addWidget(QWidget*) () from /usr/lib/libQt5Widgets.so.5 #20 0x00007f28b681971c in QMdiSubWindow::setWidget(QWidget*) () from /usr/lib/libQt5Widgets.so.5 #21 0x00007f28b680d843 in QMdiArea::addSubWindow(QWidget*, QFlags<Qt::WindowType>) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007f288ec1c56d in ?? () from /usr/lib/qt/plugins/kstyle_qtcurve5_config.so #23 0x00007f288ec1c6a9 in ?? () from /usr/lib/qt/plugins/kstyle_qtcurve5_config.so #24 0x00007f288ec2ad32 in ?? () from /usr/lib/qt/plugins/kstyle_qtcurve5_config.so #25 0x00007f288ec2ae71 in allocate_kstyle_config () from /usr/lib/qt/plugins/kstyle_qtcurve5_config.so #26 0x00007f288f551daf in ?? () from /usr/lib/qt/plugins/kcm_style.so #27 0x00007f28b4b4e0be in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #28 0x00007f28b679ed02 in QAbstractButton::clicked(bool) () from /usr/lib/libQt5Widgets.so.5 #29 0x00007f28b679ef54 in ?? () from /usr/lib/libQt5Widgets.so.5 #30 0x00007f28b67a0347 in ?? () from /usr/lib/libQt5Widgets.so.5 #31 0x00007f28b67a0524 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5 #32 0x00007f28b66fdcd8 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #33 0x00007f28b66b634c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #34 0x00007f28b66be8c5 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #35 0x00007f28b4b22440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #36 0x00007f28b66bd0cd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5 #37 0x00007f28b67183e6 in ?? () from /usr/lib/libQt5Widgets.so.5 #38 0x00007f28b671ae03 in ?? () from /usr/lib/libQt5Widgets.so.5 #39 0x00007f28b66b634c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #40 0x00007f28b66bdb61 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #41 0x00007f28b4b22440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #42 0x00007f28b5f21d53 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #43 0x00007f28b5f238c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #44 0x00007f28b5eff44b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #45 0x00007f28a6f129e0 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #46 0x00007f28ae37e587 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #47 0x00007f28ae37e7f0 in ?? () from /usr/lib/libglib-2.0.so.0 #48 0x00007f28ae37e89c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #49 0x00007f28b4b7704f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #50 0x00007f28b4b2089a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #51 0x00007f28b4b28de4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #52 0x000000000040c250 in main (argc=<optimized out>, argv=<optimized out>) at /home/chaosjaro/Build/systemsettings5/src/systemsettings-5.9.1/app/main.cpp:56 Manjaro packages (being based on Arch) do not provide debug symbols, unlike RPM or DEB packages. I can confirm the crash here, thanks. The QtCurve settings module seems to delete the window and confuses Qt in the process. Even if I fix this very crash, I then end up crashing in other places where it tries to access the old window which is now dangling. I have never seen this crash in any other place, so I consider this a client bug, re-assigning to QtCurve. Is the master version ok? I cannot reproduce this somehow.... *** Bug 376582 has been marked as a duplicate of this bug. *** (In reply to Yichao Yu from comment #6) > Is the master version ok? I cannot reproduce this somehow.... To reproduce, you need to turn on the global menu added in Plasma 5.9. Current master *is* affected. *** Bug 376057 has been marked as a duplicate of this bug. *** *** Bug 378324 has been marked as a duplicate of this bug. *** OK, I think the bug is really in plasma-integration. I've reported it as bug 379719 (https://bugs.kde.org/show_bug.cgi?id=379719). *** Bug 381017 has been marked as a duplicate of this bug. *** *** Bug 381613 has been marked as a duplicate of this bug. *** *** Bug 382057 has been marked as a duplicate of this bug. *** *** Bug 382433 has been marked as a duplicate of this bug. *** *** Bug 382655 has been marked as a duplicate of this bug. *** Created attachment 107406 [details]
backtrace
Got pushed an update containing QTCurve fiels from openSUSE today. Still having the same crash. Attached a backtrace but it looks similar, if not identical, to the one I posted last time. Duplicate #382433 Created attachment 108549 [details]
Backtrace
Update Please Still waiting for a patch. *** Bug 386975 has been marked as a duplicate of this bug. *** *** Bug 389565 has been marked as a duplicate of this bug. *** I am testing Leap 15 Build 115.1 using Plasma 5.11.95 and crash still happening. Update When I remove the menubar from the desktop qtcurve no longer crashes. Technically, this is indeed bug 379719, but not duplicating, because QtCurve is probably the only user of MDI windows with menus. It would be possible to workaround the Qt bug in QtCurve kcm but ommitting the menubar in the preview window. For now, this should disable the crash and we can access the .qtcurve files. Yes? *** Bug 393615 has been marked as a duplicate of this bug. *** Having the same issue with Arch. Latest everything, hmm @Yichao Yu What does Yichao have to say about this bug? He is the maintainer of Qtcurve. *** Bug 395946 has been marked as a duplicate of this bug. *** Git commit 73eeda3a7dfb3b155a6198ff733e5ab2f1a89f0e by Kai Uwe Broulik. Committed on 28/06/2018 at 09:56. Pushed by broulik into branch 'Plasma/5.12'. [QDBusMenuBar] Guard m_window with a QPointer It can be deleted without us knowing for MDI windows as happens in QtCurve config. Also always update m_window if it changes, even when null. Related: bug 379719 FIXED-IN: 5.12.7 Differential Revision: https://phabricator.kde.org/D13774 M +11 -6 src/platformtheme/qdbusmenubar.cpp M +1 -1 src/platformtheme/qdbusmenubar_p.h https://commits.kde.org/plasma-integration/73eeda3a7dfb3b155a6198ff733e5ab2f1a89f0e *** Bug 396073 has been marked as a duplicate of this bug. *** This doesn't seem to be fixed? Still crashing on 1.9.1 with global menu enabled (In reply to Ignus G. from comment #33) > This doesn't seem to be fixed? Still crashing on 1.9.1 with global menu > enabled EDIT: Doesn't matter if the global menu is enabled or not - crashes anyways The fix is in Plasma, so you do not have the fix. If it crashes when global menu is disabled, you are seeing a different crash. Please create a new ticket with the backtrace. *** This bug has been marked as a duplicate of bug 379719 *** I don't have the fix yet on downstream, using kubuntu v18.04 lts as a test, upgrading it off and on. Making a live cd image thing out of it. And a side note, qtcurve crashes ubiquity installer, the qt ver. The gtk3 ver runs fine. That's without the app title bar menu thing, it just crashes. Another issue is colors keep changing for gtk apps, I don't know what the deal is.. I can simply open the app, half a dozen times, and maybe 10% of those times I'll get the right color scheme. I have no clue what is going on with that. Sometimes losing it's transparency too. Really screwy, I have no idea if it's qtcurve yet, the gtk2 part of it, or kde it's self, or just my screwing up on the cfg files. For example: plasma-org.kde.plasma.desktop-appletsrc, I've preset it 4-5 times, notta, real pain. I could have a mix of settings conflicting who knows. This is on my custom live image, I can go back to scratch if I have to. I've got so many other issues with it right now though, too many crashes and lockups. So called soft crashes, hardlock the virtual machine.. Anyways.... I gotta figure out how to get the latest build's of kde5 on kubuntu 18.04. Prob is I got 4 custom widgets I modded, I don't wanna keep havign to re-write them. I'm gonna have to figure out the metadata stuff, rename, and use the stock ones as dep's. That way I can upgrade and not worry about it. Then find the repo, if there is one..., I think there is, but not 100% on that lol. Something like that anyways. Sorry for the offtopic. I figured I'de give a heads up, been seeing a ton of comments on the bug report in my email so I figured I'de stop by, give a heads up on what I've found so far. I'de check with the Ubiquity installer as a heads up, something going on there, likely belongs in a completely different bug report tbh. |