Bug 433456

Summary: Crash after clicking the zoom button, then clicking the generated pdf
Product: [Applications] kile Reporter: Mina <842mono>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: crash CC: 842mono, gabriel
Priority: NOR Keywords: drkonqi
Version: 2.9.93   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Mina 2021-02-23 00:36:54 UTC
Application: kile (2.9.93)

Qt Version: 5.15.2
Frameworks Version: 5.77.0
Operating System: Linux 5.4.0-58-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

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

The title is all I know. Kile crashed after I clicked the zoom button, then I clicked the generated pdf.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault
Content of s_kcrashErrorMessage: (null)
[New LWP 665149]
[New LWP 665150]
[New LWP 665152]
[New LWP 665153]
[New LWP 673300]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f4691640aff in __GI___poll (fds=fds@entry=0x7ffd959a8e68, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f4689081080 (LWP 665146))]

Thread 6 (Thread 0x7f466f0dc700 (LWP 673300)):
#0  __GI___libc_read (nbytes=10, buf=0x7f466f0dbb1e, fd=29) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=29, buf=0x7f466f0dbb1e, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f4689c5e975 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#3  0x00007f468bef0416 in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f468bef0eb4 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f468bef0f70 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f468beff11d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007f4689c8d72c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#8  0x00007f468e470609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f469164d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f468563b700 (LWP 665153)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ae51b37e24) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ae51b37dd0, cond=0x55ae51b37df8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ae51b37df8, mutex=0x55ae51b37dd0) at pthread_cond_wait.c:638
#3  0x00007f468e759d1b in QWaitConditionPrivate::wait (deadline=..., this=0x55ae51b37dd0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55ae51bc75d0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f468e759de1 in QWaitCondition::wait (this=0x55ae51bc75d8, mutex=0x55ae51bc75d0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f46919df6c6 in ?? () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kile.so
#7  0x00007f468e753bac in QThreadPrivate::start (arg=0x55ae51bc75a0) at thread/qthread_unix.cpp:329
#8  0x00007f468e470609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f469164d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4685e3c700 (LWP 665152)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ae519b83d4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ae519b8380, cond=0x55ae519b83a8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ae519b83a8, mutex=0x55ae519b8380) at pthread_cond_wait.c:638
#3  0x00007f468e759d1b in QWaitConditionPrivate::wait (deadline=..., this=0x55ae519b8380) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55ae51b503a0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f468e759de1 in QWaitCondition::wait (this=0x55ae51b503a8, mutex=0x55ae51b503a0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f46919df6c6 in ?? () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kile.so
#7  0x00007f468e753bac in QThreadPrivate::start (arg=0x55ae51b50370) at thread/qthread_unix.cpp:329
#8  0x00007f468e470609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f469164d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f468705d700 (LWP 665150)):
#0  0x00007f468c03909d in g_source_ref () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f468c039168 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f468c03a66b in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f468c03b0db in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f468c03b2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f468e993fbb in QEventDispatcherGlib::processEvents (this=0x7f4678000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f468e9381ab in QEventLoop::exec (this=this@entry=0x7f468705ccb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f468e752a12 in QThread::exec (this=this@entry=0x7f468f9f0d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f468f96cf4b in QDBusConnectionManager::run (this=0x7f468f9f0d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#9  0x00007f468e753bac in QThreadPrivate::start (arg=0x7f468f9f0d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#10 0x00007f468e470609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f469164d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4688421700 (LWP 665149)):
#0  0x00007f4691640aff in __GI___poll (fds=0x7f4688420be8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f468cacec1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f468cad090a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f468893fd58 in QXcbEventQueue::run (this=0x55ae51916350) at qxcbeventqueue.cpp:228
#4  0x00007f468e753bac in QThreadPrivate::start (arg=0x55ae51916350) at thread/qthread_unix.cpp:329
#5  0x00007f468e470609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f469164d293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4689081080 (LWP 665146)):
[KCrash Handler]
#6  0x00007f4684d7203a in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#7  0x00007f4684d73257 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#8  0x00007f468e9706be in QtPrivate::QSlotObjectBase::call (a=0x7ffd959a9950, r=0x55ae51d7fce0, this=0x55ae51d0f810) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x55ae51d0f540, signal_index=7, argv=0x7ffd959a9950) at kernel/qobject.cpp:3886
#10 0x00007f468e969a87 in QMetaObject::activate (sender=sender@entry=0x55ae51d0f540, m=m@entry=0x7f468f9241c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffd959a9950) at kernel/qobject.cpp:3946
#11 0x00007f468f40c946 in QAction::toggled (this=this@entry=0x55ae51d0f540, _t1=<optimized out>, _t1@entry=false) at .moc/moc_qaction.cpp:389
#12 0x00007f468f40eeb7 in QAction::setChecked (this=0x55ae51d0f540, b=<optimized out>) at kernel/qaction.cpp:976
#13 0x00007f468f41025d in QActionGroupPrivate::_q_actionChanged (this=0x55ae51d0f380) at /usr/include/c++/9/bits/atomic_base.h:413
#14 0x00007f468f41075b in QActionGroup::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ../../include/QtWidgets/../../src/widgets/kernel/qactiongroup.h:56
#15 0x00007f468e9706f0 in doActivate<false> (sender=0x7f4680006840, signal_index=3, argv=0x7ffd959a9aa0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#16 0x00007f468e969a87 in QMetaObject::activate (sender=sender@entry=0x7f4680006840, m=m@entry=0x7f468f9241c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#17 0x00007f468f40c874 in QAction::changed (this=this@entry=0x7f4680006840) at .moc/moc_qaction.cpp:369
#18 0x00007f468f40e4bc in QActionPrivate::sendDataChanged (this=this@entry=0x55ae51e50600) at kernel/qaction.cpp:121
#19 0x00007f468f40ee9f in QAction::setChecked (this=0x7f4680006840, b=<optimized out>) at kernel/qaction.cpp:974
#20 0x00007f468f40ef94 in QAction::activate (this=0x7f4680006840, event=<optimized out>) at kernel/qaction.cpp:1158
#21 0x00007f468f50c1f0 in QAbstractButtonPrivate::click (this=0x55ae533148b0) at widgets/qabstractbutton.cpp:398
#22 0x00007f468f50c415 in QAbstractButton::mouseReleaseEvent (this=0x55ae53314430, e=0x7ffd959aa0f0) at widgets/qabstractbutton.cpp:1044
#23 0x00007f468f60350e in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622
#24 0x00007f468f455c06 in QWidget::event (this=0x55ae53314430, event=0x7ffd959aa0f0) at kernel/qwidget.cpp:8663
#25 0x00007f468f50d643 in QAbstractButton::event (this=this@entry=0x55ae53314430, e=e@entry=0x7ffd959aa0f0) at widgets/qabstractbutton.cpp:1001
#26 0x00007f468f6035b8 in QToolButton::event (this=0x55ae53314430, event=0x7ffd959aa0f0) at widgets/qtoolbutton.cpp:1012
#27 0x00007f468f412dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55ae53314430, e=0x7ffd959aa0f0) at kernel/qapplication.cpp:3632
#28 0x00007f468f41be77 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3076
#29 0x00007f468e93969a in QCoreApplication::notifyInternal2 (receiver=0x55ae53314430, event=0x7ffd959aa0f0) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#30 0x00007f468f41b0a7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55ae53314430, event=event@entry=0x7ffd959aa0f0, alienWidget=alienWidget@entry=0x55ae53314430, nativeWidget=0x55ae51a0dbe0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#31 0x00007f468f470e54 in QWidgetWindow::handleMouseEvent (this=0x55ae51fd3310, event=0x7ffd959aa570) at /usr/include/c++/9/bits/atomic_base.h:413
#32 0x00007f468f474174 in QWidgetWindow::event (event=0x7ffd959aa570, this=0x55ae51fd3310) at kernel/qwidgetwindow.cpp:300
#33 QWidgetWindow::event (this=0x55ae51fd3310, event=0x7ffd959aa570) at kernel/qwidgetwindow.cpp:239
#34 0x00007f468f412dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55ae51fd3310, e=0x7ffd959aa570) at kernel/qapplication.cpp:3632
#35 0x00007f468f41bbb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156
#36 0x00007f468e93969a in QCoreApplication::notifyInternal2 (receiver=0x55ae51fd3310, event=0x7ffd959aa570) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#37 0x00007f468ed1b4e8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282
#38 0x00007f468ed1a22e in QGuiApplicationPrivate::processTouchEvent (e=e@entry=0x7f468000dc10) at kernel/qguiapplication.cpp:3097
#39 0x00007f468ed1cb2e in QGuiApplicationPrivate::processWindowSystemEvent (e=0x7f468000dc10) at kernel/qguiapplication.cpp:2011
#40 0x00007f468ecf47ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#41 0x00007f4688940d7e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#42 0x00007f468c03afbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f468c03b240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f468c03b2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f468e993fa2 in QEventDispatcherGlib::processEvents (this=0x55ae519c1180, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#46 0x00007f468e9381ab in QEventLoop::exec (this=this@entry=0x7ffd959aaab0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#47 0x00007f468e940354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#48 0x00007f46919cc491 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kile.so
#49 0x00007f46915520b3 in __libc_start_main (main=0x55ae50e6a060, argc=2, argv=0x7ffd959aadb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd959aada8) at ../csu/libc-start.c:308
#50 0x000055ae50e6a09e in _start ()
[Inferior 1 (process 665146) detached]

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

