[Tinyos-help] IBM JDK segfaults on libtoscomm.so

Ákos Maróy darkeye at tyrell.hu
Fri Jun 1 09:52:13 PDT 2007


Ákos Maróy wrote:
> 1XHEXCPMODULE  Module: /opt/ibm-jdk-bin-1.5.0.3/jre/bin/libtoscomm.so
> 1XHEXCPMODULE  Module_base_address: 00002AAAAACD2000
> 1XHEXCPMODULE  Symbol:
> Java_net_tinyos_comm_TOSCommJNI_NativeSerial_1didEventOccur

basically the code segfaults in the NativeSerial::didEventOccur() call.

if I just put a std::cerr << "hello" << std::endl; call into the
function - it doesn't segfault. this suggest that there's some memory
corruption going on here.

and still, it doesn't segfualt, but the mote sill stops sending data
through the serial port (the TX light stops to blink), and won't react
on the data received either. it sort of hangs.


is there a way to use standard javacomm instead of this special library
to do the serial communication?


Akos



More information about the Tinyos-help mailing list