Hi its the exact same problem with using 0.99 processing running and opengl sketch such as
trefoil with adding in some serial code to receive an input you get an out of memory error id also
Error with OPENGL and Processing 0.99 and using import library Serial and OpenGL
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
[0] "/dev/tty.usbserial-A9005cAv"
[1] "/dev/cu.usbserial-A9005cAv"
[2] "/dev/tty.Bluetooth-PDA-Sync"
[3] "/dev/cu.Bluetooth-PDA-Sync"
[4] "/dev/tty.Bluetooth-Modem"
[5] "/dev/cu.Bluetooth-Modem"
Invalid memory access of location 0x0 eip=0x95ca03ab
EXACT SAME LOCATION FOR MEMORY using processing 1.5.1 and GSGRAPHICS and SERIAL
GLGraphics version: 0.99
Maximum sprite size supported by the video card: 64.0 pixels.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
[0] "/dev/tty.usbserial-A9005cAv"
[1] "/dev/cu.usbserial-A9005cAv"
[2] "/dev/tty.Bluetooth-PDA-Sync"
[3] "/dev/cu.Bluetooth-PDA-Sync"
[4] "/dev/tty.Bluetooth-Modem"
[5] "/dev/cu.Bluetooth-Modem"
Invalid memory access of location 0x0 eip=0x95ca03ab
IS it to do with Arudino and a OpenGL sharing resources ????
It always gives the OpenGL error when it pops up with the crash report
some of it below cos its very very long
Process: java [441]
Path: /usr/bin/java
Identifier: com.apple.javajdk16.cmd
Version: 1.0 (1.0)
Code Type: X86 (Native)
Parent Process: JavaApplicationStub [436]
PlugIn Path: /Applications/Processing.app/Contents/Resources/Java/modes/java/libraries/opengl/library/macosx/libjogl.jnilib
PlugIn Identifier: libjogl.jnilib
PlugIn Version: ??? (???)
Date/Time: 2011-08-23 13:55:41.620 +0100
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 63899 sec
Crashes Since Last Report: 44
Per-App Interval Since Last Report: 11816 sec
Per-App Crashes Since Last Report: 44
Anonymous UUID: 92B35772-0973-4D82-91D3-AE4278BAC248
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 27 Java: Thread-3
Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=0000000095ca03ab
Java VM: Java HotSpot(TM) Client VM (20.1-b02-384 mixed mode macosx-x86)
Current thread (00000000100acc00): JavaThread "Thread-3" [_thread_in_native, id=-1315184640, stack(00000000b18be000,00000000b19be000)]
Stack: [00000000b18be000,00000000b19be000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.opengl.impl.GLImpl.glGetError()I+0
j processing.opengl.PGraphicsOpenGL.report(Ljava/lang/String;)V+14
j codeanticode.glgraphics.GLGraphics.renderTriangles(II)V+3
j processing.core.PGraphics3D.endShape(I)V+142
j processing.core.PGraphics.endShape()V+2
j processing.core.PGraphics.quad(FFFFFFFF)V+36
j processing.core.PGraphics.rectImpl(FFFF)V+11
j processing.core.PGraphics.rect(FFFF)V+152
j processing.core.PApplet.rect(FFFF)V+28
j LunaSwarmTest.serialEvent(Lprocessing/serial/Serial;)V+22
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j processing.serial.Serial.serialEvent(Lgnu/io/SerialPortEvent;)V+153
j gnu.io.RXTXPort.sendEvent(IZ)Z+382
v ~StubRoutines::call_stub
j gnu.io.RXTXPort.eventLoop()V+0
j gnu.io.RXTXPort$MonitorThread.run()V+12
v ~StubRoutines::call_stub