Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airport Itlwm crashes with private relay😥 #728

Open
singhalrishi27 opened this issue Jan 3, 2022 · 26 comments
Open

Airport Itlwm crashes with private relay😥 #728

singhalrishi27 opened this issue Jan 3, 2022 · 26 comments
Labels
help wanted Extra attention is needed unreproducible Not able to reproduce by devs

Comments

@singhalrishi27
Copy link

singhalrishi27 commented Jan 3, 2022

Have You Read Our Docs
Yes

Are You Reporting A Bug
Not Sure

Environment

  • Kext Version: Airport itlwm 2.1.0 Stable
  • WiFi Card Model: 0x8086 (intel 7260)
  • PCI Product ID: 0x4470 (intel 7260)
  • macOS Version: Monterey 12.1

Description
When using iCloud Private Relay and doing usual work causes macOS to Crash that's why I wasn't able to generate the report.
Most likely you will face the issue of you enable private relay...🥲🥲🥲

And no when private relay is off everything just works...
Bug Report Archive
Not Included coz Computer crashes if you want I will include it

Steps To Reproduce

It not exact that macOS will crash sometime wifi menu will not respond sometime you nothing will respond Sometimes everything will work just fine
Connect your wifi
Turn on private relay
Browse safari and see the magic✨

Kext Download Source
Release section of your Repository

Device
Redmi note 7s
Evolution X custom rom based on Android 12
11ac wifi mode
WiFi secured with WPA2 Personal passcode
No network is not hidden

@williambj1
Copy link
Contributor

williambj1 commented Jan 4, 2022

@singhalrishi27

  • Does it trigger a kernel panic? If so please attach the panic logs.
  • Does it crash if itlwm.kext is used instead?
  • Have you tried to reset the network interfaces? (instructions can be found in the docs)

Thanks.

Unfortunately I didn’t purchase this service and it is unavailable in the county zxystd lives in so it’s not very convenient for us to verify. If others are facing the same issue feel free to share them below.

@williambj1 williambj1 added the question Further information is requested label Jan 4, 2022
@singhalrishi27
Copy link
Author

@singhalrishi27

  • Does it trigger a kernel panic? If so please attach the panic logs.
  • Does it crash if itlwm.kext is used instead?
  • Have you tried to reset the network interfaces? (instructions can be found in the docs)

Thanks.

Unfortunately I didn’t purchase this service and it is unavailable in the county zxystd lives in so it’s not very convenient for us to verify. If others are facing the same issue feel free to share them below.

panic(cpu 0 caller 0xffffff802b2bc7cf): mbuf_watchdog: 1 waiters stuck for 21 secs
28635/28665 mbufs in use:
28635 mbufs allocated to data
30 mbufs allocated to caches
636/682 mbuf 2KB clusters in use
13521/13521 mbuf 4KB clusters in use
0/0 mbuf 16KB clusters in use
62680 KB allocated to network (approx. 99% in use)
0 KB returned to the system
VM allocation failures: contiguous 0, normal 0, one page 0
worker thread runs: 6257, expansions: 97, cl 0/0, bigcl 6256/123707, 16k 0/0
worker thread last run time: 1564 (22 seconds ago)

mbuf leak detection table:
total captured: 936 (one per 500)
total allocs outstanding: 93
new hash recorded: 902 allocs, 686 traces
hash collisions: 22 allocs, 27 traces
overwrites: 496 allocs, 0 traces
lock conflicts: 0

top 5 outstanding traces:
[1] 25 outstanding alloc(s), 25 hit(s), 0 collision(s)
[2] 13 outstanding alloc(s), 24 hit(s), 0 collision(s)
[3] 13 outstanding alloc(s), 161 hit(s), 0 collision(s)
[4] 12 outstanding alloc(s), 27 hit(s), 0 collision(s)
[5] 12 outstanding alloc(s), 18 hit(s), 0 collision(s)

trace [1]           trace [2]           trace [3]       	trace [4]           trace [5]      
------------------  ------------------  ------------------      ------------------  ------------------ 

