sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
814 stars 40 forks source link

Sublime Text 4143 causes Kernel Panic on Mac Monterey #5690

Open justinthiele opened 2 years ago

justinthiele commented 2 years ago

Description of the bug

I updated to Sublime Text 4143 today and got 2 kernel panics. I don't think I was doing anything noteworthy in ST to identify the cause. It just "beachballed" and then eventually crashed/rebooted my computer. I've included the stack trace below. I see it says due to insufficient space but seemingly have plenty of free disk space (see device info):

Device Info:

2020 Macbook Pro (Intel) OS X 12.5 Monterey 80gb of free disk space 32gb of RAM

Stack Trace:

panic(cpu 6 caller 0xffffff7fa64ecfd9): "Submission on work queue 40 failed due to insufficient space!\n" @IGGuC.cpp:3113
Panicked task 0xffffff9063e00030: 21 threads: pid 704: sublime_text
Backtrace (CPU 6), panicked thread: 0xffffff9063f1caa0, Frame : Return Address
0xffffffffd8a8b110 : 0xffffff800e27fd6d 
0xffffffffd8a8b160 : 0xffffff800e3e1016 
0xffffffffd8a8b1a0 : 0xffffff800e3d0383 
0xffffffffd8a8b1f0 : 0xffffff800e21fa70 
0xffffffffd8a8b210 : 0xffffff800e28013d 
0xffffffffd8a8b330 : 0xffffff800e27f8f6 
0xffffffffd8a8b390 : 0xffffff800eb14d93 
0xffffffffd8a8b480 : 0xffffff7fa64ecfd9 
0xffffffffd8a8b490 : 0xffffff7fa647db79 
0xffffffffd8a8b580 : 0xffffff7fa64a6992 
0xffffffffd8a8b5b0 : 0xffffff7fa64b22fd 
0xffffffffd8a8b620 : 0xffffff7fa71d75b7 
0xffffffffd8a8b660 : 0xffffff7fa648e273 
0xffffffffd8a8b680 : 0xffffff7fa648e679 
0xffffffffd8a8b6f0 : 0xffffff7fa64c3d83 
0xffffffffd8a8b950 : 0xffffff7fa71b06f6 
0xffffffffd8a8b990 : 0xffffff7fa71b0c1f 
0xffffffffd8a8b9c0 : 0xffffff7fa71bfdc2 
0xffffffffd8a8ba10 : 0xffffff7fa64cbe42 
0xffffffffd8a8ba40 : 0xffffff7fa71ada44 
0xffffffffd8a8bac0 : 0xffffff800ea7b284 
0xffffffffd8a8bb10 : 0xffffff800ea79551 
0xffffffffd8a8bb60 : 0xffffff800ea835ec 
0xffffffffd8a8bcc0 : 0xffffff800e386d16 
0xffffffffd8a8bdd0 : 0xffffff800e25a98b 
0xffffffffd8a8be60 : 0xffffff800e2711d9 
0xffffffffd8a8bef0 : 0xffffff800e3b2fea 
0xffffffffd8a8bfa0 : 0xffffff800e220256 
      Kernel Extensions in backtrace:
         com.apple.iokit.IOAcceleratorFamily2(462.8)[33A57ED0-4258-3D90-B289-2251C9419CDE]@0xffffff7fa71a6000->0xffffff7fa7210fff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[B1C6E01A-DB3B-350F-A15E-696BF6EFC16D]@0xffffff800f9b1000->0xffffff800f9d2fff
            dependency: com.apple.iokit.IOGraphicsFamily(597)[A3D63B23-B497-3720-82BA-EB74C1CD8E22]@0xffffff7fa733f000->0xffffff7fa736dfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[1C239712-AA61-3895-87E3-236603DBD253]@0xffffff8010e35000->0xffffff8010e61fff
            dependency: com.apple.iokit.IOReportFamily(47)[66824C9A-7BC1-3F5D-A056-D789C8A86B8C]@0xffffff8010e73000->0xffffff8010e75fff
            dependency: com.apple.iokit.IOSurface(302.14)[A4EB629A-5D31-37F1-84B4-6671FFF84595]@0xffffff8010fa6000->0xffffff8010fc2fff
         com.apple.driver.AppleIntelICLGraphics(18.0.8)[1C80F9F7-4405-3344-AC7B-DD93ADBE4EB4]@0xffffff7fa6464000->0xffffff7fa651efff
            dependency: com.apple.iokit.IOAcceleratorFamily2(462.8)[33A57ED0-4258-3D90-B289-2251C9419CDE]@0xffffff7fa71a6000->0xffffff7fa7210fff
            dependency: com.apple.iokit.IOGraphicsFamily(597)[A3D63B23-B497-3720-82BA-EB74C1CD8E22]@0xffffff7fa733f000->0xffffff7fa736dfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[1C239712-AA61-3895-87E3-236603DBD253]@0xffffff8010e35000->0xffffff8010e61fff
            dependency: com.apple.iokit.IOSurface(302.14)[A4EB629A-5D31-37F1-84B4-6671FFF84595]@0xffffff8010fa6000->0xffffff8010fc2fff

