Bug 429452

Summary: Kile crashed clicking on "zoom" button
Product: [Applications] kile Reporter: David <kitt997>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: crash CC: 842mono, apoorvpotnis, carl, doubzarref, ironhammer3k, markng989, nanabaahgyan
Priority: NOR Keywords: drkonqi
Version: 2.9.93   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description David 2020-11-21 14:45:33 UTC
Application: kile (2.9.93)

Qt Version: 5.15.1
Frameworks Version: 5.75.0
Operating System: Linux 5.9.8-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (Thirty Three)

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

Clicked on toolbar button whose label is "zoom", in the view toolbar.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f00077474e1 in PageViewAnnotator::selectTool(int) () from /usr/lib64/qt5/plugins/okularpart.so
#5  0x00007f00077637ac in PageView::slotMouseNormalToggled(bool) () from /usr/lib64/qt5/plugins/okularpart.so
#6  0x00007f0021f44256 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x00007f0022906bc2 in QAction::toggled(bool) () from /lib64/libQt5Widgets.so.5
#8  0x00007f0022909272 in QAction::setChecked(bool) () from /lib64/libQt5Widgets.so.5
#9  0x00007f002290ab41 in QActionGroupPrivate::_q_actionChanged() () from /lib64/libQt5Widgets.so.5
#10 0x00007f0021f44290 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007f002290853c in QActionPrivate::sendDataChanged() () from /lib64/libQt5Widgets.so.5
#12 0x00007f002290924f in QAction::setChecked(bool) () from /lib64/libQt5Widgets.so.5
#13 0x00007f0022909373 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#14 0x00007f00229fbfe2 in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
#15 0x00007f00229fc101 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f0022aebada in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f002294cfbe in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f002290d15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f002291404b in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007f0021f15be8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007f0022913076 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#22 0x00007f0022965021 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007f002296834e in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f002290d15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007f0021f15be8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#26 0x00007f00223098f0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#27 0x00007f00222eb94b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#28 0x00007f000f7662aa in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#29 0x00007f001fbad7ef in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x00007f001fbff5d8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#31 0x00007f001fbaabc3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00007f0021f60a2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#33 0x00007f0021f1464b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#34 0x00007f0021f1c010 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#35 0x00007f0024a0f5f5 in kdemain () from /lib64/libkdeinit5_kile.so
#36 0x00007f00246031e2 in __libc_start_main () from /lib64/libc.so.6
#37 0x000055e472fff0ae in _start ()
[Inferior 1 (process 3663) detached]

Possible duplicates by query: bug 429344, bug 428403, bug 428069, bug 427575, bug 426596.

Reported using DrKonqi
Comment 1 Gabriel 2022-03-19 18:40:44 UTC
*** Bug 432562 has been marked as a duplicate of this bug. ***
Comment 2 Gabriel 2022-03-19 18:41:10 UTC
*** Bug 433456 has been marked as a duplicate of this bug. ***
Comment 3 Gabriel 2022-03-19 18:41:20 UTC
*** Bug 435963 has been marked as a duplicate of this bug. ***
Comment 4 Gabriel 2022-03-19 18:41:35 UTC
*** Bug 441405 has been marked as a duplicate of this bug. ***
Comment 5 Douglas 2022-07-25 22:12:10 UTC
I'm with the same issue.
gdb log:
Thread 1 "kile" received signal SIGSEGV, Segmentation fault.
PageViewAnnotator::detachAnnotation (this=0x0) at /usr/src/debug/okular-22.04.3/part/pageviewannotator.cpp:1293
Comment 6 markng989 2022-11-04 07:33:29 UTC
Created attachment 153449 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.7

Kile crashes when pressing the "Zoom" button after generating a PDF but it seems to remember that it was pressed after launching. This means the Zoom button is selected after relaunching. 

It also crashes when switching back to the "Browse" button.

-- Backtrace (Reduced):
#6  0x00007f8dff96bec7 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f8dff9718c7 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
[...]
#9  0x00007f8dffa60470 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f8dffb532ef in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f8dff9af6e7 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
Comment 7 Carl Schwan 2024-03-05 16:01:24 UTC

*** This bug has been marked as a duplicate of bug 476207 ***