From owner-freebsd-current@FreeBSD.ORG Tue Oct 1 12:40:07 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 9F6B57C3 for ; Tue, 1 Oct 2013 12:40:07 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 33D2027C2 for ; Tue, 1 Oct 2013 12:40:07 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id B215C7A0A0; Tue, 1 Oct 2013 14:40:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id C54528F7BBC; Tue, 1 Oct 2013 14:40:27 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NTOZw1pXKlAi; Tue, 1 Oct 2013 14:40:26 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id AC3728F7B75; Tue, 1 Oct 2013 14:40:26 +0200 (CEST) Message-ID: <524AC2F2.2080807@bitfrost.no> Date: Tue, 01 Oct 2013 14:41:22 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: John Subject: Re: gphoto2 bus error References: <1430354.OSvlCO8lK8@notebook.alkar.net> <20131001122233.GA24259@potato.growveg.org> In-Reply-To: <20131001122233.GA24259@potato.growveg.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org 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:40:07 -0000 On 10/01/13 14:22, John wrote: > 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: > > 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. > Hi, Could you enter "bt" in GDB and show the output when this crash happens? --HPS