bugAVR Downloader/UploaDEr - Bugs: bug #46610, Floating point exception (core...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46610: Floating point exception (core dumped) arch linux rpi2

Submitter:  Mircea <byreal>
Submitted:  Sat 05 Dec 2015 09:23:23 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  7 - High Item Group:  None
Status:  Confirmed Privacy:  Public
Assigned to:  None Originator Name:  Mircea Dan
Open/Closed:  Open Release:  None
Programmer hardware:  Device type: 

Wed 09 Dec 2015 10:47:24 PM UTC, comment #4: 

The offending change has been backed out in r1365.

Joerg Wunsch <joerg_wunsch>
Group administrator
Wed 09 Dec 2015 10:40:21 PM UTC, comment #3: 

Another failure related to patch #8380, adding the author of
that patch to Cc list.

Joerg Wunsch <joerg_wunsch>
Group administrator
Wed 09 Dec 2015 10:37:57 PM UTC, comment #2: 

Bug #46618 is a duplicate of this, but contains a good
analysis.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 07 Dec 2015 11:41:18 AM UTC, comment #1: 

Almost the same thing.
I've updated the OS yesterday (December, the 6th; Arch Linux 64bit). Among the other updated packages there was AVRDUDE. Now, when I'm downloading the hex file, it writes:
--------------------
[burser@Arch sketch_dec07a]$ avrdude -v -v -C/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf -patmega328p -carduino -P/dev/ttyACM0 -b115200 -D -Uflash:w:sketch_dec07a.cpp.standard.hex:i

avrdude: Version 6.2, compiled on Dec  2 2015 at 15:23:56
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/burser/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
Исключение в операции с плавающей точкой (core dumped)
--------------------
(The last line is translated as "Exception in operation with floating-point number").

The version of AVRDUDE is the same, 6.2.

IMHO it's somehow connected to configuring the serial port (setting the baud rate), because when I try to set a different baud rate, the results are different:
--------------------
[burser@Arch sketch_dec07a]$ avrdude -v -v -C/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf -patmega328p -carduino -P/dev/ttyACM0 -b9600 -D -Uflash:w:sketch_dec07a.cpp.standard.hex:i

avrdude: Version 6.2, compiled on Dec  2 2015 at 15:23:56
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/burser/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : arduino
         Overriding Baud Rate          : 9600
avrdude: Cannot set serial port speed to 9600. ioctl returned -1
avrdude: ser_open(): can't set attributes for device "/dev/ttyACM0": Operation not supported

avrdude done.  Thank you.
--------------------
--------------------
[burser@Arch sketch_dec07a]$ avrdude -v -v -C/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf -patmega328p -carduino -P/dev/ttyACM0 -b19200 -D -Uflash:w:sketch_dec07a.cpp.standard.hex:i

avrdude: Version 6.2, compiled on Dec  2 2015 at 15:23:56
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/burser/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : arduino
         Overriding Baud Rate          : 19200
avrdude: Cannot set serial port speed to 19200. Closest possible is 9600
avrdude: ser_open(): can't set attributes for device "/dev/ttyACM0": No such file or directory

avrdude done.  Thank you.
--------------------

Sergey Burobin <burser>
Sat 05 Dec 2015 09:23:23 AM UTC, original submission:  

this was working just fine few days back, i believe there was a recent update and now it's crashing, same command same hex file, i have attached the dumps
i'm programming an arduino basically


[root@alarmpi ~]# /usr/bin/avrdude         -v                   -p atmega2560        -c wiring            -P /dev/ttyACM0      -b 115200            -D                   -U flash:w:/srv/http/upload/Marlin_RUMBA_i3v_GLCDPercent.ino.mega.hex:i

avrdude: Version 6.2, compiled on Dec  3 2015 at 10:47:27
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/root/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : wiring
         Overriding Baud Rate          : 115200
Floating point exception (core dumped)



uname -a
Linux alarmpi 4.1.13-1-ARCH #1 SMP PREEMPT Fri Nov 13 20:11:44 MST 2015 armv7l GNU/Linux


avrdude -v

avrdude: Version 6.2, compiled on Dec  3 2015 at 10:47:27
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/root/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping


avrdude: no programmer has been specified on the command line or the config file
         Specify a programmer using the -c option and try again

Mircea <byreal>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #35646:  coredump.zip added by byreal (2MiB - application/x-zip-compressed)
file #35647:  Marlin_RUMBA_i3v_GLCDPercent.ino.mega.hex added by byreal (318KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Author of patch #8380)
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Originator of bug #46618)
  • -email is unavailable- added by burser (Posted a comment)
  • -email is unavailable- added by byreal (Submitted the item)
  • -email is unavailable- added by byreal
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-09 joerg_wunsch StatusNone Confirmed
    2015-12-09 joerg_wunsch Priority5 - Normal 7 - High
    2015-12-09 joerg_wunsch Carbon-Copy- Added oni
    2015-12-09 joerg_wunsch Carbon-Copy- Added thall
    2015-12-05 byreal Attached File- Added coredump.zip, #35646
        Attached File- Added Marlin_RUMBA_i3v_GLCDPercent.ino.mega.hex, #35647
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code