https://bugs.kde.org/show_bug.cgi?id=523922

            Bug ID: 523922
           Summary: [ANR] Okular print crash
    Classification: Applications
           Product: okular
      Version First 26.04.3
       Reported In:
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: okular (26.04.3)

ApplicationNotResponding [ANR]: true
Qt Version: 6.11.1
Frameworks Version: 6.28.0
Operating System: Linux 7.1.4-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 6.7.3 [CoredumpBackend]

-- Information about the crash:
When I try to reach the print-window (my pressing ctrl p or via menu) with a
document opened in okular, the application freezes and signals to terminate or
wait after about a minute. Happens easily with large documents (>300 pages),
but recently experienced similar issue with documents of <50 pages.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Okular (okular), signal: Aborted


warning: Can't open file /memfd:xorg (deleted) during file-backed mapping note
processing
[New LWP 20641]
[New LWP 20642]
[New LWP 20643]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/okular /home/prj.1/Documenten/Chalmers/Y2/MSc
thesis/LCA/Literature/Sh'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f13d249fef4 in __pthread_kill_implementation () from
/lib64/libc.so.6
[Current thread is 1 (Thread 0x7f13ce8dcb80 (LWP 20641))]
python sentry-sdk not installed :(
Using eu-unstrip to resolve modules.
add symbol table from file "/lib64/libc.so.6"
add symbol table from file "/lib64/libKF6Crash.so.6"
add symbol table from file
"/usr/lib64/qt6/plugins/printsupport/../../../libcups.so.2"
add symbol table from file
"/usr/lib64/qt6/plugins/printsupport/libcupsprintersupport.so"
add symbol table from file "/lib64/libQt6PrintSupport.so.6"
add symbol table from file "/usr/lib64/qt6/plugins/kf6/parts/okularpart.so"
add symbol table from file "/lib64/libQt6Core.so.6"
add symbol table from file "/usr/bin/okular"
add symbol table from file "/lib64/libQt6Gui.so.6"
add symbol table from file "/lib64/libQt6Widgets.so.6"
add symbol table from file
"/usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6"
add symbol table from file "/lib64/libglib-2.0.so.0"
[Current thread is 1 (Thread 0x7f13ce8dcb80 (LWP 20641))]

Thread 3 (Thread 0x7f13cdebf6c0 (LWP 20643)):
#0  0x00007f13d24a6f12 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f13d249a118 in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f13d249a171 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f13d25168ca in poll () from /lib64/libc.so.6
#4  0x00007f13d3369404 in ?? () from /lib64/libxcb.so.1
#5  0x0000000000000038 in ?? ()
#6  0x00007f13cdebf6c0 in ?? ()
#7  0x00007f13ce879000 in _GLOBAL_OFFSET_TABLE_ () from
/usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#8  0x0000000100000007 in ?? ()
#9  0x0000000000000018 in ?? ()
#10 0x00007f13c002dc00 in ?? ()
#11 0x00005580d2bdbcf8 in ?? ()
#12 0x000000000000000b in ?? ()
#13 0x00007f13cd6bf000 in ?? ()
#14 0x00007f13d24ae83a in __libc_malloc2 () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f13ce6c06c0 (LWP 20642)):
#0  0x00007f13d24a6f12 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f13d249a118 in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f13d249a171 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f13d2517052 in ppoll () from /lib64/libc.so.6
#4  0x00007f13d0b031da in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007f13d0b039c0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007f13d30e8c78 in QEventDispatcherGlib::processEvents
(this=0x7f13c8000880, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#7  0x00007f13d2dfabc3 in QEventLoop::exec (this=0x7f13ce6bf940, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qflags.h:78
#8  0x00007f13d2f1a5ed in QThread::exec (this=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/thread/qthread.cpp:672
#9  0x00007f13d48dbca8 in ?? () from /lib64/libQt6DBus.so.6
#10 0x00007f13c8000880 in ?? ()
#11 0x00007f13d496fe20 in ?? () from /lib64/libQt6DBus.so.6
#12 0x00005580d2bcb200 in ?? ()
#13 0x00005580d2bd9288 in ?? ()
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f13ce8dcb80 (LWP 20641)):
[KCrash Handler]
#4  0x00007f13d24a6f12 in __syscall_cancel_arch () from /lib64/libc.so.6
#5  0x00007f13d249a118 in __internal_syscall_cancel () from /lib64/libc.so.6
#6  0x00007f13d249a171 in __syscall_cancel () from /lib64/libc.so.6
#7  0x00007f13d25168ca in poll () from /lib64/libc.so.6
#8  0x00007f13b181f4b3 in poll (__fds=0x7ffd23568c60, __nfds=1, __timeout=250)
at /usr/include/bits/poll2.h:44
#9  httpAddrConnect2 (addrlist=0x0, sock=0x5580d4127500, msec=<optimized out>,
cancel=0x0) at /usr/src/debug/cups-2.4.19/cups/http-addrlist.c:288
#10 0x00007f13b181ace9 in httpReconnect2 (http=http@entry=0x5580d4127500,
msec=msec@entry=30000, cancel=cancel@entry=0x0) at
/usr/src/debug/cups-2.4.19/cups/http.c:2409
#11 0x00007f13b181aef1 in httpConnect2 (host=0x5580d4123111 "192.168.178.112",
port=631, addrlist=0x0, family=0, encryption=HTTP_ENCRYPTION_IF_REQUESTED,
blocking=<optimized out>, msec=30000, cancel=0x0) at
/usr/src/debug/cups-2.4.19/cups/http.c:485
#12 0x00007f13b183b752 in _cupsConnect () at
/usr/src/debug/cups-2.4.19/cups/request.c:1062
#13 0x00007f13b180a23d in cupsGetDests2 (http=0x0, dests=0x7ffd23569a38) at
/usr/src/debug/cups-2.4.19/cups/dest.c:1673
#14 0x00007f13c4052e57 in QCupsPrinterSupport::availablePrintDeviceIds
(this=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/printsupport/cups/qcupsprintersupport.cpp:128
#15 0x00007f13d3f8a318 in QPrinterInfo::availablePrinterNames () at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/printsupport/kernel/qprinterinfo.cpp:363
#16 0x00007f13d3f8cfd2 in QPrinterPrivate::findValidPrinter
(this=this@entry=0x5580d40dc410, printer=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/printsupport/kernel/qprinter.cpp:53
#17 0x00007f13d3f8d239 in QPrinterPrivate::initEngines (this=0x5580d40dc410,
format=<optimized out>, printer=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/printsupport/kernel/qprinter.cpp:71
#18 0x00007f13d3f8e190 in QPrinter::QPrinter (this=<optimized out>,
mode=<optimized out>, this=<optimized out>, mode=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/printsupport/kernel/qprinter.cpp:451
#19 0x00007f13c7505ed4 in Okular::Part::slotPrint (this=0x5580d2d5d670) at
/usr/src/debug/okular-26.04.3/part/part.cpp:3551
#20 Okular::Part::slotPrint (this=0x5580d2d5d670) at
/usr/src/debug/okular-26.04.3/part/part.cpp:3542
#21 0x00007f13d2e0191a in QMetaMethodInvoker::invokeImpl (self=...,
target=target@entry=0x5580d2d5d670, connectionType=Qt::DirectConnection,
connectionType@entry=Qt::AutoConnection, paramCount=paramCount@entry=1,
parameters=parameters@entry=0x7ffd2356a080, typeNames=0x7ffd2356a088,
metaTypes=0x7ffd2356a090) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qmetaobject.cpp:2892
#22 0x00007f13d2e026a5 in QMetaObject::invokeMethodImpl (obj=0x5580d2d5d670,
member=member@entry=0x5580b70ac10b "slotPrint",
type=type@entry=Qt::AutoConnection, paramCount=paramCount@entry=1,
parameters=parameters@entry=0x7ffd2356a080,
typeNames=typeNames@entry=0x7ffd2356a088, metaTypes=0x7ffd2356a090) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qmetaobject.cpp:1703
#23 0x00005580b7098ab4 in QMetaObject::invokeMethod<void>
(c=Qt::AutoConnection, obj=<optimized out>, member=0x5580b70ac10b "slotPrint",
r=...) at /usr/include/qt6/QtCore/qobjectdefs.h:399
#24 QMetaObject::invokeMethod<>(QObject*, char const*) (obj=<optimized out>,
member=0x5580b70ac10b "slotPrint") at /usr/include/qt6/QtCore/qobjectdefs.h:436
#25 Shell::print (this=0x5580d2d1f8a0) at
/usr/src/debug/okular-26.04.3/shell/shell.cpp:1043
#26 Shell::qt_static_metacall (_o=0x5580d2d1f8a0, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/okular-26.04.3/build/shell/okular_autogen/EWIEGA46WW/moc_shell.cpp:238
#27 0x00007f13d2e5dca9 in doActivate<false> (sender=0x5580d3034b70,
signal_index=7, argv=0x7ffd2356a1a0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qobject.cpp:4384
#28 0x00007f13d3acf0cb in QMetaObject::activate<void, bool> (sender=<optimized
out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized
out>, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized
out>, ret=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qobjectdefs.h:320
#29 QAction::triggered (this=this@entry=0x5580d3034b70, _t1=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/build/src/gui/Gui_autogen/include/moc_qaction.cpp:374
#30 0x00007f13d3ad8705 in QAction::activate (this=0x5580d3034b70,
event=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qaction.cpp:1106
#31 0x00007f13d3ad87f0 in QAction::event (this=0x5580d3034b70,
e=0x7ffd2356a3c0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qaction.cpp:1048
#32 QAction::event (this=0x5580d3034b70, e=0x7ffd2356a3c0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qaction.cpp:1031
#33 0x00007f13d41ec8fa in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5580d3034b70, e=0x7ffd2356a3c0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/widgets/kernel/qapplication.cpp:3276
#34 0x00007f13d2deb8b8 in QCoreApplication::notifyInternal2
(receiver=0x5580d3034b70, event=0x7ffd2356a3c0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qcoreapplication.cpp:1114
#35 0x00007f13d2deb8fd in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qcoreapplication.cpp:1559
#36 0x00007f13d3af301c in QShortcutMap::dispatchEvent (this=<optimized out>,
e=0x7ffd2356a4b0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qshortcutmap.cpp:606
#37 0x00007f13d3aead24 in QShortcutMap::tryShortcut (this=0x5580d2bc7340,
e=0x7ffd2356a4b0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qshortcutmap.cpp:310
#38 0x00007f13d36bd9f4 in QWindowSystemInterface::handleShortcutEvent
(window=<optimized out>, timestamp=<optimized out>, keyCode=80, modifiers=...,
nativeScanCode=33, nativeVirtualKey=112, nativeModifiers=4, text=...,
autorepeat=false, count=1) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qwindowsysteminterface.cpp:453
#39 0x00007f13d36455fa in QGuiApplicationPrivate::processKeyEvent
(e=0x5580d40dc5c0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:2613
#40 0x00007f13d36b901b in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qwindowsysteminterface.cpp:1117
#41 0x00007f13ce82d58e in xcbSourceDispatch (source=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:59
#42 0x00007f13d0affda1 in ?? () from /lib64/libglib-2.0.so.0
#43 0x00007f13d0b030d0 in ?? () from /lib64/libglib-2.0.so.0
#44 0x00007f13d0b039c0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#45 0x00007f13d30e8c78 in QEventDispatcherGlib::processEvents
(this=0x5580d2d167f0, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#46 0x00007f13d2dfabc3 in QEventLoop::exec (this=0x7ffd2356a830, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qflags.h:78
#47 0x00007f13d2def9f0 in QCoreApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qcoreapplication.cpp:1457
#48 0x00007f13d363e540 in QGuiApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:2005
#49 0x00007f13d41e7a79 in QApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/widgets/kernel/qapplication.cpp:2546
#50 0x00005580b70917bb in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/okular-26.04.3/shell/main.cpp:148

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to