https://bugs.kde.org/show_bug.cgi?id=399704

            Bug ID: 399704
           Summary: kate crashes when printing to a google cloud printer
           Product: kate
           Version: 18.04.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: a....@moronet.pl
  Target Milestone: ---

Application: kate (18.04.3)

Qt Version: 5.11.1
Frameworks Version: 5.50.0
Operating System: Linux 4.18.12-200.fc28.x86_64 x86_64
Distribution: "Fedora release 28 (Twenty Eight)"

-- Information about the crash:
- What I was doing when the application crashed:
Tried to simply print a a text to a google cloud enabled printer
(https://www.niftiestsoftware.com/cups-cloud-print/#software-hub-view-1-overview)

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2a0fc71980 (LWP 18752))]

Thread 4 (Thread 0x7f29e7edc700 (LWP 18788)):
#0  0x00007f2a1b95951c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f2a1e122183 in QWaitCondition::wait(QMutex*, unsigned long) () from
/lib64/libQt5Core.so.5
#2  0x00007f2a1f32fcbd in QFileInfoGatherer::run() () from
/lib64/libQt5Widgets.so.5
#3  0x00007f2a1e121b4b in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#4  0x00007f2a1b953594 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f2a1d457e6f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f29f771e700 (LWP 18756)):
#0  0x00007f2a1d448e54 in read () from /lib64/libc.so.6
#1  0x00007f2a161c60f0 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f2a161806bb in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f2a16180b70 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#4  0x00007f2a16180cf0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#5  0x00007f2a1e3022ab in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#6  0x00007f2a1e2b0b7b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#7  0x00007f2a1e1186b6 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f2a1e55a7b9 in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
#9  0x00007f2a1e121b4b in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#10 0x00007f2a1b953594 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2a1d457e6f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2a0098f700 (LWP 18755)):
#0  0x00007f2a1d44d3e9 in poll () from /lib64/libc.so.6
#1  0x00007f2a1a37704f in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f2a1a378caa in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f2a033415a9 in QXcbEventReader::run() () from
/lib64/libQt5XcbQpa.so.5
#4  0x00007f2a1e121b4b in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#5  0x00007f2a1b953594 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2a1d457e6f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2a0fc71980 (LWP 18752)):
[KCrash Handler]
#6  0x00007f2a1d3ee8ee in __strcmp_sse2_unaligned () from /lib64/libc.so.6
#7  0x00007f2a1c663ccf in QPPDOptionsModel::setCupsOptionsFromItems(QPrinter*,
QOptionTreeItem*) const () from /lib64/libQt5PrintSupport.so.5
#8  0x00007f2a1c663c64 in QPPDOptionsModel::setCupsOptionsFromItems(QPrinter*,
QOptionTreeItem*) const () from /lib64/libQt5PrintSupport.so.5
#9  0x00007f2a1c667353 in QUnixPrintWidgetPrivate::setupPrinter() () from
/lib64/libQt5PrintSupport.so.5
#10 0x00007f2a1c667a15 in QPrintDialogPrivate::setupPrinter() () from
/lib64/libQt5PrintSupport.so.5
#11 0x00007f2a1c668361 in QPrintDialog::accept() () from
/lib64/libQt5PrintSupport.so.5
#12 0x00007f2a1e2d9e1e in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#13 0x00007f2a1f2a10c0 in QDialogButtonBoxPrivate::_q_handleButtonClicked() ()
from /lib64/libQt5Widgets.so.5
#14 0x00007f2a1e2d9e1e in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#15 0x00007f2a1f1fe8e6 in QAbstractButton::clicked(bool) () from
/lib64/libQt5Widgets.so.5
#16 0x00007f2a1f1feb0e in QAbstractButtonPrivate::emitClicked() () from
/lib64/libQt5Widgets.so.5
#17 0x00007f2a1f1fff63 in QAbstractButtonPrivate::click() () from
/lib64/libQt5Widgets.so.5
#18 0x00007f2a1f200135 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /lib64/libQt5Widgets.so.5
#19 0x00007f2a1f1555c8 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#20 0x00007f2a1f116475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#21 0x00007f2a1f11ddd8 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#22 0x00007f2a1e2b1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#23 0x00007f2a1f11d0cd in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/lib64/libQt5Widgets.so.5
#24 0x00007f2a1f170368 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#25 0x00007f2a1f172f0e in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#26 0x00007f2a1f116475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#27 0x00007f2a1f11db90 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#28 0x00007f2a1e2b1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#29 0x00007f2a1ebc3f43 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#30 0x00007f2a1ebc6085 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /lib64/libQt5Gui.so.5
#31 0x00007f2a1eba146b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#32 0x00007f2a033d47cf in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5XcbQpa.so.5
#33 0x00007f2a1e2b0b7b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#34 0x00007f2a1f307c1d in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#35 0x00007f2a22b5ecc1 in KatePrinterPrivate::print(QPrinter*) () from
/lib64/libKF5TextEditor.so.5
#36 0x00007f2a22b5f1cf in KatePrinter::print(KTextEditor::ViewPrivate*) () from
/lib64/libKF5TextEditor.so.5
#37 0x00007f2a22c93cb9 in
KTextEditor::ViewPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**) () from /lib64/libKF5TextEditor.so.5
#38 0x00007f2a1e2d9e1e in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib64/libQt5Core.so.5
#39 0x00007f2a1f10fc26 in QAction::triggered(bool) () from
/lib64/libQt5Widgets.so.5
#40 0x00007f2a1f1122f0 in QAction::activate(QAction::ActionEvent) () from
/lib64/libQt5Widgets.so.5
#41 0x00007f2a1f28747c in
QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*,
QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#42 0x00007f2a1f28eb24 in QMenuPrivate::activateAction(QAction*,
QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#43 0x00007f2a1f28fb6b in QMenu::mouseReleaseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#44 0x00007f2a1f1555c8 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#45 0x00007f2a1f29221b in QMenu::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#46 0x00007f2a1f116475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#47 0x00007f2a1f11ddd8 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#48 0x00007f2a1e2b1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#49 0x00007f2a1f11d0cd in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/lib64/libQt5Widgets.so.5
#50 0x00007f2a1f170723 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#51 0x00007f2a1f172f0e in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#52 0x00007f2a1f116475 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#53 0x00007f2a1f11db90 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#54 0x00007f2a1e2b1c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#55 0x00007f2a1ebc3f43 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#56 0x00007f2a1ebc6085 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /lib64/libQt5Gui.so.5
#57 0x00007f2a1eba146b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#58 0x00007f2a033d47cf in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5XcbQpa.so.5
#59 0x00007f2a1e2b0b7b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#60 0x00007f2a1e2b8c46 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#61 0x0000555f9dcf3106 in main ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to