[SOLVED] Scribus crashes with segfault

Archived topics about LMDE 1
Forum rules
Locked
Hansl
Level 2
Level 2
Posts: 84
Joined: Fri Dec 09, 2011 3:50 pm

[SOLVED] Scribus crashes with segfault

Post by Hansl » Fri Jul 17, 2015 12:53 pm

Hi,

I just installed scribus 1.4.0.dfsg+r17300-1.1 from Synaptic into a current LMDE1 UP8 x64 Mate system (which I just love, thanks Clem!).
But it did not start; from the terminal it only gives a Segmentation Fault. Any ideas, someone? A backtrace follows below. (BTW, I have a dual screen system with two different sized screens which probably causes the Xlib message. I see that on many programs without trouble.)

Thanks, Hans

Code: Select all

(gdb) run
Starting program: /usr/local/bin/scribus 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Xlib:  extension "RANDR" missing on display ":0.0".

Program received signal SIGSEGV, Segmentation fault.
0x0000000000f4f633 in _cairo_array_allocate ()
(gdb) bt
#0  0x0000000000f4f633 in _cairo_array_allocate ()
#1  0x0000000000f4f67e in _cairo_array_append_multiple ()
#2  0x0000000000f4f803 in _cairo_user_data_array_set_data ()
#3  0x00007fffe5086bed in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#4  0x00007fffe504f808 in gdk_cairo_create () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#5  0x00007fffddd6b853 in ?? () from /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
#6  0x00007fffddd6fcd4 in ?? () from /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
#7  0x00007fffe5445e4f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8  0x00007fffe5579d38 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9  0x00007fffef80a157 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fffef822248 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007fffef822f32 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007fffe55248e0 in gtk_widget_realize () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007fffe5525bb8 in gtk_widget_set_parent () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x00007fffe53cfb43 in gtk_fixed_put () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#15 0x00007fffef80cff7 in g_cclosure_marshal_VOID__OBJECTv () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007fffef80a157 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007fffef822248 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007fffef822f32 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff4f59dc6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff4f5acee in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007ffff4f5d6fb in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffff4f41a01 in QGtkStyle::QGtkStyle() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#23 0x00007ffff4ecc0e1 in QStyleFactory::create(QString const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffff4be2e95 in QApplication::style() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007ffff4be3285 in QApplicationPrivate::initialize() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007ffff4be33b2 in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007ffff4be361f in QApplication::QApplication(int&, char**, int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x0000000000a92f02 in ScribusQApp::ScribusQApp(int&, char**) ()
#29 0x0000000000f20835 in mainApp(int, char**) ()
#30 0x00007ffff1555995 in __libc_start_main (main=0x5e8f80 <main>, argc=1, ubp_av=0x7fffffffe988, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe978) at libc-start.c:276
#31 0x00000000005e97b9 in _start ()
(gdb) 
Last edited by Hansl on Wed Dec 02, 2015 2:01 pm, edited 1 time in total.

Hansl
Level 2
Level 2
Posts: 84
Joined: Fri Dec 09, 2011 3:50 pm

Re: Scribus crashes with segfault

Post by Hansl » Fri Nov 27, 2015 9:41 am

After upgrade to LMDE2 Mate x64 and purge/reinstall of Scribus it still crashes with segfault.
As root, sudo scribus, it starts up nicely.
Any ideas, someone?

Monsta
Level 9
Level 9
Posts: 2998
Joined: Fri Aug 19, 2011 3:46 am

Re: Scribus crashes with segfault

Post by Monsta » Fri Nov 27, 2015 4:05 pm

Well, it's either Scribus itself, or Qt theme which is set to GTK+. Try setting Qt theme to something else in Qt settings.
Scribus developers are aware of this issue but there wasn't any activity for a few years...

Hansl
Level 2
Level 2
Posts: 84
Joined: Fri Dec 09, 2011 3:50 pm

Re: Scribus crashes with segfault

Post by Hansl » Wed Dec 02, 2015 2:01 pm

I installed qt4-qtconfig and chose Cleanlooks — now Scribus works.

Thanks, Monsta, for pointing me to this obscure workaround!

Locked

Return to “Archive”