2003-09-04 21:21:52

by Jerome de Vivie

[permalink] [raw]
Subject: segfault in ksymoops

invalid operand: 0000
CPU: 0
EIP: 0010:[<c011ec37>] Not tainted
EFLAGS: 00010286
eax: 00000026 ebx: c1590f20 ecx: 00000000 edx: debf3f7c
esi: df0f500c edi: 00000000 ebp: daf6df98 esp: daf6df1c
ds: 0018 es: 0018 ss: 0018
Process ls (pid: 776, stackpage=daf6d000)
Stack: c0298ce0 000000f8 c014f7d9 000000f8 debfbde0 00000004 00000008 ded91040
debfbde0 df0f5007 00000004 01aa954b bffffb94 daf6df98 df0f5000 00000000
00000008 c014f9e9 df0f5000 df0f5000 daf6df98 c014fd39 bffffb94 00000077
Call Trace: [<c014f7d9>] [<c014f9e9>] [<c014fd39>] [<c014be5f>] [<c0107713>]

Code: 0f 0b 8d 00 06 8d 29 c0 90 eb fe 8d b4 26 00 00 00 00 8d bc


Attachments:
oops (676.00 B)

2003-09-07 12:44:24

by Keith Owens

[permalink] [raw]
Subject: Re: segfault in ksymoops

On Thu, 04 Sep 2003 23:24:24 +0200,
Jerome de Vivie <[email protected]> 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.

2003-09-07 21:19:55

by Jerome de Vivie

[permalink] [raw]
Subject: Re: segfault in ksymoops

Keith Owens wrote:
>
> On Thu, 04 Sep 2003 23:24:24 +0200,
> Jerome de Vivie <[email protected]> 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