Bug 465547

Summary: Kile crashes on selecting "Browse" or "Zoom" for document preview
Product: [Applications] kile Reporter: johnnyrasnic
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: crash CC: b_jacquemin, carl, robin, ssreedev
Priority: NOR Keywords: drkonqi
Version: 2.9.93   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description johnnyrasnic 2023-02-10 14:47:12 UTC
Application: kile (2.9.93)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.9-arch1-2 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
Kile always crashes when switching from whichever option was loaded by default to the other. Example: if Browse was default selected at launch, clicking Zoom will always crash Kile. The default is successfully changed before the crash it seems, after relaunching Kile, the new default is Zoom (or vice-versa).

The crash can be reproduced every time.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  PageViewAnnotator::detachAnnotation (this=0x0) at /usr/src/debug/okular/okular-22.12.2/part/pageviewannotator.cpp:1289
#7  0x00007f0007abea71 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f000876bec7 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f00087718c7 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f000886046e in ?? () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f0008860670 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f00089535cf in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f00087af837 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f0008778b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f000877e379 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f0007a8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#17 0x00007f000877c377 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f00087cd505 in ?? () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f00087cf2ae in ?? () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f0008778b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f0007a8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#22 0x00007f0007f3efbc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#23 0x00007f0007f28885 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#24 0x00007f0001f2f8d0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#25 0x00007f000591682b in g_main_dispatch (context=0x7efffc005010) at ../glib/glib/gmain.c:3454
#26 g_main_context_dispatch (context=0x7efffc005010) at ../glib/glib/gmain.c:4172
#27 0x00007f000596dcc9 in g_main_context_iterate.constprop.0 (context=0x7efffc005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4248
#28 0x00007f00059150e2 in g_main_context_iteration (context=0x7efffc005010, may_block=1) at ../glib/glib/gmain.c:4313
#29 0x00007f0007ad8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007f0007a866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007f0007a91219 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#32 0x00007f000aa87bf2 in kdemain () from /usr/lib/libkdeinit5_kile.so
#33 0x00007f000a63c790 in __libc_start_call_main (main=main@entry=0x55aa8c0ed020, argc=argc@entry=1, argv=argv@entry=0x7ffe3869eb98) at ../sysdeps/nptl/libc_start_call_main.h:58
#34 0x00007f000a63c84a in __libc_start_main_impl (main=0x55aa8c0ed020, argc=1, argv=0x7ffe3869eb98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe3869eb88) at ../csu/libc-start.c:360
#35 0x000055aa8c0ed05e in _start ()
[Inferior 1 (process 6198) detached]

The reporter indicates this bug may be a duplicate of or related to bug 429452, bug 452618.

Reported using DrKonqi
Comment 1 robin 2023-02-18 19:24:15 UTC
Created attachment 156456 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.8

Kile crashes when clicking 'Zoom' in the top button bar.

-- Backtrace (Reduced):
#4  0x00007f5642540319 in PageViewAnnotator::detachAnnotation() () from /usr/lib64/qt5/plugins/okularpart.so
#5  0x00007f56734d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007f56741a82f6 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#7  0x00007f56741aafb3 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#8  0x00007f56742a52ba in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
Comment 2 Sreehari Sreedev 2023-11-06 02:54:35 UTC
Created attachment 162890 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.11

I had a .tex file open and the preview open on the right, and I hit the zoom button, causing the application to crash.

-- Backtrace (Reduced):
#6  0x00007f54e5b4b3b7 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#7  0x00007f54e5b51000 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
[...]
#9  0x00007f54e5c4b0c4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f54e5d4848f in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f54e5b98a7a in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
Comment 3 Jacquemin 2024-01-10 21:48:08 UTC
Created attachment 164801 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.8

Nothing particular. Just use browse or zoom for pdf display

-- Backtrace (Reduced):
#6  0x00007fa83375c782 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fa83375f3ab in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#9  0x00007fa833856fd7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fa83394faaa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fa8337a4db8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 4 Carl Schwan 2024-03-05 15:59:05 UTC

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