Bug 452618 - Kile crashes when I click the "Browse" button on the PDF viewer
Summary: Kile crashes when I click the "Browse" button on the PDF viewer
Status: RESOLVED DUPLICATE of bug 476207
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: 2.9.93
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-04-14 17:37 UTC by Richard Herron
Modified: 2024-03-05 15:59 UTC (History)
5 users (show)

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


Attachments
New crash information added by DrKonqi (3.15 KB, text/plain)
2022-07-30 17:27 UTC, Daniele
Details
New crash information added by DrKonqi (3.13 KB, text/plain)
2022-10-14 06:48 UTC, kgkjvlll
Details
New crash information added by DrKonqi (3.13 KB, text/plain)
2022-10-17 20:51 UTC, kennawang
Details
New crash information added by DrKonqi (3.57 KB, text/plain)
2023-04-02 06:08 UTC, wsaffery
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Herron 2022-04-14 17:37:57 UTC
Application: kile (2.9.93)

Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.13.0-39-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.4 [KCrashBackend]

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

I wanted to select text in my PDF preview, so I clicked the "Browse" button to switch to a text-selection tool. I get the same crash behavior when I restart Kile.

The crash can be reproduced every time.

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

[New LWP 717343]
[New LWP 717344]
[New LWP 717345]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f99bd39e9cf in __GI___poll (fds=0x7ffdf84f5bf8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f99b4133c00 (LWP 717341))]

Thread 4 (Thread 0x7f99b09a1700 (LWP 717345)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c19583e4b4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c19583e460, cond=0x55c19583e488) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c19583e488, mutex=0x55c19583e460) at pthread_cond_wait.c:638
#3  0x00007f99ba3cb68b in QWaitConditionPrivate::wait (deadline=..., this=0x55c19583e460) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55c1957e75d0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f99ba3cb751 in QWaitCondition::wait (this=this@entry=0x55c1957e75d8, mutex=mutex@entry=0x55c1957e75d0, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f99bd7406c6 in KileParser::ParserThread::run (this=0x55c1957e75a0) at ./src/parser/parserthread.cpp:169
#7  0x00007f99ba3c5623 in QThreadPrivate::start (arg=0x55c1957e75a0) at thread/qthread_unix.cpp:331
#8  0x00007f99ba0df609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f99bd3ab163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f99b11a2700 (LWP 717344)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c19583dec4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c19583de70, cond=0x55c19583de98) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c19583de98, mutex=0x55c19583de70) at pthread_cond_wait.c:638
#3  0x00007f99ba3cb68b in QWaitConditionPrivate::wait (deadline=..., this=0x55c19583de70) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55c1957a6a40, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f99ba3cb751 in QWaitCondition::wait (this=this@entry=0x55c1957a6a48, mutex=mutex@entry=0x55c1957a6a40, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f99bd7406c6 in KileParser::ParserThread::run (this=0x55c1957a6a10) at ./src/parser/parserthread.cpp:169
#7  0x00007f99ba3c5623 in QThreadPrivate::start (arg=0x55c1957a6a10) at thread/qthread_unix.cpp:331
#8  0x00007f99ba0df609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f99bd3ab163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f99b23b3700 (LWP 717343)):
#0  0x00007f99bd39e9cf in __GI___poll (fds=0x7f99a4013130, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f99b7c7e36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f99b7c7e4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99ba60665b in QEventDispatcherGlib::processEvents (this=0x7f99a4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f99ba5aa87b in QEventLoop::exec (this=this@entry=0x7f99b23b2970, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f99ba3c4442 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f99bb5eaf4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f99ba3c5623 in QThreadPrivate::start (arg=0x7f99bb66ed80) at thread/qthread_unix.cpp:331
#8  0x00007f99ba0df609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f99bd3ab163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f99b4133c00 (LWP 717341)):
[KCrash Handler]
#4  PageViewAnnotator::detachAnnotation (this=0x0) at ./part/pageviewannotator.cpp:1313
#5  0x00007f99ba5e2dfe in QtPrivate::QSlotObjectBase::call (a=0x7ffdf84f6f70, r=0x55c1959fff10, this=0x55c195bb6d40) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#6  doActivate<false> (sender=0x55c195ad2790, signal_index=4, argv=0x7ffdf84f6f70) at kernel/qobject.cpp:3886
#7  0x00007f99ba5dc1c7 in QMetaObject::activate (sender=sender@entry=0x55c195ad2790, m=m@entry=0x7f99bb5a21c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdf84f6f70) at kernel/qobject.cpp:3946
#8  0x00007f99bb0888e6 in QAction::triggered (this=this@entry=0x55c195ad2790, _t1=<optimized out>, _t1@entry=true) at .moc/moc_qaction.cpp:376
#9  0x00007f99bb08b021 in QAction::activate (this=0x55c195ad2790, event=<optimized out>) at kernel/qaction.cpp:1155
#10 0x00007f99bb188a90 in QAbstractButtonPrivate::click (this=0x55c196ec0770) at widgets/qabstractbutton.cpp:398
#11 0x00007f99bb188cb5 in QAbstractButton::mouseReleaseEvent (this=0x55c196ec0110, e=0x7ffdf84f7510) at widgets/qabstractbutton.cpp:1044
#12 0x00007f99bb28047e in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622
#13 0x00007f99bb0d1d76 in QWidget::event (this=0x55c196ec0110, event=0x7ffdf84f7510) at kernel/qwidget.cpp:8677
#14 0x00007f99bb189ee3 in QAbstractButton::event (this=this@entry=0x55c196ec0110, e=e@entry=0x7ffdf84f7510) at widgets/qabstractbutton.cpp:1001
#15 0x00007f99bb280528 in QToolButton::event (this=0x55c196ec0110, event=0x7ffdf84f7510) at widgets/qtoolbutton.cpp:1012
#16 0x00007f99bb08edc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c196ec0110, e=0x7ffdf84f7510) at kernel/qapplication.cpp:3637
#17 0x00007f99bb097dc7 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3081
#18 0x00007f99ba5abd7a in QCoreApplication::notifyInternal2 (receiver=0x55c196ec0110, event=0x7ffdf84f7510) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#19 0x00007f99bb0970c7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55c196ec0110, event=event@entry=0x7ffdf84f7510, alienWidget=alienWidget@entry=0x55c196ec0110, nativeWidget=0x55c19571a140, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#20 0x00007f99bb0ecf64 in QWidgetWindow::handleMouseEvent (this=0x55c195b07850, event=0x7ffdf84f7990) at /usr/include/c++/9/bits/atomic_base.h:413
#21 0x00007f99bb0f0284 in QWidgetWindow::event (event=0x7ffdf84f7990, this=0x55c195b07850) at kernel/qwidgetwindow.cpp:300
#22 QWidgetWindow::event (this=0x55c195b07850, event=0x7ffdf84f7990) at kernel/qwidgetwindow.cpp:239
#23 0x00007f99bb08edc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c195b07850, e=0x7ffdf84f7990) at kernel/qapplication.cpp:3637
#24 0x00007f99bb097bd8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3161
#25 0x00007f99ba5abd7a in QCoreApplication::notifyInternal2 (receiver=0x55c195b07850, event=0x7ffdf84f7990) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#26 0x00007f99ba98f578 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282
#27 0x00007f99ba990be5 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55c196ebe040) at kernel/qguiapplication.cpp:2002
#28 0x00007f99ba9687bc in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#29 0x00007f99b3d081ce in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#30 0x00007f99b7c7e17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f99b7c7e400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f99b7c7e4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f99ba606642 in QEventDispatcherGlib::processEvents (this=0x55c1956d8140, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f99ba5aa87b in QEventLoop::exec (this=this@entry=0x7ffdf84f7d30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#35 0x00007f99ba5b2a24 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x00007f99ba983270 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#37 0x00007f99bb08ed39 in QApplication::exec () at kernel/qapplication.cpp:2829
#38 0x00007f99bd72d491 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:203
#39 0x00007f99bd2b00b3 in __libc_start_main (main=0x55c1948e5060 <main>, argc=2, argv=0x7ffdf84f8038, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdf84f8028) at ../csu/libc-start.c:308
#40 0x000055c1948e509e in _start ()
[Inferior 1 (process 717341) detached]

