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: anonymous
Subject: [avrdude-dev] [bug #41292] Crash when uploading with JTAGICE3
Date: Tue, 21 Jan 2014 17:20:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 Iceweasel/28.0a2

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

                 Summary: Crash when uploading with JTAGICE3
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Tue 21 Jan 2014 05:20:30 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Guyzmo
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

<p>
Starting from yesterday, when I try to flash my custom Atmega2560 board using
the JTAG ICE 3
on the ICSP/ISP header, I'm getting the following error, and the flasher is
stuck with the
"flashing status" led on (core dump attached).
</p>
<p>
It was working perfectly fine before I had an issue with the cable from the
flasher to the 
ICSP header, that I changed. Since I changed that cable, it is working fine on
other boards
(Atmega32u4 based).
</p>
<pre>
    % /usr/local/bin/avrdude -D -C /usr/local/etc/avrdude.conf  -p atmega2560
-P usb -c jtag3isp -b 250000 -B0.3 -e -U flash:w:applet/Marlin.hex


    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 (114316 bytes):

    Writing | ################################################## | 100%
11.17s

    avrdude: 114316 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 114316 bytes
    avrdude: reading on-chip flash data:

    Reading |                                                    | 0% 0.00s***
glibc detected *** /usr/local/bin/avrdude: free(): invalid next size (fast):
0x0000000000fe8080 ***
    ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7f35a0dacd76]
    /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f35a0db1aac]
    /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)[0x7f35a0d54ead]
    /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-00668000 rw-p 00000000 00:00 0 
    00d3b000-01013000 rw-p 00000000 00:00 0                                 
[heap]
    7f359c000000-7f359c021000 rw-p 00000000 00:00 0 
    7f359c021000-7f35a0000000 ---p 00000000 00:00 0 
    7f35a0714000-7f35a0729000 r-xp 00000000 08:02 12451882                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
    7f35a0729000-7f35a0929000 ---p 00015000 08:02 12451882                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
    7f35a0929000-7f35a092a000 rw-p 00015000 08:02 12451882                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
    7f35a092a000-7f35a092c000 r-xp 00000000 08:02 12451866                  
/lib/x86_64-linux-gnu/libdl-2.13.so
    7f35a092c000-7f35a0b2c000 ---p 00002000 08:02 12451866                  
/lib/x86_64-linux-gnu/libdl-2.13.so
    7f35a0b2c000-7f35a0b2d000 r--p 00002000 08:02 12451866                  
/lib/x86_64-linux-gnu/libdl-2.13.so
    7f35a0b2d000-7f35a0b2e000 rw-p 00003000 08:02 12451866                  
/lib/x86_64-linux-gnu/libdl-2.13.so
    7f35a0b2e000-7f35a0b35000 r-xp 00000000 08:02 12451868                  
/lib/x86_64-linux-gnu/librt-2.13.so
    7f35a0b35000-7f35a0d34000 ---p 00007000 08:02 12451868                  
/lib/x86_64-linux-gnu/librt-2.13.so
    7f35a0d34000-7f35a0d35000 r--p 00006000 08:02 12451868                  
/lib/x86_64-linux-gnu/librt-2.13.so
    7f35a0d35000-7f35a0d36000 rw-p 00007000 08:02 12451868                  
/lib/x86_64-linux-gnu/librt-2.13.so
    7f35a0d36000-7f35a0eb6000 r-xp 00000000 08:02 12451873                  
/lib/x86_64-linux-gnu/libc-2.13.so
    7f35a0eb6000-7f35a10b6000 ---p 00180000 08:02 12451873                  
/lib/x86_64-linux-gnu/libc-2.13.so
    7f35a10b6000-7f35a10ba000 r--p 00180000 08:02 12451873                  
/lib/x86_64-linux-gnu/libc-2.13.so
    7f35a10ba000-7f35a10bb000 rw-p 00184000 08:02 12451873                  
/lib/x86_64-linux-gnu/libc-2.13.so
    7f35a10bb000-7f35a10c0000 rw-p 00000000 00:00 0 
    7f35a10c0000-7f35a10e5000 r-xp 00000000 08:02 12451892                  
/lib/x86_64-linux-gnu/libtinfo.so.5.9
    7f35a10e5000-7f35a12e4000 ---p 00025000 08:02 12451892                  
/lib/x86_64-linux-gnu/libtinfo.so.5.9
    7f35a12e4000-7f35a12e8000 r--p 00024000 08:02 12451892                  
/lib/x86_64-linux-gnu/libtinfo.so.5.9
    7f35a12e8000-7f35a12e9000 rw-p 00028000 08:02 12451892                  
/lib/x86_64-linux-gnu/libtinfo.so.5.9
    7f35a12e9000-7f35a130a000 r-xp 00000000 08:02 12451888                  
/lib/x86_64-linux-gnu/libncurses.so.5.9
    7f35a130a000-7f35a1509000 ---p 00021000 08:02 12451888                  
/lib/x86_64-linux-gnu/libncurses.so.5.9
    7f35a1509000-7f35a150a000 r--p 00020000 08:02 12451888                  