1: 0xffffff80008baf7a 0xffffff80008baf7a 0xffffff80008baf7a 0xffffff80008baf7a 0xffffff80008baf7a
2: 0xffffff80008948b2 0xffffff80008948b2 0xffffff8000894810 0xffffff8000894810 0xffffff80008948b2
3: 0xffffff80008b9e49 0xffffff80008bf1e8 0xffffff80008bf1e8 0xffffff80008b9df6 0xffffff80008c17f2
4: 0xffffff800089477f 0xffffff80008c3491 0xffffff80008c3491 0xffffff800089477f 0xffffff800088eae1
5: 0xffffff80008c17f2 0xffffff800088dea3 0xffffff800088dea3 0xffffff80008c17f2 0xffffff8002b4506d
6: 0xffffff800088eae1 0x0 0x0 0xffffff800088eae1 0x0
7: 0xffffff8002b4506d 0x0 0x0 0xffffff8002b4506d 0x0
8: 0x0 0x0 0x0 0x0 0x0
9: 0x0 0x0 0x0 0x0 0x0
10: 0x0 0x0 0x0 0x0 0xffffff8000a58d13
11: 0x0 0x0 0x0 0x0 0xffffff8000a5756e
12: 0xffffff8000a58d13 0x0 0x0 0xffffff8000a58d13 0xffffff8000a56b97
13: 0xffffff8000a5756e 0x0 0x0 0xffffff8000a5756e
14: 0xffffff8000a56b97 0x0 0x0 0xffffff8000a56b97
15: 0x0 0x0
16: 0xffffff8000a58d13 0xffffff8000a58d13

Panicked task 0xffffff9510d623b0: 4 threads: pid 195: mDNSResponder
Backtrace (CPU 0), panicked thread: 0xffffff8b7b77c540, Frame : Return Address
0xffffffdc730fb650 : 0xffffff802ac87ddd
0xffffffdc730fb6a0 : 0xffffff802ade7d15
0xffffffdc730fb6e0 : 0xffffff802add74e3
0xffffffdc730fb730 : 0xffffff802ac27a60
0xffffffdc730fb750 : 0xffffff802ac881ad
0xffffffdc730fb870 : 0xffffff802ac87966
0xffffffdc730fb8d0 : 0xffffff802b5160b9
0xffffffdc730fb940 : 0xffffff802b2bc7cf
0xffffffdc730fb9d0 : 0xffffff802b2ba502
0xffffffdc730fba30 : 0xffffff802b29477f
0xffffffdc730fbaa0 : 0xffffff802b2b9e49
0xffffffdc730fbb50 : 0xffffff802b29477f
0xffffffdc730fbbc0 : 0xffffff802b2c17f2
0xffffffdc730fbc50 : 0xffffff802aff5f8c
0xffffffdc730fbcd0 : 0xffffff802aff871d
0xffffffdc730fbd90 : 0xffffff802affca6a
0xffffffdc730fbde0 : 0xffffff802b0501f1
0xffffffdc730fbef0 : 0xffffff802b04e505
0xffffffdc730fbf40 : 0xffffff802b39e9d4
0xffffffdc730fbfa0 : 0xffffff802ac28226

Process name corresponding to current thread (0xffffff8b7b77c540): mDNSResponder
Boot args: -v

Mac OS version:
21C52

Kernel version:
Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64
Kernel UUID: E32C293C-7D8B-327C-A335-6AAD250A4881
KernelCache slide: 0x000000002aa00000
KernelCache base: 0xffffff802ac00000
Kernel slide: 0x000000002aa10000
Kernel text base: 0xffffff802ac10000
__HIB text base: 0xffffff802ab00000
System model name: MacBookPro11,4 (Mac-06F11FD93F0323C5)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 1585664878989
Last Sleep: absolute base_tsc base_nano
Uptime : 0x0000017130fdf95a
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x00000003dc3b0c0e 0x0000000000000000
Zone info:
Foreign : 0xffffff8031bb1000 - 0xffffff8031bbe000
Native : 0xffffff8043f82000 - 0xffffffa043f82000
Readonly : 0xffffff8510c4e000 - 0xffffff86aa5e2000
Metadata : 0xfffffff7f6836000 - 0xfffffff81695a000
Bitmaps : 0xfffffff81695a000 - 0xfffffff81b15a000
last started kext at 22716634090: >AudioAUUC 1.70 (addr 0xffffff7fc3c5f000, size 12288)
last stopped kext at 595506601063: >AGDCBacklightControl 6.4.9 (addr 0xffffff7fc2551000, size 12288)
loaded kexts:
com.zxystd.!I!BFirmware 2.1.0
me.kishorprins.VoodooInput 1.1.3
as.acidanthera.voodoo.driver.PS2Keyboard 2.2.7
as.acidanthera.voodoo.driver.PS2Trackpad 2.2.7
com.zxystd.AirportItlwm 2.1.0
com.1Revenger1.RMISMBus 1.0
com.1Revenger1.VoodooRMI 1.3.5
de.leo-labs.VoodooSMBus 3.0
as.acidanthera.mieze.!IMausi 1.0.8
as.acidanthera.voodoo.driver.PS2!C 2.2.7
as.vit9696.SMCProcessor 1.2.8
ru.usrsse2.SMCBatteryManager 1.2.8
as.vit9696.VirtualSMC 1.2.8
com.khronokernel.FeatureUnlock 1.0.4
as.acidanthera.BlueToolFixup 2.6.1
as.vit9696.!AALC 1.6.7
as.vit9696.WhateverGreen 1.5.5
as.vit9696.Lilu 1.5.8