Possible duplicates by query: bug 433252, bug 431773, bug 431077, bug 429973, bug 429504.

Reported using DrKonqi
Comment 1 Mina 2021-02-23 00:41:41 UTC
Created attachment 136065 [details]
New crash information added by DrKonqi

kile (2.9.93) using Qt 5.15.2

- What I was doing when the application crashed:

I only clicked the zoom button. Then Kile crashed.

One thing that might be related is that the generated pdf is already zoomed in a bit. But I'm not very sure if that's related.

-- Backtrace (Reduced):
#8  0x00007fba664ff6be in QtPrivate::QSlotObjectBase::call (a=0x7ffc954eaf50, r=0x564c2f228580, this=0x564c2f1233f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x564c2f1b0320, signal_index=7, argv=0x7ffc954eaf50) at kernel/qobject.cpp:3886
[...]
#11 0x00007fba66f9b946 in QAction::toggled (this=this@entry=0x564c2f1b0320, _t1=<optimized out>, _t1@entry=false) at .moc/moc_qaction.cpp:389
#12 0x00007fba66f9deb7 in QAction::setChecked (this=0x564c2f1b0320, b=<optimized out>) at kernel/qaction.cpp:976
#13 0x00007fba66f9f25d in QActionGroupPrivate::_q_actionChanged (this=0x564c2f1b0180) at /usr/include/c++/9/bits/atomic_base.h:413
Comment 2 Gabriel 2022-03-19 18:41:10 UTC

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