Date: Sun, 19 Apr 2020 01:51:44 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 245732] panic: page fault when unplugging mouse Message-ID: <bug-245732-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245732 Bug ID: 245732 Summary: panic: page fault when unplugging mouse Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: delphij@FreeBSD.org This is not reliably triggerable, but occasionally happens when unplugging mouse. The kernel is a regular GENERIC kernel with INVARIANTS, etc. enabled. This particular crashdump was captured with -CURRENT as of r360001. Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0xffffffffffffffff fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff8064a1b9 stack pointer =3D 0x28:0xfffffe003ce98840 frame pointer =3D 0x28:0xfffffe003ce98850 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 17 (usbus0) trap number =3D 12 Dumping 3413 out of 32439 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% No symbol "zombproc" in current context. Backtrace: #0 doadump (textdump=3D0) at src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) #0 doadump (textdump=3D0) at src/sys/amd64/include/pcpu_aux.h:55 #1 0xffffffff84e5ea51 in vt_kms_postswitch (arg=3D0xfffff800039bad40) at /p51/home/delphij/kms-drm/drivers/gpu/drm/linux_fb.c:89 #2 0xffffffff80a2d7c2 in vt_window_switch (vw=3D0xffffffff818e5b58) at /usr/src/sys/dev/vt/vt_core.c:603 #3 0xffffffff80a2ad3f in vtterm_cngrab (tm=3D<value optimized out>) at /usr/src/sys/dev/vt/vt_core.c:1612 #4 0xffffffff80b5cac6 in cngrab () at /usr/src/sys/kern/kern_cons.c:397 #5 0xffffffff80bc0d4c in vpanic (fmt=3D0xffffffff8111d06c "%s",=20 ap=3D0xfffffe003ce98580) at /usr/src/sys/kern/kern_shutdown.c:887 #6 0xffffffff80bc0b93 in panic (fmt=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:839 #7 0xffffffff81065277 in trap_fatal (frame=3D<value optimized out>,=20 eva=3D<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:919 #8 0xffffffff81065319 in trap_pfault (frame=3D0xfffffe003ce98780,=20 usermode=3D<value optimized out>, signo=3D<value optimized out>,=20 ucode=3D<value optimized out>) at src/sys/amd64/include/pcpu_aux.h:55 #9 0xffffffff81064915 in trap (frame=3D0xfffffe003ce98780) at /usr/src/sys/amd64/amd64/trap.c:400 #10 0xffffffff8103abe8 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:289 #11 0xffffffff8064a1b9 in evdev_revoke_client (client=3D0xffffffffffffffff) at /usr/src/sys/dev/evdev/cdev.c:718 #12 0xffffffff8064b948 in evdev_unregister (evdev=3D0xfffff8000f929c00) at /usr/src/sys/dev/evdev/evdev.c:372 #13 0xffffffff8064b8bc in evdev_free (evdev=3D0xfffff8000f929c00) at /usr/src/sys/dev/evdev/evdev.c:110 #14 0xffffffff84ee4d33 in ums_detach (self=3D<value optimized out>) at /usr/src/sys/dev/usb/input/ums.c:779 #15 0xffffffff80bf876e in device_detach (dev=3D0xfffff80006b28b00) at device_if.h:234 #16 0xffffffff80bf8445 in device_delete_child (dev=3D0xfffff80006a67b00,=20 child=3D0xfffff80006b28b00) at /usr/src/sys/kern/subr_bus.c:1979 #17 0xffffffff809ef8cf in usb_detach_device (udev=3D0xfffff8000f8b9000,=20 iface_index=3D<value optimized out>) at /usr/src/sys/dev/usb/usb_device.c:1240 #18 0xffffffff809ee8f4 in usb_unconfigure (udev=3D0xfffff8000f8b9000,=20 flag=3D2 '\002') at /usr/src/sys/dev/usb/usb_device.c:627 #19 0xffffffff809f1efe in usb_free_device (udev=3D0xfffff8000f8b9000) at /usr/src/sys/dev/usb/usb_device.c:2303 #20 0xffffffff809f9bed in uhub_explore (udev=3D<value optimized out>) at /usr/src/sys/dev/usb/usb_hub.c:631 #21 0xffffffff809e3807 in usb_bus_explore (pm=3D<value optimized out>) at /usr/src/sys/dev/usb/controller/usb_controller.c:414 #22 0xffffffff809ff213 in usb_process (arg=3D0xfffffe003d19c538) at /usr/src/sys/dev/usb/usb_process.c:179 #23 0xffffffff80b7e3c0 in fork_exit (callout=3D0xffffffff809ff110 <usb_proc= ess>,=20 arg=3D0xfffffe003d19c538, frame=3D0xfffffe003ce98b00) at /usr/src/sys/kern/kern_fork.c:1051 #24 0xffffffff8103bc2e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:1080 #25 0x0000000000000000 in ?? () --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245732-227>