Bug 427908 - Crash on zoom
Summary: Crash on zoom
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-10-18 08:20 UTC by ederag
Modified: 2022-03-27 12:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
blank article (187 bytes, text/x-tex)
2020-12-02 08:21 UTC, ederag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ederag 2020-10-18 08:20:29 UTC
Application: kile (2.9.93)

Qt Version: 5.15.1
Frameworks Version: 5.75.0
Operating System: Linux 5.3.18-lp152.44-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

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

.tex file opened, preview visible in the right panel.
Hit the "Zoom" button (located to the top right).

The crash can be reproduced every time.

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

[New LWP 932]
[New LWP 933]
[New LWP 934]
[New LWP 935]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fd8db0076db in __GI___poll (fds=0x7ffd3370de38, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
29	  return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7fd8dba46980 (LWP 931))]

Thread 5 (Thread 0x7fd8b6df3700 (LWP 935)):
#0  0x00007fd8d3e2387d in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562bb640fc04) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562bb640fbb0, cond=0x562bb640fbd8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x562bb640fbd8, mutex=0x562bb640fbb0) at pthread_cond_wait.c:655
#3  0x00007fd8d46f4d0b in QWaitConditionPrivate::wait (deadline=..., this=0x562bb640fbb0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x562bb64265b8, mutex=mutex@entry=0x562bb64265b0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd8db52f47c in KileParser::ParserThread::run (this=0x562bb6426580) at /usr/src/debug/kile-2.9.93-lp152.39.3.x86_64/src/parser/parserthread.cpp:169
#6  0x00007fd8d46ee38c in QThreadPrivate::start (arg=0x562bb6426580) at thread/qthread_unix.cpp:329
#7  0x00007fd8d3e1d4f9 in start_thread (arg=0x7fd8b6df3700) at pthread_create.c:465
#8  0x00007fd8db011fbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd8b75f4700 (LWP 934)):
#0  0x00007fd8d3e2387d in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562bb6481550) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562bb6481500, cond=0x562bb6481528) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x562bb6481528, mutex=0x562bb6481500) at pthread_cond_wait.c:655
#3  0x00007fd8d46f4d0b in QWaitConditionPrivate::wait (deadline=..., this=0x562bb6481500) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x562bb6426528, mutex=mutex@entry=0x562bb6426520, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd8db52f47c in KileParser::ParserThread::run (this=0x562bb64264f0) at /usr/src/debug/kile-2.9.93-lp152.39.3.x86_64/src/parser/parserthread.cpp:169
#6  0x00007fd8d46ee38c in QThreadPrivate::start (arg=0x562bb64264f0) at thread/qthread_unix.cpp:329
#7  0x00007fd8d3e1d4f9 in start_thread (arg=0x7fd8b75f4700) at pthread_create.c:465
#8  0x00007fd8db011fbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd8b7fff700 (LWP 933)):
#0  0x00007fd8db0076db in __GI___poll (fds=0x7fd8b00031e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd8cbfaa779 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fd8b00031e0, timeout=<optimized out>, context=0x7fd8b0000bd0) at ../glib/gmain.c:4253
#2  g_main_context_iterate (context=context@entry=0x7fd8b0000bd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3949
#3  0x00007fd8cbfaa88c in g_main_context_iteration (context=0x7fd8b0000bd0, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#4  0x00007fd8d4946d1b in QEventDispatcherGlib::processEvents (this=0x7fd8b0000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fd8d48e2dea in QEventLoop::exec (this=this@entry=0x7fd8b7ffec00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#6  0x00007fd8d46ece77 in QThread::exec (this=this@entry=0x7fd8d61d1da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:547
#7  0x00007fd8d5f59185 in QDBusConnectionManager::run (this=0x7fd8d61d1da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007fd8d46ee38c in QThreadPrivate::start (arg=0x7fd8d61d1da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007fd8d3e1d4f9 in start_thread (arg=0x7fd8b7fff700) at pthread_create.c:465
#10 0x00007fd8db011fbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd8be95d700 (LWP 932)):
#0  0x00007fd8db0076db in __GI___poll (fds=fds@entry=0x7fd8be95cb38, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd8ce111307 in poll (__timeout=-1, __nfds=1, __fds=0x7fd8be95cb38) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x562bb61f7e50, cond=cond@entry=0x562bb61f7e90, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007fd8ce112f3a in xcb_wait_for_event (c=c@entry=0x562bb61f7e50) at xcb_in.c:697
#4  0x00007fd8c10c9d90 in QXcbEventQueue::run (this=0x562bb61ec5c0) at qxcbeventqueue.cpp:228
#5  0x00007fd8d46ee38c in QThreadPrivate::start (arg=0x562bb61ec5c0) at thread/qthread_unix.cpp:329
#6  0x00007fd8d3e1d4f9 in start_thread (arg=0x7fd8be95d700) at pthread_create.c:465
#7  0x00007fd8db011fbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd8dba46980 (LWP 931)):
[KCrash Handler]
#4  PageViewAnnotator::selectTool (this=this@entry=0x0, toolID=toolID@entry=-1) at /usr/src/debug/okular-20.08.2-lp152.1.1.x86_64/ui/pageviewannotator.cpp:961
#5  0x00007fd8b633267e in PageViewAnnotator::detachAnnotation (this=0x0) at /usr/src/debug/okular-20.08.2-lp152.1.1.x86_64/ui/pageviewannotator.cpp:1060
#6  0x00007fd8d4921c87 in QtPrivate::QSlotObjectBase::call (a=0x7ffd3370e7e0, r=0x562bb66a3ae0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x562bb688b770, signal_index=7, argv=0x7ffd3370e7e0) at kernel/qobject.cpp:3886
#8  0x00007fd8d491b142 in QMetaObject::activate (sender=sender@entry=0x562bb688b770, m=m@entry=0x7fd8d5f121a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffd3370e7e0) at kernel/qobject.cpp:3946
#9  0x00007fd8d5828072 in QAction::toggled (this=this@entry=0x562bb688b770, _t1=<optimized out>, _t1@entry=false) at .moc/moc_qaction.cpp:389
#10 0x00007fd8d582a58c in QAction::setChecked (this=0x562bb688b770, b=b@entry=false) at kernel/qaction.cpp:976
#11 0x00007fd8d582b985 in QActionGroupPrivate::_q_actionChanged (this=0x562bb688b5b0) at kernel/qactiongroup.cpp:80
#12 0x00007fd8d582be89 in QActionGroup::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qactiongroup.cpp:142
#13 0x00007fd8d4921a69 in doActivate<false> (sender=0x7fd8b8005c20, signal_index=3, argv=0x7ffd3370e930) at kernel/qobject.cpp:3898
#14 0x00007fd8d491b142 in QMetaObject::activate (sender=sender@entry=0x7fd8b8005c20, m=m@entry=0x7fd8d5f121a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#15 0x00007fd8d5827fb0 in QAction::changed (this=this@entry=0x7fd8b8005c20) at .moc/moc_qaction.cpp:369
#16 0x00007fd8d5829b27 in QActionPrivate::sendDataChanged (this=this@entry=0x562bb68040b0) at kernel/qaction.cpp:121
#17 0x00007fd8d582a573 in QAction::setChecked (this=this@entry=0x7fd8b8005c20, b=<optimized out>) at kernel/qaction.cpp:974
#18 0x00007fd8d582a658 in QAction::activate (this=0x7fd8b8005c20, event=<optimized out>) at kernel/qaction.cpp:1158
#19 0x00007fd8d591b8fb in QAbstractButtonPrivate::click (this=0x562bb7aa8a70) at widgets/qabstractbutton.cpp:398
#20 0x00007fd8d591bb5d in QAbstractButton::mouseReleaseEvent (this=0x562bb7aa85f0, e=0x7ffd3370ef60) at widgets/qabstractbutton.cpp:1044
#21 0x00007fd8d5a0ef2a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622
#22 0x00007fd8d586ed18 in QWidget::event (this=0x562bb7aa85f0, event=0x7ffd3370ef60) at kernel/qwidget.cpp:9019
#23 0x00007fd8d591cd2b in QAbstractButton::event (this=this@entry=0x562bb7aa85f0, e=e@entry=0x7ffd3370ef60) at widgets/qabstractbutton.cpp:1001
#24 0x00007fd8d5a0efc4 in QToolButton::event (this=0x562bb7aa85f0, event=0x7ffd3370ef60) at widgets/qtoolbutton.cpp:1012
#25 0x00007fd8d582e5ac in QApplicationPrivate::notify_helper (this=this@entry=0x562bb61be690, receiver=receiver@entry=0x562bb7aa85f0, e=e@entry=0x7ffd3370ef60) at kernel/qapplication.cpp:3630
#26 0x00007fd8d5835930 in QApplication::notify (this=<optimized out>, receiver=0x562bb7aa85f0, e=0x7ffd3370ef60) at kernel/qapplication.cpp:3074
#27 0x00007fd8d48e4563 in QCoreApplication::notifyInternal2 (receiver=0x562bb7aa85f0, event=0x7ffd3370ef60) at kernel/qcoreapplication.cpp:1063
#28 0x00007fd8d48e474e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x562bb7aa85f0, event=event@entry=0x7ffd3370ef60) at kernel/qcoreapplication.cpp:1470
#29 0x00007fd8d583491f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x562bb7aa85f0, event=event@entry=0x7ffd3370ef60, alienWidget=0x562bb7aa85f0, nativeWidget=0x562bb62bbe60, buttonDown=buttonDown@entry=0x7fd8d5f419b0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#30 0x00007fd8d588950c in QWidgetWindow::handleMouseEvent (this=this@entry=0x562bb68b9920, event=event@entry=0x7ffd3370f3d0) at kernel/qwidgetwindow.cpp:683
#31 0x00007fd8d588c57d in QWidgetWindow::event (this=0x562bb68b9920, event=0x7ffd3370f3d0) at kernel/qwidgetwindow.cpp:300
#32 0x00007fd8d582e5ac in QApplicationPrivate::notify_helper (this=this@entry=0x562bb61be690, receiver=receiver@entry=0x562bb68b9920, e=e@entry=0x7ffd3370f3d0) at kernel/qapplication.cpp:3630
#33 0x00007fd8d58353a0 in QApplication::notify (this=0x7ffd3370f970, receiver=0x562bb68b9920, e=0x7ffd3370f3d0) at kernel/qapplication.cpp:3154
#34 0x00007fd8d48e4563 in QCoreApplication::notifyInternal2 (receiver=0x562bb68b9920, event=0x7ffd3370f3d0) at kernel/qcoreapplication.cpp:1063
#35 0x00007fd8d48e474e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x562bb68b9920, event=event@entry=0x7ffd3370f3d0) at kernel/qcoreapplication.cpp:1470
#36 0x00007fd8d4f103d3 in QGuiApplicationPrivate::processMouseEvent (e=0x562bb8a1c980) at kernel/qguiapplication.cpp:2277
#37 0x00007fd8d4f11735 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x562bb8a1c980) at kernel/qguiapplication.cpp:2002
#38 0x00007fd8d4ee94fb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1175
#39 0x00007fd8c10cad6a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#40 0x00007fd8cbfaa464 in g_main_dispatch (context=0x7fd8b8004f60) at ../glib/gmain.c:3216
#41 g_main_context_dispatch (context=context@entry=0x7fd8b8004f60) at ../glib/gmain.c:3881
#42 0x00007fd8cbfaa800 in g_main_context_iterate (context=context@entry=0x7fd8b8004f60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954
#43 0x00007fd8cbfaa88c in g_main_context_iteration (context=0x7fd8b8004f60, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#44 0x00007fd8d4946cfc in QEventDispatcherGlib::processEvents (this=0x562bb62a9370, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007fd8d48e2dea in QEventLoop::exec (this=this@entry=0x7ffd3370f770, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#46 0x00007fd8d48ec5e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1371
#47 0x00007fd8d4f0501c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#48 0x00007fd8d582e505 in QApplication::exec () at kernel/qapplication.cpp:2822
#49 0x00007fd8db51dd41 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kile-2.9.93-lp152.39.3.x86_64/src/main.cpp:203
#50 0x00007fd8daf3a34a in __libc_start_main (main=0x562bb5c807d0 <main>, argc=2, argv=0x7ffd3370fb38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd3370fb28) at ../csu/libc-start.c:308
#51 0x0000562bb5c8080a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 931) detached]

