Subject: kern/33250: netbsd-2 crash while printing to USB printer
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2006.salmi.ch>
List: netbsd-bugs
Date: 04/12/2006 22:15:00
>Number:         33250
>Category:       kern
>Synopsis:       netbsd-2 crash while printing to USB printer
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 12 22:15:00 +0000 2006
>Originator:     Jukka Salmi
>Release:        NetBSD 2.1_STABLE
>Organization:
>Environment:
System: NetBSD urchin.salmi.ch 2.1_STABLE NetBSD 2.1_STABLE (ENS) #0: Sun Apr 2 20:06:34 UTC 2006 root@moray.salmi.ch:/build/nbsd/i386/sys/arch/i386/compile/ENS i386
Architecture: i386
Machine: i386
>Description:
While printing (with CUPS) to a printer connected via USB, this
NetBSD/i386 system built from the latest netbsd-2 sources crashed.

uvm_fault(0xc778f0e0, 0, 0, 1) -> 0xe
db> trace
usb_transfer_complete(c0f03400,2,c781ed6c,c03a8a1c,c0ef7580) at netbsd:usb_transfer_complete+0x16f
uhci_abort_xfer(c0f03400,6,0,1,1029) at netbsd:uhci_abort_xfer+0x19d
uhci_device_bulk_abort(c0f03400,c0dbdd3c,c781edac,c0ef7700,c0ef7580) at netbsd:uhci_device_bulk_abort+0x10
usbd_ar_pipe(c0ef7580,c0dbdd00,c781eddc,c03a8a48,c0f0f600) at netbsd:usbd_ar_pipe+0x22
usbd_abort_pipe(c0ef7580,c78d8e90,0,3,c781ee74) at netbsd:usbd_abort_pipe+0x25
ulptclose(3900,3,2000,c770d338,c78d8f00) at netbsd:ulptclose+0x6f
spec_close(c781ee74,0,0,20002,c78d8e90) at netbsd:spec_close+0xb2
ufsspec_close(c781ee74,6,0,443d7734,c05bf280) at netbsd:ufsspec_close+0x142
VOP_CLOSE(c78d8e90,3,c0f2bf00,c770d338,c78d8e90) at netbsd:VOP_CLOSE+0x34
vn_close(c78d8e90,3,c0f2bf00,c770d338,c67486e0) at netbsd:vn_close+0x2e
vn_closefile(c7771580,c770d338,c781ef3c,c0358412,c774e7ac) at netbsd:vn_closefile+0x1a
closef(c7771580,c770d338,c781ef5c,0,c0da0010) at netbsd:closef+0xce
syscall_plain() at netbsd:syscall_plain+0x7e
--- syscall (number 6) ---
0x481bbecb:
db> 

>How-To-Repeat:
I couldn't reproduce it so far...
>Fix:
Unknown