[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#626001: sigseg in memset (powerpc)



Jörg Sommer wrote:
> Jonathan Nieder hat am Sat 07. May, 17:06 (-0500) geschrieben:

>> I'd also be interested in disassembly for frame 2 or 3, so we can get
>> some idea of what grep was doing.
>
> This wasn't very easy. I had to rebuild grep with the old version, but
> here it is:

Thanks!  That's more than what I was asking for, by the way. :)

[...]
> #1  0x0fed241c in __libc_calloc (n=<value optimized out>, elem_size=<value optimized out>) at malloc.c:4123
>         av = 0xffc9268
>         oldtop = 0x103fcd18
>         bytes = 4
>         csz = <value optimized out>
>         oldtopsize = 82664
>         mem = 0xffc9265
>         clearsize = <value optimized out>
>         nclears = <value optimized out>
>         __func__ = "__libc_calloc"
> #2  0x10018700 in xrealloc (p=<value optimized out>, n=<value optimized out>) at xmalloc.c:61
> No locals.

Hm, this seems odd --- wouldn't xrealloc call realloc (which calls malloc),
not calloc?

So I suppose output from "frame 2; disas; frame 3; disas" would still
be useful, or even better, I should just find time to spend on a
powerpc porterbox to analyze the core dump you sent.

Thanks again.
Jonathan



Reply to: