Summary: | systemsettings5 crashes when closing or going back | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Bernhard Übelacker <bernhardu> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 1372880688, 1984257, aladinoaladini, allintothis, amethi, antonio.castro, anvariom, arturpolak1, azahmed096, aztec102, barbarapao2003, bhush94, binauralvoice, bugseforuns, cal00m, christian.lange.81, christian.merlin, christian_burger, cmvbay, cobexer, crglasoe, cucurella, cynical, dani_schmidi, davidcjohnson28, denispolyanov, dutchgigalo, edoantonioco, fabio.coatti, fhj52.info, flatron, heri+kde, idrissbellil, info, jaime.florez.diaz, jari.loippo, jarlgjessing, jesse.rozell, jkdyer, jodr666, johnnyl33, jonatas.silva.roots, kde, kde, kde, kdebugs, kdeokk, kikokairos, lacho8713, lst_manage, lucioperusini, luigi.toscano, lumio83, Mana.Rallego, marco.n.coppola, mgraesslin, michvett, mikescuti, mkyral, modnar13, nenadilic84, omega, paolo, patkasper.linuxfreakgraz, paul.zrexx12r, plaszkotomi, raghu.nospam, ramon_al_sil, ravisharma1987, rdieter, rjltrevisan, rockonthemoonfm, rosand86, rstehwien, sdanielch, shsullivan57, slobeck, sugey90210, tommybeauclair, ttv200, vision1983, waltminkonline, willronsonkde, windowskaput, x24101977 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
See Also: | https://bugreports.qt.io/browse/QTBUG-57714 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Debugging session.
Minimal testcase Colors crash backtrace added systemsettings5-20170211-163357.kcrash.txt attachment-18114-0.html New crash information added by DrKonqi |
Description
Bernhard Übelacker
2016-12-13 23:51:47 UTC
Created attachment 102875 [details]
Minimal testcase
This test creates a main window with a single QQuickWidget.
Via setContextProperty the pointer to the MainWindow instance is stored.
If at Qml side a property of this instance is accessed we get this
crash in the destructor.
(An exmple gdb run on my machine is included.)
please provide that test case to the Qt developers through their bugtracker. Here it won't help. Thank you for the feedback. I created https://bugreports.qt.io/browse/QTBUG-57714. Thanks for forwarding! Bug accepted upstream. *** Bug 344942 has been marked as a duplicate of this bug. *** *** Bug 374475 has been marked as a duplicate of this bug. *** *** Bug 374489 has been marked as a duplicate of this bug. *** *** Bug 374534 has been marked as a duplicate of this bug. *** *** Bug 374556 has been marked as a duplicate of this bug. *** *** Bug 374648 has been marked as a duplicate of this bug. *** *** Bug 374675 has been marked as a duplicate of this bug. *** *** Bug 374837 has been marked as a duplicate of this bug. *** *** Bug 374742 has been marked as a duplicate of this bug. *** *** Bug 375261 has been marked as a duplicate of this bug. *** *** Bug 374982 has been marked as a duplicate of this bug. *** *** Bug 374999 has been marked as a duplicate of this bug. *** *** Bug 375032 has been marked as a duplicate of this bug. *** *** Bug 375039 has been marked as a duplicate of this bug. *** *** Bug 375041 has been marked as a duplicate of this bug. *** *** Bug 375063 has been marked as a duplicate of this bug. *** *** Bug 375178 has been marked as a duplicate of this bug. *** *** Bug 375182 has been marked as a duplicate of this bug. *** *** Bug 375203 has been marked as a duplicate of this bug. *** *** Bug 375434 has been marked as a duplicate of this bug. *** *** Bug 375435 has been marked as a duplicate of this bug. *** *** Bug 375470 has been marked as a duplicate of this bug. *** *** Bug 375475 has been marked as a duplicate of this bug. *** *** Bug 375476 has been marked as a duplicate of this bug. *** *** Bug 375486 has been marked as a duplicate of this bug. *** *** Bug 374885 has been marked as a duplicate of this bug. *** *** Bug 375576 has been marked as a duplicate of this bug. *** *** Bug 375620 has been marked as a duplicate of this bug. *** *** Bug 375636 has been marked as a duplicate of this bug. *** *** Bug 375688 has been marked as a duplicate of this bug. *** *** Bug 375768 has been marked as a duplicate of this bug. *** *** Bug 375777 has been marked as a duplicate of this bug. *** *** Bug 375788 has been marked as a duplicate of this bug. *** *** Bug 375832 has been marked as a duplicate of this bug. *** *** Bug 376042 has been marked as a duplicate of this bug. *** *** Bug 376078 has been marked as a duplicate of this bug. *** *** Bug 376012 has been marked as a duplicate of this bug. *** *** Bug 375935 has been marked as a duplicate of this bug. *** *** Bug 375955 has been marked as a duplicate of this bug. *** *** Bug 375899 has been marked as a duplicate of this bug. *** *** Bug 376004 has been marked as a duplicate of this bug. *** *** Bug 375942 has been marked as a duplicate of this bug. *** *** Bug 375925 has been marked as a duplicate of this bug. *** *** Bug 375920 has been marked as a duplicate of this bug. *** *** Bug 375903 has been marked as a duplicate of this bug. *** *** Bug 375891 has been marked as a duplicate of this bug. *** *** Bug 375841 has been marked as a duplicate of this bug. *** *** Bug 373160 has been marked as a duplicate of this bug. *** *** Bug 374893 has been marked as a duplicate of this bug. *** *** Bug 376166 has been marked as a duplicate of this bug. *** *** Bug 376171 has been marked as a duplicate of this bug. *** *** Bug 376135 has been marked as a duplicate of this bug. *** *** Bug 376152 has been marked as a duplicate of this bug. *** We now have a workaround that we can do for Plasma 5.9.2. Unfortunately we need to do it for every single module that crashes. It seems that whilst the only KCMs that crash are all QML KCMs, it's not the case that all QML KCMs crash. Currently I know of KWin decoration and screen locker. Can people please list any other module that may need fixing, and I'll try and write a patch. 1) part 1 https://phabricator.kde.org/D4533 *** Bug 376151 has been marked as a duplicate of this bug. *** Git commit 29179f115c81ff7128bb5430cb27ef7b65f46b33 by David Edmundson. Committed on 10/02/2017 at 09:52. Pushed by davidedmundson into branch 'Plasma/5.9'. Avoid a crash on Kwin decoration KCM teardown Summary: As described in https://bugreports.qt.io/browse/QTBUG-57714 exposing a QWidget as a context item to QtQuick can crash. Especially as the engine's context property gets deleted whilst deleting the parent item. This patch reworks the code so that the models are exposed to QML directly rather than going through a QWidget. Test Plan: Pressing back whilst in the decoration KCM used to crash every time, now it doesn't. I still have the buttons. Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: graesslin, cfeck, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D4533 M +4 -16 kcmkwin/kwindecoration/kcm.cpp M +0 -7 kcmkwin/kwindecoration/kcm.h M +3 -3 kcmkwin/kwindecoration/qml/Buttons.qml https://commits.kde.org/kwin/29179f115c81ff7128bb5430cb27ef7b65f46b33 Git commit 51c4d6c8db8298dbd471fa91de6cb97bf8b4287a by David Edmundson. Committed on 10/02/2017 at 10:00. Pushed by davidedmundson into branch 'Plasma/5.9'. Fix crash in Screen Locker KCM on teardown Summary: As described in https://bugreports.qt.io/browse/QTBUG-57714 exposing a QWidget as a context item to QtQuick can crash. Especially as the engine's context property gets deleted whilst deleting the parent item. This patch reworks the code so that exposed properties go through a proxy QObject. Test Plan: Pressing back whilst in the screenlocker KCM used to crash every time, now it doesn't. Also changed the wallpaper type, new settings appeared, I went from flat image to a specific wallpaper, and then locked my screen. Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D4535 M +6 -1 kcm/kcm.cpp M +30 -3 kcm/kcm.h https://commits.kde.org/kscreenlocker/51c4d6c8db8298dbd471fa91de6cb97bf8b4287a Git commit 2601fa10725284feb5bcc78006250c0aa92f92dd by David Edmundson. Committed on 10/02/2017 at 12:59. Pushed by davidedmundson into branch 'Plasma/5.8'. Fix crash in Screen Locker KCM on teardown Summary: As described in https://bugreports.qt.io/browse/QTBUG-57714 exposing a QWidget as a context item to QtQuick can crash. Especially as the engine's context property gets deleted whilst deleting the parent item. This patch reworks the code so that exposed properties go through a proxy QObject. Test Plan: Pressing back whilst in the screenlocker KCM used to crash every time, now it doesn't. Also changed the wallpaper type, new settings appeared, I went from flat image to a specific wallpaper, and then locked my screen. Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D4535 M +6 -1 kcm/kcm.cpp M +30 -3 kcm/kcm.h https://commits.kde.org/kscreenlocker/2601fa10725284feb5bcc78006250c0aa92f92dd Git commit 70d2fb2378d636ef6d052da08417b27c99182fb0 by David Edmundson. Committed on 10/02/2017 at 13:01. Pushed by davidedmundson into branch 'Plasma/5.8'. Avoid a crash on Kwin decoration KCM teardown Summary: As described in https://bugreports.qt.io/browse/QTBUG-57714 exposing a QWidget as a context item to QtQuick can crash. Especially as the engine's context property gets deleted whilst deleting the parent item. This patch reworks the code so that the models are exposed to QML directly rather than going through a QWidget. Test Plan: Pressing back whilst in the decoration KCM used to crash every time, now it doesn't. I still have the buttons. Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: graesslin, cfeck, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D4533 M +4 -16 kcmkwin/kwindecoration/kcm.cpp M +0 -7 kcmkwin/kwindecoration/kcm.h M +3 -3 kcmkwin/kwindecoration/qml/Buttons.qml https://commits.kde.org/kwin/70d2fb2378d636ef6d052da08417b27c99182fb0 Created attachment 103970 [details]
Colors crash backtrace
Add "Colors" to the list.
@Tony: Thanks, you seem to be running a very recent git snapshot, right? I did a fix for KHintsSettings (in plasma integration) so changing the color scheme at runtime would properly repainting QML parts. This exposed a bug in KCModuleQml which would unconditionally update the colors even though the QML container window was already gone. I bet you had a QML-based KCM opened (most likely the Desktop Effects one) before you changed the colors? This is fixed in kcmutils: https://cgit.kde.org/kcmutils.git/commit/ Just as a information. Attached to the upstream bug QTBUG-57714 is a patch against qtdeclarative-opensource-src-5.7.1 to attempt to fix the problem there. In my short tests it worked as expected. *** Bug 376392 has been marked as a duplicate of this bug. *** *** Bug 376358 has been marked as a duplicate of this bug. *** *** Bug 376323 has been marked as a duplicate of this bug. *** *** Bug 376208 has been marked as a duplicate of this bug. *** *** Bug 375629 has been marked as a duplicate of this bug. *** *** Bug 374941 has been marked as a duplicate of this bug. *** *** Bug 374851 has been marked as a duplicate of this bug. *** *** Bug 374042 has been marked as a duplicate of this bug. *** have the same with TW 2017.02.11 Created attachment 104005 [details]
added systemsettings5-20170211-163357.kcrash.txt
hope this helps..
(In reply to André Verwijs from comment #76) > have the same with TW 2017.02.11 Me too. *** Bug 376475 has been marked as a duplicate of this bug. *** *** Bug 376410 has been marked as a duplicate of this bug. *** *** Bug 376414 has been marked as a duplicate of this bug. *** *** Bug 376442 has been marked as a duplicate of this bug. *** *** Bug 376458 has been marked as a duplicate of this bug. *** *** Bug 376492 has been marked as a duplicate of this bug. *** *** Bug 376524 has been marked as a duplicate of this bug. *** *** Bug 376532 has been marked as a duplicate of this bug. *** *** Bug 376535 has been marked as a duplicate of this bug. *** I can confirm that the bug fixed on: openSUSE Tumbleweed (rolling) with: KDE Plasma 5.9.2 Qt 5.7.1 KDE Frameworks 5.30.0 Mark as resolved? *** Bug 376603 has been marked as a duplicate of this bug. *** *** Bug 376582 has been marked as a duplicate of this bug. *** Created attachment 104122 [details] attachment-18114-0.html I'll have to check... need to update TW to the latest packages.... .. Op 20 feb. 2017 08:19 schreef <bugzilla_noreply@kde.org>: https://bugs.kde.org/show_bug.cgi?id=373628 --- Comment #88 from ttv200@gmail.com --- I can confirm that the bug fixed on: openSUSE Tumbleweed (rolling) with: KDE Plasma 5.9.2 Qt 5.7.1 KDE Frameworks 5.30.0 Mark as resolved? -- You are receiving this mail because: You are on the CC list for the bug. *** Bug 376924 has been marked as a duplicate of this bug. *** *** Bug 376960 has been marked as a duplicate of this bug. *** *** Bug 376971 has been marked as a duplicate of this bug. *** *** Bug 377077 has been marked as a duplicate of this bug. *** *** Bug 377851 has been marked as a duplicate of this bug. *** *** Bug 378067 has been marked as a duplicate of this bug. *** *** Bug 378830 has been marked as a duplicate of this bug. *** Just a note for completeness: Upstream bug [QTBUG-57714] got now closed and a fix got commited [1]. It is included since Qt release v5.9.0-beta2 and in the v5.8 branch waiting for the next v5.8.x release. And in duplicate [QTBUG-58562] is a commit mentioned [2] as the patch causing this issue which on the other side is said to be the fix for [361236]. [QTBUG-57714] https://bugreports.qt.io/browse/QTBUG-57714 [QTBUG-58562] https://bugreports.qt.io/browse/QTBUG-58562 [361236] https://bugs.kde.org/show_bug.cgi?id=361236#c113 [1] http://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d438be92dd7068fef94ce98e1ec039fe0ef4f3b3 [2] http://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4d375f3f2b95bfcb322402df3525db6cc7a723ce Created attachment 110490 [details]
New crash information added by DrKonqi
systemsettings5 (5.12.0) using Qt 5.9.3
- What I was doing when the application crashed:
crash when clic /Bureau virtuels/Réglages par défaut"
-- Backtrace (Reduced):
#6 0x00007f3c0c7f7428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7 0x00007f3c0c7f902a in __GI_abort () at abort.c:89
[...]
#9 0x00007f3c0c844651 in malloc_printerr (ar_ptr=0x7ffd2b54e5f0, ptr=0x1fc854f, str=0x7f3c0c9532e0 "malloc(): memory corruption (fast)", action=3) at malloc.c:5006
#10 _int_malloc (av=av@entry=0x7f3c0cb86b20 <main_arena>, bytes=bytes@entry=28) at malloc.c:3386
#11 0x00007f3c0c846184 in __GI___libc_malloc (bytes=28) at malloc.c:2913
*** Bug 451905 has been marked as a duplicate of this bug. *** |