View Issue Details

IDProjectCategoryView StatusLast Update
0016684ScribusGeneralpublic2021-11-23 18:37
Reportermrjavum Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformLinuxOSArch LinuxOS Version5.15.2-arch1-1
Product Version1.5.7 
Summary0016684: Scribus crashes due to Signal #11
DescriptionScribus crashes at start.
I have tried 1.5.6.1, 1.5.7 and 1.5.8svn - the result is the same.

The backtrace:

gdb scribus
GNU gdb (GDB) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from scribus...
(No debugging symbols found in scribus)
(gdb) run
Starting program: /usr/bin/scribus
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff137f640 (LWP 52314)]
[New Thread 0x7fffeb6f7640 (LWP 52315)]
[New Thread 0x7fffeaef6640 (LWP 52316)]
[New Thread 0x7fffea41f640 (LWP 52317)]
[New Thread 0x7fffe9be6640 (LWP 52318)]
[New Thread 0x7fffda4f7640 (LWP 52319)]
[New Thread 0x7fffd9cf6640 (LWP 52320)]
[New Thread 0x7fffd94f5640 (LWP 52321)]
[New Thread 0x7fffd8cf4640 (LWP 52322)]
[New Thread 0x7fffcd7d1640 (LWP 52323)]
[New Thread 0x7fffccfd0640 (LWP 52324)]
[New Thread 0x7fffb7fff640 (LWP 52325)]
[New Thread 0x7fffb77fe640 (LWP 52326)]
[New Thread 0x7fffb6ffd640 (LWP 52327)]
[New Thread 0x7fffb67fc640 (LWP 52328)]
[New Thread 0x7fffb5ffb640 (LWP 52329)]
[New Thread 0x7fffb57fa640 (LWP 52330)]
[Detaching after fork from child process 52331]
[Detaching after fork from child process 52332]
[Detaching after fork from child process 52333]
[Detaching after fork from child process 52334]
[Detaching after fork from child process 52335]
Error loading plugin
/usr/lib/scribus/plugins//libimportwpg.so: undefined symbol: _ZN6libwpg10WPGraphics11isSupportedEP14WPXInputStream
Error loading plugin
/usr/lib/scribus/plugins//libimportwpg.so: undefined symbol: _ZN6libwpg10WPGraphics11isSupportedEP14WPXInputStream
ReaderWriterTF::writeObject
sizeof(TrkHeader)=1000
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/register.png: File not found
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile

Thread 1 "scribus" received signal SIGSEGV, Segmentation fault.
0x00007ffff509ca0e in __strcmp_avx2 () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff509ca0e in __strcmp_avx2 () at /usr/lib/libc.so.6
0000001 0x00007ffff45a1c2a in g_str_equal () at /usr/lib/libglib-2.0.so.0
0000002 0x00007ffff45a2a12 in g_hash_table_lookup () at /usr/lib/libglib-2.0.so.0
0000003 0x00007ffff45c8696 in g_intern_static_string () at /usr/lib/libglib-2.0.so.0
0000004 0x00007ffff01eb1f5 in g_param_spec_internal () at /usr/lib/libgobject-2.0.so.0
0000005 0x00007ffff01ebad3 in g_param_spec_object () at /usr/lib/libgobject-2.0.so.0
0000006 0x00007ffff04ce967 in () at /usr/lib/libgtk-3.so.0
0000007 0x00007ffff01feb7b in () at /usr/lib/libgobject-2.0.so.0
0000008 0x00007ffff0205a4f in () at /usr/lib/libgobject-2.0.so.0
0000009 0x00007ffff0206429 in g_type_class_ref () at /usr/lib/libgobject-2.0.so.0
0000010 0x00007ffff01efc0c in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0
0000011 0x00007ffff01efcea in g_object_new () at /usr/lib/libgobject-2.0.so.0
0000012 0x00007ffff04d4efb in gtk_file_chooser_dialog_new () at /usr/lib/libgtk-3.so.0
0000013 0x00007ffff0b2a5fd in () at /usr/lib/qt/plugins/platformthemes/libqgtk3.so
0000014 0x00007ffff0b2f1d4 in () at /usr/lib/qt/plugins/platformthemes/libqgtk3.so
0000015 0x00007ffff6425ece in QDialogPrivate::platformHelper() const () at /usr/lib/libQt5Widgets.so.5
0000016 0x00007ffff643b9eb in QFileDialogPrivate::init(QFileDialogArgs const&) () at /usr/lib/libQt5Widgets.so.5
0000017 0x00007ffff643be8b in QFileDialog::QFileDialog(QWidget*, QFlags<Qt::WindowType>) () at /usr/lib/libQt5Widgets.so.5
0000018 0x0000555555f6e16c in NewDocDialog::createOpenDocPage() ()
0000019 0x0000555555f7174e in NewDocDialog::NewDocDialog(QWidget*, QStringList const&, bool, QString const&) ()
0000020 0x0000555555c8d1c9 in ScribusMainWindow::startUpDialog() ()
0000021 0x0000555555ca8307 in ScribusCore::startGUI(bool, bool, bool, QString const&) ()
0000022 0x0000555555c9a544 in ScribusQApp::init() ()
0000023 0x000055555585bae8 in ()
0000024 0x00007ffff4f68b25 in __libc_start_main () at /usr/lib/libc.so.6
0000025 0x00005555557fc39e in _start ()


