jtag crashed when doing command "cable usbblaster"

Bug #659180 reported by lubun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
urjtag (Ubuntu)
New
Undecided
lubun
Nominated for Maverick by lubun

Bug Description

Binary package hint: urjtag

In another computer with previous ubuntu (10.04) it runs ok and can programm a Nexys2 Digilent FPGA board.
The message is (with program messages):

$ jtag

UrJTAG 0.9 #1476
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008 Kolja Waschk and the respective authors

UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.

WARNING: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.

jtag> cable usbblaster
jtag: malloc.c:4631: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed.
Aborted

*** Before (now) reporting the error the message was:

jtag> cable usbblaster
*** glibc detected *** jtag: munmap_chunk(): invalid pointer: 0x00000000006cd280 ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7f95c0e474b6]
jtag[0x41405b]
jtag[0x41429b]
jtag[0x412c7c]
jtag[0x40f63b]
jtag[0x4049a6]
jtag[0x4040d2]
jtag[0x403c55]
jtag[0x4037b3]
/lib/libc.so.6(__libc_start_main+0xfe)[0x7f95c0deed8e]
jtag[0x403159]
======= Memory map: ========
00400000-00460000 r-xp 00000000 08:01 17917 /usr/bin/jtag
00660000-00661000 r--p 00060000 08:01 17917 /usr/bin/jtag
00661000-00664000 rw-p 00061000 08:01 17917 /usr/bin/jtag
006af000-006f0000 rw-p 00000000 00:00 0 [heap]
7f95c02af000-7f95c02c4000 r-xp 00000000 08:01 1256 /lib/libgcc_s.so.1
7f95c02c4000-7f95c04c3000 ---p 00015000 08:01 1256 /lib/libgcc_s.so.1
7f95c04c3000-7f95c04c4000 r--p 00014000 08:01 1256 /lib/libgcc_s.so.1
7f95c04c4000-7f95c04c5000 rw-p 00015000 08:01 1256 /lib/libgcc_s.so.1
7f95c04c5000-7f95c076b000 r--p 00000000 08:01 786936 /usr/lib/locale/locale-archive
7f95c076b000-7f95c076d000 r-xp 00000000 08:01 30181 /lib/libdl-2.12.1.so
7f95c076d000-7f95c096d000 ---p 00002000 08:01 30181 /lib/libdl-2.12.1.so
7f95c096d000-7f95c096e000 r--p 00002000 08:01 30181 /lib/libdl-2.12.1.so
7f95c096e000-7f95c096f000 rw-p 00003000 08:01 30181 /lib/libdl-2.12.1.so
7f95c096f000-7f95c09af000 r-xp 00000000 08:01 705 /lib/libncurses.so.5.7
7f95c09af000-7f95c0bae000 ---p 00040000 08:01 705 /lib/libncurses.so.5.7
7f95c0bae000-7f95c0bb2000 r--p 0003f000 08:01 705 /lib/libncurses.so.5.7
7f95c0bb2000-7f95c0bb3000 rw-p 00043000 08:01 705 /lib/libncurses.so.5.7
7f95c0bb3000-7f95c0bcb000 r-xp 00000000 08:01 24803 /lib/libpthread-2.12.1.so
7f95c0bcb000-7f95c0dca000 ---p 00018000 08:01 24803 /lib/libpthread-2.12.1.so
7f95c0dca000-7f95c0dcb000 r--p 00017000 08:01 24803 /lib/libpthread-2.12.1.so
7f95c0dcb000-7f95c0dcc000 rw-p 00018000 08:01 24803 /lib/libpthread-2.12.1.so
7f95c0dcc000-7f95c0dd0000 rw-p 00000000 00:00 0
7f95c0dd0000-7f95c0f4a000 r-xp 00000000 08:01 22502 /lib/libc-2.12.1.so
7f95c0f4a000-7f95c1149000 ---p 0017a000 08:01 22502 /lib/libc-2.12.1.so
7f95c1149000-7f95c114d000 r--p 00179000 08:01 22502 /lib/libc-2.12.1.so
7f95c114d000-7f95c114e000 rw-p 0017d000 08:01 22502 /lib/libc-2.12.1.so
7f95c114e000-7f95c1153000 rw-p 00000000 00:00 0
7f95c1153000-7f95c1189000 r-xp 00000000 08:01 954 /lib/libreadline.so.5.2
7f95c1189000-7f95c1388000 ---p 00036000 08:01 954 /lib/libreadline.so.5.2
7f95c1388000-7f95c138a000 r--p 00035000 08:01 954 /lib/libreadline.so.5.2
7f95c138a000-7f95c1390000 rw-p 00037000 08:01 954 /lib/libreadline.so.5.2
7f95c1390000-7f95c1391000 rw-p 00000000 00:00 0
7f95c1391000-7f95c1398000 r-xp 00000000 08:01 10816 /lib/librt-2.12.1.so
7f95c1398000-7f95c1597000 ---p 00007000 08:01 10816 /lib/librt-2.12.1.so
7f95c1597000-7f95c1598000 r--p 00006000 08:01 10816 /lib/librt-2.12.1.so
7f95c1598000-7f95c1599000 rw-p 00007000 08:01 10816 /lib/librt-2.12.1.so
7f95c1599000-7f95c15a0000 r-xp 00000000 08:01 5396 /lib/libusb-0.1.so.4.4.4
7f95c15a0000-7f95c179f000 ---p 00007000 08:01 5396 /lib/libusb-0.1.so.4.4.4
7f95c179f000-7f95c17a0000 r--p 00006000 08:01 5396 /lib/libusb-0.1.so.4.4.4
7f95c17a0000-7f95c17a2000 rw-p 00007000 08:01 5396 /lib/libusb-0.1.so.4.4.4
7f95c17a2000-7f95c17a8000 r-xp 00000000 08:01 2182 /usr/lib/libftdi.so.1.18.0
7f95c17a8000-7f95c19a7000 ---p 00006000 08:01 2182 /usr/lib/libftdi.so.1.18.0
7f95c19a7000-7f95c19a8000 r--p 00005000 08:01 2182 /usr/lib/libftdi.so.1.18.0
7f95c19a8000-7f95c19a9000 rw-p 00006000 08:01 2182 /usr/lib/libftdi.so.1.18.0
7f95c19a9000-7f95c1a2b000 r-xp 00000000 08:01 30147 /lib/libm-2.12.1.so
7f95c1a2b000-7f95c1c2a000 ---p 00082000 08:01 30147 /lib/libm-2.12.1.so
7f95c1c2a000-7f95c1c2b000 r--p 00081000 08:01 30147 /lib/libm-2.12.1.so
7f95c1c2b000-7f95c1c2c000 rw-p 00082000 08:01 30147 /lib/libm-2.12.1.so
7f95c1c2c000-7f95c1c4c000 r-xp 00000000 08:01 30148 /lib/ld-2.12.1.so
7f95c1e16000-7f95c1e1c000 rw-p 00000000 00:00 0
7f95c1e42000-7f95c1e49000 r--s 00000000 08:01 527982 /usr/lib/gconv/gconv-modules.cache
7f95c1e49000-7f95c1e4c000 rw-p 00000000 00:00 0
7f95c1e4c000-7f95c1e4d000 r--p 00020000 08:01 30148 /lib/ld-2.12.1.so
7f95c1e4d000-7f95c1e4e000 rw-p 00021000 08:01 30148 /lib/ld-2.12.1.so
7f95c1e4e000-7f95c1e4f000 rw-p 00000000 00:00 0
7fffbed5d000-7fffbed7e000 rw-p 00000000 00:00 0 [stack]
7fffbeda4000-7fffbeda5000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: urjtag 0.0+r1476-1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Tue Oct 12 14:30:57 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: urjtag

Revision history for this message
lubun (luis-ffferreira) wrote :
Revision history for this message
lubun (luis-ffferreira) wrote :

My problem is now solved. I can now program my board as in the past.
What I did?

I downloaded the last version urjtag-0.10.tar.gz (1.4 MB) from:

http://sourceforge.net/projects/urjtag/

Unziped it,

After reading the file: "urjtag-0.10/doc/UrJTAG.txt, I followed the instructions there.

In the directory created by the unzip program I did:
./configure
make

then I entered administration mode (this works for my Ubunto operating system)

sudo su

(He asked for my password and I replyed)
then:

make install

after exiting the route shell I executed my chip programming script with a fpga bitmap and it is working ok.

Regards.
Luis.

Changed in urjtag (Ubuntu):
assignee: nobody → lubun (luis-ffferreira)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.