From owner-freebsd-current Sun Jun 9 6:42:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.dada.it (mail3.dada.it [195.110.96.70]) by hub.freebsd.org (Postfix) with SMTP id 3B87037B403 for ; Sun, 9 Jun 2002 06:42:15 -0700 (PDT) Received: (qmail 19077 invoked from network); 9 Jun 2002 13:42:05 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 9 Jun 2002 13:42:05 -0000 Received: from trudy.torrini.home (localhost.torrini.home [127.0.0.1]) by torrini.org (8.12.3/8.12.3) with ESMTP id g59Dg72G000486 for ; Sun, 9 Jun 2002 15:42:07 +0200 (CEST) (envelope-from riccardo@trudy.torrini.home) Received: (from riccardo@localhost) by trudy.torrini.home (8.12.3/8.12.3/Submit) id g59Dg5n2000485 for freebsd-current@FreeBSD.ORG; Sun, 9 Jun 2002 15:42:05 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 09 Jun 2002 15:42:05 +0200 (CEST) From: Riccardo Torrini To: freebsd-current@FreeBSD.ORG Subject: usbd.core Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This block crashes usbd with: ...(usbd), uid 0: exited on signal 11 (core dumped) I have a pre-GCC_3.1: (FreeBSD 5.0-CURRENT #34: Wed May 8 02:31:46 CEST 2002) -----8<-----[ /etc/usbd.conf ]-----8<----- device "Scanner Epson Perfection 1240U (photo)" # Perfection1240(0x010b), EPSON(0x04b8), rev 0x0114 product 0x010b vendor 0x04b8 release 0x0114 devname "uscanner[0-9]+" attach "/bin/chmod 666 /dev/${DEVNAME} && echo L16cce > /dev/speaker" ## attach "/bin/chmod 666 /dev/uscanner0 && echo L16cce > /dev/speaker" detach "echo L16eec > /dev/speaker" -----8<----- (gdb) bt #0 0x280e7dd6 in strncpy () from /usr/lib/libc.so.5 #1 0x80494d4 in sigprocmask () #2 0x804a6c7 in sigprocmask () #3 0x8048cc3 in sigprocmask () Adding a comment before 'device' solves the problem: -----8<----- # device [...] -----8<----- Riccardo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message