[LLVMdev] Unallocated address error triggered from ::RALinScan::assignRegOrStackSlotAtInterval on i386

Yuri yuri at rawbw.com
Thu Mar 31 20:24:31 PDT 2011


On 03/31/2011 19:48, Duncan Sands wrote:
> Hi Yuri,
>
>    
>> I am debugging the memory issue that manifests itself like this:
>>
>> *** glibc detected *** ../app/app.OWS: free(): invalid pointer: 0x0ad391fc ***
>>      
> try running under valgrind.  Note that if the program being JIT'd corrupts
> memory then this can cause the JIT itself to blow up

Will try valgrind.
It doesn't look like the program started running at the moment of 
failure, besides static constructors that are very simple and can't 
corrupt memory.
Also DisableLazyCompilation is set. That should force all compiles be 
done before the run.

Yuri



More information about the llvm-dev mailing list