Hello,
Sorry for the late repsonse, but I wasn't behind my computer for a couple of days.
I created a stack trace, with the following result:
#0 0x4007f713 in GC_mark_from () from /usr/lib/libgc.so.1
#1 0x4007f399 in GC_mark_some () from /usr/lib/libgc.so.1
#2 0x400786f5 in GC_stopped_mark () from /usr/lib/libgc.so.1
#3 0x40078322 in GC_try_to_collect_inner () from /usr/lib/libgc.so.1
#4 0x4008209a in GC_init_inner () from /usr/lib/libgc.so.1
#5 0x4007db35 in GC_generic_malloc_inner () from /usr/lib/libgc.so.1
#6 0x4007dc91 in GC_generic_malloc () from /usr/lib/libgc.so.1
#7 0x4007df85 in GC_malloc () from /usr/lib/libgc.so.1
#8 0x080e5ced in operator new (size=508, scan=138322128, collect=AUTO, cleanup=0, data=0x1fc) at gc-core.h:82
#9 0x08201cda in sp_repr_new (name=0xbf7ff8b4 "svg:svg") at gc-managed.h:55
#10 0x081feb92 in sp_repr_svg_read_node (node=0x83d2858, default_ns=0x82f0a8f "http://www.w3.org/2000/svg", prefix_map=0x83c9ae0)
at xml/repr-io.cpp:278
#11 0x081fe9b6 in sp_repr_do_read (doc=0x83ca690, default_ns=0x82f0a8f "http://www.w3.org/2000/svg") at xml/repr-io.cpp:188
#12 0x081fe4c8 in sp_repr_read_file (filename=0x83ca690 "", default_ns=0x1fc <Address 0x1fc out of bounds>) at xml/repr-io.cpp:87
#13 0x080d7a98 in sp_document_new (uri=0x8381f9c "/users/software/jdewinne/sandboxes/iStudioNG/src/svg/latest.svg", advertize=508,
keepalive=508, make_new=false) at document.cpp:386
#14 0x080d61f8 in LayoutRenderer::renderLayout (this=0x0) at basic_string.h:717
#15 0x080d65f4 in LayoutRenderer::startRendering (ptr=0xbffff800) at LayoutRenderer.cpp:89
#16 0x409dee51 in pthread_start_thread () from /lib/libpthread.so.0
#17 0x409deecf in pthread_start_thread_event () from /lib/libpthread.so.0
#18 0x40bf892a in clone () from /lib/libc.so.6
I hope this might give some more information.
I also call gtk_init() and Inkscape::GC::init(), but in a different thread (the main thread).
All help is still welcome!
Joris
-----Original Message-----
From: MenTaLguY [mailto:mental@...3...]
Sent: donderdag 2 juni 2005 4:16
To: De Winne, Joris
Cc: 'inkscape-devel@lists.sourceforge.net'
Subject: Re: [Inkscape-devel] sp_document_new
Are you calling Inkscape::GC::init() once as well as gtk_init()?
I still wouldn't have expected it to reach the point where it seemingly
did, but I still don't have much information to go on. Could you give
me a full backtrace rather than just the topmost entry?
-mental