• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

qemu-system-i386 quit unexpectedly when starting AVD (Android Virtual Device) on a Mac

oguennec

Lurker
Aug 23, 2017
1
0
The following crash report appears everytime I attempt to start any AVD on MacBook Pro.

Environment

---------------

- MacOS Sierra 10.12.4

- Graphics Intel Iris Graphics 550 1536 MB

- Processor 3.3 GHz Intel Core i7.

- Android Studio 2.3.3

- HAXM 6.2.0



Process: qemu-system-i386 [914]

Path: /Users/USER/Library/Android/*/qemu-system-i386

Identifier: qemu-system-i386

Version: 0

Code Type: X86-64 (Native)

Parent Process: studio [292]

Responsible: qemu-system-i386 [914]

User ID: 502





Date/Time: 2017-08-23 09:22:12.297 +0100

OS Version: Mac OS X 10.12.4 (16E195)

Report Version: 12

Anonymous UUID: A816A6BA-C97F-6831-E59F-1431A005F23C









Time Awake Since Boot: 840 seconds





System Integrity Protection: enabled





Crashed Thread: 4





Exception Type: EXC_CRASH (SIGILL)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY





Termination Signal: Illegal instruction: 4

Termination Reason: Namespace SIGNAL, Code 0x4

Terminating Process: qemu-system-i386 [914]





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

0 com.apple.CoreFoundation 0x00007fff8c7cb1ba __CFStringHash + 186

1 com.apple.CoreFoundation 0x00007fff8c7cdb78 CFBasicHashFindBucket + 184

2 com.apple.CoreFoundation 0x00007fff8c81724c CFSetGetValue + 124

3 com.apple.CoreFoundation 0x00007fff8c816d55 __CFRunLoopFindMode + 197

4 com.apple.CoreFoundation 0x00007fff8c817529 CFRunLoopAddSource + 201

5 com.apple.HIToolbox 0x00007fff8bdab72e AdjustCGSSourceInRunLoop(void (*)(__CFRunLoop*, __CFRunLoopSource*, __CFString const*), __CFRunLoop*, __CFRunLoopSource*) + 75

6 com.apple.HIToolbox 0x00007fff8bdab6bb AddCGSSourceToRunLoop(__CFRunLoop*) + 78

7 com.apple.HIToolbox 0x00007fff8bdaafc2 _FirstEventTime + 134

8 com.apple.HIToolbox 0x00007fff8bdaadfd RunCurrentEventLoopInMode + 49

9 com.apple.HIToolbox 0x00007fff8bdaabf9 ReceiveNextEventCommon + 184

10 com.apple.HIToolbox 0x00007fff8bdaab26 _BlockUntilNextEventMatchingListInModeWithFilter + 71

11 com.apple.AppKit 0x00007fff8a345e24 _DPSNextEvent + 1120

12 com.apple.AppKit 0x00007fff8aac185e -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796

13 com.apple.AppKit 0x00007fff8a33a7ab -[NSApplication run] + 926

14 libqcocoa.dylib 0x000000010bd4adaf QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::processEventsFlag>) + 2191

15 libQt5Core.5.dylib 0x0000000104e6c621 QEventLoop::exec(QFlags<QEventLoop::processEventsFlag>) + 417

16 libQt5Core.5.dylib 0x0000000104e70aa5 QCoreApplication::exec() + 341

17 qemu-system-i386 0x0000000102eb6bf9 skin_winsys_enter_main_loop + 89

18 qemu-system-i386 0x0000000102b5f964 main + 14084

19 libdyld.dylib 0x00007fffa1fac235 start + 1





Thread 1:

0 libsystem_kernel.dylib 0x00007fffa20dabf2 __psynch_cvwait + 10

1 libsystem_pthread.dylib 0x00007fffa21c686e _pthread_cond_wait + 712

2 CyMemDef.dylib 0x0000000105339c97 ac_thread_proc + 1003

3 libsystem_pthread.dylib 0x00007fffa21c59af _pthread_body + 180

4 libsystem_pthread.dylib 0x00007fffa21c58fb _pthread_start + 286

5 libsystem_pthread.dylib 0x00007fffa21c5101 thread_start + 13





Thread 2:

0 libsystem_kernel.dylib 0x00007fffa20dabf2 __psynch_cvwait + 10

1 libsystem_pthread.dylib 0x00007fffa21c686e _pthread_cond_wait + 712

2 qemu-system-i386 0x0000000102e5c5c4 qemu_event_wait + 84

3 qemu-system-i386 0x0000000102e55664 call_rcu_thread + 228

4 qemu-system-i386 0x0000000102e5c81c qemu_thread_trampoline + 60

5 libsystem_pthread.dylib 0x00007fffa21c59af _pthread_body + 180

6 libsystem_pthread.dylib 0x00007fffa21c58fb _pthread_start + 286

7 libsystem_pthread.dylib 0x00007fffa21c5101 thread_start + 13





Thread 3:

0 libsystem_kernel.dylib 0x00007fffa20d334a mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fffa20d2797 mach_msg + 55

2 qemu-system-i386 0x00000001031ae208 google_breakpad::ExceptionHandler::WaitForMessage(void*) + 168

3 libsystem_pthread.dylib 0x00007fffa21c59af _pthread_body + 180

4 libsystem_pthread.dylib 0x00007fffa21c58fb _pthread_start + 286

5 libsystem_pthread.dylib 0x00007fffa21c5101 thread_start + 13





Thread 4 Crashed:

0 libsystem_pthread.dylib 0x00007fffa21c50e4 start_wqthread + 0

1 ??? 0x007865646e496d65 0 + 33888479226719589





Thread 5:

0 libsystem_kernel.dylib 0x00007fffa20db44e __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fffa21c5695 _pthread_wqthread + 1426

2 libsystem_pthread.dylib 0x00007fffa21c50f1 start_wqthread + 13





Thread 6:: Dispatch queue: com.apple.touchbar.agent

0 libsystem_kernel.dylib 0x00007fffa20d334a mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fffa20d2797 mach_msg + 55

2 libsystem_kernel.dylib 0x00007fffa20c788f _kernelrpc_mach_port_request_notification + 121

3 libxpc.dylib 0x00007fffa21fe1e8 _xpc_mach_port_setup_port_destroyed + 53

4 libxpc.dylib 0x00007fffa21fc321 _xpc_connection_check_in + 193

5 libxpc.dylib 0x00007fffa21fd966 _xpc_connection_init + 870

6 libxpc.dylib 0x00007fffa21fd5f0 _xpc_connection_resume_init + 14

7 libdispatch.dylib 0x00007fffa1f768fc _dispatch_client_callout + 8

8 libdispatch.dylib 0x00007fffa1f8c9a0 _dispatch_queue_serial_drain + 896

9 libdispatch.dylib 0x00007fffa1f7f306 _dispatch_queue_invoke + 1046

10 libdispatch.dylib 0x00007fffa1f786b5 _dispatch_root_queue_drain + 476

11 libdispatch.dylib 0x00007fffa1f7848c _dispatch_worker_thread3 + 99

12 libsystem_pthread.dylib 0x00007fffa21c5616 _pthread_wqthread + 1299

13 libsystem_pthread.dylib 0x00007fffa21c50f1 start_wqthread + 13





Thread 7:

0 libsystem_kernel.dylib 0x00007fffa20db44e __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fffa21c5695 _pthread_wqthread + 1426

2 libsystem_pthread.dylib 0x00007fffa21c50f1 start_wqthread + 13





Thread 8:: QThread

0 libsystem_kernel.dylib 0x00007fffa20dc19e poll + 10

1 libQt5Core.5.dylib 0x0000000104ec4190 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544

2 libQt5Core.5.dylib 0x0000000104ec59b8 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::processEventsFlag>) + 792

3 libQt5Core.5.dylib 0x0000000104e6c621 QEventLoop::exec(QFlags<QEventLoop::processEventsFlag>) + 417

4 libQt5Core.5.dylib 0x0000000104ca5523 QThread::exec() + 115

5 libQt5Core.5.dylib 0x0000000104ca8eda QThreadPrivate::start(void*) + 362

6 libsystem_pthread.dylib 0x00007fffa21c59af _pthread_body + 180

7 libsystem_pthread.dylib 0x00007fffa21c58fb _pthread_start + 286

8 libsystem_pthread.dylib 0x00007fffa21c5101 thread_start + 13





Thread 9:

0 libsystem_kernel.dylib 0x00007fffa20dabf2 __psynch_cvwait + 10

1 libsystem_pthread.dylib 0x00007fffa21c686e _pthread_cond_wait + 712

2 lib64OpenglRender.dylib 0x0000000111f75591 android::base::MessageChannelBase::beforeRead() + 65

3 lib64OpenglRender.dylib 0x0000000111f33d06 std::__1::__function::__func<android::base::FunctorThread::FunctorThread<emugl: :RendererImpl::processCleanupThread::processCleanupThread()::'lambda'(), void*>(emugl::RendererImpl::processCleanupThread::processCleanupThread()::'lamb da'() const&, android::base::ThreadFlags)::'lambda'(), std::__1::allocator<android::base::FunctorThread::FunctorThread<emugl::Renderer Impl::processCleanupThread::processCleanupThread()::'lambda'(), void*>(emugl::RendererImpl::processCleanupThread::processCleanupThread()::'lamb da'() const&, android::base::ThreadFlags)::'lambda'()>, long ()>::eek:perator()() + 22

4 lib64OpenglRender.dylib 0x0000000111f7d5ff android::base::Thread::thread_main(void*) + 143

5 libsystem_pthread.dylib 0x00007fffa21c59af _pthread_body + 180

6 libsystem_pthread.dylib 0x00007fffa21c58fb _pthread_start + 286

7 libsystem_pthread.dylib 0x00007fffa21c5101 thread_start + 13





Thread 10:: MainLoopThread

0 libsystem_kernel.dylib 0x00007fffa20db1ce __sigsuspend + 10

1 qemu-system-i386 0x0000000102e5ade8 qemu_coroutine_new + 376

2 qemu-system-i386 0x0000000102e4e15a qemu_coroutine_create + 154

3 qemu-system-i386 0x0000000102cc17cd blk_prw + 93

4 qemu-system-i386 0x0000000102cc1b6e blk_pwrite + 30

5 qemu-system-i386 0x0000000102cdf736 qcow2_create + 1590

6 qemu-system-i386 0x0000000102cb6a98 bdrv_create_co_entry + 40

7 qemu-system-i386 0x0000000102e5b096 coroutine_bootstrap + 38

8 qemu-system-i386 0x0000000102e5af34 coroutine_trampoline + 116

9 libsystem_platform.dylib 0x00007fffa21bbb4d _sigtramp + 45

10 ??? 000000000000000000 0 + 0

11 ??? 0x00007ffa56e58650 0 + 140713176434256





Thread 11:

0 libsystem_kernel.dylib 0x00007fffa20db1fe __sigwait + 10

1 libsystem_pthread.dylib 0x00007fffa21c7f2c sigwait + 61

2 qemu-system-i386 0x0000000102e5c9ee sigwait_compat + 62

3 qemu-system-i386 0x0000000102e5c81c qemu_thread_trampoline + 60

4 libsystem_pthread.dylib 0x00007fffa21c59af _pthread_body + 180

5 libsystem_pthread.dylib 0x00007fffa21c58fb _pthread_start + 286

6 libsystem_pthread.dylib 0x00007fffa21c5101 thread_start + 13





Thread 4 crashed with X86 Thread State (64-bit):

rax: 0x0000000002000170 rbx: 0x000000004000005f rcx: 0x000070000bf26b80 rdx: 0x000070000bea7000

rdi: 0x000070000bf27000 rsi: 0x0000000000001903 rbp: 0x0000000000000000 rsp: 0x000070000bf26b00

r8: 0x00000000003e0021 r9: 0x0000000000000001 r10: 0x0000000000000000 r11: 0x0000000000000246

r12: 0x00000000030020ff r13: 0x000070000bf27000 r14: 0x0000000003000000 r15: 0x0000000000001903

rip: 0x00007fffa21c50e4 rfl: 0x0000000000000200 cr2: 0x00007ffa56df1000



Logical CPU: 0

Error Code: 0x02000170

Trap Number: 133









Binary Images:

0x102b43000 - 0x1037020cf +qemu-system-i386 (0) <7A90305F-ED06-39A7-B5B5-E751D41ED161> /Users/USER/Library/Android/*/qemu-system-i386

