Bug 461596

Summary: OKULAR crash
Product: [Applications] okular Reporter: Brandon <soryder>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: crash CC: aacid
Priority: NOR Keywords: drkonqi
Version: 21.12.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-15374-0.html

Description Brandon 2022-11-08 15:55:57 UTC
Application: okular (21.12.2)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.96.0
Operating System: Linux 6.0.5-100.fc35.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 35 (KDE Plasma)
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
crashed when i tried to print an email atachment. Has happend more than once.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007fa3e4aa156c in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007fa3e4a54d16 in raise () from /lib64/libc.so.6
#6  0x00007fa3e4a287f3 in abort () from /lib64/libc.so.6
#7  0x00007fa3e44c2b16 in _dbus_abort.cold () from /lib64/libdbus-1.so.3
#8  0x00007fa3e44e9300 in _dbus_warn_check_failed () from /lib64/libdbus-1.so.3
#9  0x00007fa3e44d855f in dbus_message_iter_append_basic () from /lib64/libdbus-1.so.3
#10 0x00007fa3e44d9a36 in dbus_message_append_args_valist () from /lib64/libdbus-1.so.3
#11 0x00007fa3e44d9c8d in dbus_message_append_args () from /lib64/libdbus-1.so.3
#12 0x00007fa3c2283e5c in avahi_record_browser_new () from /lib64/libavahi-client.so.3
#13 0x00007fa3bc1d6a01 in cups_enum_dests.constprop () from /lib64/libcups.so.2
#14 0x00007fa3bc188fc1 in cupsGetDests2 () from /lib64/libcups.so.2
#15 0x00007fa3ca128245 in QCupsPrinterSupport::staticDefaultPrintDeviceId() () from /usr/lib64/qt5/plugins/printsupport/libcupsprintersupport.so
#16 0x00007fa3ca1283e2 in QCupsPrinterSupport::defaultPrintDeviceId() const () from /usr/lib64/qt5/plugins/printsupport/libcupsprintersupport.so
#17 0x00007fa3e4872c17 in QPrinterInfo::defaultPrinter() () from /lib64/libQt5PrintSupport.so.5
#18 0x00007fa3e486de4d in QPrinterPrivate::findValidPrinter(QPrinterInfo const&) () from /lib64/libQt5PrintSupport.so.5
#19 0x00007fa3e486ff46 in QPrinterPrivate::initEngines(QPrinter::OutputFormat, QPrinterInfo const&) () from /lib64/libQt5PrintSupport.so.5
#20 0x00007fa3e4870372 in QPrinter::QPrinter(QPrinter::PrinterMode) () from /lib64/libQt5PrintSupport.so.5
#21 0x00007fa3d0cee487 in Okular::Part::slotPrint() () from /usr/lib64/qt5/plugins/okularpart.so
#22 0x00007fa3e54b5533 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /lib64/libQt5Core.so.5
#23 0x00007fa3e54b665a in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /lib64/libQt5Core.so.5
#24 0x000055e1544ec4d2 in Shell::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#25 0x00007fa3e54da820 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#26 0x00007fa3e61a7916 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#27 0x00007fa3e61aa62c in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#28 0x00007fa3e61ab217 in QAction::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007fa3e61ae443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#30 0x00007fa3e54a6be8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#31 0x00007fa3e5997002 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /lib64/libQt5Gui.so.5
#32 0x00007fa3e5997673 in QShortcutMap::tryShortcut(QKeyEvent*) () from /lib64/libQt5Gui.so.5
#33 0x00007fa3e594e187 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /lib64/libQt5Gui.so.5
#34 0x00007fa3e596759f in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /lib64/libQt5Gui.so.5
#35 0x00007fa3e594ad7c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#36 0x00007fa3d391c10e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#37 0x00007fa3e3d280af in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#38 0x00007fa3e3d7d308 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#39 0x00007fa3e3d258a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#40 0x00007fa3e54f7f88 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#41 0x00007fa3e54a55f2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#42 0x00007fa3e54adb34 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#43 0x000055e1544e7c7a in main ()
[Inferior 1 (process 5372) detached]

Reported using DrKonqi
Comment 1 Albert Astals Cid 2022-11-22 22:36:11 UTC
This is cups/avahi/dbus crashing.

There's something wrong on your system and Okular is not really the culprit.

I'd suggest you to see if you get any output on the command line that may point you in the right direction.
Comment 2 Brandon 2022-11-22 23:12:45 UTC
Created attachment 153952 [details]
attachment-15374-0.html

Thank you. I am a dumb ass  on linux. Just learning.

On Tue, Nov 22, 2022 at 2:36 PM Albert Astals Cid <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=461596
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |NOT A BUG
>              Status|REPORTED                    |RESOLVED
>                  CC|                            |aacid@kde.org
>
> --- Comment #1 from Albert Astals Cid <aacid@kde.org> ---
> This is cups/avahi/dbus crashing.
>
> There's something wrong on your system and Okular is not really the
> culprit.
>
> I'd suggest you to see if you get any output on the command line that may
> point
> you in the right direction.
>
> --
> You are receiving this mail because:
> You reported the bug.