Process name corresponding to current thread (0xffffff9063f1caa0): sublime_text
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
21G72

Kernel version:
Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64
Kernel UUID: E3E2BC4D-7B6F-39CC-8890-73A6FB513830
KernelCache slide: 0x000000000e000000
KernelCache base:  0xffffff800e200000
Kernel slide:      0x000000000e010000
Kernel text base:  0xffffff800e210000
__HIB  text base: 0xffffff800e100000
System model name: MacBookPro16,2 (Mac-5F9802EFE386AA28)
System shutdown begun: NO
Hibernation exit count: 0

System uptime in nanoseconds: 40322075222136
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x000024ac36f86478
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x000000812e7efe2b 0x0000000000000000
Compressor Info: 8% of compressed pages limit (OK) and 9% of segments limit (OK) with 1 swapfiles and OK swap space
Zone info:
  Zone map: 0xffffff8060aae000 - 0xffffffa060aae000
  . PGZ   : 0xffffff8060aae000 - 0xffffff8064aaf000
  . VM    : 0xffffff8064aaf000 - 0xffffff8530de2000
  . RO    : 0xffffff8530de2000 - 0xffffff86ca448000
  . GEN0  : 0xffffff86ca448000 - 0xffffff8b9677b000
  . GEN1  : 0xffffff8b9677b000 - 0xffffff9062aae000
  . GEN2  : 0xffffff9062aae000 - 0xffffff952ede1000
  . GEN3  : 0xffffff952ede1000 - 0xffffff99fb114000
  . DATA  : 0xffffff99fb114000 - 0xffffffa060aae000
  Metadata: 0xffffffc0816fe000 - 0xffffffc0a16fe000
  Bitmaps : 0xffffffc0a16fe000 - 0xffffffc0ad6fe000

