Closed pi1ot closed 1 week ago
Upgrade to 0.83.11, run EF2000 and crash
Process: DosBox [18609] Path: /Applications/dosbox-x.app/Contents/MacOS/DosBox Identifier: com.dosbox-x Version: 0.83.11 (0.83.11) Code Type: ARM-64 (Native) Parent Process: ??? [1] Responsible: DosBox [18609] User ID: 501
Date/Time: 2021-03-02 13:11:05.208 +0800 OS Version: macOS 11.2.1 (20D74) Report Version: 12 Anonymous UUID: 49E0F696-1B45-6A62-390D-3BB203B6F3C3
Sleep/Wake UUID: 47A2F7A2-0A1E-4344-9578-2AD6967722CA
Time Awake Since Boot: 37000 seconds Time Since Wake: 2000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [18609]
VM Regions Near 0: --> __TEXT 100d98000-1017e8000 [ 10.3M] r-x/r-x SM=COW /Applications/dosbox-x.app/Contents/MacOS/DosBox
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.dosbox-x 0x0000000100e7f1fc DOS_Device::GetInformation() + 16 1 com.dosbox-x 0x0000000100e8c55c DOS_IOCTL() + 468 2 com.dosbox-x 0x0000000100e77f44 DOS_21Handler() + 3764 3 com.dosbox-x 0x0000000100e3bb84 Normal_Loop() + 456 4 com.dosbox-x 0x0000000100e3bc90 DOSBOX_RunMachine() + 44 5 com.dosbox-x 0x00000001011ecd98 CALLBACK_RunRealInt(unsigned char) + 92 6 com.dosbox-x 0x0000000100f70a50 DOS_Shell::Execute(char, char const) + 1656 7 com.dosbox-x 0x0000000100f65d88 DOS_Shell::DoCommand(char) + 1468 8 com.dosbox-x 0x0000000100f4d368 DOS_Shell::ParseLine(char) + 1712 9 com.dosbox-x 0x0000000100f4f25c DOS_Shell::Run() + 4968 10 com.dosbox-x 0x0000000100f53198 SHELL_Run() + 560 11 com.dosbox-x 0x0000000100ff8084 VM_Boot_DOSBox_Kernel() + 248 12 com.dosbox-x 0x0000000100f9d420 BIOS::cb_bios_boot__func() + 404 13 com.dosbox-x 0x0000000100e3bb84 Normal_Loop() + 456 14 com.dosbox-x 0x0000000100e3bc90 DOSBOX_RunMachine() + 44 15 com.dosbox-x 0x000000010101a0d0 SDL_main + 93236 16 libdyld.dylib 0x000000018fa0df34 start + 4
Thread 1: 0 libsystem_pthread.dylib 0x000000018f9ecd8c start_wqthread + 0
Thread 2:: Dispatch queue: com.apple.opengl.cvmDoWork 0 libsystem_kernel.dylib 0x000000018f9b8ce8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x000000018f9b9098 mach_msg + 76 2 libdispatch.dylib 0x000000018f85e16c _dispatch_mach_send_and_wait_for_reply + 528 3 libdispatch.dylib 0x000000018f85e508 dispatch_mach_send_with_result_and_wait_for_reply + 56 4 libxpc.dylib 0x000000018f75b9f8 xpc_connection_send_message_with_reply_sync + 264 5 libCoreVMClient.dylib 0x00000001d2261ec8 cvms_element_build_and_get_internal + 256 6 libCVMSPluginSupport.dylib 0x00000001d2277d40 cvm_deferred_build_modular(void*) + 424 7 libdispatch.dylib 0x000000018f845420 _dispatch_client_callout + 20 8 libdispatch.dylib 0x000000018f84c77c _dispatch_lane_serial_drain + 580 9 libdispatch.dylib 0x000000018f84d2cc _dispatch_lane_invoke + 408 10 libdispatch.dylib 0x000000018f8573fc _dispatch_workloop_worker_thread + 708 11 libsystem_pthread.dylib 0x000000018f9ee060 _pthread_wqthread + 276 12 libsystem_pthread.dylib 0x000000018f9ecd94 start_wqthread + 8
Thread 3: 0 libsystem_kernel.dylib 0x000000018f9bc284 __semwait_signal + 8 1 libsystem_c.dylib 0x000000018f9363a0 nanosleep + 216 2 com.dosbox-x 0x00000001013604a0 RunTimer + 112 3 com.dosbox-x 0x000000010133b338 SDL_RunThread + 56 4 com.dosbox-x 0x000000010135bfe8 RunThread + 12 5 libsystem_pthread.dylib 0x000000018f9f206c _pthread_start + 320 6 libsystem_pthread.dylib 0x000000018f9ecda0 thread_start + 8
Thread 4: 0 libsystem_pthread.dylib 0x000000018f9ecd8c start_wqthread + 0
Thread 5: 0 libsystem_pthread.dylib 0x000000018f9ecd8c start_wqthread + 0
Thread 6: 0 libsystem_pthread.dylib 0x000000018f9ecd8c start_wqthread + 0
Thread 7: 0 libsystem_pthread.dylib 0x000000018f9ecd8c start_wqthread + 0
Thread 8:: AMCP Logging Spool 0 libsystem_kernel.dylib 0x000000018f9b8d24 semaphore_wait_trap + 8 1 com.apple.audio.caulk 0x00000001973868b0 caulk::mach::semaphore::wait_or_error() + 28 2 com.apple.audio.caulk 0x000000019737059c caulk::semaphore::timed_wait(double) + 168 3 com.apple.audio.caulk 0x0000000197370488 caulk::concurrent::details::worker_thread::run() + 44 4 com.apple.audio.caulk 0x00000001973701c8 void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread> > >(void) + 96 5 libsystem_pthread.dylib 0x000000018f9f206c _pthread_start + 320 6 libsystem_pthread.dylib 0x000000018f9ecda0 thread_start + 8
Thread 9:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x000000018f9b8ce8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x000000018f9b9098 mach_msg + 76 2 com.apple.audio.CoreAudio 0x00000001914a809c HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 104 3 com.apple.audio.CoreAudio 0x00000001913652ec invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 2888 4 com.apple.audio.CoreAudio 0x00000001914e35cc HALB_IOThread::Entry(void*) + 88 5 libsystem_pthread.dylib 0x000000018f9f206c _pthread_start + 320 6 libsystem_pthread.dylib 0x000000018f9ecda0 thread_start + 8
Thread 10:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x000000018f9b8ce8 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x000000018f9b9098 mach_msg + 76 2 com.apple.CoreFoundation 0x000000018faece98 CFRunLoopServiceMachPort + 380 3 com.apple.CoreFoundation 0x000000018faeb36c CFRunLoopRun + 1216 4 com.apple.CoreFoundation 0x000000018faea740 CFRunLoopRunSpecific + 600 5 com.apple.AppKit 0x0000000192444864 _NSEventThread + 216 6 libsystem_pthread.dylib 0x000000018f9f206c _pthread_start + 320 7 libsystem_pthread.dylib 0x000000018f9ecda0 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x00000000000c52c1 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x00000000000814e2 x5: 0x0000000000081a18 x6: 0x0000000102961178 x7: 0x0000000000000000 x8: 0x0000000101aa3e68 x9: 0x0000000000000000 x10: 0x0000000100e8c53c x11: 0x000000000000003d x12: 0x0000000000000488 x13: 0x0000000001800028 x14: 0x00000001029a7988 x15: 0x0000000101205b48 x16: 0x00000000000003f2 x17: 0x0000000000000000 x18: 0x0000000139b73940 x19: 0x0000000000000001 x20: 0x0000000101aa4000 x21: 0x00000001029a7610 x22: 0x0000000000000008 x23: 0x0000000101a93000 x24: 0x00000001029a6dc8 x25: 0x0000000104f00000 x26: 0x0000000000000000 x27: 0x0000000000000000 x28: 0x000000016f0629e5 fp: 0x000000016f062040 lr: 0x0000000100e8c55c sp: 0x000000016f061ff0 pc: 0x0000000100e7f1fc cpsr: 0x80000000 far: 0x0000000000000000 esr: 0x92000006
Binary Images:
0x100d98000 - 0x1017e7fff +com.dosbox-x (0.83.11 - 0.83.11) <727CA01F-3934-332A-96B3-5E4CCE1B125A> /Applications/dosbox-x.app/Contents/MacOS/DosBox
0x10541c000 - 0x105497fff dyld (832.7.3) <4AB185B3-DC20-3C03-A193-67C0E6C589D7> /usr/lib/dyld
0x10b308000 - 0x10b313fff libobjc-trampolines.dylib (818.2) <45594839-80BA-3B76-8693-7DB44ED2AF09> /usr/lib/libobjc-trampolines.dylib
0x10b458000 - 0x10b46bfff com.apple.iokit.IOHIDLib (2.0.0 - 2.0.0) <217B3A48-6251-3934-9C7F-71AEAAEFE46B> /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib
0x10b4c4000 - 0x10b523fff com.apple.AppleMetalOpenGLRenderer (1.0 - 1) <1887CA49-02D5-3775-BD8F-07E18B382A9C> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer
0x10b54c000 - 0x10ba4bfff com.apple.AGXMetal13-3 (172.26.2 - 172.26.2) <105DD5BC-5020-34D9-AE16-7B0702808D52> /System/Library/Extensions/AGXMetal13_3.bundle/Contents/MacOS/AGXMetal13_3
0x10bef4000 - 0x10c03ffff com.apple.audio.units.Components (1.14 - 1.14) <6FFBE6CD-F1B5-379E-97EC-639535F4C2BB> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x18f74e000 - 0x18f74ffff libsystem_blocks.dylib (78) <9B6D4883-03E9-3785-851E-EA79FA64ADC1> /usr/lib/system/libsystem_blocks.dylib
0x18f750000 - 0x18f787fff libxpc.dylib (2038.80.3)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 1 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: 3750709 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=694.1M resident=0K(0%) swapped_out_or_unallocated=694.1M(100%) Writable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 384K 3 Activity Tracing 256K 1 CG backing stores 3264K 6 CG image 96K 6 CoreAnimation 496K 20 CoreGraphics 32K 2 CoreUI image data 880K 7 Foundation 16K 1 Kernel Alloc Once 32K 1 MALLOC 361.3M 54 MALLOC guard page 192K 10 MALLOC_MEDIUM (reserved) 816.0M 8 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) STACK GUARD 56.2M 11 Stack 13.3M 11 VM_ALLOCATE 1280K 37 AUTH 636K 156 AUTH_CONST 9469K 316 CTF 759 1 DATA 62.1M 308 DATA_CONST 9831K 317 __DATA_DIRTY 597K 103 FONT_DATA 4K 1 GLSLBUILTINS 5176K 1 LINKEDIT 481.6M 14 OBJC_CONST 1213K 128 __OBJC_RO 64.5M 1 OBJC_RW 2544K 1 TEXT 212.6M 337 UNICODE 588K 1 mapped file 247.7M 35 shared memory 144K 5 =========== ======= ======= TOTAL 2.7G 1904 TOTAL, minus reserved VM space 1.5G 1904
Model: MacBookPro17,1, BootROM 6723.81.1, proc 8:4:4 processors, 16 GB, SMC Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin Memory Module: lp_ddr4 AirPort: spairport_wireless_card_type_airport_extreme, wl0: Dec 31 2020 21:39:03 version 18.20.222.20.7.8.104 FWID 01-1b2645bc Bluetooth: Version 8.0.3d9, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB 3.1 Bus USB Device: USB 3.1 Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.
I see you are trying to play 3dfx games in macOS. There are currently major progresses in getting high-level 3dfx to work in the macOS platform, and maybe you can take a look at it in the following thread: #2314
P.S. I don't yet have an ARM64 macOS to test myself.
I see you are trying to play 3dfx games in macOS. There are currently major progresses in getting high-level 3dfx to work in the macOS platform, and maybe you can take a look at it in the following thread: #2314
P.S. I don't yet have an ARM64 macOS to test myself.
"EF2000 for 3DFX was not written using the Glide API, but instead makes calls directly to the 3DFX hardware" https://taw.fandom.com/wiki/Running_EF2000_on_a_Modern_System
same problem after upgrade to 0.83.12
nothing changed in 0.83.13, "DOS_Device::GetInformation() + 16"
Everything is OK in the latest release: 2023.03.31
Describe the bug DID EF2000 2.0 (3dfx version) normal in dosbox-x macosx-x86_64, but out of control and cockpit display error in dosbox-x macosx-arm64
To Reproduce Run ef2000.exe in dosbox-x
Screenshots
dosbox-x macosx-x86_64, everything looks fine
dosbox-x macosx-arm64, part of control not working(rudder and roll, left/right key), HUD and cockpit display error
Environment (please complete the following information):