sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
274 stars 14 forks source link

Sublime merge cause the Mac to get stuck until the watchdog force an hard reset due to kernel panic #1868

Open Puccet opened 8 months ago

Puccet commented 8 months ago

Version info

Description

The real problem is this issue got worse with every sublime merge recent version at the point I'll stop to use it if not solved

it does sometime, but very rarely, happens also with Sublime Text

While performing any action such as, editing a commit message, scrolling the commit tree, or whatever else you can do in SM it simply freeze the whole MacOS until the OS force a reboot

panic(cpu 0 caller 0xffffff7fa7e19cf2): "Submission on work queue 36 failed due to insufficient space!\n" @IGGuC.cpp:3127 Panicked task 0xffffff9511815428: 19 threads: pid 50821: sublime_merge Backtrace (CPU 0), panicked thread: 0xffffff90455390c8, Frame : Return Address

Stacktrace at the bottom of this report

Steps to reproduce

Steps to reproduce the behavior:

  1. No useful pattern to reproduce the issue

Expected behavior

Sublime merge never cause the Mac to crash

Debug Information === App Version Information === Build: 2091

=== Git Version Information === Using Git: git (system) git version 2.27.0 PATH: /Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/pclp_2.0_macos:/Library/Frameworks/Python.framework/Versions/3.11/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/Applications/Wireshark.app/Contents/MacOS:/Applications/VMware Fusion.app/Contents/Public:/usr/local/apache-maven/bin/ (from shell) environment variables loaded using: /bin/zsh -l

=== Browse Page Information === HEAD: bf119721b46034f50ca7b0bb1e7dfe678be58ca6 Is in merge: 0 Is in cherry_pick: 0 Is in rebase: 0 Is in revert: 0

=== Git Status Information === M com.microelettrica.metering.ecomodule.embeddedapp/src/main/java/it/casram/ecomodule/AbstractLocationServiceMBean.java M com.microelettrica.metering.ecomodule.embeddedapp/src/main/java/it/casram/ecomodule/GsmService.java M com.microelettrica.metering.ecomodule.embeddedapp/src/main/resources/log4j2.xml A ecomodule_baseline/ecomodule_library.sh M ecomodule_baseline/package/etc/crontab M ecomodule_baseline/package/etc/init.d/ecomodule M ecomodule_baseline/package/home/ubuntu/ecomodule_library.sh D ecomodule_baseline/package/home/ubuntu/handle_stupid_stty_behaviour.sh A ecomodule_baseline/package/home/ubuntu/modem_functions.sh M ecomodule_baseline/package/home/ubuntu/update_touch_files_timestamps.sh

=== Our Status Information === M com.microelettrica.metering.ecomodule.embeddedapp/src/main/java/it/casram/ecomodule/AbstractLocationServiceMBean.java M com.microelettrica.metering.ecomodule.embeddedapp/src/main/java/it/casram/ecomodule/GsmService.java M com.microelettrica.metering.ecomodule.embeddedapp/src/main/resources/log4j2.xml A ecomodule_baseline/ecomodule_library.sh M ecomodule_baseline/package/etc/crontab M ecomodule_baseline/package/etc/init.d/ecomodule M ecomodule_baseline/package/home/ubuntu/ecomodule_library.sh D ecomodule_baseline/package/home/ubuntu/handle_stupid_stty_behaviour.sh A ecomodule_baseline/package/home/ubuntu/modem_functions.sh M ecomodule_baseline/package/home/ubuntu/update_touch_files_timestamps.sh