I'm not alone with this crash: https://bugs.archlinux.org/task/71711
TagsNo tags attached.
PatchNo

Activities

cbradney

2021-11-19 05:54

administrator   ~0049367

What version of libwpg do you have installed?

mrjavum

2021-11-19 06:07

reporter   ~0049368

libwpg 0.3.3

mrjavum

2021-11-19 15:43

reporter   ~0049369

Thats correct backtrace for 1.5.7 (the old one is from some try to run old version):

gdb scribus
GNU gdb (GDB) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from scribus...
(No debugging symbols found in scribus)
(gdb) run
Starting program: /usr/bin/scribus
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff1596640 (LWP 208034)]
[New Thread 0x7fffeb90e640 (LWP 208035)]
[New Thread 0x7fffeb10d640 (LWP 208036)]
[New Thread 0x7fffea628640 (LWP 208037)]
[New Thread 0x7fffe9def640 (LWP 208038)]
[New Thread 0x7fffda4f7640 (LWP 208039)]
[New Thread 0x7fffd9cf6640 (LWP 208040)]
[New Thread 0x7fffd94f5640 (LWP 208041)]
[New Thread 0x7fffd8cf4640 (LWP 208042)]
[New Thread 0x7fffcd7d1640 (LWP 208043)]
[New Thread 0x7fffccfd0640 (LWP 208044)]
[New Thread 0x7fffb7fff640 (LWP 208045)]
[New Thread 0x7fffb77fe640 (LWP 208046)]
[New Thread 0x7fffb6ffd640 (LWP 208047)]
[New Thread 0x7fffb67fc640 (LWP 208048)]
[New Thread 0x7fffb5ffb640 (LWP 208049)]
[New Thread 0x7fffb57fa640 (LWP 208050)]
[Detaching after fork from child process 208052]
[Detaching after fork from child process 208053]
[Detaching after fork from child process 208054]
[Detaching after fork from child process 208055]
[Detaching after fork from child process 208056]
ReaderWriterTF::writeObject
sizeof(TrkHeader)=1000
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/register.png: File not found
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile

Thread 1 "scribus" received signal SIGSEGV, Segmentation fault.
0x00007ffff5261a0e in __strcmp_avx2 () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff5261a0e in __strcmp_avx2 () at /usr/lib/libc.so.6
0000001 0x00007ffff4766c2a in g_str_equal () at /usr/lib/libglib-2.0.so.0
0000002 0x00007ffff4767a12 in g_hash_table_lookup () at /usr/lib/libglib-2.0.so.0
0000003 0x00007ffff478d696 in g_intern_static_string () at /usr/lib/libglib-2.0.so.0
0000004 0x00007ffff04021f5 in g_param_spec_internal () at /usr/lib/libgobject-2.0.so.0
0000005 0x00007ffff0402ad3 in g_param_spec_object () at /usr/lib/libgobject-2.0.so.0
0000006 0x00007ffff06e5967 in () at /usr/lib/libgtk-3.so.0
0000007 0x00007ffff0415b7b in () at /usr/lib/libgobject-2.0.so.0
0000008 0x00007ffff041ca4f in () at /usr/lib/libgobject-2.0.so.0
0000009 0x00007ffff041d429 in g_type_class_ref () at /usr/lib/libgobject-2.0.so.0
0000010 0x00007ffff0406c0c in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0
0000011 0x00007ffff0406cea in g_object_new () at /usr/lib/libgobject-2.0.so.0
0000012 0x00007ffff06ebefb in gtk_file_chooser_dialog_new () at /usr/lib/libgtk-3.so.0
0000013 0x00007ffff0d415fd in () at /usr/lib/qt/plugins/platformthemes/libqgtk3.so
0000014 0x00007ffff0d461d4 in () at /usr/lib/qt/plugins/platformthemes/libqgtk3.so
0000015 0x00007ffff65eaece in QDialogPrivate::platformHelper() const () at /usr/lib/libQt5Widgets.so.5
0000016 0x00007ffff66009eb in QFileDialogPrivate::init(QFileDialogArgs const&) () at /usr/lib/libQt5Widgets.so.5
0000017 0x00007ffff6600e8b in QFileDialog::QFileDialog(QWidget*, QFlags<Qt::WindowType>) () at /usr/lib/libQt5Widgets.so.5
0000018 0x000055555606587c in NewDocDialog::createOpenDocPage() ()
0000019 0x0000555556068cdc in NewDocDialog::NewDocDialog(QWidget*, QStringList const&, bool, QString const&) ()
0000020 0x0000555555d7d9fa in ScribusMainWindow::startUpDialog() ()
0000021 0x0000555555d991f7 in ScribusCore::startGUI(bool, bool, bool, QString const&) ()
0000022 0x0000555555d8b3e4 in ScribusQApp::init() ()
0000023 0x000055555594518a in mainApp(int, char**) ()
0000024 0x00007ffff512db25 in __libc_start_main () at /usr/lib/libc.so.6
0000025 0x00005555558e790e in _start ()


I think the Gnome 41 is the reason. Trying to investigate.

jghali

2021-11-21 00:14

administrator   ~0049372

I think the most important part of the backtrace (the first one) is this:
/usr/lib/scribus/plugins//libimportwpg.so: undefined symbol: _ZN6libwpg10WPGraphics11isSupportedEP14WPXInputStream
"Undefined symbol" usually indicates a library is not linked properly.

 I did a patch which fix the issue in Manjaro. You will get it if you retrieve latest svn code.

mrjavum

2021-11-22 04:51

reporter   ~0049374

I post here the correct bt:
https://bugs.scribus.net/view.php?id=16684#c49369

Now I have 2 workstations (the OS and packages are 90% the same, except DE): one with Gnome 40 - Scribus works, second with Gnome 41.1 - Scribus crashes.

cbradney

2021-11-22 07:11

administrator   ~0049375

You need to update your source and rebuild Scribus

mrjavum

2021-11-22 10:49

reporter   ~0049376

I have already wrote that wpg errors are from old version. Now a have built 24771 revision.
The traceback is the same (without wpg errors)
gdb scribus
GNU gdb (GDB) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from scribus...
(No debugging symbols found in scribus)
(gdb) run
Starting program: /usr/bin/scribus
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff137f640 (LWP 200593)]
[New Thread 0x7fffeb717640 (LWP 200594)]
[New Thread 0x7fffeaf16640 (LWP 200595)]
[New Thread 0x7fffea6b4640 (LWP 200596)]
[New Thread 0x7fffe9cda640 (LWP 200597)]
[New Thread 0x7fffe9312640 (LWP 200598)]
[New Thread 0x7fffcb946640 (LWP 200599)]
[New Thread 0x7fffcb004640 (LWP 200600)]
[New Thread 0x7fffca803640 (LWP 200601)]
[New Thread 0x7fffca002640 (LWP 200602)]
[New Thread 0x7fffc9801640 (LWP 200603)]
[New Thread 0x7fffc9000640 (LWP 200604)]
[New Thread 0x7fffb3fff640 (LWP 200605)]
[New Thread 0x7fffb37fe640 (LWP 200606)]
[New Thread 0x7fffb2ffd640 (LWP 200607)]
[New Thread 0x7fffb27fc640 (LWP 200608)]
[New Thread 0x7fffb1ffb640 (LWP 200609)]
[New Thread 0x7fffb17fa640 (LWP 200610)]
[Detaching after fork from child process 200611]
[Detaching after fork from child process 200612]
[Detaching after fork from child process 200613]
[Detaching after fork from child process 200614]
[Detaching after fork from child process 200615]
ReaderWriterTF::writeObject
sizeof(TrkHeader)=1000
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/register.png: File not found
qt.gui.icc: Unsupported ICC profile class 70727472
QPngHandler: Failed to parse ICC profile

