avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #41292] Crash when uploading with JTAGICE3


From: Guyzmo
Subject: [avrdude-dev] [bug #41292] Crash when uploading with JTAGICE3
Date: Mon, 24 Feb 2014 11:46:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 Iceweasel/28.0a2

Follow-up Comment #2, bug #41292 (project avrdude):

Ok, this time I ran avrdude in gdb, and showed the backtrace, and I also got a
core file to share:

Starting program: /usr/local/bin/avrdude -D -C /usr/local/etc/avrdude.conf  -p
atmega2560 -P usb -c jtag3isp -b 250000 -B0.1 -e -U flash:w:applet/Marlin.hex
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.19s

avrdude: Device signature = 0x1e9801
avrdude: erasing chip
avrdude: reading input file "applet/Marlin.hex"
avrdude: input file applet/Marlin.hex auto detected as Intel Hex
avrdude: writing flash (118782 bytes):

Writing | ################################################## | 100% 11.58s

avrdude: 118782 bytes of flash written
avrdude: verifying flash memory against applet/Marlin.hex:
avrdude: load data flash data from input file applet/Marlin.hex:
avrdude: input file applet/Marlin.hex auto detected as Intel Hex
avrdude: input file applet/Marlin.hex contains 118782 bytes
avrdude: reading on-chip flash data:

Reading |                                                    | 0% 0.00s***
glibc detected *** /usr/local/bin/avrdude: free(): invalid next size (fast):
0x0000000000915080 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7ffff69acd76]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7ffff69b1b1c]
/usr/local/bin/avrdude[0x410957]
/usr/local/bin/avrdude[0x411ddf]
/usr/local/bin/avrdude[0x4122f9]
/usr/local/bin/avrdude[0x4130a5]
/usr/local/bin/avrdude[0x4090b7]
/usr/local/bin/avrdude[0x41be2e]
/usr/local/bin/avrdude[0x404bf2]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7ffff6954ead]
/usr/local/bin/avrdude[0x405659]
======= Memory map: ========
00400000-00461000 r-xp 00000000 08:02 24511709                          
/usr/local/bin/avrdude
00661000-00662000 rw-p 00061000 08:02 24511709                          
/usr/local/bin/avrdude
00662000-00941000 rw-p 00000000 00:00 0                                 
[heap]
7ffff0000000-7ffff0021000 rw-p 00000000 00:00 0 
7ffff0021000-7ffff4000000 ---p 00000000 00:00 0 
7ffff6314000-7ffff6329000 r-xp 00000000 08:02 12451882                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff6329000-7ffff6529000 ---p 00015000 08:02 12451882                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff6529000-7ffff652a000 rw-p 00015000 08:02 12451882                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff652a000-7ffff652c000 r-xp 00000000 08:02 12456707                  
/lib/x86_64-linux-gnu/libdl-2.13.so
7ffff652c000-7ffff672c000 ---p 00002000 08:02 12456707                  
/lib/x86_64-linux-gnu/libdl-2.13.so
7ffff672c000-7ffff672d000 r--p 00002000 08:02 12456707                  
/lib/x86_64-linux-gnu/libdl-2.13.so
7ffff672d000-7ffff672e000 rw-p 00003000 08:02 12456707                  
/lib/x86_64-linux-gnu/libdl-2.13.so
7ffff672e000-7ffff6735000 r-xp 00000000 08:02 12456741                  
/lib/x86_64-linux-gnu/librt-2.13.so
7ffff6735000-7ffff6934000 ---p 00007000 08:02 12456741                  
/lib/x86_64-linux-gnu/librt-2.13.so
7ffff6934000-7ffff6935000 r--p 00006000 08:02 12456741                  
/lib/x86_64-linux-gnu/librt-2.13.so
7ffff6935000-7ffff6936000 rw-p 00007000 08:02 12456741                  
/lib/x86_64-linux-gnu/librt-2.13.so
7ffff6936000-7ffff6ab8000 r-xp 00000000 08:02 12455328                  
/lib/x86_64-linux-gnu/libc-2.13.so
7ffff6ab8000-7ffff6cb7000 ---p 00182000 08:02 12455328                  
/lib/x86_64-linux-gnu/libc-2.13.so
7ffff6cb7000-7ffff6cbb000 r--p 00181000 08:02 12455328                  
/lib/x86_64-linux-gnu/libc-2.13.so
7ffff6cbb000-7ffff6cbc000 rw-p 00185000 08:02 12455328                  
/lib/x86_64-linux-gnu/libc-2.13.so
7ffff6cbc000-7ffff6cc1000 rw-p 00000000 00:00 0 
7ffff6cc1000-7ffff6ce6000 r-xp 00000000 08:02 12451892                  
/lib/x86_64-linux-gnu/libtinfo.so.5.9
7ffff6ce6000-7ffff6ee5000 ---p 00025000 08:02 12451892                  
/lib/x86_64-linux-gnu/libtinfo.so.5.9
7ffff6ee5000-7ffff6ee9000 r--p 00024000 08:02 12451892                  
/lib/x86_64-linux-gnu/libtinfo.so.5.9
7ffff6ee9000-7ffff6eea000 rw-p 00028000 08:02 12451892                  
/lib/x86_64-linux-gnu/libtinfo.so.5.9
7ffff6eea000-7ffff6f0b000 r-xp 00000000 08:02 12451888                  
/lib/x86_64-linux-gnu/libncurses.so.5.9
7ffff6f0b000-7ffff710a000 ---p 00021000 08:02 12451888                  
/lib/x86_64-linux-gnu/libncurses.so.5.9
7ffff710a000-7ffff710b000 r--p 00020000 08:02 12451888                  
/lib/x86_64-linux-gnu/libncurses.so.5.9
7ffff710b000-7ffff710c000 rw-p 00021000 08:02 12451888                  
/lib/x86_64-linux-gnu/libncurses.so.5.9
7ffff710c000-7ffff718d000 r-xp 00000000 08:02 12455906                  
/lib/x86_64-linux-gnu/libm-2.13.so
7ffff718d000-7ffff738c000 ---p 00081000 08:02 12455906                  
/lib/x86_64-linux-gnu/libm-2.13.so
7ffff738c000-7ffff738d000 r--p 00080000 08:02 12455906                  
/lib/x86_64-linux-gnu/libm-2.13.so
7ffff738d000-7ffff738e000 rw-p 00081000 08:02 12455906                  
/lib/x86_64-linux-gnu/libm-2.13.so
7ffff738e000-7ffff73a5000 r-xp 00000000 08:02 12456738                  
/lib/x86_64-linux-gnu/libpthread-2.13.so
7ffff73a5000-7ffff75a4000 ---p 00017000 08:02 12456738                  
/lib/x86_64-linux-gnu/libpthread-2.13.so
7ffff75a4000-7ffff75a5000 r--p 00016000 08:02 12456738                  
/lib/x86_64-linux-gnu/libpthread-2.13.so
7ffff75a5000-7ffff75a6000 rw-p 00017000 08:02 12456738                  
/lib/x86_64-linux-gnu/libpthread-2.13.so
7ffff75a6000-7ffff75aa000 rw-p 00000000 00:00 0 
7ffff75aa000-7ffff75be000 r-xp 00000000 08:02 24390649                  
/usr/lib/libelf-0.152.so
7ffff75be000-7ffff77bd000 ---p 00014000 08:02 24390649                  
/usr/lib/libelf-0.152.so
7ffff77bd000-7ffff77be000 r--p 00013000 08:02 24390649                  
/usr/lib/libelf-0.152.so
7ffff77be000-7ffff77bf000 rw-p 00014000 08:02 24390649                  
/usr/lib/libelf-0.152.so
7ffff77bf000-7ffff77c6000 r-xp 00000000 08:02 24424271                  
/usr/lib/x86_64-linux-gnu/libftdi.so.1.20.0
7ffff77c6000-7ffff79c5000 ---p 00007000 08:02 24424271                  
/usr/lib/x86_64-linux-gnu/libftdi.so.1.20.0
7ffff79c5000-7ffff79c6000 rw-p 00006000 08:02 24424271                  
/usr/lib/x86_64-linux-gnu/libftdi.so.1.20.0
7ffff79c6000-7ffff79cd000 r-xp 00000000 08:02 12452156                  
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
7ffff79cd000-7ffff7bcc000 ---p 00007000 08:02 12452156                  
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
7ffff7bcc000-7ffff7bcd000 r--p 00006000 08:02 12452156                  
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
7ffff7bcd000-7ffff7bce000 rw-p 00007000 08:02 12452156                  
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
7ffff7bce000-7ffff7bcf000 rw-p 00000000 00:00 0 
7ffff7bcf000-7ffff7bdc000 r-xp 00000000 08:02 27398703                  
/opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0
7ffff7bdc000-7ffff7ddb000 ---p 0000d000 08:02 27398703                  
/opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0
7ffff7ddb000-7ffff7ddc000 r--p 0000c000 08:02 27398703                  
/opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0
7ffff7ddc000-7ffff7ddd000 rw-p 0000d000 08:02 27398703                  
/opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0
7ffff7ddd000-7ffff7dfd000 r-xp 00000000 08:02 12456746                  
/lib/x86_64-linux-gnu/ld-2.13.so
7ffff7ece000-7ffff7fd9000 rw-p 00000000 00:00 0 
7ffff7ff9000-7ffff7ffb000 rw-p 00000000 00:00 0 
7ffff7ffb000-7ffff7ffc000 r-xp 00000000 00:00 0                         
[vdso]
7ffff7ffc000-7ffff7ffd000 r--p 0001f000 08:02 12456746                  
/lib/x86_64-linux-gnu/ld-2.13.so
7ffff7ffd000-7ffff7ffe000 rw-p 00020000 08:02 12456746                  
/lib/x86_64-linux-gnu/ld-2.13.so
7ffff7ffe000-7ffff7fff000 rw-p 00000000 00:00 0 
7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0                         
[stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]

Program received signal SIGABRT, Aborted.
0x00007ffff6968475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) BT
#0  0x00007ffff6968475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff696b6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff69a352b in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff69acd76 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007ffff69b1b1c in free () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000410957 in stk500v2_jtag3_recv (pgm=<optimized out>,
address@hidden " 24", address@hidden) at
stk500v2.c:619
#6  0x0000000000411ddf in stk500v2_recv (pgm=0x7072d0, msg=0x7fffffffc030
" 24", maxsize=275) at stk500v2.c:640
#7  0x00000000004122f9 in stk500v2_command (address@hidden,
address@hidden " 24", address@hidden, address@hidden)
    at stk500v2.c:838
#8  0x00000000004130a5 in stk500v2_paged_load (pgm=0x7072d0, p=<optimized
out>, m=0x8309d0, page_size=256, addr=0, n_bytes=256) at stk500v2.c:2570
#9  0x00000000004090b7 in avr_read (address@hidden,
address@hidden, memtype=0x668480 "flash", address@hidden) at
avr.c:412
#10 0x000000000041be2e in do_op (pgm=0x7072d0, address@hidden,
upd=0x668450, address@hidden) at update.c:348
#11 0x0000000000404bf2 in main (argc=<optimized out>, argv=<optimized out>) at
main.c:1217



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?41292>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]