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 ,
args=0x7fffffffd480, str_array=0x0) at gfileutils.c:1503
element = (
const gchar *) 0x19
start = (const gchar *) 0x4108cf "last.tsc"
end = (const gchar *) 0x8 address>
result = (GString *) 0x906ae0
separator_len = 1
is_first = 0
have_leading = 1
single_element = (const gchar *) 0x0
next_element = (
const gchar *) 0x10
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

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

Sean


_______________________________________________
freebsd-gnome@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"