Thread 1 "scribus" received signal SIGSEGV, Segmentation fault.
0x00007ffff509ba0e in __strcmp_avx2 () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff509ba0e in __strcmp_avx2 () at /usr/lib/libc.so.6
0000001 0x00007ffff45a0c2a in g_str_equal () at /usr/lib/libglib-2.0.so.0
0000002 0x00007ffff45a1a12 in g_hash_table_lookup () at /usr/lib/libglib-2.0.so.0
0000003 0x00007ffff45c7696 in g_intern_static_string () at /usr/lib/libglib-2.0.so.0
0000004 0x00007ffff01aa1f5 in g_param_spec_internal () at /usr/lib/libgobject-2.0.so.0
0000005 0x00007ffff01aaad3 in g_param_spec_object () at /usr/lib/libgobject-2.0.so.0
0000006 0x00007ffff04d3967 in () at /usr/lib/libgtk-3.so.0
0000007 0x00007ffff01bdb7b in () at /usr/lib/libgobject-2.0.so.0
0000008 0x00007ffff01c4a4f in () at /usr/lib/libgobject-2.0.so.0
0000009 0x00007ffff01c5429 in g_type_class_ref () at /usr/lib/libgobject-2.0.so.0
0000010 0x00007ffff01aec0c in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0
0000011 0x00007ffff01aecea in g_object_new () at /usr/lib/libgobject-2.0.so.0
0000012 0x00007ffff04d9efb in gtk_file_chooser_dialog_new () at /usr/lib/libgtk-3.so.0
0000013 0x00007ffff163403f in QGtk3FileDialogHelper::QGtk3FileDialogHelper() () at /usr/lib/qt/plugins/platformthemes/libqgnomeplatformtheme.so
0000014 0x00007ffff163181f in QGnomePlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType) const () at /usr/lib/qt/plugins/platformthemes/libqgnomeplatformtheme.so
0000015 0x00007ffff6424ece in QDialogPrivate::platformHelper() const () at /usr/lib/libQt5Widgets.so.5
0000016 0x00007ffff643a9eb in QFileDialogPrivate::init(QFileDialogArgs const&) () at /usr/lib/libQt5Widgets.so.5
0000017 0x00007ffff643ae8b in QFileDialog::QFileDialog(QWidget*, QFlags<Qt::WindowType>) () at /usr/lib/libQt5Widgets.so.5
0000018 0x0000555555f6e16c in NewDocDialog::createOpenDocPage() ()
0000019 0x0000555555f7174e in NewDocDialog::NewDocDialog(QWidget*, QStringList const&, bool, QString const&) ()
0000020 0x0000555555c8d1c9 in ScribusMainWindow::startUpDialog() ()
0000021 0x0000555555ca8307 in ScribusCore::startGUI(bool, bool, bool, QString const&) ()
0000022 0x0000555555c9a544 in ScribusQApp::init() ()
0000023 0x000055555585bae8 in ()
0000024 0x00007ffff4f67b25 in __libc_start_main () at /usr/lib/libc.so.6
0000025 0x00005555557fc39e in _start ()

jghali

2021-11-22 21:48

administrator   ~0049377

I built Scribus under Fedora 35 which, after update, has GNOME 41.1. I could start scribus with the gtk3 platform theme with no issue.

jghali

2021-11-22 21:50

administrator   ~0049378

Given the location of the crash, fixing this issue is likely out of scope for us.

mrjavum

2021-11-23 00:56

reporter   ~0049379

How to debug the scope of the crush?

jghali

2021-11-23 18:36

administrator   ~0049380

Last edited: 2021-11-23 18:37

By looking at the module in which the crash occurs. In this case, it looks to be related to Qt's gtk3 theme and its dependencies.

Issue History

Date Modified Username Field Change
2021-11-18 17:52 mrjavum New Issue
2021-11-19 05:54 cbradney Note Added: 0049367
2021-11-19 06:07 mrjavum Note Added: 0049368
2021-11-19 15:43 mrjavum Note Added: 0049369
2021-11-21 00:14 jghali Note Added: 0049372
2021-11-22 04:51 mrjavum Note Added: 0049374
2021-11-22 07:11 cbradney Note Added: 0049375
2021-11-22 10:49 mrjavum Note Added: 0049376
2021-11-22 21:48 jghali Note Added: 0049377
2021-11-22 21:50 jghali Note Added: 0049378
2021-11-23 00:56 mrjavum Note Added: 0049379
2021-11-23 18:36 jghali Note Added: 0049380
2021-11-23 18:37 jghali Note Edited: 0049380