View Issue Details

IDProjectCategoryView StatusLast Update
0014774ScribusColor Managementpublic2017-06-25 17:07
ReporterLaser Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformPCOSArchlinuxOS Versionuptodate
Product Version1.5.3.svn 
Target VersionFixed in Version 
Summary0014774: Crash when saving color palette
DescriptionWhen trying to add colors to a color palette and saving this as a new color palette Scribus crashes with signal 0000011.
Additional InformationTried this with adding new colors and with imported colors from a pdf.
Tagscolor management
PatchNo

Activities

PeterBenedek

2017-04-25 12:57

developer   ~0043837

Tested r22002 (1.5.3svn)

I can't reproduce. Works well.

jghali

2017-04-25 17:32

administrator   ~0043841

I cannot reproduce either with current build.

Laser

2017-04-25 17:48

reporter   ~0043842

Damnit, I always get it.
Current build.
Any idea what other factors could be?

jghali

2017-04-25 19:31

administrator   ~0043843

No. In such case you should provide us a backtrace of the crash.

Laser

2017-04-25 19:44

reporter   ~0043844

I'm not able to make it better...

screencast.flv (853,246 bytes)

PeterBenedek

2017-04-26 04:22

developer   ~0043845

What is this you use? Appimage file?

Laser

2017-04-26 13:02

reporter   ~0043848

Is this the backtrace you want?

[jochen@pinguin ~]$ /opt/bin/scribus
sizeof(TrkHeader)=1000
ReaderWriterTF::writeObject
FFmpegImageStream::open : av_open_input_file() failed : AVERROR_NOENT
pathForIcon: Unable to load icon /opt/share/scribus/icons/1_5_1/zeichen.png: File not found
pathForIcon: Unable to load icon /opt/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /opt/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /opt/share/scribus/icons/1_5_1/register.png: File not found
Scribus ist abgestürzt
-------------
Absturz durch Signal 0000011
Speicherzugriffsfehler (Speicherabzug geschrieben)

And it's not an AppImage. I installed Scribus1.5 (1.5.3 r22002) from the AUR in /opt.

jghali

2017-04-26 14:03

administrator   ~0043850

No, backtrace are obtained by running scribus inside gdb:
https://wiki.scribus.net/canvas/How_to_debug_for_reporting

Laser

2017-04-26 14:17

reporter   ~0043851

Still learning...

Scribus totally freezed.

(gdb) run
Starting program: /opt/bin/scribus
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe3d83700 (LWP 10178)]
[New Thread 0x7fffd9829700 (LWP 10179)]
[New Thread 0x7fffd9028700 (LWP 10180)]
[New Thread 0x7fffd3fff700 (LWP 10181)]
[New Thread 0x7fffd37fe700 (LWP 10182)]
[New Thread 0x7fffbfd93700 (LWP 10183)]
sizeof(TrkHeader)=1000
ReaderWriterTF::writeObject
FFmpegImageStream::open : av_open_input_file() failed : AVERROR_NOENT
[New Thread 0x7fffa871e700 (LWP 10189)]
[Thread 0x7fffa871e700 (LWP 10189) exited]
pathForIcon: Unable to load icon /opt/share/scribus/icons/1_5_1/zeichen.png: File not found
[New Thread 0x7fffa871e700 (LWP 10194)]
[New Thread 0x7fffa7f1d700 (LWP 10196)]
[New Thread 0x7fffa771c700 (LWP 10197)]
[New Thread 0x7fffa6f1b700 (LWP 10198)]
[New Thread 0x7fffa671a700 (LWP 10199)]

(scribus:10174): Gtk-WARNING **: Invalid input string

(scribus:10174): Gtk-WARNING **: Invalid input string
[New Thread 0x7fffa4f3d700 (LWP 10201)]
[New Thread 0x7fffa2f57700 (LWP 10202)]
[Thread 0x7fffa671a700 (LWP 10199) exited]
[Thread 0x7fffa7f1d700 (LWP 10196) exited]
[Thread 0x7fffa6f1b700 (LWP 10198) exited]
[Thread 0x7fffa771c700 (LWP 10197) exited]
[Thread 0x7fffa871e700 (LWP 10194) exited]
[Thread 0x7fffa4f3d700 (LWP 10201) exited]
pathForIcon: Unable to load icon /opt/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /opt/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /opt/share/scribus/icons/1_5_1/register.png: File not found

