Here is the last crash report:
Anonymous UUID: 67C98403-EB42-2477-8A82-03A7211F3840
Fri Sep 21 09:43:54 2018
*** Panic Report ***
panic(cpu 0 caller 0xffffff80024877b4): "thread_invoke: preemption_level 1, possible cause: blocking while holding a spinlock, or within interrupt context"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.71.2/osfmk/kern/sched_prim.c:2231
Backtrace (CPU 0), Frame : Return Address
0xffffff91f639b720 : 0xffffff800246c1c6
0xffffff91f639b770 : 0xffffff8002595274
0xffffff91f639b7b0 : 0xffffff8002587544
0xffffff91f639b820 : 0xffffff800241e1e0
0xffffff91f639b840 : 0xffffff800246bc3c
0xffffff91f639b970 : 0xffffff800246b9fc
0xffffff91f639b9d0 : 0xffffff80024877b4
0xffffff91f639ba50 : 0xffffff800248663f
0xffffff91f639baa0 : 0xffffff800247b4fe
0xffffff91f639bae0 : 0xffffff80024b85fc
0xffffff91f639bc10 : 0xffffff800244dc76
0xffffff91f639bc40 : 0xffffff800244e863
0xffffff91f639bc90 : 0xffffff8002471e52
0xffffff91f639bcd0 : 0xffffff7f82d888e5
0xffffff91f639bd10 : 0xffffff7f82ddff11
0xffffff91f639bd30 : 0xffffff7f82e98486
0xffffff91f639bd80 : 0xffffff7f82edd974
0xffffff91f639bda0 : 0xffffff7f836bf19f
0xffffff91f639be10 : 0xffffff7f82de7104
0xffffff91f639bed0 : 0xffffff8002a99785
0xffffff91f639bf30 : 0xffffff8002a97ef2
0xffffff91f639bf70 : 0xffffff8002a9752c
0xffffff91f639bfa0 : 0xffffff800241d557
Kernel Extensions in backtrace:
com.nvidia.web.NVDAResmanWeb(10.3.3)[37FC338B-1C2C-3C37-8DAD-576DB29CC7F4]@0xffffff7f82d81000->0xffffff7f833f9fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f82c94000
dependency: com.apple.iokit.IONDRVSupport(519.20)[64AB0898-0DF1-32DF-850A-8840C3478439]@0xffffff7f82d65000
dependency: com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7f82d0f000
dependency: com.apple.AppleGraphicsDeviceControl(3.20.13)[55E796DB-EFBA-34DB-8148-E834A4383AD2]@0xffffff7f82d75000
com.nvidia.web.NVDAGP100HalWeb(10.3.3)[66B299E8-CBF2-398B-A290-781A4F8C589C]@0xffffff7f83577000->0xffffff7f8371dfff
dependency: com.nvidia.web.NVDAResmanWeb(10.3.3)[37FC338B-1C2C-3C37-8DAD-576DB29CC7F4]@0xffffff7f82d81000
dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f82c94000
BSD process name corresponding to current thread: kernel_task
Boot args: dart=0 kext-dev-mode=1 rootless=0
Mac OS version:
17G65
Kernel version:
Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
Kernel UUID: 1AE5ACFD-3B6F-3D74-AD52-31F1430DBC6F
Kernel slide: 0x0000000002200000
Kernel text base: 0xffffff8002400000
__HIB text base: 0xffffff8002300000
System model name: iMac18,2 (Mac-77F17D7DA9285301)
System uptime in nanoseconds: 924659913176
last loaded kext at 443624328346: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7f8581c000, size 69632)
last unloaded kext at 316159441465: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7f8581c000, size 61440)
loaded kexts:
com.nvidia.CUDA 1.1.0
com.paragon-software.filesystems.ntfs 83.1.15
com.nvidia.web.NVDAGP100HalWeb 10.3.3
com.nvidia.web.GeForceWeb 10.3.3
com.nvidia.web.NVDAResmanWeb 10.3.3
com.intel.driver.EnergyDriver 3.5.3
org.rehabman.driver.FakePCIID 1.3.12
org.hwsensors.driver.LPCSensors 1787
com.insanelymac.IntelMausiEthernet 2.4.0d0
org.hwsensors.driver.GPUSensors 1787
org.hwsensors.driver.ACPISensors 1787
org.hwsensors.driver.CPUSensors 1787
as.vit9696.WhateverGreen 1.2.2
org.netkas.driver.FakeSMC 1787
as.vit9696.Lilu 1.2.7
com.rehabman.driver.USBInjectAll 0.6.7
com.apple.filesystems.msdosfs 1.10
com.apple.filesystems.autofs 3.0
com.apple.driver.AudioAUUC 1.70
com.apple.driver.ApplePlatformEnabler 2.7.0d0
com.apple.driver.AGPM 110.23.37
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AppleHDA 281.52
com.apple.AGDCPluginDisplayMetrics 3.20.13
com.apple.driver.AppleHV 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.AppleUpstreamUserClient 3.6.5
com.apple.driver.AppleMCCSControl 1.5.5
com.apple.iokit.IOBluetoothSerialManager 6.0.7f10
com.apple.driver.pmtelemetry 1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleIntelPCHPMC 2.0.1
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.filesystems.hfs.kext 407.50.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleSystemPolicy 1.0
com.apple.filesystems.apfs 748.51.0
com.apple.driver.AirPort.Atheros40 700.74.5
com.apple.driver.AppleAHCIPort 329.50.2
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleACPIButtons 6.1
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleAPIC 1.7
com.apple.nke.applicationfirewall 183
com.apple.security.TMSafetyNet 8
com.apple.security.quarantine 3
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 281.52
com.apple.kext.OSvKernDSPLib 526
com.apple.iokit.IOAVBFamily 680.2
com.apple.plugin.IOgPTPPlugin 680.15
com.apple.iokit.IOEthernetAVBController 1.1.0
com.apple.driver.AppleSSE 1.0
com.apple.driver.AppleSMBusController 1.0.18d1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.iokit.IOSerialFamily 11
com.apple.iokit.IOBluetoothFamily 6.0.7f10
com.apple.iokit.IOAcceleratorFamily2 378.26
com.apple.iokit.IOSurface 211.15
com.apple.AppleGPUWrangler 3.20.13
com.apple.AppleGraphicsDeviceControl 3.20.13
com.apple.iokit.IONDRVSupport 519.20
com.apple.driver.AppleHDAController 281.52
com.apple.iokit.IOGraphicsFamily 519.20
com.apple.iokit.IOHDAFamily 281.52
com.apple.iokit.IOAudioFamily 206.5
com.apple.vecLib.kext 1.2.0
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 6.0.0d8
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.iokit.IONVMeFamily 2.1.0
com.apple.iokit.IO80211Family 1200.12.2
com.apple.driver.corecapture 1.0.4
com.apple.iokit.IOAHCIFamily 288
com.apple.driver.usb.AppleUSBXHCIPCI 1.2
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.AppleEFINVRAM 2.1
com.apple.driver.AppleEFIRuntime 2.1
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 480.60.1
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleUSBTDM 439.70.3
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.iokit.IOUSBMassStorageDriver 140.70.2
com.apple.iokit.IOSCSIBlockCommandsDevice 404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily 404.30.2
com.apple.iokit.IOStorageFamily 2.1
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleBusPowerController 1.0
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.IOSlaveProcessor 1
com.apple.iokit.IOReportFamily 31
com.apple.iokit.IOTimeSyncFamily 680.15
com.apple.iokit.IONetworkingFamily 3.4
com.apple.driver.AppleACPIPlatform 6.1
com.apple.driver.AppleSMC 3.1.9
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.Libm 1
com.apple.kec.corecrypto 1.0
EOF
Model: iMac18,2, BootROM IM183.0161.B00, 6 processors, 3,19 GHz, 16 GB, SMC 2.40f0
Graphics: NVIDIA GeForce GTX 1070, NVIDIA GeForce GTX 1070, PCIe
Memory Module: BANK 0/DIMM1, 8 GB, DDR4, 2400 MHz, Corsair, CMK8GX4M1A2400C16
Memory Module: BANK 1/DIMM1, 8 GB, DDR4, 2400 MHz, Corsair, CMK8GX4M1A2400C16
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x3112), Atheros 9380: 4.0.74.0-P2P
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
PCI Card: NVIDIA GeForce GTX 1070, Display Controller, Slot-1
USB Device: USB 3.0 Bus
USB Device: Ultra USB 3.0
USB Device: USB Keyboard
USB Device: USB Optical Mouse
Thunderbolt Bus:
To make the error happen I opened PR, AE (both without anything loaded, just software opened), ran Heaven in background and fired 10 youtube tabs in Safari. I discarded RAM issues, as I tested both sticks with MEMTEST86 for 10 complete iterations and no errors were found.