From owner-freebsd-ports-bugs@freebsd.org Wed Dec 2 15:56:27 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A294847E3EC for ; Wed, 2 Dec 2020 15:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CmNqv42VYz3DHS for ; Wed, 2 Dec 2020 15:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8A86C47E79C; Wed, 2 Dec 2020 15:56:27 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A51047E5AD for ; Wed, 2 Dec 2020 15:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CmNqv3Rnzz3Ckg for ; Wed, 2 Dec 2020 15:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 67F961EA9 for ; Wed, 2 Dec 2020 15:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B2FuRe4078451 for ; Wed, 2 Dec 2020 15:56:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0B2FuR96078450 for ports-bugs@FreeBSD.org; Wed, 2 Dec 2020 15:56:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251533] devel/urjtag: core dumps with Altera USB Blaster Date: Wed, 02 Dec 2020 15:56:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tingox+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 15:56:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251533 Bug ID: 251533 Summary: devel/urjtag: core dumps with Altera USB Blaster Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: tingox+freebsd@gmail.com Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org urjtag core dumps when trying to use it with an Altera USB Blaster. Install= ed from ports on a FreeBSD 11.4-stable machine: root@kg-core1# uname -a FreeBSD kg-core1.kg4.no 11.4-STABLE FreeBSD 11.4-STABLE #3 r362432: Sat Jun= 20 12:51:06 CEST 2020 root@kg-core1.kg4.no:/zs/usr/obj/usr/src/sys/GENERIC= =20 amd64 root@kg-core1# pkg info urjtag* urjtag-2019.12_1 root@kg-core1# pkg options urjtag urjtag - FTDI: on urjtag - JEDEC: on urjtag - NLS: on urjtag - PYTHON: off urjtag - USB: on The USB Blaster is correctly identified: root@kg-core1# usbconfig -d ugen3.3 ugen3.3: at usbus3, cfg=3D0 md=3DHOST spd=3DFULL (12Mb= ps) pwr=3DON (80mA) root@kg-core1# ls -l /dev/ugen3.3 /dev/usb/3.3.0 lrw-rw---- 1 root cups 9 Dec 2 16:29 /dev/ugen3.3 -> usb/3.3.0 crw-rw---- 1 root cups 0x61 Dec 2 16:29 /dev/usb/3.3.0 and my user has permissions to access it: tingo@kg-core1$ groups tingo tingo wheel operator video dialer cups tingo@kg-core1$ jtag UrJTAG 2019.12 # Copyright (C) 2002, 2003 ETC s.r.o. Copyright (C) 2007, 2008, 2009 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 condition= s. There is absolutely no warranty for UrJTAG. warning: UrJTAG may damage your hardware! Type "quit" to exit, "help" for help. jtag> cable usbblaster Connected to libftdi driver. jtag> detect Segmentation fault (core dumped) if I run jtag in gdb ('gdb jtag', then 'run'), I get a bit more info: (gdb) run Starting program: /usr/local/bin/jtag=20 (no debugging symbols found)...(no debugging symbols found)... UrJTAG 2019.12 # Copyright (C) 2002, 2003 ETC s.r.o. Copyright (C) 2007, 2008, 2009 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 condition= s. There is absolutely no warranty for UrJTAG. warning: UrJTAG may damage your hardware! Type "quit" to exit, "help" for help. jtag> cable usbblaster Connected to libftdi driver. jtag> detect Program received signal SIGSEGV, Segmentation fault. 0x000000080175f7e0 in ftdi_transfer_data_done () from /usr/local/lib/libftdi1.so.2 Current language: auto; currently minimal The hardware (including usb cable and device under test) is tested as worki= ng on another machine (running Linux). --=20 You are receiving this mail because: You are the assignee for the bug.=