Serial input issue

arduino-0012 was working fine. I upgraded to ubuntu jaunty jackalope on my 64bit amd computer. Now, the serial interface causes the program to crash when opened... here is my output. any suggestions?

An unexpected error has been detected by Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f81f9eef69d, pid=5951, tid=140196206573904

Java VM: Java HotSpot(TM) 64-Bit Server VM (11.3-b02 mixed mode linux-amd64)

Problematic frame:

C [librxtxSerial.so+0x769d] read_byte_array+0x3d

If you would like to submit a bug report, please visit:

http://java.sun.com/webapps/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

--------------- T H R E A D ---------------

Current thread (0x00007f82000afc00): JavaThread "Thread-61" [_thread_in_native, id=6531, stack(0x00007f81f9077000,0x00007f81f9178000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xfffffffff91769e8

Registers: RAX=0xfffffffff91769e0, RBX=0x0000000000000023, RCX=0x0000000000000001, RDX=0x00007f8230bd5000 RSP=0x00007f81f9176110, RBP=0x00007f82000afdc0, RSI=0x00007f81f9ef25ec, RDI=0x00007f81f9ef257a R8 =0x0000000000000ffc, R9 =0x00007f82300f95b8, R10=0x00007f82300fd028, R11=0x00007f82300f2080 R12=0x0000000000000104, R13=0x00000000ffffffff, R14=0x00007f81f91762c8, R15=0x00007f82000afc00 RIP=0x00007f81f9eef69d, EFL=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000005 TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f81f9176110) 0x00007f81f9176110: 00007f81f9ef25ee 0000000042045268 0x00007f81f9176120: 00007f81f91761f0 000000012fc493a9 0x00007f81f9176130: 00007f81f9176247 00007f8200000023 0x00007f81f9176140: 00007f81f9ee8ca0 0000000042397db0 0x00007f81f9176150: 000000b400000002 fffffffff91769e0 0x00007f81f9176160: 0000000000000040 000000000010d2d0 0x00007f81f9176170: 0000000000000104 00007f820758c7f8 0x00007f81f9176180: 00007f81f91762c8 00007f82000afc00 0x00007f81f9176190: 00007f81f9ee8000 00007f82309c971a 0x00007f81f91761a0: 00007f8200000005 0000000000000000 0x00007f81f91761b0: 00007f82000afc00 000000b62fb7c161 0x00007f81f91761c0: 00007f81f9ee8ca0 0000000000000023 0x00007f81f91761d0: 00007f82000afdc0 00007f82309d0592 0x00007f81f91761e0: ffffffffffffffff 00007f81f9176247 0x00007f81f91761f0: 0000000000000023 0000000000000023 0x00007f81f9176200: 00007f82000afdc0 0000000000000104 0x00007f81f9176210: 00007f820758c7f8 00007f81f91762c8 0x00007f81f9176220: 00007f82000afc00 00007f81f9eefc68 0x00007f81f9176230: 00007f81f91762c8 0000000000000000 0x00007f81f9176240: 00007f81f91762a8 00007f820758c800 0x00007f81f9176250: 00007f81f91762a8 00007f822b6f7852 0x00007f81f9176260: 00007f82000afc00 00007f81f9176268 0x00007f81f9176270: 00007f820758c7f8 00007f81f91762c8 0x00007f81f9176280: 00007f8207af2b68 0000000000000000 0x00007f81f9176290: 00007f820758c800 0000000000000000 0x00007f81f91762a0: 00007f81f91762c8 00007f81f9176320 0x00007f81f91762b0: 00007f822b6ec20e 0000000000000000 0x00007f81f91762c0: 00007f822b6f4356 00007f8221462520 0x00007f81f91762d0: 00007f82004d89d0 00007f82214625f0 0x00007f81f91762e0: 00007f81f91762d0 00007f8207af2075 0x00007f81f91762f0: 00007f81f9176348 00007f8207af6268 0x00007f81f9176300: 0000000000000000 00007f8207af20b0

Instructions: (pc=0x00007f81f9eef69d) 0x00007f81f9eef68d: 00 44 89 44 24 1c e8 e0 c2 ff ff 48 89 44 24 48 0x00007f81f9eef69d: 8b 40 08 45 85 ed 48 8b 54 24 48 89 44 24 44 c7

Stack: [0x00007f81f9077000,0x00007f81f9178000], sp=0x00007f81f9176110, free space=1020k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [librxtxSerial.so+0x769d] read_byte_array+0x3d

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j gnu.io.RXTXPort.readByte()I+0 j gnu.io.RXTXPort$SerialInputStream.read()I+61 j processing.app.Serial.serialEvent(Lgnu/io/SerialPortEvent;)V+80 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

--------------- P R O C E S S ---------------

(if this is necessary please tell me... it takes up more than the alloted characters)

--------------- S Y S T E M ---------------

OS:5.0

uname:Linux 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64 libc:glibc 2.9 NPTL 2.9 rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity load average:0.22 0.42 0.24

CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 107 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext

Memory: 4k page, physical 2056196k(1253852k free), swap 5654840k(5654840k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (11.3-b02) for linux-amd64 JRE (1.6.0_13-b03), built on Mar 9 2009 11:08:22 by "java_re" with gcc 3.2.2 (SuSE Linux)

time: Thu May 7 18:14:00 2009 elapsed time: 263 seconds

Have a look at launchpad.net for bugs regarding JVM & gnu.io.

It would also be helpful if you can submit 'dmesg' output.

These are known bug from the RXTX lib with x64. I've installed rxtx2.2pre2 and now it works.