View Issue Details

IDProjectCategoryView StatusLast Update
0016684ScribusGeneralpublic2022-12-26 13:54
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

Relationships

has duplicate 0016859 closedjghali Scribus 1.5.8 launching into black screen and crashing (workaround exists) 

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.

Ben

2021-11-27 17:35

reporter   ~0049387

I've been seeing the same or similar for a few months on OpenSuse Tumbleweed, which tends to be early with new libraries. Scribus displays the splash screen, then segfaults. I'm 95% certain that one of my machines broke after updates and before Scribus rebuild. In case it helps, here's from SVN 24772:
---------------
  gdb runtime
---------------
Thread 1 "scribus" received signal SIGSEGV, Segmentation fault.
0x000000000073c24c in QMap<QString, QString>::contains (this=0x20, akey=...) at /usr/include/qt5/QtCore/qmap.h:707
707 return d->findNode(akey) != nullptr;
-------------
  backtrace
-------------
(gdb) bt
#0 0x000000000073c24c in QMap<QString, QString>::contains (this=0x20, akey=...) at /usr/include/qt5/QtCore/qmap.h:707
0000001 0x00000000007d1f9b in MenuManager::setText (this=0x0, menuName=..., menuText=...)
    at /home/myname/src/scribus/trunk/Scribus/scribus/menumanager.cpp:68
0000002 0x00007fffd5f4c7aa in ScripterCore::languageChange() () from /usr/local/lib/scribus/plugins//libscriptplugin_py2x.so
0000003 0x00007fffd5f50d11 in ScriptPlugin::ScriptPlugin() () from /usr/local/lib/scribus/plugins//libscriptplugin_py2x.so
0000004 0x00007fffd59bfa46 in scriptplugin_getPlugin ()
    at /home/myname/src/scribus/trunk/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp:102
0000005 0x0000000000980221 in PluginManager::loadPlugin (this=0x1f4e2a0, pluginData=...)
    at /home/myname/src/scribus/trunk/Scribus/scribus/pluginmanager.cpp:550
0000006 0x000000000097d54d in PluginManager::initPlugin (this=0x1f4e2a0, fileName=...)
    at /home/myname/src/scribus/trunk/Scribus/scribus/pluginmanager.cpp:167
0000007 0x000000000097d80c in PluginManager::initPlugs (this=0x1f4e2a0) at /home/myname/src/scribus/trunk/Scribus/scribus/pluginmanager.cpp:200
0000008 0x0000000000b202c4 in ScribusCore::initScribusCore (this=0x1d59b80, showSplash=true, showFontInfo=false, showProfileInfo=false,
    newGuiLanguage=...) at /home/myname/src/scribus/trunk/Scribus/scribus/scribuscore.cpp:186
0000009 0x0000000000b1fcd2 in ScribusCore::startGUI (this=0x1d59b80, showSplash=true, showFontInfo=false, showProfileInfo=false,
    newGuiLanguage=...) at /home/myname/src/scribus/trunk/Scribus/scribus/scribuscore.cpp:99
0000010 0x0000000000b1c137 in ScribusQApp::init (this=0x7fffffffd5d0) at /home/myname/src/scribus/trunk/Scribus/scribus/scribusapp.cpp:365
0000011 0x0000000000617389 in mainApp (argc=1, argv=0x7fffffffd7b8) at /home/myname/src/scribus/trunk/Scribus/scribus/main_nix.cpp:72
0000012 0x0000000000617314 in main (argc=1, argv=0x7fffffffd7b8) at /home/myname/src/scribus/trunk/Scribus/scribus/main_nix.cpp:51

mrjavum

2021-12-02 14:52

reporter   ~0049394

arch users found workaround here: https://bugs.archlinux.org/task/71711
--no-splash option solves the crash

Ben

2021-12-03 03:40

reporter   ~0049396

Sadly, on OpenSuse Tumbleweed 20211201-0, scribus svn 24774 still crashes in exactly the same way with --no-splash. The splash screen was suppressed, though.

jghali

2021-12-03 07:39

administrator   ~0049398

I just built Scribus myself in an OpenSuse Tumbleweed VM and have been able to start it without issue.

Ben

2021-12-07 04:37

reporter   ~0049408

I concur. After 2 days of trying, I can't reproduce the error on a fresh Suse install on fresh hardware. In fact, Scribus built on the new machine bombs on the old while the build from the old runs on the new. That's not a problem for you to fix. Apologies.

toasted

2022-06-05 22:03

reporter   ~0049686

