adm34 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

If serial monitor is not closed, IDE segfaults at most operations #358

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using Arduino 0019 on 64bit Linux (ubuntu 10.10). I have substituted 
RTXTcomm.jar and librxtxserial.so wtih symbolic links to ubuntu distributed 
library files. I am using this without any other problems to connect to 
duemilanove and arduione serial. But:

1. Open the IDE
2. Open the serial monitor window
3. Switch back to the IDE window
4. Try e.g. to open another file, click on menu etc
5. IDE segfaults with 

*** buffer overflow detected ***: java terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f0b0d1d5537]
/lib/libc.so.6(+0xfe3f0)[0x7f0b0d1d43f0]
/lib/libc.so.6(+0xfd859)[0x7f0b0d1d3859]
/lib/libc.so.6(_IO_default_xsputn+0xcc)[0x7f0b0d14bc2c]
/lib/libc.so.6(_IO_vfprintf+0x3d6c)[0x7f0b0d11f3ac]
/lib/libc.so.6(__vsprintf_chk+0x99)[0x7f0b0d1d38f9]
/lib/libc.so.6(__sprintf_chk+0x7f)[0x7f0b0d1d383f]
/usr/lib/jni/librxtxSerial-2.2pre1.so(fhs_lock+0x17a)[0x7f0ab06abdaa]
/usr/lib/jni/librxtxSerial-2.2pre1.so(Java_gnu_io_RXTXCommDriver_testRead+0x65)[
0x7f0ab06acab5]
[0x7f0b080c0c88]
======= Memory map: ========
00400000-00409000 r-xp 00000000 08:05 695588                             
/usr/lib/jvm/java-6-openjdk/jre/bin/java
00608000-00609000 r--p 00008000 08:05 695588                             
/usr/lib/jvm/java-6-openjdk/jre/bin/java
00609000-0060a000 rw-p 00009000 08:05 695588                             
/usr/lib/jvm/java-6-openjdk/jre/bin/java
020ef000-02f5b000 rw-p 00000000 00:00 0                                  [heap]
7f0aaf35e000-7f0aaf363000 r-xp 00000000 08:05 793989                     
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0aaf363000-7f0aaf562000 ---p 00005000 08:05 793989                     
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0aaf562000-7f0aaf563000 r--p 00004000 08:05 793989                     
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0aaf563000-7f0aaf564000 rw-p 00005000 08:05 793989                     
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f0aaf564000-7f0aaf567000 ---p 00000000 00:00 0 
7f0aaf567000-7f0aaf665000 rw-p 00000000 00:00 0 
7f0aaf665000-7f0aaf668000 ---p 00000000 00:00 0 
7f0aaf668000-7f0aaf766000 rw-p 00000000 00:00 0 
7f0aaf766000-7f0aafb4c000 rw-s 00000000 00:04 5013508                    
/SYSV00000000 (deleted)
7f0aafb4c000-7f0aafba7000 rw-s 00000000 00:04 4390915                    
/SYSV00000000 (deleted)
7f0aafc02000-7f0aafcac000 rw-s 00000000 00:04 4259845                    
/SYSV00000000 (deleted)
7f0aafe17000-7f0aafe1a000 ---p 00000000 00:00 0 
7f0aafe1a000-7f0aaff18000 rw-p 00000000 00:00 0 
7f0aaff18000-7f0aaff78000 rw-s 00000000 00:04 3833856                    
/SYSV00000000 (deleted)
7f0aaff78000-7f0aaff7d000 r-xp 00000000 08:05 787238                     
/lib/libnss_dns-2.12.1.so
7f0aaff7d000-7f0ab017c000 ---p 00005000 08:05 787238                     
/lib/libnss_dns-2.12.1.so
7f0ab017c000-7f0ab017d000 r--p 00004000 08:05 787238                     
/lib/libnss_dns-2.12.1.so
7f0ab017d000-7f0ab017e000 rw-p 00005000 08:05 787238                     
/lib/libnss_dns-2.12.1.so
7f0ab017e000-7f0ab0180000 r-xp 00000000 08:05 785176                     
/lib/libnss_mdns4_minimal.so.2
7f0ab0180000-7f0ab037f000 ---p 00002000 08:05 785176                     
/lib/libnss_mdns4_minimal.so.2
7f0ab037f000-7f0ab0380000 r--p 00001000 08:05 785176                     
/lib/libnss_mdns4_minimal.so.2
7f0ab0380000-7f0ab0381000 rw-p 00002000 08:05 785176                     
/lib/libnss_mdns4_minimal.so.2
7f0ab03a3000-7f0ab03a6000 ---p 00000000 00:00 0 
7f0ab03a6000-7f0ab04a4000 rw-p 00000000 00:00 0 
7f0ab04a4000-7f0ab04a7000 ---p 00000000 00:00 0 
7f0ab04a7000-7f0ab05a5000 rw-p 00000000 00:00 0 
7f0ab05a5000-7f0ab05a8000 ---p 00000000 00:00 0 
7f0ab05a8000-7f0ab06a6000 rw-p 00000000 00:00 0 
7f0ab06a6000-7f0ab06b4000 r-xp 00000000 08:05 666823                     
/usr/lib/jni/librxtxSerial-2.2pre1.so
7f0ab06b4000-7f0ab08b3000 ---p 0000e000 08:05 666823                     
/usr/lib/jni/librxtxSerial-2.2pre1.so
7f0ab08b3000-7f0ab08b4000 r--p 0000d000 08:05 666823                     
/usr/lib/jni/librxtxSerial-2.2pre1.so
7f0ab08b4000-7f0ab08b5000 rw-p 0000e000 08:05 666823                     
/usr/lib/jni/librxtxSerial-2.2pre1.so
7f0ab08b5000-7f0ab08b7000 r-xp 00000000 08:05 272404                     
/usr/lib/pango/1.6.0/modules/pango-basic-fc.so
7f0ab08b7000-7f0ab0ab6000 ---p 00002000 08:05 272404                     
/usr/lib/pango/1.6.0/modules/pango-basic-fc.so
7f0ab0ab6000-7f0ab0ab7000 r--p 00001000 08:05 272404                     
/usr/lib/pango/1.6.0/modules/pango-basic-fc.so
7f0ab0ab7000-7f0ab0ab8000 rw-p 00002000 08:05 272404                     
/usr/lib/pango/1.6.0/modules/pango-basic-fc.so
7f0ab0ab8000-7f0ab0ac0000 r-xp 00000000 08:05 692094                     
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libnio.so
7f0ab0ac0000-7f0ab0cbf000 ---p 00008000 08:05 692094                     
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libnio.so
7f0ab0cbf000-7f0ab0cc0000 r--p 00007000 08:05 692094                     
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libnio.so
7f0ab0cc0000-7f0ab0cc1000 rw-p 00008000 08:05 692094                     
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libnio.so
7f0ab0cc1000-7f0ab0cd6000 r-xp 00000000 08:05 692093                     
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libnet.so
7f0ab0cd6000-7f0ab0ed5000 ---p 00015000 08:05 692093                     
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libnet.so
7f0ab0ed5000-7f0ab0ed6000 r--p 00014000 08:05 692093                     
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libnet.so
7f0ab0ed6000-7f0ab0ed7000 rw-p 00015000 08:05 692093                     
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libnet.so
7f0ab0ed7000-7f0ab0f27000 r-xp 00000000 08:05 265133                     
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
7f0ab0f27000-7f0ab1126000 ---p 00050000 08:05 265133                     
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
7f0ab1126000-7f0ab1127000 r--p 0004f000 08:05 265133                     
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
7f0ab1127000-7f0ab1128000 rw-p 00050000 08:05 265133                     
/usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
7f0ab1128000-7f0ab1129000 rw-p 00000000 00:00 0 
7f0ab1129000-7f0ab1131000 r-xp 00000000 08:05 266061                     
/usr/lib/libltdl.so.7.2.1
7f0ab1131000-7f0ab1331000 ---p 00008000 08:05 266061                     
/usr/lib/libltdl.so.7.2.1
7f0ab1331000-7f0ab1332000 r--p 00008000 08:05 266061                     
/usr/lib/libltdl.so.7.2.1
7f0ab1332000-7f0ab1333000 rw-p 00009000 08:05 266061                     
/usr/lib/libltdl.so.7.2.1
7f0ab1333000-7f0ab1341000 r-xp 00000000 08:05 271977                     
/usr/lib/libtdb.so.1.2.1
7f0ab1341000-7f0ab1540000 ---p 0000e000 08:05 271977                     
/usr/lib/libtdb.so.1.2.1
7f0ab1540000-7f0ab1541000 r--p 0000d000 08:05 271977                     
/usr/lib/libtdb.so.1.2.1
7f0ab1541000-7f0ab1542000 rw-p 0000e000 08:05 271977                     
/usr/lib/libtdb.so.1.2.1
7f0ab1542000-7f0ab1548000 r-xp 00000000 08:05 272250                     
/usr/lib/libogg.so.0.7.0Aborted

Original issue reported on code.google.com by nizamov....@gmail.com on 27 Sep 2010 at 7:52

GoogleCodeExporter commented 9 years ago
I've same problem but I've resolved by removing Huawey Internet Key first 
running Arduino IDE

Original comment by emanuele...@gmail.com on 1 Jun 2011 at 9:20

GoogleCodeExporter commented 9 years ago
I'm assuming that this has since been fixed by updates to the various pieces of 
software.

Original comment by dmel...@gmail.com on 4 Mar 2012 at 6:24