On Wednesday 20 May 2009 04:38:31 Nathan Wharton wrote:
Everything works fine otherwise. Except one thing that just came to mind, I had to remove -DDEBUG_MALLOC -DMEMORY_USAGE because batman wouldn't do anything without crashing because of magic number problems. Could this be because I am on Big Endian hardware?
I am running it also on big endian hardware and it seems to work. Does it happen right after the start or were extra interaction needed? What was the error output?
It happens right after the start, and the error is debugRealloc - invalid magic number in trailer.
The DEBUG_MALLOC option enables additional functions within batman that allow it to easily trace back malloc bugs. A simple core dump might help but sometimes it is hard to say where it is coming from. Could you post the exact "invalid trailer number" line ?
I'm a bit confused here: * Is batman crashing ? * Is the kernel crashing ? * Is batman crashing if you use the batgat module ?
Regards, Marek