Bug 465146 - Okular crashes when connecting to usb-c dock with external monitor
Summary: Okular crashes when connecting to usb-c dock with external monitor
Status: RESOLVED DUPLICATE of bug 473602
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.12.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-02-01 20:56 UTC by Gábor Katona
Modified: 2023-10-27 15:27 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (4.00 KB, text/plain)
2023-03-21 11:48 UTC, Gábor Katona
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gábor Katona 2023-02-01 20:56:36 UTC
Application: okular (22.12.1)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.8-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.90 [KCrashBackend]

-- Information about the crash:
When connecting my laptop to a usb-c dock with external monitor connected to the dock, okular somatimes crashes.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7cd6d7aa0d in __memmove_evex_unaligned_erms () from /lib64/libc.so.6
#5  0x00007f7cd2d0e3ba in memmove (__len=262112, __src=0x7f77ad9fe810, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:36
#6  copy_unswapped (rect=<synthetic pointer>..., img=warning: RTTI symbol for class 'QImage' is not a type
..., dstBytesPerLine=262112, dst=<optimized out>) at qxcbbackingstore.cpp:547
#7  native_sub_image (swap=false, rect=<synthetic pointer>..., src=warning: RTTI symbol for class 'QImage' is not a type
..., dstStride=262112, buffer=0x565536aa2de0) at qxcbbackingstore.cpp:590
#8  QXcbBackingStoreImage::flushPixmap (this=0x565536aa2d60, region=..., fullRegion=<optimized out>) at qxcbbackingstore.cpp:669
#9  0x00007f7cd2d0e9b9 in QXcbBackingStoreImage::flushPixmap (fullRegion=false, region=..., this=0x565536aa2d60) at qxcbbackingstore.cpp:627
#10 QXcbBackingStoreImage::put (this=0x565536aa2d60, dst=96469004, region=..., offset=...) at qxcbbackingstore.cpp:741
#11 0x00007f7cd2d0f2f9 in QXcbBackingStore::flush (this=this@entry=0x5655361f2df0, window=window@entry=0x5655361f2d90, region=..., offset=...) at /usr/src/debug/qtbase-everywhere-src-5.15.8+kde160/src/plugins/platforms/xcb/qxcbwindow.h:120
#12 0x00007f7cd7b4d462 in QBackingStore::flush (this=this@entry=0x5655362c96f0, region=..., window=0x5655361f2d90, offset=...) at painting/qbackingstore.cpp:252
#13 0x00007f7cd81b2a7f in QWidgetRepaintManager::flush (this=this@entry=0x5655362bcff0, widget=0x565536095790, region=..., widgetTextures=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1198
#14 0x00007f7cd81b4609 in QWidgetRepaintManager::flush (this=0x5655362bcff0) at kernel/qwidgetrepaintmanager.cpp:1096
#15 0x00007f7cd81b6688 in QWidgetRepaintManager::paintAndFlush (this=0x5655362bcff0) at kernel/qwidgetrepaintmanager.cpp:1028
#16 0x00007f7cd81ff3e1 in QWidgetWindow::handleResizeEvent (this=0x5655361f2d90, event=0x7ffc5c6116e0) at kernel/qwidgetwindow.cpp:841
#17 0x00007f7cd820334b in QWidgetWindow::event (this=0x5655361f2d90, event=0x7ffc5c6116e0) at kernel/qwidgetwindow.cpp:322
#18 0x00007f7cd81a544e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5655361f2d90, e=0x7ffc5c6116e0) at kernel/qapplication.cpp:3640
#19 0x00007f7cd74dc138 in QCoreApplication::notifyInternal2 (receiver=0x5655361f2d90, event=0x7ffc5c6116e0) at kernel/qcoreapplication.cpp:1064
#20 0x00007f7cd7977ccc in QGuiApplicationPrivate::processGeometryChangeEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2610
#21 0x00007f7cd794f26c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#22 0x00007f7cd2d1914a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#23 0x00007f7cd5b1ba90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007f7cd5b1be48 in ?? () from /lib64/libglib-2.0.so.0
#25 0x00007f7cd5b1bedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007f7cd7533b66 in QEventDispatcherGlib::processEvents (this=0x565535f13440, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f7cd74dabab in QEventLoop::exec (this=this@entry=0x7ffc5c611960, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x00007f7cd74e2d16 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x00005655356e61f6 in ?? ()
#30 0x00007f7cd6c2c5b0 in __libc_start_call_main () from /lib64/libc.so.6
#31 0x00007f7cd6c2c679 in __libc_start_main_impl () from /lib64/libc.so.6
#32 0x00005655356e6d05 in ?? ()
[Inferior 1 (process 2164) detached]

Reported using DrKonqi
Comment 1 Gábor Katona 2023-03-21 11:48:53 UTC
Created attachment 157491 [details]
New crash information added by DrKonqi

okular (22.12.3) using Qt 5.15.8

Connecting external screen and okular crashed

-- Backtrace (Reduced):
#5  0x00007f343830e3ba in memmove (__len=262112, __src=0x7f2f499fe810, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:36
#8  QXcbBackingStoreImage::flushPixmap (this=0x55ff45676a10, region=..., fullRegion=<optimized out>) at qxcbbackingstore.cpp:669
#9  0x00007f343830e9b9 in QXcbBackingStoreImage::flushPixmap (fullRegion=false, region=..., this=0x55ff45676a10) at qxcbbackingstore.cpp:627
#10 QXcbBackingStoreImage::put (this=0x55ff45676a10, dst=73400332, region=..., offset=...) at qxcbbackingstore.cpp:741
#11 0x00007f343830f2f9 in QXcbBackingStore::flush (this=this@entry=0x55ff45bb3c60, window=window@entry=0x55ff457b9f70, region=..., offset=...) at /usr/src/debug/qtbase-everywhere-src-5.15.8+kde160/src/plugins/platforms/xcb/qxcbwindow.h:120
Comment 2 Nate Graham 2023-05-02 18:03:32 UTC

*** This bug has been marked as a duplicate of bug 465077 ***
Comment 3 Nate Graham 2023-10-27 15:27:30 UTC

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