ezieragabriel / arduino

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

Crash as trying to open a sketch while serial monitor is opened #1047

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Serial monitor opened
2.Try to open a sketch
3.

What is the expected output? What do you see instead?
Nothing special is expecting. Crash of the IDE

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
Arduino IDE 1.0.1
OpenSuse 
JDK 1.7.0.7

Please provide any additional information below.
*** buffer overflow detected ***: /usr/java/latest/bin/java terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f76a0e5dc07]
/lib64/libc.so.6(+0xf9ce0)[0x7f76a0e5bce0]
/lib64/libc.so.6(+0xf9169)[0x7f76a0e5b169]
/lib64/libc.so.6(_IO_default_xsputn+0x89)[0x7f76a0dd9109]
/lib64/libc.so.6(_IO_vfprintf+0x4edd)[0x7f76a0dacd4d]
/lib64/libc.so.6(__vsprintf_chk+0x97)[0x7f76a0e5b207]
/lib64/libc.so.6(__sprintf_chk+0x7d)[0x7f76a0e5b14d]
/home/florent/DEV/IDE/arduino-1.0.1/lib/librxtxSerial.so(fhs_lock+0x17a)[0x7f765
1d7c0ba]
/home/florent/DEV/IDE/arduino-1.0.1/lib/librxtxSerial.so(Java_gnu_io_RXTXCommDri
ver_testRead+0x65)[0x7f7651d7cdc5]
[0x7f7695011f70]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:02 1078420                            
/usr/java/jdk1.7.0_07/bin/java
00600000-00601000 rw-p 00000000 08:02 1078420                            
/usr/java/jdk1.7.0_07/bin/java
00601000-00622000 rw-p 00000000 00:00 0                                  [heap]
9ea00000-9fec0000 rw-p 00000000 00:00 0 
9fec0000-a3c00000 rw-p 00000000 00:00 0 
a3c00000-a7980000 rw-p 00000000 00:00 0 
a7980000-e1400000 rw-p 00000000 00:00 0 
e1400000-e32b0000 rw-p 00000000 00:00 0 
e32b0000-100000000 rw-p 00000000 00:00 0 
7f7634000000-7f7634021000 rw-p 00000000 00:00 0 
7f7634021000-7f7638000000 ---p 00000000 00:00 0 
7f7638000000-7f7638021000 rw-p 00000000 00:00 0 
7f7638021000-7f763c000000 ---p 00000000 00:00 0 
7f763c000000-7f763c021000 rw-p 00000000 00:00 0 
7f763c021000-7f7640000000 ---p 00000000 00:00 0 
7f7640000000-7f7640021000 rw-p 00000000 00:00 0 
7f7640021000-7f7644000000 ---p 00000000 00:00 0 
7f7644000000-7f7644021000 rw-p 00000000 00:00 0 
7f7644021000-7f7648000000 ---p 00000000 00:00 0 
7f7648000000-7f76482a8000 rw-p 00000000 00:00 0 
7f76482a8000-7f764c000000 ---p 00000000 00:00 0 
7f764c000000-7f764c021000 rw-p 00000000 00:00 0 
7f764c021000-7f7650000000 ---p 00000000 00:00 0 
7f76516b9000-7f7651756000 rw-s 00000000 00:04 35848216                   
/SYSV00000000 (deleted)
7f7651756000-7f7651759000 ---p 00000000 00:00 0 
7f7651759000-7f7651857000 rw-p 00000000 00:00 0 
7f7651857000-7f765196d000 rw-s 00000000 00:04 35291158                   
/SYSV00000000 (deleted)
7f765196d000-7f7651972000 r-xp 00000000 08:02 1075415                    
/lib64/libnss_dns-2.16.so
7f7651972000-7f7651b71000 ---p 00005000 08:02 1075415                    
/lib64/libnss_dns-2.16.so
7f7651b71000-7f7651b72000 r--p 00004000 08:02 1075415                    
/lib64/libnss_dns-2.16.so
7f7651b72000-7f7651b73000 rw-p 00005000 08:02 1075415                    
/lib64/libnss_dns-2.16.so
7f7651b73000-7f7651b75000 r-xp 00000000 08:02 1053946                    
/lib64/libnss_mdns4_minimal.so.2
7f7651b75000-7f7651d74000 ---p 00002000 08:02 1053946                    
/lib64/libnss_mdns4_minimal.so.2
7f7651d74000-7f7651d75000 r--p 00001000 08:02 1053946                    
/lib64/libnss_mdns4_minimal.so.2
7f7651d75000-7f7651d76000 rw-p 00002000 08:02 1053946                    
/lib64/libnss_mdns4_minimal.so.2
7f7651d76000-7f7651d84000 r-xp 00000000 08:03 9968415                    
/home/florent/DEV/IDE/arduino-1.0.1/lib/librxtxSerial.so
7f7651d84000-7f7651f83000 ---p 0000e000 08:03 9968415                    
/home/florent/DEV/IDE/arduino-1.0.1/lib/librxtxSerial.so
7f7651f83000-7f7651f84000 r--p 0000d000 08:03 9968415                    
/home/florent/DEV/IDE/arduino-1.0.1/lib/librxtxSerial.so
7f7651f84000-7f7651f85000 rw-p 0000e000 08:03 9968415                    
/home/florent/DEV/IDE/arduino-1.0.1/lib/librxtxSerial.so
7f7651f85000-7f7651f8a000 r-xp 00000000 08:02 930131                     
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f7651f8a000-7f7652189000 ---p 00005000 08:02 930131                     
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f7652189000-7f765218a000 r--p 00004000 08:02 930131                     
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f765218a000-7f765218b000 rw-p 00005000 08:02 930131                     
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
7f765218b000-7f765218e000 ---p 00000000 00:00 0 
7f765218e000-7f765228c000 rw-p 00000000 00:00 0 
7f765228c000-7f765228f000 ---p 00000000 00:00 0 
7f765228f000-7f765238d000 rw-p 00000000 00:00 0 
7f765238d000-7f7652390000 ---p 00000000 00:00 0 
7f7652390000-7f765248e000 rw-p 00000000 00:00 0 
7f765248e000-7f765249a000 r--s 000b0000 08:02 1079651                    
/usr/java/jdk1.7.0_07/jre/lib/resources.jar
7f765249a000-7f765249b000 r-xp 00000000 08:02 932840                     
/usr/lib64/gtk-2.0/2.10.0/immodules/im-cedilla.so
7f765249b000-7f765269a000 ---p 00001000 08:02 932840                     
/usr/lib64/gtk-2.0/2.10.0/immodules/im-cedilla.so
7f765269a000-7f765269b000 r--p 00000000 08:02 932840                     
/usr/lib64/gtk-2.0/2.10.0/immodules/im-cedilla.so
7f765269b000-7f765269c000 rw-p 00001000 08:02 932840                     
/usr/lib64/gtk-2.0/2.10.0/immodules/im-cedilla.so
7f765269c000-7f7652743000 r--p 00000000 08:02 1184070                    
/usr/share/fonts/truetype/DejaVuSans.ttf
7f7652743000-7f7652745000 r-xp 00000000 08:02 930964                     
/usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f7652745000-7f7652944000 ---p 00002000 08:02 930964                     
/usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f7652944000-7f7652945000 r--p 00001000 08:02 930964                     
/usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f7652945000-7f7652946000 rw-p 00002000 08:02 930964                     
/usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7f7652958000-7f76529be000 rw-s 00000000 00:04 36274203                   
/SYSV00000000 (deleted)
7f76529be000-7f7652a1b000 r--p 00000000 08:02 394272                     
/var/cache/libx11/compose/l4_030_313cb605_00280cc0
7f7652a32000-7f7652a98000 rw-s 00000000 00:04 35422217                   
/SYSV00000000 (deleted)
7f7652a98000-7f7652a9b000 ---p 00000000 00:00 0 
7f7652a9b000-7f7652ac0000 rw-p 00000000 00:00 0 
7f7652ac0000-7f7652ac3000 ---p 00000000 00:00 0 
7f7652ac3000-7f7652bc1000 rw-p 00000000 00:00 0 
7f7652bc1000-7f7652bc4000 ---p 00000000 00:00 0 
7f7652bc4000-7f7652cc2000 rw-p 00000000 00:00 0 
7f7652cc2000-7f7652d2a000 r-xp 00000000 08:02 1079482                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libt2k.so
7f7652d2a000-7f7652f29000 ---p 00068000 08:02 1079482                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libt2k.so
7f7652f29000-7f7652f30000 rw-p 00067000 08:02 1079482                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libt2k.so
7f7652f30000-7f7652f40000 rw-p 00000000 00:00 0 
7f7652f40000-7f7652f50000 r-xp 00000000 08:02 1079473                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libnio.so
7f7652f50000-7f7653150000 ---p 00010000 08:02 1079473                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libnio.so
7f7653150000-7f7653151000 rw-p 00010000 08:02 1079473                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libnio.so
7f7653151000-7f7653166000 r-xp 00000000 08:02 1079472                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libnet.so
7f7653166000-7f7653366000 ---p 00015000 08:02 1079472                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libnet.so
7f7653366000-7f7653367000 rw-p 00015000 08:02 1079472                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libnet.so
7f7653367000-7f76533ab000 r-xp 00000000 08:02 1079444                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libfontmanager.so
7f76533ab000-7f76535ab000 ---p 00044000 08:02 1079444                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libfontmanager.so
7f76535ab000-7f76535af000 rw-p 00044000 08:02 1079444                    
/usr/java/jdk1.7.0_07/jre/lib/amd64/libfontmanager.so
7f76535af000-7f76535bf000 rw-p 00000000 00:00 0 
7f76535bf000-7f76535d4000 r-xp 00000000 08:02 1051463                    
/lib64/libgcc_s.so.1
7f76535d4000-7f76537d3000 ---p 00015000 08:02 1051463                    
/lib64/libgcc_s.so.1
7f76537d3000-7f76537d4000 r--p 00014000 08:02 1051463                    
/lib64/libgcc_s.so.1
7f76537d4000-7f76537d5000 rw-p 00015000 08:02 1051463                    
/lib64/libgcc_s.so.1
7f76537d5000-7f76538c0000 r-xp 00000000 08:02 922513                     
/usr/lib64/libstdc++.so.6.0.14
7f76538c0000-7f7653abf000 ---p 000eb000 08:02 922513                     
/usr/lib64/libstdc++.so.6.0.14
7f7653abf000-7f7653ac7000 r--p 000ea000 08:02 922513                     
/usr/lib64/libstdc++.so.6.0.14
7f7653ac7000-7f7653ac9000 rw-p 000f2000 08:02 922513                     
/usr/lib64/libstdc++.so.6.0.14
7f7653ac9000-7f7653ade000 rw-p 00000000 00:00 0 
7f7653ade000-7f7653bc4000 r-xp 00000000 08:02 932948                     
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so
7f7653bc4000-7f7653dc3000 ---p 000e6000 08:02 932948                     
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so
7f7653dc3000-7f7653dc7000 r--p 000e5000 08:02 932948                     
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so
7f7653dc7000-7f7653dc9000 rw-p 000e9000 08:02 932948                     
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so
7f7653dc9000-7f7653dca000 rw-p 00000000 00:00 0 
7f7653dca000-7f7653dff000 r-xp 00000000 08:02 1051458                    
/lib64/libpcre.so.0.0.1
7f7653dff000-7f7653ffe000 ---p 00035000 08:02 1051458                    
/lib64/libpcre.so.0.0.1
7f7653ffe000-7f7653fff000 r--p 00034000 08:02 1051458                    
/lib64/libpcre.so.0.0.1
7f7653fff000-7f7654000000 rw-p 00035000 08:02 1051458                    
/lib64/libpcre.so.0.0.1
7f7654000000-7f7654026000 rw-p 00000000 00:00 0 
7f7654026000-7f7658000000 ---p 00000000 00:00 0 
7f7658000000-7f7658021000 rw-p 00000000 00:00 0 
7f7658021000-7f765c000000 ---p 00000000 00:00 0 
7f765c006000-7f765c00c000 r--p 00000000 08:02 1198942                    
/usr/share/locale-bundle/fr/LC_MESSAGES/gdk-pixbuf.mo
7f765c024000-7f765c025000 rw-p 00000000 00:00 0 
7f765c025000-7f765c085000 rw-s 00000000 00:04 34996225                   
/SYSV00000000 (deleted)
7f765c085000-7f765c0a3000 r--s 00000000 08:02 10572                      
/usr/share/mime/mime.cache
7f765c0a3000-7f765c104000 rw-p 00000000 00:00 0 
7f765c104000-7f765c106000 r--s 00000000 08:02 418707                     
/var/cache/fontconfig/bdc0d5aee443ae16477eeb93d5d52a0e-le64.cache-3
7f765c106000-7f765c110000 r--s 00000000 08:02 418704                     
/var/cache/fontconfig/175ef72a9e798b535ee5a6fd7b47c802-le64.cache-3
7f765c110000-7f765c114000 r--s 00000000 08:02 418702                     
/var/cache/fontconfig/2c0656e0c82e3d29ee9be6dd224aad3a-le64.cache-3./arduino: 
line 22: 30333 Abandon                 /usr/java/latest/bin/java 
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel 
processing.app.Base

Original issue reported on code.google.com by ft.eucal...@gmail.com on 19 Sep 2012 at 7:28

GoogleCodeExporter commented 9 years ago
More precisely, it crashed when trying to open the tool menu

Original comment by ft.eucal...@gmail.com on 19 Sep 2012 at 8:01

GoogleCodeExporter commented 9 years ago
Please continue conversation here https://github.com/arduino/Arduino/issues/1047

Original comment by federico...@gmail.com on 22 Oct 2013 at 10:13

GoogleCodeExporter commented 9 years ago
Seems solved in 1.5.6

Original comment by c.mag...@arduino.cc on 21 Feb 2014 at 12:09