Re: segfault in ksymoops

From: Jerome de Vivie
Date: Sun Sep 07 2003 - 16:21:44 EST


Keith Owens wrote:
>
> On Thu, 04 Sep 2003 23:24:24 +0200,
> Jerome de Vivie <jerome.devivie@xxxxxxx> wrote:
> >> I have try ksymoops v2.4.9, v2.4.8 & v2.4.7 and each time i get a
> >> segmentation fault. Here's the output: (the oops file is attached).
> >#5 0x0804e3d1 in Oops_set_default_ta (me=0x82fd5c8 "./ksymoops",
> >ibfd=0x83157f8, options=0xbffff8c0) at oops.c:89
> > procname = "Oops_set_default_ta"
> > bt = 0x736b2f2e <Address 0x736b2f2e out of bounds>
> > bai = (const struct bfd_arch_info *) 0x4008c9a0
> > t = 1
> > a = 1
>
> oops.c::67, the call to bfd_get_target()
> bt = bfd_get_target(ibfd); /* Bah, undocumented bfd function */
> is returning garbage. Ask the binutils people why this is so.

I have try the latest binutils 2.13.1 with no success.

With this version, thoses two lines in the Makefile seems to be mutaly
exclusive:

STATIC := -Wl,-Bstatic
DYNAMIC := -Wl,-Bdynamic

After installing binutils 2.9.5.0.22, it links and work.


Thank you for your support: i've got my oops decoded :)

regards,

j.

--
Jérôme de Vivie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/