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

Submitted by:  Mircea <byreal>
Submitted on:  Sat 05 Dec 2015 09:23:23 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 7 - HighItem Group: None
Status: ConfirmedPrivacy: Public
Assigned to: NoneOriginator Name: Mircea Dan
Open/Closed: OpenRelease: 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>
Project 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>
Project 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>
Project 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>

 

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
  • -unavailable- added by joerg_wunsch (Author of patch #8380)
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by joerg_wunsch (Originator of bug #46618)
  • -unavailable- added by burser (Posted a comment)
  • -unavailable- added by byreal (Submitted the item)
  • -unavailable- added by byreal
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Dec 2015 10:47:24 PM UTCjoerg_wunschStatusNone=>Confirmed
    Wed 09 Dec 2015 10:40:35 PM UTCjoerg_wunschPriority5 - Normal=>7 - High
    Wed 09 Dec 2015 10:40:21 PM UTCjoerg_wunschCarbon-Copy-=>Added oni
    Wed 09 Dec 2015 10:37:57 PM UTCjoerg_wunschCarbon-Copy-=>Added thall
    Sat 05 Dec 2015 09:23:23 AM UTCbyrealAttached File-=>Added coredump.zip, #35646
      Attached File-=>Added Marlin_RUMBA_i3v_GLCDPercent.ino.mega.hex, #35647
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1