Hi
and thanks for your work with this problem.
As you expected crash silently just loops and I spotted the problem by turning on debug
printouts.
If I include printouts for the "cache" address, the first value seems
reasonable, but then it starts to repeat with the value 0x00000001.
Last, your patch solves the problem nicely. I get a warning about duplicate kmem_slab
entry and crash continues to execute and issues other warnings indicating a corrupt vmcore
file.
Jan
Jan Karlsson
Senior Software Engineer
MIB
 
Sony Mobile Communications
Tel: +46703062174
sonymobile.com
 
-----Original Message-----
From: crash-utility-bounces(a)redhat.com [mailto:crash-utility-bounces@redhat.com] On Behalf
Of Dave Anderson
Sent: onsdag den 25 april 2012 20:30
To: Discussion list for crash utility usage, maintenance and development
Subject: Re: [Crash-utility] loop in crash
----- Original Message -----
 
 So I don't understand how you got into a loop unless the kmem_cache 
 list walk-through is the real problem.  If you were to print out the "cache"
 address each time through the do-while loop, does the list start 
 repeating itself?
 
 And if that's true, perhaps the kmem_cache_init() should use the
 hq_open()/hq_enter()/hq_close() facility on each cache address to 
 catch a duplicate (false) entry. 
And if that's true, does the attached patch help?
Thanks,
  Dave