Possible duplicates by query: bug 427575, bug 426596, bug 426162, bug 426090, bug 425786.

Reported using DrKonqi
Comment 1 Michel Ludwig 2020-10-25 06:05:28 UTC
Redirecting this to Okular
Comment 2 Justin Zobel 2020-12-02 01:36:08 UTC
Can you please provide the .text file that was opened? If the crash is specific to this file we will need it to diagnose.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Comment 3 ederag 2020-12-02 08:21:21 UTC
Created attachment 133798 [details]
blank article
Comment 4 ederag 2020-12-02 08:28:33 UTC
It happens with any file.
For instance a blank File > New > article (attached)

The openSUSE KDE repo has been updated:
KDE Frameworks 5.76.0
Qt 5.15.2 (built against 5.15.2)
The xcb windowing system
Kile 2.9.93
okular 20.11.90
Comment 5 postix 2022-03-12 16:13:02 UTC
Can you still reproduce with Okular 21.12.3 or later?
Comment 6 Bug Janitor Service 2022-03-27 04:35:25 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 ederag 2022-03-27 05:37:01 UTC
I'm back to openSUSE Leap-15.3 which ships 20.04, and do not have time to rig a test setup again,
but all the needed information has been given.
Comment 8 postix 2022-03-27 09:21:41 UTC
(In reply to ederag from comment #7)
> I'm back to openSUSE Leap-15.3 which ships 20.04, and do not have time to
> rig a test setup again, but all the needed information has been given.

I cannot reproduce it at all.