[Bug 286893] Cold boot panic (as virtual machine under VirtualBox v7.1.6/MS Windows 10): sleeping thread holds Giant

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 May 2025 16:04:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286893

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
A witness warning from the dmesg immediately before the panic:

1064 [33] Sleeping thread (tid 100180, pid 12566) owns a non-sleepable lock     
1065 [33] KDB: stack backtrace of thread 100180:                                
1066 [33] #0 0xffffffff80b4addb at mi_switch+0xbb                               
1067 [33] #1 0xffffffff80b9b766 at sleepq_catch_signals+0x2c6                   
1068 [33] #2 0xffffffff80b9b489 at sleepq_wait_sig+0x9                          
1069 [33] #3 0xffffffff82e4467a at rtR0SemEventMultiBsdWait+0x29a               
1070 [33] #4 0xffffffff82e24236 at vgdrvHgcmAsyncWaitCallbackWorker+0xe6        
1071 [33] #5 0xffffffff82e260be at VbglR0HGCMInternalCall+0x82e                 
1072 [33] #6 0xffffffff82e22d45 at vgdrvIoCtl_HGCMCallWrapper+0x1b5             
1073 [33] #7 0xffffffff82e20b2d at VGDrvCommonProcessOptionsFromHost+0x2dd      
1074 [33] #8 0xffffffff82e24cec at vgdrvFreeBSDAttach+0x1dc                     
1075 [33] #9 0xffffffff80b7a75b at device_attach+0x42b                          
1076 [33] #10 0xffffffff808183f2 at pci_driver_added+0xf2                       
1077 [33] #11 0xffffffff80b77d59 at devclass_driver_added+0x29                  
1078 [33] #12 0xffffffff80b77cee at devclass_add_driver+0x11e                   
1079 [33] #13 0xffffffff80b18735 at module_register_init+0x85                   
1080 [33] #14 0xffffffff80b09291 at linker_load_module+0xba1                    
1081 [33] #15 0xffffffff80b0adc4 at kern_kldload+0x164                          
1082 [33] #16 0xffffffff80b0aedc at sys_kldload+0x5c                            
1083 [33] #17 0xffffffff810262be at amd64_syscall+0x10e                         
1084 [33] panic: sleeping thread holds Giant                                    
1085 [33] cpuid = 1                                                             
1086 [33] time = 1747525052                                                     
1087 [33] KDB: stack backtrace:                                                 
1088 [33] #0 0xffffffff80b8b88d at kdb_backtrace+0x5d                           
1089 [33] #1 0xffffffff80b3dc11 at vpanic+0x131                                 
1090 [33] #2 0xffffffff80b3dad3 at panic+0x43                                   
1091 [33] #3 0xffffffff80ba42c5 at propagate_priority+0x2a5                     
1092 [33] #4 0xffffffff80ba4e01 at turnstile_wait+0x301                         
1093 [33] #5 0xffffffff80b19a05 at __mtx_lock_sleep+0x175                       
1094 [33] #6 0xffffffff8093cd5b at usbd_enum_lock+0x5b                          
1095 [33] #7 0xffffffff80946ded at uhub_explore_handle_re_enumerate+0x1d        
1096 [33] #8 0xffffffff80931cc5 at usb_bus_explore+0x65                         
1097 [33] #9 0xffffffff8094db8e at usb_process+0xfe                             
1098 [33] #10 0xffffffff80af760f at fork_exit+0x7f                              
1099 [33] #11 0xffffffff80ffd3ee at fork_trampoline+0xe

-- 
You are receiving this mail because:
You are the assignee for the bug.