Skip to contentSkip to conversation

Kernel 3.5.0 and user-space crash in closedir

DISCUSSION Ben Greear 1 participant 1 message Aug 9, 2012

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

Hello!

I've a strange issue...on the 3.5 kernel (patched with my own hacks, including some nfs stuff), I see user-space crashes in closedir(). Apparently due to memory corruption in glibc.

I ran under valgrind and detect no errors.

I cannot reproduce the bug on 3.3.x kernels (with similar hacks applied).

I am curious if anyone has seen anything similar.

Program terminated with signal 11, Segmentation fault.
#0 0x0000003c5ea7ea64 in _int_free (av=0x3c5edb1700, p=0x374e4b0, have_lock=0)

    at malloc.c:4097
4097		unlink(av, nextchunk, bck, fwd);
(gdb) bt
#0  0x0000003c5ea7ea64 in _int_free (av=0x3c5edb1700, p=0x374e4b0, have_lock=0)
    at malloc.c:4097
#1  0x0000003c5eab957d in __closedir (dirp=<optimized out>)
    at ../sysdeps/unix/closedir.c:52

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com