help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] JIT crashes due non-executable memory


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] JIT crashes due non-executable memory
Date: Sun, 2 Jun 2013 17:04:38 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Jun 02, 2013 at 02:01:32PM +0200, Holger Hans Peter Freyther wrote:
> On Tue, Jan 22, 2013 at 06:26:51PM +0100, Holger Hans Peter Freyther wrote:

> +
> +  jit_flush_code(_gst_run_native_code, jit_get_ip().ptr);

I have found another issue with the bootstrap and now have some basic
JIT working and started to look into the test failures:

One of them is this:
  (Delay forMilliseconds: 100) value: [ [true] whileTrue ] onTimeoutDo: []


Object: BlockContext new: 8 "<-0x4cc86ae0>" error: Invalid index -1: index out 
of range
SystemExceptions.IndexOutOfRange(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.IndexOutOfRange class>>signalOn:withIndex: (SysExcept.st:660)
BlockContext(Object)>>checkIndexableBounds: (Object.st:796)
BlockContext(Object)>>at: (Object.st:858)
BlockContext(ContextPart)>>at: (ContextPart.st:294)
[] in BlockClosure>>asContext: (BlkClosure.st:180)
BlockContext class>>fromClosure:parent: (BlkContext.st:68)
optimized [] in UndefinedObject>>executeStatements (a String:1)
BlockClosure>>ensure: (BlkClosure.st:270)
[] in Delay>>value:onTimeoutDo: (Delay.st:315)
BlockClosure>>on:do: (BlkClosure.st:195)
Delay>>value:onTimeoutDo: (Delay.st:316)
UndefinedObject>>executeStatements (a String:1)


this appears to come from the fact that:

An instance of BlockContext
  parent: BlockClosure>>ensure: (BlkClosure.st:270)
  nativeIP: 74241900
  ip: 0
  sp: -1
  receiver: UndefinedObject
  method: [] in UndefinedObject>>executeStatements
  outerContext: nil


while the sp for the BC is 0.


does this ring a bell?

        holger



reply via email to

[Prev in Thread] Current Thread [Next in Thread]