=== Git Config Information === alias.align=!f() { [ $# == 2 ] || exit -1; [ -z "$(git status --porcelain)" ] || exit -2; git checkout "$1" && git pull && git checkout "$2" && git merge "$1" && git push; git checkout "$1" && git merge "$2" && git push && git fetch && git checkout "$2"; }; f alias.lgb=log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset%n' --abbrev-commit --date=relative --branches branch.BASELINE_026.merge=refs/heads/BASELINE_026 branch.BASELINE_026.rebase=true branch.BASELINE_026.remote=origin branch.autosetuprebase=always branch.master.merge=refs/heads/master branch.master.remote=origin core.autocrlf=input core.bare=false core.filemode=true core.ignorecase=true core.logallrefupdates=true core.precomposeunicode=true core.repositoryformatversion=0 filter.lfs.clean=git-lfs clean -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true filter.lfs.smudge=git-lfs smudge -- %f pull.rebase=true remote.origin.fetch=+refs/heads/:refs/remotes/origin/ remote.origin.url=git@gitlab.com:microelettrica/microelettrica.git user.email=fabiofrumento@fabiofrumento.it user.emil=fabiofrumento@fabiofrumento.it user.name=Fabio Frumento

=== Our Config Information === Git Config Path Information Using config path: /etc/gitconfig Using config path: /Users/fabio/.config/git/config Using config path: /Users/fabio/.gitconfig Using config path: /Users/fabio/Documenti_local/microelettrica/ecomodule_dev/.git/config

Our config output is identical to the Git config output

=== Git Attributes Information === git check_attr --all output com.microelettrica.metering.ecomodule.embeddedapp/src/main/java/it/casram/ecomodule/AbstractLocationServiceMBean.java

=== Our Modified Files Newline Normalisation and EOL Information === com.microelettrica.metering.ecomodule.embeddedapp/src/main/java/it/casram/ecomodule/AbstractLocationServiceMBean.java: input - native

=== Our Modified Files Flag Information === Ignoring symlinks: 0 com.microelettrica.metering.ecomodule.embeddedapp/src/main/java/it/casram/ecomodule/AbstractLocationServiceMBean.java: Working - Normal File : Index - Normal File

This section may be omitted/removed.

Screenshots

Screenshot 2024-01-31 alle 20 02 15

Stacktrace

panic(cpu 0 caller 0xffffff7fa7e19cf2): "Submission on work queue 36 failed due to insufficient space!\n" @IGGuC.cpp:3127 Panicked task 0xffffff9511815428: 19 threads: pid 50821: sublime_merge Backtrace (CPU 0), panicked thread: 0xffffff90455390c8, Frame : Return Address 0xffffffec2d2e6fe0 : 0xffffff8013636c41 0xffffffec2d2e7030 : 0xffffff80137955c0 0xffffffec2d2e7070 : 0xffffff8013784d0c 0xffffffec2d2e70f0 : 0xffffff80135d3971 0xffffffec2d2e7110 : 0xffffff8013636f2d 0xffffffec2d2e7200 : 0xffffff80136365d3 0xffffffec2d2e7260 : 0xffffff8013dd8d0b 0xffffffec2d2e7350 : 0xffffff7fa7e19cf2 0xffffffec2d2e7360 : 0xffffff7fa7dac4d8 0xffffffec2d2e7450 : 0xffffff7fa7dd4b14 0xffffffec2d2e7480 : 0xffffff7fa7de0477 0xffffffec2d2e74f0 : 0xffffff7fa844760b 0xffffffec2d2e7530 : 0xffffff7fa7dbc999 0xffffffec2d2e7550 : 0xffffff7fa7dbcd99 0xffffffec2d2e75c0 : 0xffffff7fa7df1057 0xffffffec2d2e77f0 : 0xffffff7fa8420758 0xffffffec2d2e7830 : 0xffffff7fa8420c75 0xffffffec2d2e7860 : 0xffffff7fa842fd5e 0xffffffec2d2e78b0 : 0xffffff7fa7df8bbe 0xffffffec2d2e78e0 : 0xffffff7fa841da9b 0xffffffec2d2e7960 : 0xffffff8013d45a9b 0xffffffec2d2e7990 : 0xffffff8013d43ed0 0xffffffec2d2e79e0 : 0xffffff8013d4e4d6 0xffffffec2d2e7a10 : 0xffffff8013d4e84d 0xffffffec2d2e7b80 : 0xffffff801374077f 0xffffffec2d2e7ca0 : 0xffffff801360f8a0 0xffffffec2d2e7d60 : 0xffffff80136276b8 0xffffffec2d2e7dd0 : 0xffffff8013627d28 0xffffffec2d2e7ef0 : 0xffffff801376a302 0xffffffec2d2e7fa0 : 0xffffff80135d3dd6 Kernel Extensions in backtrace: com.apple.iokit.IOAcceleratorFamily2(481.0.1)[E9A83038-06B1-37D9-A1D5-079A67157081]@0xffffff7fa8416000->0xffffff7fa8480fff dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[07852425-8607-3C1A-B273-92FC0221EC02]@0xffffff8014c9e000->0xffffff8014cd4fff dependency: com.apple.iokit.IOGraphicsFamily(598)[5E698968-E66C-372A-9AE4-99934BAF7A10]@0xffffff7fa85a6000->0xffffff7fa85d4fff dependency: com.apple.iokit.IOPCIFamily(2.9)[1B194276-D13F-32DD-8B6D-4751C1C73603]@0xffffff8015955000->0xffffff8015986fff dependency: com.apple.iokit.IOReportFamily(47)[7EE0B816-0F22-3141-992C-ECEA9CA4B021]@0xffffff8015997000->0xffffff8015999fff dependency: com.apple.iokit.IOSurface(352.0.3)[93D55571-8050-3A8B-9159-B33939D35C99]@0xffffff8015abc000->0xffffff8015ae5fff com.apple.driver.AppleIntelICLGraphics(22.0.1)[D5F95149-697B-3D88-B514-F5B92341E327]@0xffffff7fa7d93000->0xffffff7fa7e4bfff dependency: com.apple.iokit.IOAcceleratorFamily2(481.0.1)[E9A83038-06B1-37D9-A1D5-079A67157081]@0xffffff7fa8416000->0xffffff7fa8480fff dependency: com.apple.iokit.IOGraphicsFamily(598)[5E698968-E66C-372A-9AE4-99934BAF7A10]@0xffffff7fa85a6000->0xffffff7fa85d4fff dependency: com.apple.iokit.IOPCIFamily(2.9)[1B194276-D13F-32DD-8B6D-4751C1C73603]@0xffffff8015955000->0xffffff8015986fff dependency: com.apple.iokit.IOSurface(352.0.3)[93D55571-8050-3A8B-9159-B33939D35C99]@0xffffff8015abc000->0xffffff8015ae5fff

Process name corresponding to current thread (0xffffff90455390c8): sublime_merge Boot args: serverperfmode=1

Mac OS version: 23D56

Kernel version: Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64 Kernel UUID: 8C96896D-43A3-3BF0-8F4C-4118DA6AC9AA roots installed: 0 KernelCache slide: 0x0000000013200000 KernelCache base: 0xffffff8013400000 Kernel slide: 0x00000000132e0000 Kernel text base: 0xffffff80134e0000 __HIB text base: 0xffffff8013300000 System model name: MacBookPro16,2 (Mac-5F9802EFE386AA28) System shutdown begun: NO Hibernation exit count: 0

System uptime in nanoseconds: 194023429103137 Last Sleep: absolute base_tsc base_nano Uptime : 0x0000b0769991e2f6 Sleep : 0x0000a369caa4701c 0x0003774b569f36c9 0x0000a35afce11664 Wake : 0x0000a36a3ddf864c 0x000378fbf4068cc5 0x0000a36a3bd55888 Compressor Info: 7% of compressed pages limit (OK) and 6% of segments limit (OK) with 4 swapfiles and OK swap space Zone info: Zone map: 0xffffff8045f89000 - 0xffffffa045f89000 . PGZ : 0xffffff8045f89000 - 0xffffff8049f8a000 . VM : 0xffffff8049f8a000 - 0xffffff85162bd000 . RO : 0xffffff85162bd000 - 0xffffff86af923000 . GEN0 : 0xffffff86af923000 - 0xffffff8b7bc56000 . GEN1 : 0xffffff8b7bc56000 - 0xffffff9047f89000 . GEN2 : 0xffffff9047f89000 - 0xffffff95142bc000 . GEN3 : 0xffffff95142bc000 - 0xffffff99e05ef000 . DATA : 0xffffff99e05ef000 - 0xffffffa045f89000 Metadata: 0xffffffe405fc6000 - 0xffffffe425fc6000 Bitmaps : 0xffffffe425fc6000 - 0xffffffe42bfc6000 Extra : 0 - 0

last started kext at 149537853416371: |SCSITaskUserClient 492 (addr 0xffffff8015a0f000, size 20480) last stopped kext at 194005505472703: com.paragon-software.lvm-for-mac 1 (addr 0xffffff7fa9549000, size 81920) loaded kexts: com.paloaltonetworks.kext.pangpd 5.0.5f28 com.paragon-software.filesystems.ntfs 839.11.15 com.paragon-software.filesystems.extfs 605.8.11 com.amixcapital.kext.airconsole 1.5.0 com.intel.driver.EnergyDriver 3.7.0 |SCSITaskUserClient 492

!UMass!SInterfaceNub 556 @filesystems.smbfs 5.1 !APlatformEnabler 2.7.0d0 AGPM 135 X86PlatformShim 1.0.0 !ATopCaseHIDEventDriver 7430.5 !AHIDALSService 1 @filesystems.autofs 3.0 !AGraphicsDevicePolicy 8.1.9 !AUpstreamUserClient 3.6.11 @AGDCPluginDisplayMetrics 8.1.9 pmtelemetry 1 @filesystems.nfs 1 |IOUserEthernet 1.0.1 usb.!UUserHCI 1 !A!IICLGraphics 22.0.1 !ASunrise 1 !AHV 1 !AGFXHDA 300.1 !A!IICLLPGraphicsFramebuffer 22.0.1 !ABridgeAudio!C 400.1 BridgeAudioCommunication 400.1 !AAVEBridge 6.1 !A!ISlowAdaptiveClocking 4.0.0 !AFWOHCI 5.7.5 !ABacklight 180.9 !AThunderboltIP 4.0.3 !A!IPCHPMC 2.0.1 !AMCCSControl 1.17 !UDisplays 380 BCMWLANFirmware4388.Hashstore 1 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 650.0.2 @BootCache 40 @!AFSCompression.!AFSCompressionTypeZlib 1.0.0 @!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1 @filesystems.apfs 2235.80.4 !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 404 |IOKitRegistryCompatibility 1 |EndpointSecurity 1 @Dont_Steal_Mac_OS_X 7.0.0 !ADiskImages2 273 @kec.!AEncryptedArchive 1 |IOSCSIParallel!F 3.0.0 !AActuatorDriver 7430.5 !AMultitouchDriver 7430.5 !AInputDeviceSupport 7410.1 !AHS!BDriver 7430.5 IO!BHIDDriver 9.0.0 !AHIDKeyboard 7400.2 !AGraphicsControl 8.1.9 @kext.triggers 1.0 IOHIDPowerSource 1 !ACallbackPowerSource 1 |IOAVB!F 1220.1 !ARSMChannel 1 |IORSM!F 1 !AIPAppender 1.0 @plugin.IOgPTPPlugin 1230.2 !UAudio 610.3 !AAudioClockLibs 300.1 |IOAccelerator!F2 481.0.1 !A!ILpssUARTv1 3.0.60 !A!ILpssUARTCommon 3.0.60 !AOnboardSerial 1.0 |IOAudio!F 500.4 @vecLib.kext 1.2.0 driverkit.serial 6.0.0 @!AGPUWrangler 8.1.9 @!AGraphicsDeviceControl 8.1.9 |IOSlowAdaptiveClocking!F 1.0.0 |IOFireWire!F 4.8.3 X86PlatformPlugin 1.0.0 !ABacklightExpert 1.1.0 |IONDRVSupport 598 IOPlatformPlugin!F 6.0.0d8 |IOGraphics!F 598 !ASMBus!C 1.0.18d1 !AThunderboltPCIUpAdapter 4.1.1 !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 352.0.3 @filesystems.hfs.encodings.kext 1 !ASyntheticGame!C 11.3.1 !AXsanScheme 3 !ABCMWLANCoreMac 1.0.0 |IO80211!F 1200.13.0 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 |IOSerial!F 11 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 1230.2 |IOSkywalk!F 1.0 mDNSOffloadUserClient 1.0.1b8 |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 !ASSE 1.0 !ALockdownMode 1 !AKeyStore 2 !UTDM 556 |IOUSBMass!SDriver 243 |IOSCSIBlockCommandsDevice 492 |IOSCSIArchitectureModel!F 492 !AFDEKeyStore 28.30 !AEffaceable!S 1.0 |IO!S!F 2.1 !ACyrus 1 !ACredentialManager 1.0 KernelRelayHost 1 |IOUSBHost!F 1.2 !UHostMergeProperties 1.2 usb.!UCommon 1.0 !AMobileFileIntegrity 1.0.5 $!AImage4 5.0.0 @kext.CoreTrust 1 |CoreAnalytics!F 1 !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.XrtHostedXnu 1 @kec.Libm 1 @kec.Compression 1.0 @kec.corecrypto 14.0

dpjohnst commented 8 months ago

Hi @Puccet,

Thanks for reaching out - this looks like it's probably caused by a GPU driver bug.

Could you try disabling hardware acceleration in the Sublime Merge preferences (accessible in the Sublime Merge menu under Preferences > Advanced).

Kind regards, - Dylan from Sublime HQ

Puccet commented 8 months ago

Hi @dpjohnst ,

Thanks for your support, yes it seems that disabling the GPU solve the issue.

My Mac is an Intel based, does this bug affects also Apple Silicon based Macs? They should have a completely different GPU stack