VirtualBox crash at IOHIDDeviceCopyMatchingElements

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
Rollie
Posts: 2
Joined: 1. Feb 2018, 23:24

VirtualBox crash at IOHIDDeviceCopyMatchingElements

Post by Rollie »

Hello, my CentOS 7 VM keeps crashing as shown in the below crash dump. Any idea of the problem? I'm running the latest MacOS (High Sierra 10.13.3) and the latest VirtualBox (5.2.6 r120293) with the latest VirtualBox guest additions. See also attached log files.

Code: Select all

Process:               VirtualBoxVM [54092]
Path:                  /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM
Identifier:            org.virtualbox.app.VirtualBoxVM
Version:               5.2.6 (5.2.6)
Code Type:             X86-64 (Native)
Parent Process:        VBoxSVC [53647]
Responsible:           VirtualBoxVM [54092]
User ID:               1227221898

Date/Time:             2018-02-01 16:07:49.746 -0500
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Bridge OS Version:     3.0 (14Y661)
Anonymous UUID:        74C141C0-15C5-E530-FCFA-A034E54727DE

Sleep/Wake UUID:       1E6028CB-E70E-4E77-9BE6-CC181895CC46

Time Awake Since Boot: 300000 seconds
Time Since Wake:       93000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.framework.IOKit     	0x00007fff59430ca4 IOHIDDeviceCopyMatchingElements + 30
1   VirtualBox.dylib              	0x0000000103bc5388 0x1037fe000 + 3961736
2   VirtualBox.dylib              	0x0000000103bc522e 0x1037fe000 + 3961390
3   VirtualBox.dylib              	0x000000010391fd4b 0x1037fe000 + 1187147
4   org.qt-project.QtCoreVBox     	0x000000010442864d QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) + 205
5   org.qt-project.QtWidgetsVBox  	0x0000000104dfe682 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 66
6   org.qt-project.QtWidgetsVBox  	0x0000000104e01cde QApplication::notify(QObject*, QEvent*) + 8558
7   org.qt-project.QtCoreVBox     	0x0000000104428467 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167
8   org.qt-project.QtWidgetsVBox  	0x0000000104dfd4ce QApplication::setActiveWindow(QWidget*) + 942
9   org.qt-project.QtWidgetsVBox  	0x0000000104dfd9e2 QApplicationPrivate::notifyActiveWindowChange(QWindow*) + 50
10  org.qt-project.QtGuiVBox      	0x0000000104848f7a QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) + 618
11  org.qt-project.QtGuiVBox      	0x00000001048452e7 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 1383
12  org.qt-project.QtGuiVBox      	0x000000010482efeb QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 411
13  libqcocoa.dylib               	0x00000001083b30b1 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
14  com.apple.CoreFoundation      	0x00007fff56c85721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
15  com.apple.CoreFoundation      	0x00007fff56d3f0ac __CFRunLoopDoSource0 + 108
16  com.apple.CoreFoundation      	0x00007fff56c68260 __CFRunLoopDoSources0 + 208
17  com.apple.CoreFoundation      	0x00007fff56c676dd __CFRunLoopRun + 1293
18  com.apple.CoreFoundation      	0x00007fff56c66f43 CFRunLoopRunSpecific + 483
19  com.apple.HIToolbox           	0x00007fff55f7ee26 RunCurrentEventLoopInMode + 286
20  com.apple.HIToolbox           	0x00007fff55f7ea9f ReceiveNextEventCommon + 366
21  com.apple.HIToolbox           	0x00007fff55f7e914 _BlockUntilNextEventMatchingListInModeWithFilter + 64
22  com.apple.AppKit              	0x00007fff54249f5f _DPSNextEvent + 2085
23  com.apple.AppKit              	0x00007fff549dfb4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
24  com.apple.AppKit              	0x00007fff5423ed6d -[NSApplication run] + 764
25  libqcocoa.dylib               	0x00000001083b1eed QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2205
26  org.qt-project.QtCoreVBox     	0x0000000104424791 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
27  org.qt-project.QtCoreVBox     	0x0000000104428b4a QCoreApplication::exec() + 346
28  VirtualBox.dylib              	0x000000010380616a TrustedMain + 1290
29  org.virtualbox.app.VirtualBoxVM	0x000000010325fd76 0x10325c000 + 15734
30  libdyld.dylib                 	0x00007fff7e57a115 start + 1

