[Xfc-dev] xfc-demo crahses at Stock Item and Icon Browser (was Re: ANNOUNCE: XFC 4.3.1)
Jeff Franks
jcfranks at tpg.com.au
Sat Jun 18 12:49:39 CEST 2005
Daichi Kawahata wrote:
>On Sat, 18 Jun 2005 19:10:46 +1000
>Jeff Franks wrote:
>
>
>
>>>Here's another problem however. Whenever I try to run 'Stock Item ...'
>>>in xfc-demo, it crashes while it works in gtk-demo. As I couldn't be
>>>convinced, I hesitate to address this problem here, but could you tell
>>>me whether attached trace log is useful (with dbx, on gdb debugging,
>>>gdb itself would crash) ?
>>>
>>>
>>Are you still using g++ 4.0
>>
>>
>
>Yes, with GTK+ 2.6.7, Glib 2.6.5.
>
>
>
I don't know about this one. I use g++ 4.0, gtk+ 2.6.7 and glib 2.6.5
too, on FC3/FC4, and xfc-demo's Stock Item runs OK. I can only assume
that it must be something to do with IRIX. I notice that the SIGSEGV
signal is generated by this libary call to strlen():
0 strlen(0x8, 0x10585e50, 0x1, 0x4613408, 0xf, 0x0, 0x10132588, 0xffbffeff) ["/xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/strings/strlen.s":58, 0xfa502b0]
which is called like this:
strlen() in libc_n32_M4 <--- g_strdup() <---
Xfc::Gtk::StockItem::set() <--- Xfc::Gtk::Stock::lookup()
and g_strdup() is reporting a null string (new_str = nil and length = 0
in item 3) .
I will have to have a think about this. Is there a longer log or is the
one you sent it. I know I didn't take null string values into account
because g_strdup() handles null values without error.
I will have to get back to you,
Jeff.
More information about the Xfc-dev
mailing list