[haiku-gsoc] Re: [ARM port] Fixing KDL memory access fault when printing the backtrace

  • From: Arvind S Raj <sraj.arvind@xxxxxxxxx>
  • To: haiku-gsoc <haiku-gsoc@xxxxxxxxxxxxx>
  • Date: Fri, 15 Aug 2014 20:14:05 +0530

Hello everyone,

On 12 August 2014 22:09, Arvind S Raj <sraj.arvind@xxxxxxxxx> wrote:
> On 12 August 2014 20:03, pulkomandy <pulkomandy@xxxxxxxxxxxxx> wrote:
>>
>> Either way is fine. Maybe the bootloader should setup a zeroed frame in
>> the kernel stack so the kernel stops there and doesn't try to analyze
>> bootloader functions?
>
> Setting up a zeroed frame sounds like a good idea. I'll work along those 
> lines.

I found another possible solution - ensure that the return address of
the stack frame is within the area allocated for the kernel. This
works fine here and I've uploaded the patch in ticket #11131.

Other related posts: