I am using slab cache in my module and turning on
Kernel hacking -> Debug memory allocations is bringing out following
message.
Sep 30 05:05:40 localhost kernel: Slab corruption: start=d326c2d4, len=12
3420 Sep 30 05:05:40 localhost kernel: Redzone: 0x676e6964/0x5a2cf071.
3421 Sep 30 05:05:40 localhost kernel: Last user: [<00000000>](0x0)
3422 Sep 30 05:05:40 localhost kernel: 000: 21 21 6b 6b 6b 6b 6b 6b 6b 6b
6b a5
3423 Sep 30 05:05:40 localhost kernel: Prev obj: start=d326c2bc, len=12
3424 Sep 30 05:05:40 localhost kernel: Redzone: 0x3431202c/0x3120656e.
3425 Sep 30 05:05:40 localhost kernel: Last user:
[<6e657320>](0x6e657320)
3426 Sep 30 05:05:40 localhost kernel: 000: 32 38 21 21 20 69 73 20 61 20
6c 69
3427 Sep 30 05:05:40 localhost kernel: Next obj: start=d326c2ec, len=12
3428 Sep 30 05:05:40 localhost kernel: Redzone: 0x170fc2a5/0x170fc2a5.
3429 Sep 30 05:05:40 localhost kernel: Last user:
[<e0921b0b>](alloc_data_buffers+0x2a/0x2c [ohsm])
3430 Sep 30 05:05:40 localhost kernel: 000: 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a
5a a5
3431 Sep 30 05:05:40 localhost kernel: slab error in
cache_alloc_debugcheck_after(): cache `ddoq_buffer': do uble free, or
memory outside object was overwritten
I know it is not double freeing of memory, I have checked few times.
Is there some documentation which can explain and give some hints how to
debug memory over write condition.
Any help is appreciated.
Talib
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/