I also had this problem (crash on start) running Scribus 1.5.8-6 from official repo on Manjaro, DE Gnome 42.1. Used $ scribus foo.sla to get it running then disabled splash and startup dialogue (thanks Sigler, https://bugs.archlinux.org/task/71711). Scribus then started OK, but then same crash occurred (signal 0000011) when clicking file>open. Tried a few times, the error was intermittent. Found a fix by choosing "breeze" theme in user interface settings. Previously theme was set to blank (no theme selected), then tried adwaita dark. No problems so far using breeze, switching back to adwaita or no theme causes error again.
How do I go about creating an error log for this, as I can force the error easily- might be useful for debugging?

pchris

2022-12-26 13:54

reporter   ~0049843

I have a supplement and describe what happens at my computer:

OS: Arch Linux, Kernel 6.1.1-arch1-1
Scribus 1.5.8, installed Arch Package: community/scribus 1.5.8-12
DE: Xfce, installed Arch Group: extra/xfce 4.18.0-1

1. step: Start Scribus on command line without configuration files in ~/.config/scribus. A few warnings (see below; they are the same as while debugging) but Scribus is working. The language on the splash screen and in Scribus is, as my desktop environment, in German.

2. step: Start Scribus on command line with the, on the first run, created files in ~/.config/scribus. The language in the splash screen is English and "Scribus crashes due to Signal 0000011".

3. step: Delete the folder ~/.config/scribus and start Scribus again. Scribus is working and language is again in German. Then I cancel the "New document" dialog and open the "General settings" dialog and change language in the drop down from 'English' to 'German'. Then closing Scribus.
After that setting Scribus works all the time. And also stays in German language.


Here is the gdb backtrace from step two:

GNU gdb (GDB) 12.1
Copyright (C) 2022 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...

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.archlinux.org
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
(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 0x7ffff13726c0 (LWP 2107)]
[New Thread 0x7ffff0b716c0 (LWP 2108)]
[New Thread 0x7fffeae776c0 (LWP 2109)]
[New Thread 0x7fffea6766c0 (LWP 2110)]
[New Thread 0x7fffe9dc16c0 (LWP 2111)]
[New Thread 0x7fffe8a206c0 (LWP 2121)]
[Detaching after fork from child process 2122]
[Detaching after fork from child process 2123]
[Detaching after fork from child process 2124]
[Detaching after fork from child process 2125]
[Detaching after fork from child process 2126]
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY. THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_init is deprecated
warning: The application program did not set the memory limit for the JasPer library.
warning: The JasPer memory limit is being defaulted to a value that may be inappropriate for the system. If the default is too small, some reasonable encoding/decoding operations will fail. If the default is too large, security vulnerabilities will result (e.g., decoding a malicious image could exhaust all memory and crash the system.
warning: setting JasPer memory limit to 4097658880 bytes
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY. THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_cleanup is deprecated
ReaderWriterTF::writeObject
sizeof(TrkHeader)=1000
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_vnc.so' exists, but an error occurred while trying to open it:
libvncclient.so.1: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_gdal.so' exists, but an error occurred while trying to open it:
libgdal.so.32: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_ogr.so' exists, but an error occurred while trying to open it:
libgdal.so.32: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
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

Thread 1 "scribus" received signal SIGSEGV, Segmentation fault.
__strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:283
283 VMOVU (%rdi), %ymm0
(gdb) bt
#0 __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:283
0000001 0x00007ffff52f8bfe in g_str_equal (v1=<optimized out>, v2=<optimized out>) at ../glib/glib/ghash.c:2336
0000002 0x00007ffff52f9912 in g_hash_table_lookup_node
    (hash_return=<synthetic pointer>, key=0x7fffebc31b19, hash_table=0x55555670a000 = {...})
    at ../glib/glib/ghash.c:495
0000003 g_hash_table_lookup (hash_table=0x55555670a000 = {...}, key=0x7fffebc31b19) at ../glib/glib/ghash.c:1540
0000004 0x00007ffff531ff9a in quark_from_string (duplicate=0, string=0x7fffebc31b19 "filter")
    at ../glib/glib/gquark.c:187
0000005 quark_intern_string_locked (duplicate=0, string=0x7fffebc31b19 "filter") at ../glib/glib/gquark.c:326
0000006 g_intern_static_string (string=string@entry=0x7fffebc31b19 "filter") at ../glib/glib/gquark.c:375
0000007 0x00007ffff017b095 in g_param_spec_internal
    (param_type=<optimized out>, name=name@entry=0x7fffebc31b19 "filter", nick=nick@entry=0x7fffeafb623f "Filter", blurb=blurb@entry=0x7fffeafbebb0 "Der momentan zum Auswählen der anzuzeigenden Dateien zu verwendende Filter", flags=flags@entry=227) at ../glib/gobject/gparam.c:468
0000008 0x00007ffff017ba34 in g_param_spec_object
    (name=name@entry=0x7fffebc31b19 "filter", nick=0x7fffeafb623f "Filter", blurb=blurb@entry=0x7fffeafbebb0 "Der momentan zum Auswählen der anzuzeigenden Dateien zu verwendende Filter", object_type=object_type@entry=0x555557155940 [GtkFileFilter/GInitiallyUnowned], flags=flags@entry=227) at ../glib/gobject/gparamspecs.c:2690
0000009 0x00007fffeb963f8a in gtk_file_chooser_default_init (iface=0x5555586aeaf0)
    at ../gtk/gtk/gtkfilechooser.c:380
0000010 0x00007ffff018f65b in type_iface_ensure_dflt_vtable_Wm (iface=0x5555586ae900)
    at ../glib/gobject/gtype.c:2040
0000011 0x00007ffff0195e1f in type_iface_vtable_base_init_Wm
    (iface=0x5555586ae900, node=node@entry=0x5555584ffdc0) at ../glib/gobject/gtype.c:2069
0000012 0x00007ffff01973b0 in type_class_init_Wm
    (pclass=0x5555568c7300 [g_type: GtkDialog/GtkWindow/GtkBin/GtkContainer/GtkWidget/GInitiallyUnowned], node=<optimized out>) at ../glib/gobject/gtype.c:2260
0000013 g_type_class_ref (type=<optimized out>) at ../glib/gobject/gtype.c:3014
0000014 0x00007ffff0180982 in g_object_new_valist
    (object_type=0x5555584ffdc0 [GtkFileChooserDialog/GtkDialog/GtkWindow/GtkBin/GtkContainer/GtkWidget/GInitiallyUnowned], first_property_name=first_property_name@entry=0x7fffebc13464 "title", var_args=var_args@entry=0x7fffffffdfc0) at ../glib/gobject/gobject.c:2499
0000015 0x00007ffff0180b8e in g_object_new
    (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7fffebc13464 "title")
    at ../glib/gobject/gobject.c:2040
0000016 0x00007fffeb96ab60 in gtk_file_chooser_dialog_new_valist
    (varargs=0x7fffffffe0a0, first_button_text=0x5555584ffd98 "Cancel", action=GTK_FILE_CHOOSER_ACTION_OPEN, parent=0x0, title=0x7ffff034c2de "") at ../gtk/gtk/gtkfilechooserdialog.c:669
0000017 gtk_file_chooser_dialog_new
    (title=0x7ffff034c2de "", parent=0x0, action=GTK_FILE_CHOOSER_ACTION_OPEN, first_button_text=0x5555584ffd98 "Cancel") at ../gtk/gtk/gtkfilechooserdialog.c:713
0000018 0x00007ffff0331e73 in QGtk3FileDialogHelper::QGtk3FileDialogHelper() (this=0x5555586cc320) at /usr/src/debug/qt5-base/qtbase/src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.cpp:245
0000019 QGtk3Theme::createPlatformDialogHelper(QPlatformTheme::DialogType) const (this=<optimized out>, type=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platformthemes/gtk3/qgtk3theme.cpp:172
0000020 0x00007ffff65718d6 in QDialogPrivate::platformHelper() const (this=0x555556cc7d80) at dialogs/qdialog.cpp:126
0000021 0x00007ffff658882f in QFileDialogPrivate::platformFileDialogHelper() const (this=0x555556cc7d80) at dialogs/qfiledialog_p.h:130
0000022 QFileDialogPrivate::init(QFileDialogArgs const&) (this=0x555556cc7d80, args=...) at dialogs/qfiledialog.cpp:3041
0000023 0x00007ffff657a6cf in QFileDialog::QFileDialog(QWidget*, QFlags<Qt::WindowType>) (this=<optimized out>, parent=0x5555586af4a0, f=..., this=<optimized out>, parent=<optimized out>, f=...) at dialogs/qfiledialog.cpp:363
0000024 0x0000555555fa36a3 in NewDocDialog::createOpenDocPage() ()
0000025 0x0000555555fa6c9e in NewDocDialog::NewDocDialog(QWidget*, QStringList const&, bool, QString const&) ()
0000026 0x0000555555cb38b9 in ScribusMainWindow::startUpDialog() ()
0000027 0x0000555555cceb07 in ScribusCore::startGUI(bool, bool, bool, QString const&) ()
0000028 0x0000555555cc0f9b in ScribusQApp::init() ()
0000029 0x000055555586557b in ()
0000030 0x00007ffff4e3c290 in __libc_start_call_main (main=main@entry=0x5555557f4890, argc=argc@entry=1, argv=argv@entry=0x7fffffffe7b8) at ../sysdeps/nptl/libc_start_call_main.h:58
0000031 0x00007ffff4e3c34a in __libc_start_main_impl (main=0x5555557f4890, argc=1, argv=0x7fffffffe7b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe7a8) at ../csu/libc-start.c:381
0000032 0x0000555555802595 in _start ()

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
2021-11-27 17:35 Ben Note Added: 0049387
2021-12-02 14:52 mrjavum Note Added: 0049394
2021-12-03 03:40 Ben Note Added: 0049396
2021-12-03 07:39 jghali Note Added: 0049398
2021-12-07 04:37 Ben Note Added: 0049408
2022-06-05 22:03 toasted Note Added: 0049686
2022-11-09 21:29 jghali Relationship added has duplicate 0016859
2022-12-26 13:54 pchris Note Added: 0049843