I have run into this, too... jtag> cable DLC5 ppdev /dev/parport0 jtag> frequency 100000 jtag> detect IR length: 10 Chain length: 1 Device Id: 00000001010100010100000000111111 (0x0151403F) Manufacturer: Atmel (0x03F) Part(0): ATF1504ASV (0x1514) Stepping: A Filename: /usr/share/urjtag/atmel/atf15xx/atf1504asv
I get no prompt if I try to enter something: Segmentation fault I compiled from (urjtag_0.10+r2007-1.2)source and installed an unstripped binary: this is the backtrace form gdb: (gdb) bt full #0 __GI___libc_free (mem=0x10000) at malloc.c:2929 ar_ptr = <optimized out> p = 0xfff8 hook = 0x0 #1 0x080787b6 in free_string_list (sl=0x0) at vhdl_bison.y:740 No locals. #2 0x080787ed in free_port_list (pl=0x0, pl@entry=0x810bcd8, free_me=65528, free_me@entry=0) at vhdl_bison.y:764 No locals. #3 0x08079b79 in urj_vhdl_sem_deinit (priv_data=0x810bc60) at vhdl_bison.y:821 pd = <optimized out> el = 0x0 #4 urj_vhdl_parser_deinit (priv_data=0x810bc60) at vhdl_bison.y:898 No locals. #5 0x08077159 in urj_bsdl_read_file (chain=0x810bc60, BSDL_File_Name=0xbffff0cc "/usr/share/urjtag/atmel/atf15xx/atf1504asv", proc_mode=0, idcode=0x0) at bsdl.c:157 BSDL_File = 0x810bc60 vhdl_parser_priv = 0x810bc60 jtag_ctrl = {proc_mode = 8, chain = 0x0, part = 0x0, port_desc = 0x0, vhdl_elem_first = 0x0, vhdl_elem_last = 0x0, idcode = 0x0, usercode = 0xbfffeff0 "\350\364\377\277 0\377\267\351!\a\b", instr_len = -1208038241, bsr_len = -1207960856, conformance = 3083966928, instr_list = 0x1, ainfo_list = 0x1, cell_info_first = 0x0, cell_info_last = 0x8070e1f <stdout_vprintf+47>} Compile_Errors = 0 result = 0 __func__ = "urj_bsdl_read_file" #6 0x08072290 in urj_parse_include (chain=0x80fe900, filename=0xbffff0cc "/usr/share/urjtag/atmel/atf15xx/atf1504asv", ignore_path=<optimized out>) at parse.c:282 path = 0x0 r = 0 __func__ = "urj_parse_include" #7 0x08080173 in urj_tap_detect_parts (chain=0x80fe900, db_path=0x80ae52e "/usr/share/urjtag") at detect.c:425 id_name = 0x810bbb0 "atf1504asv" id_fullname = 0x810bba0 "A" did = 0x810b830 key = 0x810b9f8 part = 0x810b990 p = <optimized out> part_init_func = <optimized out> irlen = <optimized out> ir = <optimized out> chlen = <optimized out> one = <optimized out> ones = <optimized out> all_ones = <optimized out> br = 0x810b850 id = <optimized out> all_ids = <optimized out> ps = <optimized out> i = 0 data_path = "/usr/share/urjtag/atmel/atf15xx/atf1504asv\000\267\240\232\360\267\300J\373\267\303\067ַ\020ii\r\017\000\000\000@\361\377\277FX7\017ºy\000\304\356ٷ\034\357෴YڷD\200\376\267\250\365\377\277p\357\377\277\210\332\017\b\000\000\000\000\017\000\000\000p\361\377\277\000\000\000\000\060\224\360\267\070\000\000\000\000\006\000\000\260\234ѷ\020'\000\000\064\000\000\000\245\342\340\267H\000\000\000\a\000\000\000\000\000\000\000\070\000\000\000\000\000\000\000[\000\000\000\000\000\000\000n\000\000\000\005\000\000\000\270\246\020\b\230\216ܷ|\000\000\000\370\361\377\277\000\361\362\267\000\000\000\020"... manufacturer = "Atmel\000\340\363\377\277]\320\336\267\204\362\377\277\000\000\000\000\n\000\000" partname = "ATF1504ASV\000\000\000\000\000\002\000\000\000\264Y" stepping = "A\000\377\277\n\000\000\000" __func__ = "urj_tap_detect_parts" #8 0x08080537 in urj_tap_detect (chain=0x80fe900) at detect.c:549 i = 135260416 abus = 0xfff8 __func__ = "urj_tap_detect" #9 0x080670f7 in cmd_detect_run (chain=0x80fe900, params=0x810b7d0) at cmd_detect.c:52 params = 0x810b7d0 chain = 0x80fe900 #10 0x08066bd5 in urj_cmd_run (chain=0x80fe900, params=0x810b7d0) at cmd_cmd.c:276 i = 5 __func__ = "urj_cmd_run" #11 0x08071f30 in urj_parse_line (chain=0x80fe900, line=0x810a6e0 "detect") at parse.c:165 r = <optimized out> tcnt = 1 a = 0x810b7d0 __func__ = "urj_parse_line" #12 0x0804ac5c in jtag_readline_multiple_commands_support ( line=0x810a6e0 "detect", chain=0x80fe900) at jtag.c:248 r = <optimized out> nextcmd = 0x0 #13 jtag_readline_loop (prompt=<optimized out>, chain=<optimized out>) at jtag.c:270 line = 0x810a6e0 "detect" hptr = <optimized out> #14 main (argc=1, argv=0xbffff6a4) at jtag.c:577 go = <optimized out> i = <optimized out> c = <optimized out> norc = <optimized out> help = <optimized out> version = <optimized out> quiet = <optimized out> chain = <optimized out> __func__ = "main" I seem to recall that on the first run it failed instantly without waiting for input.... I can not seem to reproduce that, tho' It might be related to: <http://sourceforge.net/p/urjtag/bugs/118/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org