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

[Bug]: LDK crash on iOS #2455

Open
catch-21 opened this issue Jan 31, 2025 · 0 comments
Open

[Bug]: LDK crash on iOS #2455

catch-21 opened this issue Jan 31, 2025 · 0 comments
Labels
bug Something isn't working triage This issue needs to be looked over by the team

Comments

@catch-21
Copy link
Contributor

Describe the bug

I'm recently experiencing crashes on my iPhone 8 when I restore Bitkit from minimised. It only happens some of the time.

I have submitted crash report to developer, here is an excerpt:

0   libsystem_kernel.dylib        	0x00000001db12e4e0 __connect + 8 (:-1)
1   LightningDevKit               	0x00000001043be908 socket_connect + 148 (ldk_net.c:399)
2   LightningDevKit               	0x00000001045604d0 closure #1 in closure #1 in TCPPeerHandler.connect(address:port:theirNodeId:) + 24 (ChannelManagerConstructor.swift:480)
3   LightningDevKit               	0x00000001045604d0 thunk for @callee_guaranteed (@unowned UnsafePointer<sockaddr>) -> (@unowned Int32, @error @owned Error) + 24 (<compiler-generated>:0)
4   LightningDevKit               	0x00000001045604d0 specialized UnsafePointer.withMemoryRebound<A, B>(to:capacity:_:) + 24 (<compiler-generated>:0)
5   LightningDevKit               	0x00000001045604d0 closure #1 in TCPPeerHandler.connect(address:port:theirNodeId:) + 24 (ChannelManagerConstructor.swift:478)
6   LightningDevKit               	0x00000001045604d0 thunk for @callee_guaranteed (@unowned UnsafePointer<sockaddr_in>) -> (@unowned Int32, @error @owned Error)

Reproduce

  1. Running bitkit on iOS (I'm using an old iPhone8)
  2. Leave the app running so the device auto-locks its screen after a minute or two
  3. Wait some time, I was leaving it maybe an hour or more
  4. Unlock the device
  5. Observe bitkit crashes as the app restores

Screenshots / Recording

No response

Operating system

iOS 16.7.10

Bitkit version

v1.0.9 (145)

Log output

@catch-21 catch-21 added bug Something isn't working triage This issue needs to be looked over by the team labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be looked over by the team
Projects
None yet
Development

No branches or pull requests

1 participant