/lib/x86_64-linux-gnu/libncurses.so.5.9
    7f35a150a000-7f35a150b000 rw-p 00021000 08:02 12451888                  
/lib/x86_64-linux-gnu/libncurses.so.5.9
    7f35a150b000-7f35a158c000 r-xp 00000000 08:02 12451870                  
/lib/x86_64-linux-gnu/libm-2.13.so
    7f35a158c000-7f35a178b000 ---p 00081000 08:02 12451870                  
/lib/x86_64-linux-gnu/libm-2.13.so
    7f35a178b000-7f35a178c000 r--p 00080000 08:02 12451870                  
/lib/x86_64-linux-gnu/libm-2.13.so
    7f35a178c000-7f35a178d000 rw-p 00081000 08:02 12451870                  
/lib/x86_64-linux-gnu/libm-2.13.so
    7f35a178d000-7f35a17a4000 r-xp 00000000 08:02 12451863                  
/lib/x86_64-linux-gnu/libpthread-2.13.so
    7f35a17a4000-7f35a19a3000 ---p 00017000 08:02 12451863                  
/lib/x86_64-linux-gnu/libpthread-2.13.so
    7f35a19a3000-7f35a19a4000 r--p 00016000 08:02 12451863                  
/lib/x86_64-linux-gnu/libpthread-2.13.so
    7f35a19a4000-7f35a19a5000 rw-p 00017000 08:02 12451863                  
/lib/x86_64-linux-gnu/libpthread-2.13.so
    7f35a19a5000-7f35a19a9000 rw-p 00000000 00:00 0 
    7f35a19a9000-7f35a19bd000 r-xp 00000000 08:02 24390649                  
/usr/lib/libelf-0.152.so
    7f35a19bd000-7f35a1bbc000 ---p 00014000 08:02 24390649                  
/usr/lib/libelf-0.152.so
    7f35a1bbc000-7f35a1bbd000 r--p 00013000 08:02 24390649                  
/usr/lib/libelf-0.152.so
    7f35a1bbd000-7f35a1bbe000 rw-p 00014000 08:02 24390649                  
/usr/lib/libelf-0.152.so
    7f35a1bbe000-7f35a1bc5000 r-xp 00000000 08:02 24424271                  
/usr/lib/x86_64-linux-gnu/libftdi.so.1.20.0
    7f35a1bc5000-7f35a1dc4000 ---p 00007000 08:02 24424271                  
/usr/lib/x86_64-linux-gnu/libftdi.so.1.20.0
    7f35a1dc4000-7f35a1dc5000 rw-p 00006000 08:02 24424271                  
/usr/lib/x86_64-linux-gnu/libftdi.so.1.20.0
    7f35a1dc5000-7f35a1dcc000 r-xp 00000000 08:02 12452156                  
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
    7f35a1dcc000-7f35a1fcb000 ---p 00007000 08:02 12452156                  
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
    7f35a1fcb000-7f35a1fcc000 r--p 00006000 08:02 12452156                  
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
    7f35a1fcc000-7f35a1fcd000 rw-p 00007000 08:02 12452156                  
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
    7f35a1fcd000-7f35a1fce000 rw-p 00000000 00:00 0 
    7f35a1fce000-7f35a1fdb000 r-xp 00000000 08:02 27398703                  
/opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0
    7f35a1fdb000-7f35a21da000 ---p 0000d000 08:02 27398703                  
/opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0
    7f35a21da000-7f35a21db000 r--p 0000c000 08:02 27398703                  
/opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0
    7f35a21db000-7f35a21dc000 rw-p 0000d000 08:02 27398703                  
/opt/microchip/mplabcomm/lib/libusb-1.0.so.0.0.0
    7f35a21dc000-7f35a21fc000 r-xp 00000000 08:02 12451876                  
/lib/x86_64-linux-gnu/ld-2.13.so
    7f35a22ce000-7f35a23d9000 rw-p 00000000 00:00 0 
    7f35a23f9000-7f35a23fb000 rw-p 00000000 00:00 0 
    7f35a23fb000-7f35a23fc000 r--p 0001f000 08:02 12451876                  
/lib/x86_64-linux-gnu/ld-2.13.so
    7f35a23fc000-7f35a23fd000 rw-p 00020000 08:02 12451876                  
/lib/x86_64-linux-gnu/ld-2.13.so
    7f35a23fd000-7f35a23fe000 rw-p 00000000 00:00 0 
    7fff9925b000-7fff9927c000 rw-p 00000000 00:00 0                         
[stack]
    7fff9938c000-7fff9938d000 r-xp 00000000 00:00 0                         
[vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]
    [1]    25307 abort (core dumped)  /usr/local/bin/avrdude -D -C
/usr/local/etc/avrdude.conf -p atmega2560 -P usb
    % /usr/local/bin/avrdude -v

    avrdude: Version 6.0.1, compiled on Dec 10 2013 at 16:49:18
            Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
            Copyright (c) 2007-2009 Joerg Wunsch

            System wide configuration file is "/usr/local/etc/avrdude.conf"
            User configuration file is "/home/guyzmo/.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

    [1]    25734 exit 1     /usr/local/bin/avrdude -v
</pre>





    _______________________________________________________

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]