Bug 329918 - KDE Systrem Settings window crashes repeatably.
Summary: KDE Systrem Settings window crashes repeatably.
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_printer_manager (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords: drkonqi
: 334013 351522 381247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-13 18:44 UTC by William Austin
Modified: 2024-04-03 23:35 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments
attachment-27989-0.html (1.96 KB, text/html)
2018-03-24 04:59 UTC, William Austin
Details
New crash information added by DrKonqi (8.59 KB, text/plain)
2018-06-26 06:23 UTC, Manuel Mommertz
Details
New crash information added by DrKonqi (7.02 KB, text/plain)
2018-06-26 06:28 UTC, Manuel Mommertz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Austin 2014-01-13 18:44:57 UTC
Application: systemsettings (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.12.6-200.fc19.x86_64 x86_64
Distribution: "Fedora release 19 (Schrödinger’s Cat)"

-- Information about the crash:
- What I was doing when the application crashed:

I brought up the KDE "System Settings" utility from the "Settings" menu (default menu), and then under "Hardware" I double clicked on "Printers".
The application immediately crashed.

- Unusual behavior I noticed:  None at all - the behavior is the same whether no other apps are loaded or many are.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f92cc1778c0 (LWP 18751))]

Thread 3 (Thread 0x7f92bd223700 (LWP 18753)):
#0  0x0000003ea4086f6a in g_mutex_get_impl () from /lib64/libglib-2.0.so.0
#1  0x0000003ea4087249 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#2  0x0000003ea4047780 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#3  0x0000003ea4048003 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#4  0x0000003ea40481ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x0000003eac1a7166 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003eac178ecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x0000003eac1791c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#8  0x0000003eac07866f in QThread::exec() () from /lib64/libQtCore.so.4
#9  0x0000003eac15a733 in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#10 0x0000003eac07ad0f in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#11 0x0000003ea1c07c53 in start_thread () from /lib64/libpthread.so.0
#12 0x0000003ea10f5dbd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f92b7fff700 (LWP 18756)):
#0  0x0000003ea1c0b565 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003eac07b1e6 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x0000003eac07738b in QSemaphore::acquire(int) () from /lib64/libQtCore.so.4
#3  0x0000003eac182074 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /lib64/libQtCore.so.4
#4  0x0000003eac1845b8 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /lib64/libQtCore.so.4
#5  0x00007f92bc5dd674 in password_cb(char const*, _http_s*, char const*, char const*, void*) () from /lib64/libkcupslib.so
#6  0x00007f92bc36d51a in cupsDoAuthentication () from /lib64/libcups.so.2
#7  0x00007f92bc37c08a in cupsGetFd () from /lib64/libcups.so.2
#8  0x00007f92bc367f5f in get_cupsd_conf.constprop.1 () from /lib64/libcups.so.2
#9  0x00007f92bc369280 in cupsAdminGetServerSettings () from /lib64/libcups.so.2
#10 0x00007f92bc5e61b7 in KCupsRequest::getServerSettings() () from /lib64/libkcupslib.so
#11 0x00007f92bc5d7765 in KCupsRequest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.9] () from /lib64/libkcupslib.so
#12 0x0000003eac19232e in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#13 0x0000003eb01c852c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#14 0x0000003eb01ceaf0 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#15 0x0000003c2e43fd5a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#16 0x0000003eac17a26d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#17 0x0000003eac17d1df in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#18 0x0000003eac1a7883 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#19 0x0000003ea4047df6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x0000003ea4048148 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#21 0x0000003ea40481ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x0000003eac1a7145 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#23 0x0000003eac178ecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#24 0x0000003eac1791c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#25 0x0000003eac07866f in QThread::exec() () from /lib64/libQtCore.so.4
#26 0x00007f92bc5de257 in KCupsConnection::run() () from /lib64/libkcupslib.so
#27 0x0000003eac07ad0f in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#28 0x0000003ea1c07c53 in start_thread () from /lib64/libpthread.so.0
#29 0x0000003ea10f5dbd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f92cc1778c0 (LWP 18751)):
[KCrash Handler]
#5  0x00007f92bc5f21de in PrinterModel::updateDest(QStandardItem*, KCupsPrinter const&) () from /lib64/libkcupslib.so
#6  0x00007f92bc5f3a8a in PrinterModel::getDestsFinished() () from /lib64/libkcupslib.so
#7  0x0000003eac19232e in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#8  0x0000003eb01c852c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#9  0x0000003eb01ceaf0 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#10 0x0000003c2e43fd5a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#11 0x0000003eac17a26d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#12 0x0000003eac17d1df in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#13 0x0000003eac1a7883 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#14 0x0000003ea4047df6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#15 0x0000003ea4048148 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#16 0x0000003ea40481ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#17 0x0000003eac1a7145 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#18 0x0000003eb0265016 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#19 0x0000003eac178ecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#20 0x0000003eac1791c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#21 0x0000003eac17e45b in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#22 0x000000000040ab5b in main ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-04-29 02:53:50 UTC
*** Bug 334013 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2017-06-26 16:29:18 UTC
*** Bug 351522 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2017-06-26 16:29:27 UTC
*** Bug 381247 has been marked as a duplicate of this bug. ***
Comment 4 Daniel Nicoletti 2018-01-27 00:08:28 UTC
Can you please reproduce the issue with debug symbols installed so that I can know which lines crash...
Comment 5 William Austin 2018-03-24 04:59:31 UTC
Created attachment 111588 [details]
attachment-27989-0.html