last started kext at 211557889207: @filesystems.smbfs   4.0 (addr 0xffffff7fa7738000, size 483328)
last stopped kext at 40300831992958: @UVCService    1 (addr 0xffffff7fa74f9000, size 4096)
loaded kexts:
@filesystems.smbfs  4.0
>!A!BMultitouch 100
>!APlatformEnabler  2.7.0d0
>AGPM   129
>X86PlatformShim    1.0.0
>AudioAUUC  1.70
>!AHIDALSService    1
>!ATopCaseHIDEventDriver    5450.8
@filesystems.autofs 3.0
>!AUpstreamUserClient   3.6.9
>!AGraphicsDevicePolicy 6.5.7
@AGDCPluginDisplayMetrics   6.5.7
>pmtelemetry    1
|IOUserEthernet 1.0.1
>usb.!UUserHCI  1
>!A!IICLGraphics    18.0.8
>!AHV   1
>!ADiskImages2  126.141.2
>!AGFXHDA   140.3
>!ABridgeAudio!C    240.6
>!A!IICLLPGraphicsFramebuffer   18.0.8
>!ABacklight    180.8
>!AMCCSControl  1.16
>BridgeAudioCommunication   240.6
>!AAVEBridge    6.1
>!A!IPCHPMC 2.0.1
>!A!ISlowAdaptiveClocking   4.0.0
>!AThunderboltIP    4.0.3
>usb.!UHostBillboardDevice  1.0
>usb.realtek8153patcher 5.0.0
|SCSITaskUserClient 456.140.3
>BCMWLANFirmware4387.Hashstore  1
>BCMWLANFirmware4378.Hashstore  1
>BCMWLANFirmware4377.Hashstore  1
>BCMWLANFirmware4364.Hashstore  1
>BCMWLANFirmware4355.Hashstore  1
>!AFileSystemDriver 3.0.1
@filesystems.tmpfs  1
@filesystems.lifs   1
@filesystems.hfs.kext   583.100.10
@BootCache  40
@!AFSCompression.!AFSCompressionTypeZlib    1.0.0
@!AFSCompression.!AFSCompressionTypeDataless    1.0.0d1
@filesystems.apfs   1934.141.2
>!ABCMWLANBusInterfacePCIeMac   1
@private.KextAudit  1.0
>!ASmartBatteryManager  161.0.0
>!AACPIButtons  6.1
>!ASMBIOS   2.1
>!AACPIEC   6.1
>!AAPIC 1.7
@!ASystemPolicy 2.0.0
@nke.applicationfirewall    402
|IOKitRegistryCompatibility 1
|EndpointSecurity   1
@Dont_Steal_Mac_OS_X    7.0.0
@kec.!AEncryptedArchive 1
>driverkit.serial   6.0.0
>!AHS!BDriver   5450.8
>IO!BHIDDriver  9.0.0
>!AActuatorDriver   5460.1
>!AMultitouchDriver 5460.1
>!AInputDeviceSupport   5460.1
>!AHIDKeyboard  228.2
@kext.triggers  1.0
>!AGraphicsControl  6.5.7
>!UAudio    416.2
>!AAudioClockLibs   140.1
|IO!BSerialManager  9.0.0
|IO!BPacketLogger   9.0.0
|IO!BHost!CUSBTransport 9.0.0
|IO!BHost!CUARTTransport    9.0.0
|IO!BHost!CTransport    9.0.0
>IO!BHost!CPCIeTransport    9.0.0
|IOAVB!F    1040.6
@plugin.IOgPTPPlugin    1040.3
|IOEthernetAVB!C    1.1.0
|CSR!BHost!CUSBTransport    9.0.0
|Broadcom!BHost!CUSBTransport   9.0.0
|Broadcom!B20703USBTransport    9.0.0
>!AIPAppender   1.0
|IOAudio!F  340.2
@vecLib.kext    1.2.0
|IOAccelerator!F2   462.8
>!A!ILpssUARTv1 3.0.60
>!A!ILpssUARTCommon 3.0.60
>!AOnboardSerial    1.0
>!ABacklightExpert  1.1.0
|IONDRVSupport  597
>!ASMBus!C  1.0.18d1
@!AGPUWrangler  6.5.7
@!AGraphicsDeviceControl    6.5.7
|IOGraphics!F   597
|IOSlowAdaptiveClocking!F   1.0.0
>X86PlatformPlugin  1.0.0
>IOPlatformPlugin!F 6.0.0d8
>!AThunderboltDPOutAdapter  8.5.1
>usb.IOUSBHostHIDDevice 1.2
>usb.cdc.ecm    5.0.0
>usb.cdc.ncm    5.0.0
>usb.!UHub  1.2
>usb.cdc    5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice  1.2
>!AHPM  3.4.4
>!A!ILpssI2C!C  3.0.60
>!A!ILpssI2C    3.0.60
>!A!ILpssDmac   3.0.60
>!AThunderboltPCIDownAdapter    4.1.1
>!AThunderboltDPInAdapter   8.5.1
>!AThunderboltDPAdapter!F   8.5.1
>!ABSDKextStarter   3
|IOSurface  302.14
@filesystems.hfs.encodings.kext 1
>!AXsanScheme   3
>!ABCMWLANCoreMac   1.0.0
|IOSerial!F 11
|IO80211!F  1200.12.2b2
|IOSkywalk!F    1.0
>mDNSOffloadUserClient  1.0.1b8
>IOImageLoader  1.0.0
>usb.!UVHCIBCE  1.2
>usb.!UVHCICommonBCE    1.0
>usb.!UVHCI 1.2
>usb.!UVHCICommon   1.0
>!AEffaceableNOR    1.0
>!AOLYHALMac    1
>corecapture    1.0.4
|IOBufferCopy!C 1.1.0
|IOBufferCopyEngine!F   1
|IONVMe!F   2.1.0
>usb.!UHostPacketFilter 1.0
|IOUSB!F    900.4.2
>!AThunderboltNHI   7.2.81
|IOThunderbolt!F    9.3.3
>usb.!UXHCIPCI  1.2
>usb.!UXHCI 1.2
>!AEFINVRAM 2.1
>!AEFIRuntime   2.1
>!ASMCRTC   1.0
|IOSMBus!F  1.1
|IOHID!F    2.0.0
|IOTimeSync!F   1040.3
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 9.0.0
|IOReport!F 47
$quarantine 4
$sandbox    300.0
@kext.!AMatch   1.0.0d1
|CoreAnalytics!F    1
>!ASSE  1.0
>!AKeyStore 2
>!UTDM  533.120.2
|IOUSBMass!SDriver  210.120.3
|IOSCSIBlockCommandsDevice  456.140.3
|IO!S!F 2.1
|IOSCSIArchitectureModel!F  456.140.3
>!AMobileFileIntegrity  1.0.5
$!AImage4   4.2.0
@kext.CoreTrust 1
>!AFDEKeyStore  28.30
>!AEffaceable!S 1.0
>!ACredentialManager    1.0
>KernelRelayHost    1
|IOUSBHost!F    1.2
>!UHostMergeProperties  1.2
>usb.!UCommon   1.0
>!ABusPower!C   1.0
>!ASEPManager   1.0.1
>IOSlaveProcessor   1
>!AACPIPlatform 6.1
>!ASMC  3.1.9
|IOPCI!F    2.9
|IOACPI!F   1.4
>watchdog   1
@kec.pthread    1
@kec.Libm   1
@kec.corecrypto 12.0

Steps to reproduce

Unknown

Expected behavior

No crashing / kernel panic

Actual behavior

Kernel panic causing computer reboot

Sublime Text build number

4143

Operating system & version

OS X 12.5 Monterey

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information

OpenGL Context Information: GL API Version: 4.1 INTEL-18.8.4 GLSL Version: 4.10 Vendor: Intel Inc. Renderer: Intel(R) Iris(TM) Plus Graphics OpenGL Engine

BenjaminSchaaf commented 2 years ago

Can you provide the OpenGL context information please.

justinthiele commented 2 years ago

@BenjaminSchaaf Here's the OpenGL info, apologies for not including that initially.

OpenGL Context Information:
  GL API Version: 4.1 INTEL-18.8.4
  GLSL Version: 4.10
  Vendor: Intel Inc.
  Renderer: Intel(R) Iris(TM) Plus Graphics OpenGL Engine
BenjaminSchaaf commented 2 years ago

Unfortunately without the hardware on hand there's nothing we can really do to work around this driver bug.