[Top][All Lists]

[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 (
SystemExceptions.IndexOutOfRange class>>signalOn:withIndex: (
BlockContext(Object)>>checkIndexableBounds: (
BlockContext(Object)>>at: (
BlockContext(ContextPart)>>at: (
[] in BlockClosure>>asContext: (
BlockContext class>>fromClosure:parent: (
optimized [] in UndefinedObject>>executeStatements (a String:1)
BlockClosure>>ensure: (
[] in Delay>>value:onTimeoutDo: (
BlockClosure>>on:do: (
Delay>>value:onTimeoutDo: (
UndefinedObject>>executeStatements (a String:1)

this appears to come from the fact that:

An instance of BlockContext
  parent: BlockClosure>>ensure: (
  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?


reply via email to

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