Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jun 2002 15:42:05 +0200 (CEST)
From:      Riccardo Torrini <riccardo@torrini.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   usbd.core
Message-ID:  <XFMail.20020609154205.riccardo@torrini.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020609154205.riccardo>