FS#47270 - [avrdude] Floating point exception (core dumped) arch linux rpi2

Attached to Project: Community Packages
Opened by Mircea Dan (ByReaL) - Saturday, 05 December 2015, 09:37 GMT
Last edited by Anatol Pomozov (anatolik) - Wednesday, 27 January 2016, 04:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Anatol Pomozov (anatolik)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

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

Upstream bug report: http://savannah.nongnu.org/bugs/?46610
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Wednesday, 27 January 2016, 04:25 GMT
Reason for closing:  Upstream
Comment by Jordan (jrkagan2) - Monday, 07 December 2015, 03:53 GMT
  • Field changed: Percent Complete (100% → 0%)
I have the same issue on non Arm:
uname -a
Linux mybox 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux

avrdude -v
avrdude: Version 6.2, compiled on Dec 2 2015 at 15:23:56
Comment by Doug Newgard (Scimmia) - Monday, 07 December 2015, 03:53 GMT
Exactly the same error? No differences at all?
Comment by Jordan (jrkagan2) - Monday, 07 December 2015, 04:01 GMT
[user@mybox bin]$ /usr/bin/avrdude -C/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf -vvv -patmega328p -carduino -P/dev/ttyACM0 -b115200 -D -Ueeprom:w:0xff:m -Uflash:w:/tmp/build6607253047208909867.tmp/sketch_dec07a.cpp.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/user/.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
Floating point exception (core dumped)


valgrind output:
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"
--16675-- REDIR: 0x5e60a00 (libc.so.6:__GI_strstr) redirected to 0x4c301d0 (__strstr_sse2)
--16675-- REDIR: 0x5e58e10 (libc.so.6:calloc) redirected to 0x4c2a8f1 (calloc)
--16675-- REDIR: 0x5e72a30 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c2bcc0 (strcpy)
--16675-- REDIR: 0x5e58a90 (libc.so.6:free) redirected to 0x4c29ca3 (free)
--16675-- REDIR: 0x5ed39a0 (libc.so.6:__strcpy_chk) redirected to 0x4c2fb10 (__strcpy_chk)
--16675-- REDIR: 0x5f01ad0 (libc.so.6:__strcasecmp_avx) redirected to 0x4c2c4e0 (strcasecmp)
--16675-- REDIR: 0x5efcbe0 (libc.so.6:__strncmp_sse42) redirected to 0x4c2c470 (__strncmp_sse42)
User configuration file is "/home/user/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

--16675-- REDIR: 0x5e6dbc0 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c2cc10 (strcmp)
Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
==16675==
==16675== Process terminating with default action of signal 8 (SIGFPE)
==16675== Integer divide by zero at address 0x802CF2E9B
==16675== at 0x442B2A: ??? (in /usr/bin/avrdude)
==16675== by 0x442F61: ??? (in /usr/bin/avrdude)
==16675== by 0x422447: ??? (in /usr/bin/avrdude)
==16675== by 0x404273: ??? (in /usr/bin/avrdude)
==16675== by 0x5DFD60F: (below main) (in /usr/lib/libc-2.22.so)
Comment by Jelle van der Waa (jelly) - Monday, 07 December 2015, 15:56 GMT
I've added the upstream report in the description.
Comment by Anatol Pomozov (anatolik) - Wednesday, 09 December 2015, 21:12 GMT
Still no any feedback from upstream. I am going to revert it back to 6.1. It will be in [testing] soon.

Please put pressure to upstream to fix this bugs and release working version of avrdude.

Loading...