Go Down

Topic: Serial Console crash on Gentoo 64bit (Read 498 times) previous topic - next topic

psycho42

Hi,

I'm building something similar to botanicalls[dot]com  /archived_kits/twitter/ (sorry, I had to destroy the link - it's my first post). The hardware works and when I run upload the code and start the serial console on my macbook everything works. When I try the same on a gentoo machine, I get a segfault:

Code: [Select]
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002b472b95697d, pid=7979, tid=47584683952464
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64)
# Problematic frame:
# C  [librxtxSerial-2.1-7.so+0x797d]  read_byte_array+0x3d
#
# If you would like to submit a bug report, please visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[...]
Instructions: (pc=0x00002b472b95697d)
0x00002b472b95696d:   00 44 89 44 24 1c e8 70 c8 ff ff 48 89 44 24 48
0x00002b472b95697d:   8b 40 08 45 85 ed 48 8b 54 24 48 89 44 24 44 c7

Stack: [0x00002b472c1f0000,0x00002b472c2f1000],  sp=0x00002b472c2eef40,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [librxtxSerial-2.1-7.so+0x797d]  read_byte_array+0x3d
[...]
---------------  S Y S T E M  ---------------

OS:Gentoo Base System release 1.12.11.1

uname:Linux 2.6.24-gentoo-r8 #1 PREEMPT Mon Jun 30 20:43:54 CEST 2008 x86_64
libc:glibc 2.9 NPTL 2.9
rlimit: STACK 8192k, CORE 0k, NPROC 7671, NOFILE 1024, AS infinity
load average:0.02 0.14 0.23

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

Memory: 4k page, physical 962052k(30028k free), swap 2064312k(2064204k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (11.0-b16) for linux-amd64 JRE (1.6.0_11-b03), built on Nov 10 2008 01:28:14 by "java_re" with gcc 3.2.2 (SuSE Linux)

time: Sun Feb 15 10:59:59 2009
elapsed time: 3 seconds


Any idea what's the problem? What can I do to fix it?

thanks,
Frank

Go Up