详细问题描述
使用macos开发uniapp 运行到ios模拟器 保存代码时弹出 mdb意外退出,一上午已经好多次了
重现步骤
正常修改代码保存时
IDE运行环境说明
HBuilderX
[IDE版本号]
2.4.6
[mac版本号]
macos 10.15.2 (19C57)
uni-app运行环境说明
[运行端是h5或app或某个小程序?]
ios模拟器
[运行端版本号]
iphone8 13.3
[项目是cli创建的还是HBuilderX创建的?如果是cli创建的,请更新到最新版cli再试]
HBuilderX
[编译模式是老模板模式还是新的自定义组件模式?]
自定义组件模式
App运行环境说明
[iOS版本号]
13.3
[模拟器型号]
iphone8
附件
[IDE问题请提供HBuilderX运行日志。菜单帮助-查看运行日志,点右键打开文件所在目录,将log文件压缩成zip包上传]
报错详情
Process: mdb [4977]
Path: /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/mdb/mdb
Identifier: mdb
Version: 0
Code Type: X86-64 (Native)
Parent Process: java [672]
Responsible: HBuilderX [668]
User ID: 501
Date/Time: 2019-12-18 10:12:11.702 +0800
OS Version: Mac OS X 10.15.2 (19C57)
Report Version: 12
Anonymous UUID: 3C436A4E-C9BC-4075-167C-06D3C7B3B6FA
Time Awake Since Boot: 4200 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 0x0000000000000068
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [4977]
VM Regions Near 0x68:
-->
__TEXT 000000010f087000-000000010f08f000 [ 32K] r-x/r-x SM=COW /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/mdb/mdb
Application Specific Information:
dyld2 mode
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_c.dylib 0x00007fff6ce2dba4 flockfile + 18
1 libsystem_c.dylib 0x00007fff6ce2ff80 fseek + 55
2 mdb 0x000000010f08cf59 pushResources + 1049
3 mdb 0x000000010f08da85 main + 709
4 libdyld.dylib 0x00007fff6cda67fd start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000114ca9e6c rbx: 0x0000000000000000 rcx: 0x0000000114ca9e6c rdx: 0x0000000000000002
rdi: 0x0000000000000000 rsi: 0x00007fff6ce2ed7c rbp: 0x00007ffee0b78a80 rsp: 0x00007ffee0b78a70
r8: 0x000000000001aa6b r9: 0xffffffff00000000 r10: 0x00007fff96d8ac20 r11: 0x0000000000000247
r12: 0x0000000000000002 r13: 0x00007fdced700620 r14: 0x0000000000000002 r15: 0x0000000000000000
rip: 0x00007fff6ce2dba4 rfl: 0x0000000000010206 cr2: 0x0000000000000068
Logical CPU: 4
Error Code: 0x00000004 (no mapping for user data write)
Trap Number: 14
Binary Images:
0x10f087000 - 0x10f08eff3 +mdb (0) <7AD6EAB5-9E40-3474-8971-68C61FC79CA5> /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/mdb/mdb
0x10f09d000 - 0x10f0b9ffb +libimobiledevice.6.dylib (0) <5622372B-EB08-320D-B995-4ED2F5B8AA64> /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/mdb/lib/libimobiledevice.6.dylib
0x10f0c6000 - 0x10f0ceff3 +libplist.3.dylib (0) <5E429D4A-9CB4-306C-9738-949AAD1EBCD7> /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/mdb/lib/libplist.3.dylib
0x10f0d4000 - 0x10f112fff +libssl.1.0.0.dylib (0) <C2EA8DA8-75B7-3FDF-B657-A067B1D5DDBE> /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/mdb/lib/libssl.1.0.0.dylib
0x10f136000 - 0x10f288f6f +libcrypto.1.0.0.dylib (0) <FB2AAB04-4DC3-382E-9BCE-18DF7DAB8A30> /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/mdb/lib/libcrypto.1.0.0.dylib
0x10f306000 - 0x10f30cff3 +libusbmuxd.4.dylib (0) <EB655161-6AD7-3AAD-BA6D-0B7A902FE56C> /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/mdb/lib/libusbmuxd.4.dylib
0x114be0000 - 0x114c70cb7 dyld (733.8) <EEA931D0-403E-3BC8-862A-CBA037DE4A74> /usr/lib/dyld
0x7fff69bd5000 - 0x7fff69bd6ff3 libSystem.B.dylib (1281) <2F6BCFD9-A5F9-30FE-BF5A-5C53D3CBAB4D> /usr/lib/libSystem.B.dylib
0x7fff69ebb000 - 0x7fff69f0eff7 libc++.1.dylib (800.7) <6018A70E-5CD3-32AF-BA60-E7A0B7E7CEB2> /usr/lib/libc++.1.dylib
0x7fff69f0f000 - 0x7fff69f23fff libc++abi.dylib (800.7) <BC1E5821-4540-3226-ABB0-BC35E4DDF0B9> /usr/lib/libc++abi.dylib
0x7fff6ba26000 - 0x7fff6ba57fc6 libobjc.A.dylib (781.2) <17241F77-6A7A-39D7-8836-63E2725AA3C9> /usr/lib/libobjc.A.dylib
0x7fff6cb78000 - 0x7fff6cb7dff3 libcache.dylib (83) <AD7479C0-73FA-3B2E-9544-D566DFFAB4C6> /usr/lib/system/libcache.dylib
0x7fff6cb7e000 - 0x7fff6cb89fff libcommonCrypto.dylib (60165) <F7B65873-FAC8-3EB5-8912-34109EFC74B5> /usr/lib/system/libcommonCrypto.dylib
0x7fff6cb8a000 - 0x7fff6cb91fff libcompiler_rt.dylib (101.2) <51107CAA-0727-370D-8287-940D40D09AC1> /usr/lib/system/libcompiler_rt.dylib
0x7fff6cb92000 - 0x7fff6cb9bfff libcopyfile.dylib (166.40.1) <6454A046-88E5-32D6-898C-FB0D30D28637> /usr/lib/system/libcopyfile.dylib
0x7fff6cb9c000 - 0x7fff6cc33fe7 libcorecrypto.dylib (866.60.3) <8090C446-35C8-31B4-8B1E-AF6D0EF3524B> /usr/lib/system/libcorecrypto.dylib
0x7fff6cd4a000 - 0x7fff6cd8bff0 libdispatch.dylib (1173.60.1) <A9EDFE95-31BA-3BEF-89CA-60DE153237FA> /usr/lib/system/libdispatch.dylib
0x7fff6cd8c000 - 0x7fff6cdc1ff7 libdyld.dylib (733.8) <8E2D3DED-0756-37A0-9D55-B9264CA020B4> /usr/lib/system/libdyld.dylib
0x7fff6cdc2000 - 0x7fff6cdc2ffb libkeymgr.dylib (30) <0B9A3AF7-086E-3E7A-A52E-3DAF2E52CF86> /usr/lib/system/libkeymgr.dylib
0x7fff6cdd0000 - 0x7fff6cdd0ff7 liblaunch.dylib (1738.61.1) <A061D971-A337-3528-8B78-FFAD2B0B5CC6> /usr/lib/system/liblaunch.dylib
0x7fff6cdd1000 - 0x7fff6cdd6ff7 libmacho.dylib (949.0.1) <9831715F-ED86-3A9D-88CD-152C888B784B> /usr/lib/system/libmacho.dylib
0x7fff6cdd7000 - 0x7fff6cdd9ff7 libquarantine.dylib (110.40.3) <58CE8913-EC7B-376B-BC80-69763993A1E4> /usr/lib/system/libquarantine.dylib
0x7fff6cdda000 - 0x7fff6cddbff7 libremovefile.dylib (48) <4E1AD797-3993-3E05-BB9B-B4E3038CE09C> /usr/lib/system/libremovefile.dylib
0x7fff6cddc000 - 0x7fff6cdf3fff libsystem_asl.dylib (377.60.2) <2CD6CABE-F8D7-3CCA-A930-08F8AC356D30> /usr/lib/system/libsystem_asl.dylib
0x7fff6cdf4000 - 0x7fff6cdf4fff libsystem_blocks.dylib (74) <71A75F21-83AD-382F-95E4-4D6B77B4B9FE> /usr/lib/system/libsystem_blocks.dylib
0x7fff6cdf5000 - 0x7fff6ce7cff7 libsystem_c.dylib (1353.60.8) <ECA8CD0D-0B55-3151-B389-8109DAEC85B1> /usr/lib/system/libsystem_c.dylib
0x7fff6ce7d000 - 0x7fff6ce80ffb libsystem_configuration.dylib (1061.40.2) <CE186284-4923-35DE-9141-7B6B89523668> /usr/lib/system/libsystem_configuration.dylib
0x7fff6ce81000 - 0x7fff6ce84ff7 libsystem_coreservices.dylib (114) <FBE4483A-7B6E-30CF-AECE-828AFFACDC15> /usr/lib/system/libsystem_coreservices.dylib
0x7fff6ce85000 - 0x7fff6ce8dfff libsystem_darwin.dylib (1353.60.8) <9AC37996-630C-3B1E-8285-CFC77B684359> /usr/lib/system/libsystem_darwin.dylib
0x7fff6ce8e000 - 0x7fff6ce95ffb libsystem_dnssd.dylib (1096.60.2) <7F0DF910-F4AC-3CED-9494-295B5E45549C> /usr/lib/system/libsystem_dnssd.dylib
0x7fff6ce96000 - 0x7fff6ce97ffb libsystem_featureflags.dylib (17) <985005B7-C0B3-3DCA-B064-6D34A0687212> /usr/lib/system/libsystem_featureflags.dylib
0x7fff6ce98000 - 0x7fff6cee5fff libsystem_info.dylib (538) <D9805FBC-1BBD-3825-AB62-83C3ABB4191F> /usr/lib/system/libsystem_info.dylib
0x7fff6cee6000 - 0x7fff6cf12ff7 libsystem_kernel.dylib (6153.61.1) <90F8650F-D3A9-38B3-BB8C-B5D3686393BC> /usr/lib/system/libsystem_kernel.dylib
0x7fff6cf13000 - 0x7fff6cf5afcf libsystem_m.dylib (3178) <92F1FF45-BD1C-32FE-A9A9-D12AF02C8212> /usr/lib/system/libsystem_m.dylib
0x7fff6cf5b000 - 0x7fff6cf82fff libsystem_malloc.dylib (283.60.1) <51472F42-71BE-348F-B42E-4EDD3040B690> /usr/lib/system/libsystem_malloc.dylib
0x7fff6cf83000 - 0x7fff6cf90ffb libsystem_networkextension.dylib (1095.60.2) <846C06C0-A705-38AE-8A29-3FA4153252B3> /usr/lib/system/libsystem_networkextension.dylib
0x7fff6cf91000 - 0x7fff6cf9aff3 libsystem_notify.dylib (241) <7CB7DE46-5877-3CAD-8526-CACEA22F3AD5> /usr/lib/system/libsystem_notify.dylib
0x7fff6cf9b000 - 0x7fff6cfa4fef libsystem_platform.dylib (220) <AC9560A9-CCE8-3158-BCC8-8FF47929397A> /usr/lib/system/libsystem_platform.dylib
0x7fff6cfa5000 - 0x7fff6cfaffff libsystem_pthread.dylib (416.60.2) <9D14694F-F3FE-385D-9B23-6A87844D5CBF> /usr/lib/system/libsystem_pthread.dylib
0x7fff6cfb0000 - 0x7fff6cfb4fff libsystem_sandbox.dylib (1217.61.1) <AA2E4441-A517-3921-AF0E-AA8158D2A6D9> /usr/lib/system/libsystem_sandbox.dylib
0x7fff6cfb5000 - 0x7fff6cfb7fff libsystem_secinit.dylib (62.60.1) <129C187A-E580-3F00-A0C3-E96A633364F1> /usr/lib/system/libsystem_secinit.dylib
0x7fff6cfb8000 - 0x7fff6cfbfffb libsystem_symptoms.dylib (1238.60.1) <5540DEA3-9C3A-3991-8C3A-7B375A5410C7> /usr/lib/system/libsystem_symptoms.dylib
0x7fff6cfc0000 - 0x7fff6cfd6ff2 libsystem_trace.dylib (1147.60.3) <EF6BD746-85CD-3490-92E6-7C7EDA0B703B> /usr/lib/system/libsystem_trace.dylib
0x7fff6cfd8000 - 0x7fff6cfddffb libunwind.dylib (35.4) <769F4C16-2746-3182-85C1-45CC98D119C8> /usr/lib/system/libunwind.dylib
0x7fff6cfde000 - 0x7fff6d012ffe libxpc.dylib (1738.61.1) <AC9AD00D-BAA9-3ABC-B557-77E604CF9955> /usr/lib/system/libxpc.dylib
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: 18662
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=360.5M resident=0K(0%) swapped_out_or_unallocated=360.5M(100%)
Writable regions: Total=53.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=53.3M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Kernel Alloc Once 8K 1
MALLOC 45.1M 17
MALLOC guard page 16K 3
STACK GUARD 56.0M 1
Stack 8192K 1
DATA 808K 46
DATA_CONST 20K 1
LINKEDIT 354.0M 8
OBJC_RO 32.0M 1
__OBJC_RW 1780K 2
__TEXT 6576K 45
shared memory 8K 2
=========== ======= =======
TOTAL 504.2M 128
Model: MacBookPro11,4, BootROM 195.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 2.2 GHz, 16 GB, SMC 2.29f24
Graphics: kHW_IntelIrisProItem, Intel Iris Pro, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.77.106.3 AirPortDriverBrcmNIC-1435.3)
Bluetooth: Version 7.0.2f4, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Network Service: iPhone, Ethernet, en4
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
USB Device: SDM660-QRD _SN:8E1FAA0B
USB Device: iPhone
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
[QQ] 851830155
紫川丶 (作者)
每天会出现几次,不过影响不大 慢慢优化吧
2019-12-18 16:47