[scribus] Scribus 1.5.0 segmentation fault

Alessandro Levati 8av10s at tiscali.it
Sun Sep 30 19:17:00 UTC 2012


Hello,

I'm trying to build and install Scribus 1.5.0. on Fedora 17 (32-bit), 
but when I run the executable, I get a segmentation fault.

I built the program with the following cmake options:

cmake ../scribus150source/Scribus 
-DCMAKE_INSTALL_PREFIX:PATH=/opt/scribus_svn -DWANT_VERSIONING=1 
-DWANT_HUNSPELL=1 -DWITH_ASPELL=0 -DWANT_GUI_LANG="en_GB;it" -DWANT_DEBUG=1


I tried to run it under gdb and this is the result:

(gdb) run
Starting program: /opt/scribus_svn/bin/scribus-1.5.0.svn
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x08c3462c in _cairo_array_allocate (array=0x91bb414, num_elements=1, 
elements=0xbfffe488)
     at 
/home/alex/scribus150source/Scribus/scribus/third_party/cairo/cairo-array.c:321
321	    *elements = &(*array->elements)[array->num_elements * 
array->element_size];


and this is the backtrace:

#0  0x08c3462c in _cairo_array_allocate (array=0x91bb414, 
num_elements=1, elements=0xbfffe488)
     at 
/home/alex/scribus150source/Scribus/scribus/third_party/cairo/cairo-array.c:321
#1  0x08c345c5 in _cairo_array_append_multiple (array=0x91bb414, 
elements=0xbfffe4d0, num_elements=1)
     at 
/home/alex/scribus150source/Scribus/scribus/third_party/cairo/cairo-array.c:284
#2  0x08c34598 in _cairo_array_append (array=0x91bb414, element=0xbfffe4d0)
     at 
/home/alex/scribus150source/Scribus/scribus/third_party/cairo/cairo-array.c:259
#3  0x08c348b1 in _cairo_user_data_array_set_data (array=0x91bb414, 
key=0xb5a45d00, user_data=0x91b1e30, destroy=
     0xb59e06f0) at 
/home/alex/scribus150source/Scribus/scribus/third_party/cairo/cairo-array.c:486
#4  0x08c270f2 in cairo_surface_set_user_data (surface=0x91bb3f8, 
key=0xb5a45d00, user_data=0x91b1e30, destroy=
     0xb59e06f0) at 
/home/alex/scribus150source/Scribus/scribus/third_party/cairo/cairo-surface.c:709
#5  0xb59e38e6 in ?? () from /lib/libgdk-x11-2.0.so.0
#6  0xb59a5821 in ?? () from /lib/libgdk-x11-2.0.so.0
#7  0xb59b329f in ?? () from /lib/libgdk-x11-2.0.so.0
#8  0xb59a5821 in ?? () from /lib/libgdk-x11-2.0.so.0
#9  0xb599fe90 in gdk_cairo_create () from /lib/libgdk-x11-2.0.so.0
#10 0xb572d633 in ?? () from 
/usr/lib/gtk-2.0/2.10.0/engines/libindustrial.so
#11 0xb572ad88 in ?? () from 
/usr/lib/gtk-2.0/2.10.0/engines/libindustrial.so
#12 0xb5c3d344 in gtk_paint_box () from /lib/libgtk-x11-2.0.so.0
#13 0xb5be10f7 in ?? () from /lib/libgtk-x11-2.0.so.0
#14 0xb5d6033a in ?? () from /lib/libgtk-x11-2.0.so.0
#15 0xb5d605ce in ?? () from /lib/libgtk-x11-2.0.so.0
#16 0x43140b9b in g_cclosure_marshal_VOID__VOIDv () from 
/usr/lib/libgobject-2.0.so.0
#17 0x4313d668 in ?? () from /usr/lib/libgobject-2.0.so.0
#18 0x4313f042 in ?? () from /usr/lib/libgobject-2.0.so.0
#19 0x43158496 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#20 0x43158e74 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#21 0xb5cf5561 in gtk_widget_realize () from /lib/libgtk-x11-2.0.so.0
#22 0xb5cf6400 in gtk_widget_set_parent () from /lib/libgtk-x11-2.0.so.0
#23 0xb5b43b6f in gtk_fixed_put () from /lib/libgtk-x11-2.0.so.0
#24 0xb5b43bd5 in ?? () from /lib/libgtk-x11-2.0.so.0
#25 0x43141edd in g_cclosure_marshal_VOID__OBJECTv () from 
/usr/lib/libgobject-2.0.so.0
#26 0x4313d668 in ?? () from /usr/lib/libgobject-2.0.so.0
#27 0x4313f042 in ?? () from /usr/lib/libgobject-2.0.so.0
#28 0x43158496 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#29 0x43158e74 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#30 0xb5af87a6 in gtk_container_add () from /lib/libgtk-x11-2.0.so.0
#31 0x454ffd31 in ?? () from /lib/libQtGui.so.4
#32 0x45500de5 in ?? () from /lib/libQtGui.so.4
#33 0x45501317 in ?? () from /lib/libQtGui.so.4
#34 0x454fdb09 in ?? () from /lib/libQtGui.so.4
#35 0x454e2617 in QGtkStyle::QGtkStyle() () from /lib/libQtGui.so.4
#36 0x45457f8a in QStyleFactory::create(QString const&) () from 
/lib/libQtGui.so.4
#37 0x4511cee5 in QApplication::style() () from /lib/libQtGui.so.4
#38 0x45120105 in QApplicationPrivate::initialize() () from 
/lib/libQtGui.so.4
#39 0x45120227 in QApplicationPrivate::construct(_XDisplay*, unsigned 
long, unsigned long) ()
    from /lib/libQtGui.so.4
#40 0x45120b6f in QApplication::QApplication(int&, char**, int) () from 
/lib/libQtGui.so.4
#41 0x08775634 in ScribusQApp::ScribusQApp (this=0xbffff1a4, 
argc=@0xbffff1e0: 1, argv=0xbffff294)
     at /home/alex/scribus150source/Scribus/scribus/scribusapp.cpp:98
#42 0x08bfa925 in mainApp (argc=1, argv=0xbffff294) at 
/home/alex/scribus150source/Scribus/scribus/main_nix.cpp:71
#43 0x08bfa8eb in main (argc=1, argv=0xbffff294) at 
/home/alex/scribus150source/Scribus/scribus/main_nix.cpp:54


I'm not a programmer and I'm unable to interpret this result.
Any help would be appreciated.

Thank you and good night
Alessandro



More information about the scribus mailing list