AudioAUUC 1.70
@filesystems.autofs 3.0
X86PlatformShim 1.0.0
AGPM 127
!APlatformEnabler 2.7.0d0
@fileUtil 20.036.15
!AHDA 283.15
!AUpstreamUserClient 3.6.8
!AGraphicsDevicePolicy 6.4.9
eficheck 1
@AGDCPluginDisplayMetrics 6.4.9
!ALPC 3.1
pmtelemetry 1
|IOUserEthernet 1.0.1
usb.!UUserHCI 1
!ASMCPDRC 1.0.0
!A!IHD4000Graphics 16.0.4
!AHV 1
!ADiskImages2 126.60.3
!A!ISlowAdaptiveClocking 4.0.0
!ABacklight 180.4
!A!IFramebufferCapri 16.0.4
!AMCCSControl 1.14
!AFileSystemDriver 3.0.1
@filesystems.tmpfs 1
@filesystems.lifs 1
@filesystems.hfs.kext 582.60.2
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
!ASmartBatteryManager 161.0.0
@filesystems.apfs 1933.61.1
!ATopCaseHIDEventDriver 5020.1
@private.KextAudit 1.0
!AAHCIPort 351
!A!ICPUPowerManagementClient 222.0.0
!AHPET 1.8
!AACPIButtons 6.1
!ARTC 2.0.1
!AACPIEC 6.1
!ASMBIOS 2.1
!AAPIC 1.7
@!ASystemPolicy 2.0.0
@nke.applicationfirewall 402
|IOKitRegistryCompatibility 1
|EndpointSecurity 1
@Dont_Steal_Mac_OS_X 7.0.0
!A!ICPUPowerManagement 222.0.0
@kec.!AEncryptedArchive 1
@kext.triggers 1.0
DspFuncLib 283.15
@kext.OSvKernDSPLib 529
!AGraphicsControl 6.4.9
!AHDA!C 283.15
|IOHDA!F 283.15
|IOAudio!F 300.10
@vecLib.kext 1.2.0
|IO!BSerialManager 9.0.0
|IO!BPacketLogger 9.0.0
X86PlatformPlugin 1.0.0
IOPlatformPlugin!F 6.0.0d8
|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 1010.2
@plugin.IOgPTPPlugin 1000.11
|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
@!AGPUWrangler 6.4.9
|IOSlowAdaptiveClocking!F 1.0.0
!ABacklightExpert 1.1.0
|IONDRVSupport 593
|IOAccelerator!F2 462.4.1
@!AGraphicsDeviceControl 6.4.9
|IOGraphics!F 593
!ASMBus!C 1.0.18d1
usb.cdc 5.0.0
usb.networking 5.0.0
usb.!UHostCompositeDevice 1.2
usb.!UHub 1.2
!UMergeNub 900.4.2
!ABSDKextStarter 3
|IOSurface 302.9
@filesystems.hfs.encodings.kext 1
usb.!UHostPacketFilter 1.0
|IOUSB!F 900.4.2
!AXsanScheme 3
!AActuatorDriver 5430.1
!AMultitouchDriver 5430.1
!AInputDeviceSupport 5400.30
!AHS!BDriver 5020.1
IO!BHIDDriver 9.0.0
|IOAHCIBlock!S 333
|IO80211!FLegacy 1200.12.2b1
|IOSkywalk!F 1.0
mDNSOffloadUserClient 1.0.1b8
corecapture 1.0.4
|IOAHCI!F 295
usb.!UEHCIPCI 1.2
usb.!UEHCI 1.2
usb.!UXHCIPCI 1.2
usb.!UXHCI 1.2
!AEFINVRAM 2.1
!AEFIRuntime 2.1
|IOHID!F 2.0.0
|IOSMBus!F 1.1
|IOTimeSync!F 1000.11
|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 532.40.7
|IOUSBMass!SDriver 209.40.6
|IOSCSIBlockCommandsDevice 452.60.2
|IO!S!F 2.1
|IOSCSIArchitectureModel!F 452.60.2
!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

@singhalrishi27
Copy link
Author

Thanks.

2.)nope not tested with heliport
3.)yes I even reinstalled macOS

@zxystd
Copy link
Collaborator

zxystd commented Jan 5, 2022

@singhalrishi27 Hi, thank you for reporting this issue, can you please add keepsyms=1 to boot-args then reproduce the issue again? I think it is an airport related issue.

@singhalrishi27
Copy link
Author

singhalrishi27 commented Jan 5, 2022

@singhalrishi27 Hi, thank you for reporting this issue, can you please add keepsyms=1 to boot-args then reproduce the issue again? I think it is an airport related issue.

Do I have to use debug kexts?
And you need panic logs or kext log?

@zxystd
Copy link
Collaborator

zxystd commented Jan 5, 2022

@singhalrishi27 yes, debug kext is needed. panic logs, kext logs would be well if possible to get that.

@williambj1
Copy link
Contributor

williambj1 commented Jan 5, 2022

All alpha version kexts are built with debug features enabled.

Missed the button...

@williambj1 williambj1 reopened this Jan 5, 2022
@singhalrishi27
Copy link
Author

@zxystd Hey I was able to collect a lot of logs for you.
What I did -
installed latest alpha kext
added Debug Enhancer.kext
added keepsyms=1 to boot-args
Took Clean Snapshot of config.plist
and restarted macOS
after that, I started collecting logs when everything was working after some time itlwm crashed

Screen.Recording.2022-01-05.at.11.40.40.AM.mov

in this clip, you can see that I can't turn off wifi
also, network preferences is empty
after a while macos crashes
from crash I mean macOS stuck at just one screen no inputs works like trackpad will do nothing you can't move your cursor etc you have to force restart your Laptop I'm attaching a log in a separate comment...
@williambj1

@Overc1ocker
Copy link

Overc1ocker commented Jan 8, 2022