Possible duplicates by query: bug 447363, bug 442307, bug 436837, bug 433942, bug 433456.

Reported using DrKonqi
Comment 1 Daniele 2022-07-30 17:27:03 UTC
Created attachment 151002 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.5

I just clicked on "Browse" button in the right side of PDF viewer, the app crashes.

-- Backtrace (Reduced):
#6  0x00007fd56b96bec7 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007fd56b971953 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
[...]
#9  0x00007fd56ba60460 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007fd56bb5319f in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007fd56b9af707 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
Comment 2 kgkjvlll 2022-10-14 06:48:01 UTC
Created attachment 152795 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.6

Kile crashed when I click on the "Browse" botton on the PDF viewer.

-- Backtrace (Reduced):
#6  0x00007ff5bb16bec7 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007ff5bb171933 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
[...]
#9  0x00007ff5bb2603e0 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ff5bb35311f in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007ff5bb1af6e7 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
Comment 3 kennawang 2022-10-17 20:51:34 UTC
Created attachment 152969 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.6

Kile crashes every time I click the browse button. Starting from the default view

-- Backtrace (Reduced):
#6  0x00007f1864841bb2 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#7  0x00007f1864844769 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
[...]
#9  0x00007f186493bdb7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007f1864a3422a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007f1864889c48 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
Comment 4 wsaffery 2023-04-02 06:08:51 UTC
Created attachment 157783 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.8

Document initially had overflowing equation, but issue persists even when it's commented out.

-- Backtrace (Reduced):
#4  0x00007f56e9743319 in PageViewAnnotator::detachAnnotation() () from /usr/lib64/qt5/plugins/okularpart.so
#5  0x00007f57234d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007f57241a82f6 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#7  0x00007f57241ab021 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#8  0x00007f57242a531a in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
Comment 5 Carl Schwan 2024-03-05 15:59:38 UTC

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