Package: avrdude
Version: 6.1-4
Severity: normal
Hi. Every time I try to read the flash in an xmega16-e5, I see avrdude crash:
dima@shorty:~/stir/linbusctl$ avrdude -B8 -Pusb -c atmelice_pdi -p x16e5 -U
flash:r:read.hex:i
avrdude: AVR device initialized and ready to accept instructions
Reading | ## | 100% 0.13s
avrdude: Device signature = 0x1e9445
avrdude: NOTE: Programmer supports page erase for Xmega devices.
Each page will be erased before programming it, but no chip erase
is performed.
To disable page erases, specify the -D option; for a chip-erase,
use the -e option.
avrdude: reading flash memory:
Reading | ## | 100% 2.80s
avrdude: writing output file read.hex
avrdude done. Thank you.
zsh: segmentation fault (core dumped) avrdude -B8 -Pusb -c atmelice_pdi -p
x16e5 -U flash:r:read.hex:i
This happens after the read completes, so fixing this isn't critically
important, but it's still not right. The core isn't particularly illuminating:
dima@shorty:~/stir/linbusctl$ gdb /usr/bin/avdude core.avrdude.7491
GNU gdb (Debian 7.9-1) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
Type show configuration for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type help.
Type apropos word to search for commands related to word...
/usr/bin/avdude: No such file or directory.
[New LWP 7491]
Core was generated by `avrdude -B8 -Pusb -c atmelice_pdi -p x16e5 -U
flash:r:read.hex:i'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x7f3663739528 in ?? ()
(gdb) where
#0 0x7f3663739528 in ?? ()
#1 0x0001 in ?? ()
#2 0x00010830 in ?? ()
#3 0x0001 in ?? ()
#4 0x7f3664e25cd8 in ?? ()
#5 0x7ffe1eee0470 in ?? ()
#6 0x7f3663a63038 in ?? ()
#7 0x0001 in ?? ()
#8 0x7ffe1eee0520 in ?? ()
#9 0x in ?? ()
(gdb) info threads
Id Target Id Frame
* 1LWP 7491 0x7f3663739528 in ?? ()
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (800, 'unstable'), (700, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, armel, i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to
C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages avrdude depends on:
ii libc6 2.19-17
ii libelf1 0.159-4.2
ii libftdi1 0.20-2
ii libncurses5 5.9+20140913-1+b1
ii libreadline6 6.3-8+b2
ii libtinfo5 5.9+20140913-1+b1
ii libusb-0.1-4 2:0.1.12-25
avrdude recommends no packages.
Versions of packages avrdude suggests:
pn avrdude-doc none
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org