Thread 1:: nspr-1
0   libsystem_kernel.dylib        	0x00007fff7e6c9fca __select + 10
1   VBoxXPCOM.dylib               	0x00000001058a8e50 0x10581e000 + 568912
2   VBoxXPCOM.dylib               	0x00000001058aac85 PR_Poll + 1061
3   VBoxXPCOMIPCC.dylib           	0x000000010bcd2e75 0x10bcc0000 + 77429
4   VBoxXPCOM.dylib               	0x00000001058b0036 0x10581e000 + 598070
5   VBoxRT.dylib                  	0x000000010335cf5c 0x10329d000 + 786268
6   VBoxRT.dylib                  	0x00000001033f0402 0x10329d000 + 1389570
7   libsystem_pthread.dylib       	0x00007fff7e8056c1 _pthread_body + 340
8   libsystem_pthread.dylib       	0x00007fff7e80556d _pthread_start + 377
9   libsystem_pthread.dylib       	0x00007fff7e804c5d thread_start + 13

Thread 2:: nspr-2

...

Thread 36:: Dispatch queue: NSCGSDisableUpdates
0   libsystem_kernel.dylib        	0x00007fff7e6c07c2 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff7e6bfcdc mach_msg + 60
2   com.apple.SkyLight            	0x00007fff7859c285 CGSUpdateManager::enable_updates_common() + 565
3   com.apple.SkyLight            	0x00007fff78540b44 CGSUpdateManager::enable_update(unsigned long long) + 320
4   libdispatch.dylib             	0x00007fff7e548591 _dispatch_call_block_and_release + 12
5   libdispatch.dylib             	0x00007fff7e540d50 _dispatch_client_callout + 8
6   libdispatch.dylib             	0x00007fff7e55520c _dispatch_queue_serial_drain + 635
7   libdispatch.dylib             	0x00007fff7e5480fd _dispatch_queue_invoke + 373
8   libdispatch.dylib             	0x00007fff7e555f02 _dispatch_root_queue_drain_deferred_wlh + 332
9   libdispatch.dylib             	0x00007fff7e559d16 _dispatch_workloop_worker_thread + 880
10  libsystem_pthread.dylib       	0x00007fff7e805033 _pthread_wqthread + 980
11  libsystem_pthread.dylib       	0x00007fff7e804c4d start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007f90b766bc50  rcx: 0x0000000000000096  rdx: 0x0000000000000000
  rdi: 0xb00007f90bcc7ed2  rsi: 0x00007f90bcc0af00  rbp: 0x00007ffeec9a06f0  rsp: 0x00007ffeec9a06c0
   r8: 0x00000000000000cc   r9: 0x00007f90bce0b090  r10: 0x00007fffb0fe7a78  r11: 0x00007f90b5d87700
  r12: 0x0000000000000006  r13: 0x0000000000000096  r14: 0x00007ffeec9a06c0  r15: 0xb00007f90bcc7ed2
  rip: 0x00007fff59430ca4  rfl: 0x0000000000010246  cr2: 0x0000000106807000
  
Logical CPU:     4
Error Code:      0x00000000
Trap Number:     13


Binary Images:
       0x10325c000 -        0x10327dff7 +org.virtualbox.app.VirtualBoxVM (5.2.6 - 5.2.6) <45CE5B16-FA67-307E-BBF8-E21A31884DD8> /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM
