tsclient segfault with gnome 2.4 (original) (raw)

Sean McNeil sean at mcneil.com
Mon May 1 07:26:17 UTC 2006


On Sun, 2006-04-30 at 23:56 -0400, Joe Marcus Clarke wrote:

On Sun, 2006-04-30 at 20:18 -0700, Sean McNeil wrote: > Folks, > > Got an amd64 -CURRENT machine here and I get the following when I bring > up tsclient and just hit the cancel button (same thing happens when I > try to connect):

I can't reproduce. Can you get a backtrace with tsclient and glib20 built with debugging symbols?

Here you go:

(gdb) bt full #0 0x0000000803910106 in g_build_path_va (separator=0x4108cd "/", first_element=0x1 <Error reading address 0x1: Bad address>, args=0x7fffffffd480, str_array=0x0) at gfileutils.c:1503 element = ( const gchar *) 0x19 <Error reading address 0x19: Bad address> start = (const gchar *) 0x4108cf "last.tsc" end = (const gchar *) 0x8 <Error reading address 0x8: Bad address> result = (GString *) 0x906ae0 separator_len = 1 is_first = 0 have_leading = 1 single_element = (const gchar *) 0x0 next_element = ( const gchar *) 0x10 <Error reading address 0x10: Bad address> last_trailing = (const gchar *) 0x4108d7 "" i = 0 #1 0x00000008039103af in IA__g_build_path (separator=0x7b207d "", first_element=0x4108d7 "") at gfileutils.c:1638 args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffd560, reg_save_area = 0x7fffffffd4a0}} PRETTY_FUNCTION = "IA__g_build_path" #2 0x000000000040d4d6 in on_btnQuit_clicked (button=0x6fcefd, user_data=0x4108d7) at connect.c:1328

where

1328 gchar *filename = g_build_path ("/", home, "last.tsc"); (gdb) p home $1 = (gchar *) 0x59d540 "/home/sean/.tsclient"

This looks like a varargs issue. I am getting a non-null returned from

1497 next_element = va_arg (*args, gchar *);

after the "last.tsc":

(gdb) p next_element $9 = (const gchar *) 0x19 <Error reading address 0x19: Bad address>

[sean at triton ~]$ uname -a FreeBSD triton.mcneil.com 6.1-RC FreeBSD 6.1-RC #75: Sun Apr 30 21:37:31 PDT 2006 root at triton.mcneil.com:/usr/obj/usr/src/sys/TRITON amd64

Sean



More information about the freebsd-gnome mailing list