On 2018-01-26 19:08, Daniel Nicoletti wrote:
> https://bugs.kde.org/show_bug.cgi?id=329918
>
> --- Comment #4 from Daniel Nicoletti <dantti12@gmail.com> ---
> Can you please reproduce the issue with debug symbols installed so that I can
> know which lines crash...
>
Apologies for the delay getting back to you, Daniel.   (We sold our
house and moved and I'm just now getting back to any semblance of normalcy.)

That problem was reported under FC19 and as I am now running FC25, FC26,
and FC27 on the 3 Linux machines at my desk, I can't wipe one of them
out to re-install FC19.

The problem does not seem to occur under FC25-27, and I don't know
whether it was fixed (accidentally or otherwise) or whether instead it
"went away" as the result of some other change (the law of unintended
consequences... sigh).

So I'd make this one closed if you don't mind.

Thanks

 - WWA
Comment 6 Manuel Mommertz 2018-06-26 06:23:58 UTC
Created attachment 113577 [details]
New crash information added by DrKonqi

plasmashell (5.12.5) using Qt 5.9.4

Same problem here with plasma and system settings. Workaround for plasma to start is to delete /usr/lib64/libkcupslib.so.

- What I was doing when the application crashed:
Either login to Plasma (the attached backtrace) or start System Settings and select 'Printers'

-- Backtrace (Reduced):
#6  0x00007fe6f9579641 in PrinterModel::updateDest(QStandardItem*, KCupsPrinter const&) () from /usr/lib64/libkcupslib.so
#7  0x00007fe6f957b6cf in PrinterModel::getDestsFinished() () from /usr/lib64/libkcupslib.so
#8  0x00007fe7cea6b639 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fe7cf917d7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007fe7cf91f611 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
Comment 7 Manuel Mommertz 2018-06-26 06:28:42 UTC
Created attachment 113578 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.5) using Qt 5.9.4

And again with debugging symbols
(This crash is from System Settings)

-- Backtrace (Reduced):
#6  PrinterModel::updateDest (this=this@entry=0x55899209c0b0, destItem=0x0, printer=...) at /usr/src/debug/kde-apps/print-manager-17.12.3/print-manager-17.12.3/libkcups/PrinterModel.cpp:275
#7  0x00007f45b2bfc6bf in PrinterModel::getDestsFinished (this=0x55899209c0b0) at /usr/src/debug/kde-apps/print-manager-17.12.3/print-manager-17.12.3/libkcups/PrinterModel.cpp:168
#8  0x00007f45f70dc639 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f45f7f8fd7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007f45f7f97611 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
Comment 8 Manuel Mommertz 2018-09-17 09:07:52 UTC
Over at Ubuntu there is an indication that this failure might be related to an not available printer:
https://bugs.launchpad.net/ubuntu/+source/plasma-workspace/+bug/1770044 (Comment 10)

As I am working at an institute with a lot of printers in the network it would be no surprise if there are printers that are currently not available. Though I don't actively print to them.
Comment 9 Justin Zobel 2022-10-03 23:55:05 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 10 Manuel Mommertz 2022-10-04 05:08:57 UTC
Yes, I can reproduce with current stable version on gentoo

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  PrinterModel::updateDest (this=this@entry=0x55ff16eccba0, destItem=0x0, printer=...) at /usr/src/debug/kde-apps/print-manager-22.04.3/print-manager-22.04.3/libkcups/PrinterModel.cpp:249
#5  0x00007f54aa698017 in PrinterModel::getDestsFinished (this=0x55ff16eccba0, request=0x55ff16bbdb50) at /usr/src/debug/kde-apps/print-manager-22.04.3/print-manager-22.04.3/libkcups/PrinterModel.cpp:137
#6  0x00007f5528e2b22f in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f5529a6979f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#8  0x00007f5528e00938 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f5528e03e2e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#10 0x00007f5528e51143 in ?? () from /usr/lib64/libQt5Core.so.5
#11 0x00007f5526b6cd5b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f5526b6d008 in ?? () from /usr/lib64/libglib-2.0.so.0
#13 0x00007f5526b6d0bf in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#14 0x00007f5528e50bf4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#15 0x00007f5528dff3cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#16 0x00007f5528e07710 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#17 0x000055ff15a44be0 in ?? ()
#18 0x00007f55287a220a in __libc_start_call_main () from /lib64/libc.so.6
#19 0x00007f55287a22bc in __libc_start_main () from /lib64/libc.so.6
#20 0x000055ff15a454b1 in ?? ()
[Inferior 1 (process 24007) detached]