[K42-discussion] Problem with changing FairLock class
Alex Depoutovitch
siroko at gmail.com
Wed Dec 21 10:58:19 EST 2005
Hi,
I tired to add data member to FairLock class. I changed size of
spinlock_t structure accordingly so that they have the same size.
But after I have done it K42 crashes during boot process with:
---
.......
NET: Registered protocol family 16
/lewis/d/d1/depout/k42/kitchsrc/os/kernel/proc/ProcessShared.C,255:
Invalid memory access: processID 0x0 addr 0x0, type
-6917529026567294926
GDB got trap: Data Storage Interrupt
vector=0x300, sr=0xa00000004000b032, pc=0x0 lr=0xc000000002338020
Kernel Connecting to GDB via thinwire channel
-----
Connecting with gdb does not help much as stack is corrupted and bt
command returns:
--
(gdb) bt
#0 0x0000000000000000 in ?? ()
--
Could anybody please tell me how to change size of FairLock structure
in a right way? Any suggestions are really appreciated.
Thank you,
Alex
More information about the K42-discussion
mailing list