Bug: Monero Wallet Freeze When Syncing
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
After the wallet has been opened and it starts syncing, the wallet and UI freezes when syncing process is running
Expected Behavior
The wallet does not freeze when syncing
Reproduce Steps
1 - Create/Restore a Monero wallet with a relatively old birthday height 2 - Click on the wallet to open and start automatic syncing 3 - Wait for the app to freeze in the middle of syncing process
Environment
- Operating system and version: Android 14, Stack Wallet 2.1.10
- Device platform and version: Samsung A52
- Real device or emulator/simulator: Real device
Logs
No response
Further Information
No response
Passing thru the same thing here. It used to be the best wallet, now this is happening. It's taking forever from 96.90% to 100%. Hope it gets fixed in the next update.
Same issue on both Linux and Android.
I'm only reporting it now because i installed it on my phone recently and experienced the same freezes that I thought were due to my debug build of stack wallet on linux.
On Linux its way more acceptable as the freeze occurs several minutes after launch, but on Android kicks in down to several second after boot. It's just impossible to restore a wallet.
Linux will usually completely freeze once it reaches 1GB of memory, so could be a memory leak?
Alright so I tried on linux to do a massif and I didn't found anything suspicious. and It was annoying because it worked for a whole 30 minutes (could you imagine). So I hoped on my phone which triggers way quickly and consistently. Exploit compatibility mode is enabled. And the test is simply hoping in a syncing wallet and going in the Network tab (which shows the current syncing informations)
Managed to grasp some logs:
type: logcat
osVersion: Federal Question/latest grapheneOS
userType: full.secondary
package: com.cypherstack.stackwallet:2271, targetSdk 35
buffers: main,system,crash,events,kernel
level: verbose
05-24 13:52:06.142 24658 24718 I flutter : WARNING \x1B[38;5;208m│ loadMajesticBankCurrencies: {error: Exception: Command handling failed. With error: serverError, value: null}\x1B[0m
05-24 13:52:06.142 24658 24718 I flutter : WARNING \x1B[38;5;208m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\x1B[0m
--------- switch to events
05-24 13:52:09.204 24658 24658 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.cypherstack.stackwallet/com.cypherstack.stackwallet.MainActivity]
--------- switch to main
05-24 13:52:10.340 24658 24658 I flutter : BUILD: WalletsView
05-24 13:52:10.341 24658 24658 I flutter : BUILD: _FavoriteWalletsState
05-24 13:52:10.468 24658 24658 I flutter : BUILD: WalletsView
05-24 13:52:10.478 24658 24658 I flutter : BUILD: WalletSummaryInfo
05-24 13:52:48.966 24658 24669 I com.cypherstack.stackwallet: Thread[2,tid=24669,WaitingInMainSignalCatcherLoop,Thread*=0xb40000688a6e0380,peer=0x2008020,"Signal Catcher"]: reacting to signal 3
05-24 13:52:48.966 24658 24669 I com.cypherstack.stackwallet:
05-24 13:52:49.440 24658 24669 I com.cypherstack.stackwallet: Wrote stack traces to tombstoned
--------- switch to main
05-24 11:21:56.421 20400 20400 I flutter : didChangeAppLifecycleState: resumed
05-24 11:21:56.427 20400 20400 D InsetsController: hide(ime(), fromIme=false)
05-24 11:21:56.427 20400 20400 I ImeTracker: com.cypherstack.stackwallet:e8dfd882: onCancelled at PHASE_CLIENT_ALREADY_HIDDEN
05-24 11:22:07.612 20400 20400 I flutter : SocksConnectionType.connect
05-24 11:22:52.581 20400 20411 I com.cypherstack.stackwallet: Thread[2,tid=20411,WaitingInMainSignalCatcherLoop,Thread*=0xb4000064b2510010,peer=0x2005728,"Signal Catcher"]: reacting to signal 3
05-24 11:22:52.581 20400 20411 I com.cypherstack.stackwallet:
05-24 11:22:53.092 20400 20411 I com.cypherstack.stackwallet: Wrote stack traces to tombstoned
--------- switch to main
05-24 13:31:46.248 21099 21117 I HWUI : Davey! duration=1199ms; Flags=1, FrameTimelineVsyncId=1322716, IntendedVsync=15767502889184, Vsync=15768656001560, InputEventId=183248251, HandleInputStart=15768664813362, AnimationStart=15768664813932, PerformTraversalsStart=15768664814176, DrawStart=15768699343066, FrameDeadline=15767519489184, FrameInterval=15768664679533, FrameStartTime=11087619, SyncQueued=15768699439583, SyncStart=15768699462207, IssueDrawCommandsStart=15768699528003, SwapBuffers=15768701336881, FrameCompleted=15768702448982, DequeueBufferDuration=793132, QueueBufferDuration=206909, GpuCompleted=15768702448982, SwapBuffersCompleted=15768701567920, DisplayPresentTime=0, CommandSubmissionCompleted=15768701336881,
05-24 13:31:46.251 21099 21099 I flutter : didChangeAppLifecycleState: resumed
05-24 13:31:46.255 21099 21099 D InsetsController: hide(ime(), fromIme=false)
05-24 13:31:46.255 21099 21099 I ImeTracker: com.cypherstack.stackwallet:15826806: onCancelled at PHASE_CLIENT_ALREADY_HIDDEN
05-24 13:32:26.115 21099 21099 I flutter : BUILD: WalletsView
05-24 13:32:26.128 21099 21099 I flutter : BUILD: WalletSummaryInfo
05-24 13:32:57.695 21099 21110 I com.cypherstack.stackwallet: Thread[2,tid=21110,WaitingInMainSignalCatcherLoop,Thread*=0xb400006da7814be0,peer=0x2008020,"Signal Catcher"]: reacting to signal 3
05-24 13:32:57.695 21099 21110 I com.cypherstack.stackwallet:
05-24 13:33:00.694 21099 21110 I com.cypherstack.stackwallet: Wrote stack traces to tombstoned
05-24 11:17:29.076 20142 20142 I flutter : BUILD: WalletsView
05-24 11:17:29.078 20142 20142 I flutter : BUILD: WalletSummaryInfo
05-24 11:18:22.984 20142 20153 I com.cypherstack.stackwallet: Thread[2,tid=20153,WaitingInMainSignalCatcherLoop,Thread*=0xb4000067aae6bbe0,peer=0x2008020,"Signal Catcher"]: reacting to signal 3
05-24 11:18:22.984 20142 20153 I com.cypherstack.stackwallet:
05-24 11:18:23.445 20142 20153 I com.cypherstack.stackwallet: Wrote stack traces to tombstoned
This one did not crashed, but freezed completely
--------- switch to main
05-24 10:39:23.532 17441 17441 I flutter : didChangeAppLifecycleState: hidden
05-24 10:39:23.533 17441 17441 I flutter : didChangeAppLifecycleState: paused
--------- switch to events
05-24 10:39:23.533 17441 17441 I wm_on_stop_called: [Token=134340784,Component Name=com.cypherstack.stackwallet.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
05-24 10:39:23.542 17441 17441 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
05-24 10:39:23.542 17441 17441 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible. Reason=!mAppVisible && !mForceDecorViewVisibility]
05-24 10:40:28.694 17441 17441 I wm_on_restart_called: [Token=134340784,Component Name=com.cypherstack.stackwallet.MainActivity,Reason=performRestart,time=0ms]
05-24 10:40:28.704 17441 17441 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
--------- switch to main
05-24 10:40:28.710 17441 17441 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-24 10:40:28.710 17441 17441 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
--------- switch to events
05-24 10:40:28.718 17441 17441 I wm_on_start_called: [Token=134340784,Component Name=com.cypherstack.stackwallet.MainActivity,Reason=handleStartActivity,time=24ms]
05-24 10:40:28.719 17441 17441 I wm_on_resume_called: [Token=134340784,Component Name=com.cypherstack.stackwallet.MainActivity,Reason=RESUME_ACTIVITY,time=1ms]
--------- switch to main
05-24 10:40:28.727 17441 17441 I flutter : didChangeAppLifecycleState: hidden
05-24 10:40:28.727 17441 17441 I flutter : didChangeAppLifecycleState: inactive
--------- switch to events
05-24 10:40:28.743 17441 17441 I wm_on_top_resumed_gained_called: [Token=134340784,Component Name=com.cypherstack.stackwallet.MainActivity,Reason=topWhenResuming]
--------- switch to main
05-24 10:40:29.025 17441 17441 I flutter : SocksConnectionType.connect
--------- switch to events
05-24 10:40:29.038 17441 17441 I wm_on_top_resumed_lost_called: [Token=134340784,Component Name=com.cypherstack.stackwallet.MainActivity,Reason=topStateChangedWhenResumed]
05-24 10:40:29.055 17441 17441 I wm_on_paused_called: [Token=134340784,Component Name=com.cypherstack.stackwallet.MainActivity,Reason=performPause,time=2ms]
--------- switch to main
05-24 10:40:29.056 17441 17441 D VRI[MainActivity]: visibilityChanged oldVisibility=true newVisibility=false
05-24 10:40:29.057 17441 17441 D ViewRootImpl: Skipping stats log for color mode
05-24 10:40:29.058 17441 17441 I flutter : didChangeAppLifecycleState: hidden
05-24 10:40:29.058 17441 17441 I flutter : didChangeAppLifecycleState: paused
--------- switch to events
05-24 10:40:29.058 17441 17441 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
05-24 10:40:29.061 17441 17441 I wm_on_stop_called: [Token=134340784,Component Name=com.cypherstack.stackwallet.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=4ms]
--------- switch to main
05-24 10:40:29.068 17441 17441 I Choreographer: Skipped 36 frames! The application may be doing too much work on its main thread.
--------- switch to events
05-24 10:40:29.068 17441 17441 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
05-24 10:40:29.073 17441 17441 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
Not a crash but UI freezed during this:
05-24 12:40:27.528 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:40:27.543 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:41:39.341 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:42:40.604 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:44:57.109 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:46:39.317 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:47:59.924 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:49:51.884 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:54:56.111 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:54:57.422 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:58:27.031 21099 21099 I flutter : SocksConnectionType.connect
05-24 12:59:40.261 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:00:58.052 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:04:59.736 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:04:59.740 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:07:13.445 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:10:40.433 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:10:40.436 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:11:46.578 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:12:53.899 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:14:25.777 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:16:12.256 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:17:50.216 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:18:58.836 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:22:45.385 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:23:53.102 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:26:53.227 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:27:53.141 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:28:58.907 21099 21099 I flutter : SocksConnectionType.connect
05-24 13:31:07.864 21099 21099 I flutter : SocksConnectionType.connect
@detherminal @ddd75a650fee04c0ce576c877521c6bd is Tor enabled on your stack wallet ?
@detherminal @ddd75a650fee04c0ce576c877521c6bd is Tor enabled on your stack wallet ?
No, this issue happens when I use clearnet Stack Wallet node.
@detherminal @ddd75a650fee04c0ce576c877521c6bd is Tor enabled on your stack wallet ?
No, this issue happens when I use clearnet Stack Wallet node.
Clearnet node with or without Tor enabled in stack wallet?
Passing thru the same thing here. It used to be the best wallet, now this is happening. It's taking forever from 96.90% to 100%. Hope it gets fixed in the next update.
Are you also running with Tor? and/or an onion node?
@detherminal @ddd75a650fee04c0ce576c877521c6bd is Tor enabled on your stack wallet ?
No, this issue happens when I use clearnet Stack Wallet node.
Clearnet node with or without Tor enabled in stack wallet?
Passing thru the same thing here. It used to be the best wallet, now this is happening. It's taking forever from 96.90% to 100%. Hope it gets fixed in the next update.
Are you also running with Tor? and/or an onion node?
Clearnet node without Tor enabled whatsoever.