View Issue Details

IDProjectCategoryView StatusLast Update
0017315ScribusGeneralpublic2024-11-20 19:13
Reporterale Assigned Toale  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version1.7.0.svn 
Summary0017315: after suspend (and a long break), crash when creating a frame in an existing document
Descriptionyesterday evening, i have put my computer to sleep with a scribus document open.

tonight, scribus crashed as soon i did try to create a new frame.

luckily the debugger was attached and here is the backtrace.

if you can figure out where the issue could be, you're welcome to use it, otherwise i won't be upset if the ticket gets closed...
TagsNo tags attached.
PatchNo

Activities

ale

2024-11-19 18:43

manager  

scribus-crash.txt (5,518 bytes)   
error: scribus 0x0012b374: DW_TAG_member 'array' refers to type 0x000000000012c354 which extends beyond the bounds of 0x0012b144
Stop reason: signal SIGSEGV: address not mapped to object (fault address: 0x1000001ab)
bt
* thread #1, name = 'scribus', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x1000001ab)
  * frame #0: 0x00007f0fb6602b96 libQt6Gui.so.6`QScreen::devicePixelRatio() const + 38
    frame #1: 0x00007f0fb6e044a8 libQt6Widgets.so.6`QWidget::metric(QPaintDevice::PaintDeviceMetric) const + 984
    frame #2: 0x0000563164da8870 scribus`QPaintDevice::devicePixelRatio(this=0x0000563189a00910) const at qpaintdevice.h:49:51
    frame #3: 0x0000563165ae5181 scribus`ColorButton::brushSolid(this=0x0000563189a00900) const at color_button.cpp:401:113
    frame #4: 0x0000563165ae4cb4 scribus`ColorButton::renderBrush(this=0x0000563189a00900) const at color_button.cpp:363:21
    frame #5: 0x0000563165ae66ca scribus`ColorButton::updatePreview(this=0x0000563189a00900) at color_button.cpp:590:22
    frame #6: 0x00005631658e3db6 scribus`PropertiesPalette_Shadow::setCurrentItem(this=0x0000563189bbbdf0, item=0x000056318964c9b0) at propertiespalette_shadow.cpp:232:28
    frame #7: 0x00005631658e3ec5 scribus`PropertiesPalette_Shadow::handleSelectionChanged(this=0x0000563189bbbdf0) at propertiespalette_shadow.cpp:250:17
    frame #8: 0x0000563164caac5b scribus`PropertiesPalette_Shadow::qt_static_metacall(_o=0x0000563189bbbdf0, _c=InvokeMetaMethod, _id=10, _a=0x00007ffe379487f8) at moc_propertiespalette_shadow.cpp:176:44
    frame #9: 0x00007f0fb5fd62f8 libQt6Core.so.6`___lldb_unnamed_symbol15393 + 1608
    frame #10: 0x0000563164c893b1 scribus`Selection::selectionChanged(this=0x00005631897be530) at moc_selection.cpp:139:26
    frame #11: 0x000056316545ab5c scribus`Selection::sendSignals(this=0x00005631897be530, guiConnect=false) at selection.cpp:641:25
    frame #12: 0x0000563165458e8f scribus`Selection::connectItemToGUI(this=0x00005631897be530) at selection.cpp:168:13
    frame #13: 0x000056316545ab44 scribus`Selection::sendSignals(this=0x00005631897be530, guiConnect=true) at selection.cpp:639:20
    frame #14: 0x000056316545aafb scribus`Selection::delaySignalsOff(this=0x00005631897be530) at selection.cpp:627:14
    frame #15: 0x0000563164de214e scribus`CreateMode::SetupDrawNoResize(this=0x00007f0fa4005e40, nr=0) at canvasmode_create.cpp:483:37
    frame #16: 0x0000563164de499c scribus`CreateMode::doCreateNewObject(this=0x00007f0fa4005e40) at canvasmode_create.cpp:823:20
    frame #17: 0x0000563164de1b22 scribus`CreateMode::mouseReleaseEvent(this=0x00007f0fa4005e40, m=0x00007ffe379495b0) at canvasmode_create.cpp:394:30
    frame #18: 0x0000563165448455 scribus`ScribusView::eventFilter(this=0x000056318b7c3e60, obj=0x000056318b7428b0, event=0x00007ffe379495b0) at scribusview.cpp:3325:34
    frame #19: 0x00007f0fb5f85e5a libQt6Core.so.6`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 218
    frame #20: 0x00007f0fb6db2092 libQt6Widgets.so.6`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 130
    frame #21: 0x00007f0fb6db6bcb libQt6Widgets.so.6`QApplication::notify(QObject*, QEvent*) + 4091
    frame #22: 0x00007f0fb5f87968 libQt6Core.so.6`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 392
    frame #23: 0x00007f0fb6dab4c0 libQt6Widgets.so.6`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 480
    frame #24: 0x00007f0fb6e12308 libQt6Widgets.so.6`___lldb_unnamed_symbol18168 + 856
    frame #25: 0x00007f0fb6e156b8 libQt6Widgets.so.6`___lldb_unnamed_symbol18186 + 680
    frame #26: 0x00007f0fb6db20a2 libQt6Widgets.so.6`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 146
    frame #27: 0x00007f0fb5f87968 libQt6Core.so.6`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 392
    frame #28: 0x00007f0fb65c924b libQt6Gui.so.6`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 1819
    frame #29: 0x00007f0fb662289c libQt6Gui.so.6`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 172
    frame #30: 0x00007f0fb174d72e libQt6XcbQpa.so.6`___lldb_unnamed_symbol2789 + 30
    frame #31: 0x00007f0fb54b27df libglib-2.0.so.0`___lldb_unnamed_symbol2600 + 239
    frame #32: 0x00007f0fb54b4a17 libglib-2.0.so.0`___lldb_unnamed_symbol2606 + 839
    frame #33: 0x00007f0fb54b5180 libglib-2.0.so.0`g_main_context_iteration + 48
    frame #34: 0x00007f0fb618eea3 libQt6Core.so.6`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 115
    frame #35: 0x00007f0fb5f92b1b libQt6Core.so.6`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 699
    frame #36: 0x00007f0fb5f8a948 libQt6Core.so.6`QCoreApplication::exec() + 152
    frame #37: 0x0000563164d1382c scribus`mainApp(argc=1, argv=0x00007ffe3794a158) at main_nix.cpp:100:18
    frame #38: 0x0000563164d135bf scribus`main(argc=1, argv=0x00007ffe3794a158) at main_nix.cpp:52:16
    frame #39: 0x00007f0fb5833d68 libc.so.6`__libc_start_call_main(main=(scribus`main at main_nix.cpp:51:1), argc=1, argv=0x00007ffe3794a158) at libc_start_call_main.h:58:16
    frame #40: 0x00007f0fb5833e25 libc.so.6`__libc_start_main_impl(main=(scribus`main at main_nix.cpp:51:1), argc=1, argv=0x00007ffe3794a158, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007ffe3794a148) at libc-start.c:360:3
    frame #41: 0x0000563164c75801 scribus`_start + 33
scribus-crash.txt (5,518 bytes)   

jghali

2024-11-19 21:13

administrator   ~0051596

Looks like this crash is internal to Qt... The crash occurs inside QPaintDevice::devicePixelRatio() and it looks like Qt might have some trouble getting its QScreens after the computer getting to sleep.

ale

2024-11-20 19:13

manager   ~0051610

As said, if the bt does not help to find an issue, it's ok to close this issue.

Issue History

Date Modified Username Field Change
2024-11-19 18:43 ale New Issue
2024-11-19 18:43 ale File Added: scribus-crash.txt
2024-11-19 21:13 jghali Note Added: 0051596
2024-11-20 19:13 ale Assigned To => ale
2024-11-20 19:13 ale Status new => closed
2024-11-20 19:13 ale Resolution open => no change required
2024-11-20 19:13 ale Note Added: 0051610