Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

[Bug]: LDK crash on iOS #2455

Open
Open

Description

@catch-21

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

Activity

  1. added
    bug
    triage
    on Jan 31, 2025
  2. Jasonvdb commented on Feb 11, 2025

    @Jasonvdb
    Contributor

    I'm pretty sure LDK is just taking a while to startup and then before it's properly setup Bitkit is trying to start it or restart it somewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugtriage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions