[Crash-utility] [PATCH]: double free in trace extension
Dave Anderson
anderson at redhat.com
Wed May 9 12:45:44 UTC 2012
----- Original Message -----
> Hi Dave and other list readers,
>
> First, just like some other contributors, I've come across an issue
> triggered by a dump being corrupt. In my case it's this code in
> kernel.c:cpu_maps_init():
>
> if (*maskptr & (0x1UL << c)) {
> cpu = (i * BITS_PER_LONG) + c;
> kt->cpu_flags[cpu] |= mapinfo[m].cpu_flag;
> }
>
> The mask is corrupt, making Crash believe there are more CPU's than the
> four we have allocated space for in kernel.c:kernel_init. How do you
> think this should be handled?
Does the "crash --cpus <number> ..." command-line option work around it?
Dave
More information about the Crash-utility
mailing list