...
    0x7fff7e837000 -     0x7fff7e863ff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 7
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 283501
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=422.7M resident=0K(0%) swapped_out_or_unallocated=422.7M(100%)
Writable regions: Total=6.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=6.9G(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               384K        4 
Activity Tracing                   256K        2 
CG backing stores                 53.6M        7 
CG raster data                     148K        4 
CoreGraphics                         8K        2 
CoreImage                           32K        5 
CoreUI image data                 1428K        8 
CoreUI image file                  188K        5 
Dispatch continuations            16.0M        2 
Foundation                          24K        3 
Image IO                           256K        2 
Kernel Alloc Once                    8K        2 
MALLOC                             6.8G      241 
MALLOC guard page                   64K       16 
Memory Tag 242                      12K        2 
STACK GUARD                       56.1M       38 
Stack                             25.0M       38 
VM_ALLOCATE                       15.0M       32 
__DATA                            37.2M      299 
__FONT_DATA                          4K        2 
__GLSLBUILTINS                    2588K        2 
__LINKEDIT                       196.7M       32 
__TEXT                           226.1M      301 
__UNICODE                          560K        2 
mapped file                       53.7M       25 
shared memory                      764K       17 
===========                     =======  ======= 
TOTAL                              7.4G     1067 

Model: MacBookPro14,3, BootROM MBP143.0169.B00, 4 processors, Intel Core i7, 2.8 GHz, 16 GB, SMC 2.45f0
Graphics: Intel HD Graphics 630, Intel HD Graphics 630, Built-In
Graphics: Radeon Pro 560, Radeon Pro 560, PCIe, 4 GB
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x173), Broadcom BCM43xx 1.0 (7.77.37.5.1a3)
Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: USB 10/100/1000 LAN 3, Ethernet, en9
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: USB2.0 Hub
USB Device: Hub
USB Device: USB Receiver
USB Device: Natural® Ergonomic Keyboard 4000
USB Device: USB 2.0 BILLBOARD
USB Device: iBridge
USB Device: USB3.0 Hub
USB Device: USB 10/100/1000 LAN
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.1
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.1
Attachments
VBox.log
VBox.log
(80.17 KiB) Downloaded 42 times
CrashDump.txt
Crash dump
(87.81 KiB) Downloaded 29 times
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: VirtualBox crash at IOHIDDeviceCopyMatchingElements

Post by andyp73 »

Rollie wrote:I'm running the latest MacOS (High Sierra 10.13.3) and the latest VirtualBox (5.2.6 r120293) with the latest VirtualBox guest additions.
No you aren't! :)

Code: Select all

VirtualBox VM 5.2.6 r120293 darwin.amd64 (Jan 15 2018 16:23:36) release log
00:00:00.977910 Installed Extension Packs:
00:00:00.977927   Oracle VM VirtualBox Extension Pack (Version: 5.1.30 r118389; VRDE Module: VBoxVRDP)
Your log file says that you are running VirtualBox 5.2.6 and extension pack 5.1.30. If you upgrade the extension pack to match does the problem persist?

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox crash at IOHIDDeviceCopyMatchingElements

Post by socratis »

And if Andy's suggestion doesn't fix it, post the output of the command:
  • kextstat | grep -v com.apple
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Rollie
Posts: 2
Joined: 1. Feb 2018, 23:24

Re: VirtualBox crash at IOHIDDeviceCopyMatchingElements

Post by Rollie »

Oh shoot, you're right. I just upgraded the Extension pack and will test that out. I'll let you know if I'm still getting a crash shortly.

Here's the output of kextstat while I'm it.

Code: Select all

$ kextstat | grep -v com.apple
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
   80    0 0xffffff7f811da000 0x17c000   0x17c000   at.obdev.nke.LittleSnitch (5116) 67B9951B-2573-3684-AC08-396F1B4D8E2A <7 5 4 3 1>
  104    3 0xffffff7f826de000 0x63000    0x63000    org.virtualbox.kext.VBoxDrv (5.2.6) C32CCC8B-7E44-3974-BEC0-9C1FA570690D <7 5 4 3 1>
  180    1 0xffffff7f88ae0000 0x5000     0x5000     com.crowdstrike.platform (1.1) 64885B5D-D324-342C-A819-F58C1F5B3BD2 <7 5 4 3 2 1>
  182    0 0xffffff7f88ae5000 0x8000     0x8000     org.virtualbox.kext.VBoxUSB (5.2.6) A60E8437-734A-3C07-8488-5885145AEE0C <181 104 53 7 5 4 3 1>
  183    0 0xffffff7f88aed000 0xcd000    0xcd000    com.crowdstrike.sensor (60.05) AD916715-9DD4-3B98-A2EC-924A4351DB8B <180 17 7 5 4 3 2 1>
  184    0 0xffffff7f88bba000 0x5000     0x5000     org.virtualbox.kext.VBoxNetFlt (5.2.6) 552BD757-0D66-3F90-9A20-C6C7881F4A2F <104 7 5 4 3 1>
  185    0 0xffffff7f88bbf000 0x6000     0x6000     org.virtualbox.kext.VBoxNetAdp (5.2.6) 8B8163C1-1125-36B8-AC6A-1AA38506938D <104 5 4 1>
  186    0 0xffffff7f88bc5000 0x2000     0x2000     com.objectiveSee.kext.BlockBlock (0.9.7) 60EB0873-22CE-39FF-90CA-011BCEE9D175 <4 1>
Post Reply