View Issue Details

IDProjectCategoryView StatusLast Update
0015626ScribusGeneralpublic2019-09-27 08:00
Reporterale Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version1.5.5.svn 
Summary0015626: crash when changing theme
Descriptionon linux (with no DE), changing the theme to the windows one leads to a crash.
Additional Information
#0  0x00007ffff505d535 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000001  0x00007ffff505d653 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000002  0x00007ffff4fbf7d8 in QApplication::setStyle(QStyle*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000003  0x0000555555ffe889 in ScribusMainWindow::slotPrefsOrg (this=0x555556cef9a0) at ../scribus/scribus.cpp:6650
0000004  0x0000555555b17198 in ScribusMainWindow::qt_static_metacall (_o=0x555556cef9a0, _c=QMetaObject::InvokeMetaMethod, _id=209, _a=0x7fffffffd4c0) at scribus/moc_scribus.cpp:1171
0000005  0x00007ffff4669906 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000006  0x00007ffff4fb4f02 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000007  0x00007ffff4fb7510 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000008  0x00007ffff5127a7c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000009  0x00007ffff512efa0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000010 0x00007ffff512ff2b in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000011 0x00007ffff4ff9588 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000012 0x00007ffff513238b in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000013 0x00007ffff4fbb4b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000014 0x00007ffff4fc2b98 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000015 0x00007ffff46405a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000016 0x00007ffff4fc1ec9 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000017 0x00007ffff50143d3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000018 0x00007ffff5016b9e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000019 0x00007ffff4fbb4b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000020 0x00007ffff4fc2950 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
0000021 0x00007ffff46405a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000022 0x00007ffff49ebfe3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000023 0x00007ffff49ede25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000024 0x00007ffff49c806b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
0000025 0x00007ffff12df3eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
0000026 0x00007ffff463f27b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000027 0x00007ffff4647262 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000028 0x000055555667ceeb in mainApp (argc=1, argv=0x7fffffffe378) at ../scribus/main_nix.cpp:82
0000029 0x000055555667ce38 in main (argc=1, argv=0x7fffffffe378) at ../scribus/main_nix.cpp:56
TagsNo tags attached.
PatchNo

Relationships

has duplicate 0015825 closedjghali Scribus crashes due to signal 0000011 

Activities

PeterBenedek

2019-04-03 09:05

developer   ~0046060

I can reproduce in Linux Mint 19.1; 1.5.5svn~r22922

ale

2019-09-26 09:50

manager   ~0046702

i still get the same error with "Attempt to fix 0015626: crash when changing theme"

i add a

qDebug() << newStyle;

i get the object with its name...
(sorry, this ... crappy... bug tracker has swallowed my previous report with the exact output of qdebug...)

jghali

2019-09-26 13:08

administrator   ~0046703

I investigated a bit this issue and it appears the crash is internal to Qt.. as the posted backtrace shows it too. When using the AppImage, I manage to get rid of the crash by switching to gtk2 theme first. Switching to Windows theme can then be performed without crash.

ale

2019-09-26 17:02

manager   ~0046704

i did a quick try on my self compiled scribus on a linux with no desktop environment:

- switching to the windows theme "always" leads to a crash when pressing ok
- the other two themes available here do not crash, but i don't see a difference in the dialogs either.
  (there might be a difference, that was not what i was checking for...)

it looks indeed like a qt isuee...
i would keep this issue open, so that we can track it: other people will probably hit it...

jghali

2019-09-27 08:00

administrator   ~0046705

I've installed Qt debug symbols and the crash occurs indeed deep inside Qt. Here is the backtrace I got:

#0 0x00007ffff703fa05 in qobject_cast<QWidget*>(QObject*) (o=0x5555575d0180)
    at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
0000001 0x00007ffff703fa05 in updateObjects(QList<QObject const*> const&)
    (objects=...) at styles/qstylesheetstyle.cpp:2732
0000002 0x00007ffff703fb23 in QStyleSheetStyle::repolish(QWidget*)
    (this=<optimized out>, w=w@entry=0x5555575b5c60)
    at styles/qstylesheetstyle.cpp:2911
0000003 0x00007ffff6fcb914 in QWidget::setStyleSheet(QString const&)
    (this=this@entry=0x5555575b5c60, styleSheet=...) at kernel/qwidget.cpp:2699
0000004 0x00007ffff6f9f728 in QApplication::setStyle(QStyle*)
    (style=<optimized out>) at kernel/qapplication.cpp:1189
0000005 0x00007ffff6f9f728 in QApplication::setStyle(QStyle*)
    (style=<optimized out>) at kernel/qapplication.cpp:1127
0000006 0x0000555555f0a64c in ScribusMainWindow::slotPrefsOrg() (this=
    0x555556b9d020)
    at /home/developer/Documents/scribus-trunk/Scribus/scribus/scribus.cpp:6671
0000007 0x0000555555a204ce in ScribusMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
    (_o=0x555556b9d020, _c=QMetaObject::InvokeMetaMethod, _id=210, _a=0x7fffffffcf50)
    at /home/developer/Documents/scribus-trunk/build/scribus/moc_scribus.cpp:1176
0000008 0x00007ffff65fd426 in QMetaObject::activate(QObject*, int, int, void**)

Issue History

Date Modified Username Field Change
2019-04-03 06:26 ale New Issue
2019-04-03 09:05 PeterBenedek Note Added: 0046060
2019-04-03 09:05 PeterBenedek Severity minor => crash
2019-04-04 17:46 jghali Category - => General
2019-09-24 22:53 jghali Relationship added has duplicate 0015825
2019-09-26 09:50 ale Note Added: 0046702
2019-09-26 13:08 jghali Note Added: 0046703
2019-09-26 17:02 ale Note Added: 0046704
2019-09-27 08:00 jghali Note Added: 0046705