Bug 388469 - systemsettings5 crashes on display settings component
Summary: systemsettings5 crashes on display settings component
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: libkscreen (show other bugs)
Version: git
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-03 00:18 UTC by Micha
Modified: 2021-01-16 04:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Micha 2018-01-03 00:18:39 UTC
When I'm trying to enter "display and monitor" in systemsettings5, it suddenly crashes and nothing else happens. When I run it from console, it displays following message: 

michal@misutbook:~$ systemsettings5 
QObject::connect: invalid null parameter
Naruszenie ochrony pamięci (zrzut pamięci)

It means, that it Segfaulted and core was dumped. It's in attachment to this message.
Comment 1 Kai Uwe Broulik 2018-01-04 09:20:20 UTC
I don't see an attachment :)
Comment 2 Christoph Feck 2018-01-17 23:57:39 UTC
If this is reproducible, please add the backtrace of the crash. For more information, please see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 3 Micha 2018-01-19 22:44:44 UTC
michal@misutbook:~$ valgrind systemsettings5 
==22941== Memcheck, a memory error detector
==22941== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22941== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22941== Command: systemsettings5
==22941== 
QObject::connect: invalid null parameter
==22941== Invalid read of size 8
==22941==    at 0x2E80A043: KScreen::GetConfigOperation::start() (in /usr/lib/x86_64-linux-gnu/libKF5Screen.so.5.12.80)
==22941==    by 0x8516451: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0x658646B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.1)
==22941==    by 0x658DD33: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.1)
==22941==    by 0x84E6DE7: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0x84E955C: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0x853FE52: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0xEE51FB6: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==22941==    by 0xEE521EF: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==22941==    by 0xEE5227B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==22941==    by 0x853F47E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0x84E4E39: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==22941== 
==22941== 
==22941== Process terminating with default action of signal 11 (SIGSEGV)
==22941==  Access not within mapped region at address 0x0
==22941==    at 0x2E80A043: KScreen::GetConfigOperation::start() (in /usr/lib/x86_64-linux-gnu/libKF5Screen.so.5.12.80)
==22941==    by 0x8516451: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0x658646B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.1)
==22941==    by 0x658DD33: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.1)
==22941==    by 0x84E6DE7: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0x84E955C: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0x853FE52: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0xEE51FB6: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==22941==    by 0xEE521EF: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==22941==    by 0xEE5227B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1)
==22941==    by 0x853F47E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==    by 0x84E4E39: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1)
==22941==  If you believe this happened as a result of a stack
==22941==  overflow in your program's main thread (unlikely but
==22941==  possible), you can try to increase the size of the
==22941==  main thread stack using the --main-stacksize= flag.
==22941==  The main thread stack size used in this run was 8388608.
==22941== 
==22941== HEAP SUMMARY:
==22941==     in use at exit: 5,212,575 bytes in 51,583 blocks
==22941==   total heap usage: 301,685 allocs, 250,102 frees, 55,757,021 bytes allocated
==22941== 
==22941== LEAK SUMMARY:
==22941==    definitely lost: 4,352 bytes in 17 blocks
==22941==    indirectly lost: 1,377 bytes in 65 blocks
==22941==      possibly lost: 15,487 bytes in 193 blocks
==22941==    still reachable: 5,191,359 bytes in 51,308 blocks
==22941==                       of which reachable via heuristic:
==22941==                         newarray           : 5,456 bytes in 32 blocks
==22941==                         multipleinheritance: 65,928 bytes in 83 blocks
==22941==         suppressed: 0 bytes in 0 blocks
==22941== Rerun with --leak-check=full to see details of leaked memory
==22941== 
==22941== For counts of detected and suppressed errors, rerun with: -v
==22941== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)
Comment 4 Christoph Feck 2018-01-26 04:39:43 UTC
Thanks for the update; reassigning to KScreen developers for inspection.
Comment 5 Sebastian Kügler 2018-01-26 11:12:30 UTC
Can you please run systemsettings5 through gdb and attach the backtrace?
Comment 6 Justin Zobel 2020-12-17 05:33:54 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 7 Bug Janitor Service 2021-01-01 04:37:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2021-01-16 04:36:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!