Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: jaykay10 on Feb 24, 2011, 03:03 pm

Title: Arduino software 022 doesn't start in Ubuntu 10.10
Post by: jaykay10 on Feb 24, 2011, 03:03 pm
Hi,

I just received today my arduino duemilanove and started installing software.

Unfortunately in my system version 022 doesn't even start but gives out following error message:
Version 021 seems to work (at least it started) so it seems to be 022 related problem.

Ubuntu 10.10 64bit Arduino 022 64bit and Sun Java. I don't really know what else to say.
I can't remove SunJava for OpenJDK because I need it.

Code: [Select]

=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
*** buffer overflow detected ***: java terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f197841d537]
/lib/libc.so.6(+0xfe3f0)[0x7f197841c3f0]
/lib/libc.so.6(+0xfd859)[0x7f197841b859]
/lib/libc.so.6(_IO_default_xsputn+0xcc)[0x7f1978393c2c]
/lib/libc.so.6(_IO_vfprintf+0x3d6c)[0x7f19783673ac]
/lib/libc.so.6(__vsprintf_chk+0x99)[0x7f197841b8f9]
/lib/libc.so.6(__sprintf_chk+0x7f)[0x7f197841b83f]
/home/XX/ohjelmointi/bin/arduino-0022/lib/librxtxSerial.so(fhs_lock+0x17a)[0x7f196518f0ba]
/home/XX/ohjelmointi/bin/arduino-0022/lib/librxtxSerial.so(Java_gnu_io_RXTXCommDriver_testRead+0x65)[0x7f196518fdc5]


Just reporting this in.
Title: Re: Arduino software 022 doesn't start in Ubuntu 10.10
Post by: mrtaylor on Feb 24, 2011, 05:27 pm
Try the following:

//find librxtxSerial library that works for this system
find /usr -ls 2>&1 | grep -i librxtxSerial

// make a backup of librxtSerial
mv /home/XX/ohjelmointi/bin/arduino-0022/lib/librxtxSerial.so /home/XX/ohjelmointi/bin/arduino-0022/lib/librxtxSerial.so.orig

// create a link to (replace XXX with the path from the find command)
ln -sf /XXX/librxtxSerial.so /home/XX/ohjelmointi/bin/arduino-0022/lib/librxtxSerial.so

run arduino

let us know what happen?