laesaster / arduino

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

Crash after a buffer overflow #336

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After opened the attached file, arduino crashed.

- Arduino 0018 alpha 
- Ubuntu 10.04
- Backtrace :

*** buffer overflow detected ***: java terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xb762d390]
/lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0xb762c2ca]
/lib/tls/i686/cmov/libc.so.6(+0xe0a08)[0xb762ba08]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0x9e)[0xb75b4afe]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x368a)[0xb758b29a]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xad)[0xb762babd]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb762b9fd]
/usr/lib/librxtxSerial-2.1-7.so(fhs_lock+0x1ac)[0x752cb8cc]
/usr/lib/librxtxSerial-2.1-7.so(Java_gnu_io_RXTXCommDriver_testRead+0x6d)[0x752c
c6bd]
[0xb38ea5aa]
[0xb39ed35c]
[0x7842cf78]
======= Memory map: ========
08048000-08052000 r-xp 00000000 08:02 1716352    
/usr/lib/jvm/java-6-sun-1.6.0.20/jre/bin/java
08052000-08053000 rwxp 00009000 08:02 1716352    
/usr/lib/jvm/java-6-sun-1.6.0.20/jre/bin/java
08272000-0900a000 rwxp 00000000 00:00 0          [heap]
74b00000-74bfa000 rwxp 00000000 00:00 0 
74bfa000-74c00000 ---p 00000000 00:00 0 
74c00000-74cfc000 rwxp 00000000 00:00 0 
74cfc000-74d00000 ---p 00000000 00:00 0 
74d00000-74df3000 rwxp 00000000 00:00 0 
74df3000-74e00000 ---p 00000000 00:00 0 
74e67000-74e84000 r-xp 00000000 08:02 1962324    /lib/libgcc_s.so.1
74e84000-74e85000 r-xp 0001c000 08:02 1962324    /lib/libgcc_s.so.1
74e85000-74e86000 rwxp 0001d000 08:02 1962324    /lib/libgcc_s.so.1
74e86000-74e89000 ---p 00000000 00:00 0 
74e89000-74ed7000 rwxp 00000000 00:00 0 
74ed7000-74eda000 ---p 00000000 00:00 0 
74eda000-74f28000 rwxp 00000000 00:00 0 
74f28000-7517c000 rwxs 00000000 00:04 20250671   /SYSV00000000 (deleted)
7517c000-75180000 r-xp 00000000 08:02 1979417    
/lib/tls/i686/cmov/libnss_dns-2.11.1.so
75180000-75181000 r-xp 00004000 08:02 1979417    
/lib/tls/i686/cmov/libnss_dns-2.11.1.so
75181000-75182000 rwxp 00005000 08:02 1979417    
/lib/tls/i686/cmov/libnss_dns-2.11.1.so
75182000-75185000 ---p 00000000 00:00 0 
75185000-751d3000 rwxp 00000000 00:00 0 
751d3000-751d6000 ---p 00000000 00:00 0 
751d6000-75224000 rwxp 00000000 00:00 0 
75224000-75227000 ---p 00000000 00:00 0 
75227000-75275000 rwxp 00000000 00:00 0 
75275000-75278000 ---p 00000000 00:00 0 
75278000-752c6000 rwxp 00000000 00:00 0 
752c6000-752d2000 r-xp 00000000 08:02 1741336    /usr/lib/librxtxSerial-2.1-7.so
752d2000-752d3000 r-xp 0000b000 08:02 1741336    /usr/lib/librxtxSerial-2.1-7.so
752d3000-752d4000 rwxp 0000c000 08:02 1741336    /usr/lib/librxtxSerial-2.1-7.so
752d4000-752d6000 r-xs 0000d000 08:02 1859872    /usr/share/java/RXTXcomm.jar
75310000-75370000 rwxs 00000000 00:04 20185127   /SYSV00000000 (deleted)
75370000-75380000 r-xp 00000000 08:02 1962289    /lib/libbz2.so.1.0.4
75380000-75381000 r-xp 0000f000 08:02 1962289    /lib/libbz2.so.1.0.4
75381000-75382000 rwxp 00010000 08:02 1962289    /lib/libbz2.so.1.0.4
75382000-754a6000 r-xp 00000000 08:02 1704479    /usr/lib/libxml2.so.2.7.6
754a6000-754aa000 r-xp 00123000 08:02 1704479    /usr/lib/libxml2.so.2.7.6
754aa000-754ab000 rwxp 00127000 08:02 1704479    /usr/lib/libxml2.so.2.7.6
754ab000-754ac000 rwxp 00000000 00:00 0 
754ac000-754dd000 r-xp 00000000 08:02 1703645    /usr/lib/libcroco-0.6.so.3.0.1
754dd000-754de000 r-xp 00030000 08:02 1703645    /usr/lib/libcroco-0.6.so.3.0.1
754de000-754e0000 rwxp 00031000 08:02 1703645    /usr/lib/libcroco-0.6.so.3.0.1
754e0000-75514000 r-xp 00000000 08:02 1703907    /usr/lib/libgsf-1.so.114.0.16
75514000-75516000 r-xp 00033000 08:02 1703907    /usr/lib/libgsf-1.so.114.0.16
75516000-75517000 rwxp 00035000 08:02 1703907    /usr/lib/libgsf-1.so.114.0.16
75517000-75518000 rwxp 00000000 00:00 0 
75518000-7554a000 r-xp 00000000 08:02 1701050    /usr/lib/librsvg-2.so.2.26.3
7554a000-7554b000 r-xp 00031000 08:02 1701050    /usr/lib/librsvg-2.so.2.26.3
7554b000-7554c000 rwxp 00032000 08:02 1701050    /usr/lib/librsvg-2.so.2.26.3
75562000-75569000 r-xs 00111000 08:02 1716436    
/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/resources.jar
75569000-75585000 r-xs 00000000 08:02 1831484    /usr/share/mime/mime.cache
75585000-7558f000 r-xp 00000000 08:02 1962422    /lib/libudev.so.0.6.1
7558f000-75590000 r-xp 00009000 08:02 1962422    /lib/libudev.so.0.6.1
75590000-75591000 rwxp 0000a000 08:02 1962422    /lib/libudev.so.0.6.1
75591000-755c8000 r-xp 00000000 08:02 1962302    /lib/libdbus-1.so.3.4.0
755c8000-755c9000 r-xp 00036000 08:02 1962302    /lib/libdbus-1.so.3.4.0
755c9000-755ca000 rwxp 00037000 08:02 1962302    /lib/libdbus-1.so.3.4.0
755ca000-755de000 r-xp 00000000 08:02 1701023    /usr/lib/libgvfscommon.so.0.0.0
755de000-755df000 r-xp 00013000 08:02 1701023    /usr/lib/libgvfscommon.so.0.0.0
755df000-755e0000 rwxp 00014000 08:02 1701023    /usr/lib/libgvfscommon.so.0.0.0
755e3000-755e5000 r-xp 00000000 08:02 1962362    /lib/libnss_mdns4_minimal.so.2
755e5000-755e6000 r-xp 00001000 08:02 1962362    /lib/libnss_mdns4_minimal.so.2
755e6000-755e7000 rwxp 00002000 08:02 1962362    /lib/libnss_mdns4_minimal.so.2
755e7000-755e8000 r-xp 00000000 08:02 1707395    
/usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
755e8000-755e9000 r-xp 00000000 08:02 1707395    
/usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
755e9000-755ea000 rwxp 00001000 08:02 1707395    
/usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
755ea000-755fb000 r-xp 00000000 08:02 1701122    
/usr/lib/gio/modules/libgioremote-volume-monitor.so
755fb000-755fc000 r-xp 00011000 08:02 1701122    
/usr/lib/gio/modules/libgioremote-volume-monitor.so
755fc000-755fd000 rwxp 00012000 08:02 1701122    
/usr/lib/gio/modules/libgioremote-volume-monitor.so
755fd000-75621000 r-xp 00000000 08:02 1701123    
/usr/lib/gio/modules/libgvfsdbus.so
75621000-75622000 r-xp 00023000 08:02 1701123    
/usr/lib/gio/modules/libgvfsdbus.so
75622000-75623000 rwxp 00024000 08:02 1701123    
/usr/lib/gio/modules/libgvfsdbus.so
75623000-75e12000 r-xp 00000000 08:02 1998060    
/usr/share/icons/hicolor/icon-theme.cache
75e12000-76502000 r-xp 00000000 08:02 1980068    
/usr/share/icons/gnome/icon-theme.cache
76502000-765ad000 r-xp 00000000 08:02 1974886    
/usr/share/icons/Humanity/icon-theme.cache
765ad000-765b7000 r-xp 00000000 08:02 1974887    
/usr/share/icons/Humanity-Dark/icon-theme.cache
765b7000-765ba000 ---p 00000000 00:00 0 
765ba000-76608000 rwxp 00000000 00:00 0 
76608000-7660b000 ---p 00000000 00:00 0 
7660b000-76659000 rwxp 00000000 00:00 0 
76659000-7665a000 r-xp 00000000 08:02 1703119    
/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
7665a000-7665b000 r-xp 00000000 08:02 1703119    
/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
7665b000-7665c000 rwxp 00001000 08:02 1703119    
/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
7665c000-766f4000 r-xp 00000000 08:02 1861420    
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
766f4000-766f6000 r-xp 00000000 08:02 1833938    
/usr/lib/pango/1.6.0/modules/pango-basic-fc.soAborted

Original issue reported on code.google.com by yohannle...@gmail.com on 23 Aug 2010 at 1:21

Attachments:

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

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

GoogleCodeExporter commented 9 years ago
Moved from RXTX to JSSC in IDE 1.5.6.

Original comment by c.mag...@arduino.cc on 21 Feb 2014 at 10:48