bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: App crashes after leaving in background and returning to it

Open JeanlChristophe opened this issue 1 year ago • 4 comments

Describe the bug

You can reproduce it (on iPhone i checked ) every time just leave this page Lightning Connections for 2 minutes in background and open app

Reproduce

  1. Go to 'Lightning connections' page
  2. Wait 2min
  3. See error

Screenshots / Recording

https://github.com/synonymdev/bitkit/assets/46056211/10c525b7-2bf7-458a-8712-4113441a8254

Operating system

iOS

Bitkit version

No response

Log output

No response

JeanlChristophe avatar Jan 04 '24 14:01 JeanlChristophe

I was able to reproduce this on the latest Testflight, LDK logs don't have anything AFAICT, I sent a crash report though @Jasonvdb

bitkit_ldk_logs_1704398815669.zip

pwltr avatar Jan 04 '24 20:01 pwltr

@Jasonvdb did you have time to have a look?

JeanlChristophe avatar Feb 09 '24 14:02 JeanlChristophe

Tried to repro but without success, I could only test on Android since I don't have an iPhone. I'll try more.

From LDK logs this is what I noticed, not sure if relevant but adding it here:

  • Both logs had SendChannelReestablish
  • Both had at least one addPeer error
  • Both had one listChannels error

ovitrif avatar Feb 21 '24 19:02 ovitrif

Moved back 2 backlog since it's stale for a couple months. Issue is currently not reproducible by devs, we should reevaluate after some more weeks if we might close it as it might no longer be reproducible at all.

ovitrif avatar Jun 07 '24 19:06 ovitrif

I'm hoping this is a fix so lets move it to testing after next release https://github.com/synonymdev/react-native-ldk/pull/249

Jasonvdb avatar Jun 13 '24 06:06 Jasonvdb

This is a common scenario so if no iphone user is seeing this now, happy to close it off.

catch-21 avatar Jul 04 '24 09:07 catch-21