From owner-freebsd-current@FreeBSD.ORG Tue Oct 1 12:22:38 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 86BEBE4E for ; Tue, 1 Oct 2013 12:22:38 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (growveg-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:3d2::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3CB1826D4 for ; Tue, 1 Oct 2013 12:22:38 +0000 (UTC) Received: from john by potato.growveg.org with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VQyyI-0006Rp-1G for freebsd-current@freebsd.org; Tue, 01 Oct 2013 13:22:34 +0100 Date: Tue, 1 Oct 2013 13:22:33 +0100 From: John To: freebsd-current@freebsd.org Subject: Re: gphoto2 bus error Message-ID: <20131001122233.GA24259@potato.growveg.org> References: <1430354.OSvlCO8lK8@notebook.alkar.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430354.OSvlCO8lK8@notebook.alkar.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false X-Mailman-Approved-At: Tue, 01 Oct 2013 12:37:30 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 12:22:38 -0000 On Sat, Sep 28, 2013 at 02:05:42AM +0300, Artyom Mirgorodskiy wrote: > I just update to current and get bus error when I try to run gphoto2: > > Starting program: /usr/local/bin/gphoto2 --shell > (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 100144] > [New Thread 802806400 (LWP 100144/gphoto2)] > > Program received signal SIGBUS, Bus error. > [Switching to Thread 802806400 (LWP 100144/gphoto2)] > 0x0000000801552597 in pthread_mutex_destroy () from /lib/libthr.so.3 > (gdb) bt > #0 0x0000000801552597 in pthread_mutex_destroy () from /lib/libthr.so.3 > #1 0x00000008040083cd in libusb_free_device_list () from /usr/lib/libusb.so.3 > #2 0x0000000803801a2a in gp_port_usb_exit (port=) > at libusb1.c:275 > #3 0x0000000801135763 in gp_port_free (port=0x80286d280) at gphoto2-port.c:124 > #4 0x0000000800ebc6a9 in gp_abilities_list_detect (list=0x802869080, > info_list=0x802869050, l=0x8028ec000, context=0x45) > at gphoto2-abilities-list.c:488 > #5 0x000000000040e0f7 in ?? () > #6 0x0000000000404aef in ?? () > #7 0x0000000800635000 in ?? () > #8 0x0000000000000000 in ?? () Hi, This might be related - I get SIGBUS when running scanimage (Canon LIDE 110 scanner). I installed sane backends and frontends and xsane on 9.2-R, plugged in scanner. It is seen: ugen4.4: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) scanimage -L gives: $ scanimage -L Bus error: 10 (core dumped) gdb gives: $ gdb scanimage GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB 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. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... (gdb) r Starting program: /usr/local/bin/scanimage (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 100431] [New Thread 804007400 (LWP 100431/scanimage)] Program received signal SIGBUS, Bus error. [Switching to Thread 804007400 (LWP 100431/scanimage)] 0x00000008079d3829 in scsi_inquiry () from /usr/local/lib/sane/libsane-microtek2.so.1 I don't think it's a scanner issue as it works perfectly on windows and is completely supported on xsane. Maybe there's some kind of USB problem on freebsd-9, I dunno. -- John