Immediately when the issue starts, put your mac to sleep (wait for the indicator light to show it's sleeping), then wake it back up. Attach the logs after the wake. Did it fix the wifi?

@singhalrishi27
Copy link
Author

Immediately when the issue starts, put your mac to sleep (wait for the indicator light to show it's sleeping), then wake it back up. Attach the logs after the wake. Did it fix the wifi?

Nope it doesn't after wake system becomes unresponsive after a while and you have to force restart it after that same log message appears and asks me to send report to apple

@zxystd
Copy link
Collaborator

zxystd commented Jan 9, 2022

Panic_LOG_After_macOS_Restart.txt Log_2022-01-05_11-41-39.log Log_2022-01-05_11-40-18.log Log_2022-01-05_11-39-35.log Log_2022-01-05_11-38-34.log Log_2022-01-05_11-38-17.log

all logs i collected

Got it, thank you. But I don't have any clue on how it happened right now...

@singhalrishi27
Copy link
Author

Panic_LOG_After_macOS_Restart.txt Log_2022-01-05_11-41-39.log Log_2022-01-05_11-40-18.log Log_2022-01-05_11-39-35.log Log_2022-01-05_11-38-34.log Log_2022-01-05_11-38-17.log
all logs i collected

Got it, thank you. But I don't have any clue on how it happened right now...

Any other way we can fix it?

@williambj1
Copy link
Contributor

Panic_LOG_After_macOS_Restart.txt Log_2022-01-05_11-41-39.log Log_2022-01-05_11-40-18.log Log_2022-01-05_11-39-35.log Log_2022-01-05_11-38-34.log Log_2022-01-05_11-38-17.log
all logs i collected

Got it, thank you. But I don't have any clue on how it happened right now...

Any other way we can fix it?

Consider trying itlwm.kext with HeliPort?

@zxystd
Copy link
Collaborator

zxystd commented Jan 13, 2022

Any other way we can fix it?

@singhalrishi27 Still doing research, but from what I received the similar issues have the common thing that they all using macOS 12, so can you help me tested on BigSur or Catalina? or can you use Heliport for test?
Thanks a lot.

@singhalrishi27
Copy link
Author

Any other way we can fix it?

@singhalrishi27 Still doing research, but from what I received the similar issues have the common thing that they all using macOS 12, so can you help me tested on BigSur or Catalina? or can you use Heliport for test? Thanks a lot.

@williambj1
@zxystd
i tried with heliport and issue still remains.
After a while Heliport will crash in activity moniter heliport will not respond.
if you force quit heliport
it will take 30 seconds just to foce quit the app after force quitting Helipot macOS will crash

@williambj1
Copy link
Contributor

@singhalrishi27 Interesting results and thank you for testing. Does Ethernet work fine with the private relay?

@singhalrishi27
Copy link
Author

@singhalrishi27 Interesting results and thank you for testing. Does Ethernet work fine with the private relay?

I don't have ethernet in india we mostly use cellular 😅 btw change the tag from question to a bug

@williambj1
Copy link
Contributor

williambj1 commented Jan 19, 2022

@singhalrishi27 Interesting results and thank you for testing. Does Ethernet work fine with the private relay?

I don't have ethernet in india we mostly use cellular 😅 btw change the tag from question to a bug

At this point it still unclear whether there is a bug in Safari/private relay shipped in macOS Monterey or the issue is directly related to itlwm. Theoretically, user space software (in this case, a browser + a proxy) should not be able to trigger kernel level crashes if another other ways of browsing the internet works fine.

We have quite a lot of people using Monterey in our internal testing group and so far I haven't heard of any similar crashes; a few people are using the same wifi card and version of os as yours. However we've recently got in touch with the author of #735 which also have a very similar crash but that person uses a different wifi card.

Test results from other network adapters will help a lot. If Ethernet is not available, sharing the network from a phone can also do the trick.

@williambj1 williambj1 added unreproducible Not able to reproduce by devs help wanted Extra attention is needed and removed question Further information is requested labels Jan 19, 2022
@singhalrishi27
Copy link
Author

@singhalrishi27 Interesting results and thank you for testing. Does Ethernet work fine with the private relay?

I don't have ethernet in india we mostly use cellular 😅 btw change the tag from question to a bug

At this point it still unclear whether there is a bug in Safari/private relay shipped in macOS Monterey or the issue is directly related to itlwm. Theoretically, user space software (in this case, a browser + a proxy) should not be able to trigger kernel level crashes if another other ways of browsing the internet works fine.

We have quite a lot of people using Monterey in our internal testing group and so far I haven't heard of any similar crashes; a few people are using the same wifi card and version of os as yours. However we've recently got in touch with the author of #735 which also have a very similar crash but that person uses a different wifi card.

Test results from other network adapters will help a lot. If Ethernet is not available, sharing the network from a phone can also do the trick.

@williambj1
You are right first i thought private relay is in beta so might not be stable but likely impossible a service can occur kernel panic i will try with ethernet then I will tell you what happens.
My Uncle has a real mac he uses private relay and it works just as well as not using private relay. Hope i somehow manages to get hands on with someone else's ethernet and will try to produce the issue

@singhalrishi27
Copy link
Author

@williambj1 @zxystd i tested with ethernet private relay works surprisingly well with it. I can confirm that the issue is indeed with airportitlwm and itlwm🥲

@zxystd
Copy link
Collaborator

zxystd commented Mar 25, 2022

can you check if the v2.2.0-alpha have the same panic? I don't see anyone reported the same panic yet.

@singhalrishi27
Copy link
Author

can you check if the v2.2.0-alpha have the same panic? I don't see anyone reported the same panic yet.

Yup issue still exists

@zxystd
Copy link
Collaborator

zxystd commented Mar 27, 2022

@singhalrishi27 O, can you also try connecting to an open wifi which means no encryptions to see if the issue still persist? Or try to use another router if you can.

@singhalrishi27
Copy link
Author

@singhalrishi27 O, can you also try connecting to an open wifi which means no encryptions to see if the issue still persist? Or try to use another router if you can.

Issue still persists

@cchewanik
Copy link

I have the exact same issue with private relay running the latest 2.2 alpha kext on Monterey. Lenovo T480 Intel 8265 card. With private relay off - everything works rock solid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed unreproducible Not able to reproduce by devs
Development

No branches or pull requests

5 participants