0x103fca000 - 0x103fceff3 com.apple.Hypervisor (1.0 - 1) <9FD47998-64BD-3856-8621-73809F629809> /System/Library/Frameworks/Hypervisor.framework/Versions/A/Hypervisor

0x103fd8000 - 0x1044d9fff +libQt5Widgets.5.dylib (0) <77C76620-C4F5-3AD4-A112-C0F8BD81CE14> /Users/USER/Library/Android/*/libQt5Widgets.5.dylib

0x1046bd000 - 0x104b30fe7 +libQt5Gui.5.dylib (0) <41B0ED85-3A9E-3491-B566-CE42D10FDAF0>

...



External Modification Summary:

Calls made by other processes targeting this process:

task_for_pid: 0

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: 696

thread_create: 0

thread_set_state: 0





VM Region Summary:

ReadOnly portion of Libraries: Total=315.1M resident=0K(0%) swapped_out_or_unallocated=315.1M(100%)

Writable regions: Total=347.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=347.7M(100%)



VIRTUAL REGION

REGION TYPE SIZE COUNT (non-coalesced)

=========== ======= =======

ATS (font support) 31.9M 8

ATS (font support) (reserved) 8K 3 reserved VM address space (unallocated)

Accelerate framework 128K 2

Activity Tracing 256K 2

CG backing stores 992K 3

CG image 1056K 5

CoreUI image file 176K 4

Dispatch continuations 8192K 2

Kernel Alloc Once 8K 2

MALLOC 267.6M 44

MALLOC guard page 48K 9

OpenGL GLSL 256K 4

STACK GUARD 56.0M 12

Stack 13.6M 14

Stack Guard 4K 2

VM_ALLOCATE 3424K 22

__DATA 29.9M 263

__GLSLBUILTINS 2588K 2

__IMAGE 528K 2

__LINKEDIT 125.1M 27

__TEXT 190.0M 267

__UNICODE 556K 2

mapped file 50.5M 17

shared memory 16.4M 15

=========== ======= =======

TOTAL 798.9M 709

TOTAL, minus reserved VM space 798.8M 709





Model: MacBookPro13,2, BootROM MBP132.0226.B15, 2 processors, Intel Core i7, 3.3 GHz, 16 GB, SMC 2.37f20

Graphics: Intel Iris Graphics 550, Intel Iris Graphics 550, Built-In

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, 0x157), Broadcom BCM43xx 1.0 (7.21.171.124.1a2)

Bluetooth: Version 5.0.4f18, 3 services, 27 devices, 1 incoming serial ports

Network Service: Wi-Fi, AirPort, en0

USB Device: USB 3.0 Bus

USB Device: iBridge

Thunderbolt Bus: MacBook Pro, Apple Inc., 15.14

Thunderbolt Bus: MacBook Pro, Apple Inc., 15.14
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones