[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2
From: |
Ludovic Courtès |
Subject: |
[Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2 |
Date: |
Tue, 23 Feb 2010 11:46:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hi,
Todd Rovito <address@hidden> writes:
> This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
[...]
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x0000000100001100
> 0x0000000100001100 in codeBuffer ()
Could it be that Darwin clears the execution bit on data segments?
You could try allocating ‘codeBuffer’ like this:
codeBuffer = mmap (NULL, 1024, PROT_EXEC | PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, -1);
Hope this helps,
Ludo’.
- [Lightning] failure with GNU lightning on Mac OS X 10.6.2, Todd Rovito, 2010/02/23
- [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2,
Ludovic Courtès <=
- Re: [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2, Todd Rovito, 2010/02/23
- Re: [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2, Paolo Bonzini, 2010/02/23
- Re: [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2, Todd Rovito, 2010/02/23
- Re: [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2, Paolo Bonzini, 2010/02/23
- Re: [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2, Todd Rovito, 2010/02/23
- Re: [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2, Paolo Bonzini, 2010/02/23
- Re: [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2, Todd Rovito, 2010/02/23
- Re: [Lightning] Re: failure with GNU lightning on Mac OS X 10.6.2, Ludovic Courtès, 2010/02/24