[Vm-dev] Re: [Pharo-project] compiled VM with Alien for JNIPort

Mariano Martinez Peck marianopeck at gmail.com
Thu May 12 14:16:39 UTC 2011


No idea. Maybe cc'ing vm list may help.


On Tue, May 10, 2011 at 10:27 PM, laurent laffont <laurent.laffont at gmail.com
> wrote:

> So following Mariano's blog and pharocasts I've built Cog with
> IA32ABIPlugin (works, cool !)
>
> When starting the JVM following JNIPort instructions on SqueakSource wiki,
> the VM crashes.
>
> GDB bt gives:
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
> 0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0x000d267a in primCallOutIntegralReturn () at
> /Users/laurentlaffont/dev/pharo/vm/blessed/src/plugins/IA32ABI/IA32ABI.c:500
> #2  0x00023a3e in interpret () at
> /Users/laurentlaffont/dev/pharo/vm/blessed/src/vm/gcc3x-cointerpmt.c:2037
> #3  0x962ede02 in __CFRunLoopDoObservers ()
> #4  0x962a9d8d in __CFRunLoopRun ()
> #5  0x962a9464 in CFRunLoopRunSpecific ()
> #6  0x962a9291 in CFRunLoopRunInMode ()
> #7  0x934dce04 in RunCurrentEventLoopInMode ()
> #8  0x934dcaf5 in ReceiveNextEventCommon ()
> #9  0x934dca3e in BlockUntilNextEventMatchingListInMode ()
> #10 0x9644778d in _DPSNextEvent ()
> #11 0x96446fce in -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] ()
> #12 0x96409247 in -[NSApplication run] ()
> #13 0x964012d9 in NSApplicationMain ()
> #14 0x00078247 in main (argc=1, argv=0xbffff680, envp=0xbffff688) at
> /Users/laurentlaffont/dev/pharo/vm/blessed/platforms/iOS/vm/Common/main.m:52
> (gdb)
>
> Any idea ?
>
> Laurent.
>
>
> On Tue, May 10, 2011 at 12:37 AM, Eliot Miranda <eliot.miranda at gmail.com>wrote:
>
>>
>>
>> On Mon, May 9, 2011 at 1:01 PM, Igor Stasenko <siguctua at gmail.com> wrote:
>>
>>> On 9 May 2011 21:23, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>>> >
>>> >
>>> > On Mon, May 9, 2011 at 11:27 AM, laurent laffont <
>>> laurent.laffont at gmail.com>
>>> > wrote:
>>> >>
>>> >> On Mon, May 9, 2011 at 4:02 PM, laurent laffont
>>> >> <laurent.laffont at gmail.com> wrote:
>>> >>>
>>> >>> Hi,
>>> >>>
>>> >>> is there a compiled VM available with Alien for OSX ? I want to use
>>> >>> JNIPort.
>>> >>
>>> >>
>>> >> Second question, if I need to compile the VM, which one should I use
>>> for
>>> >> Alien ? Cog is OK ?
>>> >
>>> > Yes.  Cog is OK.
>>>
>>> And what plugin? NewsqueakIA32ABIPlugin, right?
>>>
>>
>> No, just IA32ABIPlugin.  The difference between the two is only
>> that NewsqueakIA32ABIPlugin implements immutability checks.
>>
>>
>>>
>>> >
>>> >>
>>> >> Laurent
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>>
>>>
>>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110512/5af33dd1/attachment.htm


More information about the Vm-dev mailing list