Thread 1 "scribus" received signal SIGSEGV, Segmentation fault.
0x0000000000d4babb in QTreeWidgetItem::text(int) const ()
(gdb) bt
#0 0x0000000000d4babb in QTreeWidgetItem::text(int) const ()
0000001 0x0000000000d39bc0 in ColorsAndFillsDialog::saveDefaults() ()
0000002 0x00007fffefe07d49 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
0000003 0x00007ffff0ba6d02 in QAbstractButton::clicked(bool) () at /usr/lib/libQt5Widgets.so.5
0000004 0x00007ffff0ba6f54 in () at /usr/lib/libQt5Widgets.so.5
0000005 0x00007ffff0ba8347 in () at /usr/lib/libQt5Widgets.so.5
0000006 0x00007ffff0ba8524 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
0000007 0x00007ffff0b05cd8 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000008 0x00007ffff0abe34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000009 0x00007ffff0ac68c5 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000010 0x00007fffefddc440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
0000011 0x00007ffff0ac50cd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQt5Widgets.so.5
0000012 0x00007ffff0b203e6 in () at /usr/lib/libQt5Widgets.so.5
0000013 0x00007ffff0b22e03 in () at /usr/lib/libQt5Widgets.so.5
0000014 0x00007ffff0abe34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000015 0x00007ffff0ac5b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000016 0x00007fffefddc440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
0000017 0x00007ffff0329d53 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
0000018 0x00007ffff032b8c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
0000019 0x00007ffff030744b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
0000020 0x00007fffe5f5f9e0 in () at /usr/lib/libQt5XcbQpa.so.5
0000021 0x00007fffeaed45a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
0000022 0x00007fffeaed4810 in () at /usr/lib/libglib-2.0.so.0
0000023 0x00007fffeaed48bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
0000024 0x00007fffefe3104f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
0000025 0x00007fffefdda89a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
0000026 0x00007ffff0cac917 in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
0000027 0x0000000000b770c7 in ScribusMainWindow::manageColorsAndFills() ()
0000028 0x00000000006d3be7 in ()
0000029 0x00007fffefe07d49 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
0000030 0x00007ffff0ab7c92 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
0000031 0x00007ffff0aba3f0 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
0000032 0x00007ffff0c29f6a in () at /usr/lib/libQt5Widgets.so.5
0000033 0x00007ffff0c31304 in () at /usr/lib/libQt5Widgets.so.5
0000034 0x00007ffff0c321a0 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
0000035 0x00007ffff0b05cd8 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000036 0x00007ffff0c34513 in QMenu::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000037 0x00007ffff0abe34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000038 0x00007ffff0ac68c5 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000039 0x00007fffefddc440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
0000040 0x00007ffff0ac50cd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQt5Widgets.so.5
0000041 0x00007ffff0b207f6 in () at /usr/lib/libQt5Widgets.so.5
0000042 0x00007ffff0b22e03 in () at /usr/lib/libQt5Widgets.so.5
0000043 0x00007ffff0abe34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000044 0x00007ffff0ac5b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
0000045 0x00007fffefddc440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
0000046 0x00007ffff0329d53 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
0000047 0x00007ffff032b8c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
0000048 0x00007ffff030744b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
0000049 0x00007fffe5f5f9e0 in () at /usr/lib/libQt5XcbQpa.so.5
0000050 0x00007fffeaed45a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
0000051 0x00007fffeaed4810 in () at /usr/lib/libglib-2.0.so.0
0000052 0x00007fffeaed48bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
0000053 0x00007fffefe3104f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
0000054 0x00007fffefdda89a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
0000055 0x00007fffefde2de4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
0000056 0x000000000109fc35 in mainApp(int, char**) ()
0000057 0x00007fffeef1e511 in __libc_start_main () at /usr/lib/libc.so.6
0000058 0x00000000006b87aa in _start ()
(gdb)

Laser

2017-05-03 12:50

reporter   ~0043894

I first made a user defined color palette and now I can edit and save all palettes.
Looks like this is the problem. Removing all the user defined palettes from ./.local/share/scribus/palettes/ and crash again.
Reproduceable?

PeterBenedek

2017-05-03 14:40

developer   ~0043895

No.

apavlov

2017-06-25 17:07

reporter   ~0044086

FWIW, I'm getting this at startup:

$ scribus-ng
pathForIcon: Unable to load icon /usr/share/scribus-ng/icons/1_5_1/zeichen.png: File not found

The matter being that Zeichen.png is present, but the filename case doesn't match.

Issue History

Date Modified Username Field Change
2017-04-25 11:47 Laser New Issue
2017-04-25 11:47 Laser Tag Attached: color management
2017-04-25 12:57 PeterBenedek Note Added: 0043837
2017-04-25 17:27 jghali Priority high => normal
2017-04-25 17:32 jghali Note Added: 0043841
2017-04-25 17:48 Laser Note Added: 0043842
2017-04-25 19:31 jghali Note Added: 0043843
2017-04-25 19:44 Laser File Added: screencast.flv
2017-04-25 19:44 Laser Note Added: 0043844
2017-04-26 04:22 PeterBenedek Note Added: 0043845
2017-04-26 13:02 Laser Note Added: 0043848
2017-04-26 14:03 jghali Note Added: 0043850
2017-04-26 14:17 Laser File Added: Bildschirmfoto_2017-04-26_16-12-04.png
2017-04-26 14:17 Laser Note Added: 0043851
2017-05-03 12:50 Laser Note Added: 0043894
2017-05-03 14:40 PeterBenedek Note Added: 0043895
2017-06-25 17:07 apavlov Note Added: 0044086