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

App crashes while receiving 1GB+ file from PC? #170

Open
zcraber opened this issue Feb 4, 2022 · 9 comments
Open

App crashes while receiving 1GB+ file from PC? #170

zcraber opened this issue Feb 4, 2022 · 9 comments
Labels
bug Something isn't working unverified This issue is not yet verified

Comments

@zcraber
Copy link

zcraber commented Feb 4, 2022

Describe the bug
App crashes while receiving a 1GB+ file from PC around 70-80% of transfer.

To Reproduce
Steps to reproduce the behaviour:

  1. Open Snapdrop app on Android and PWA on PC
  2. Select a 1GB+ file from PC to send it to phone
  3. Crash occurs around 70-80%

Expected behaviour
The file should be sent successfully.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Brave
  • Version: 1.35.100 Chromium: 98.0.4758.87 (Official Build) (64-bit)

Smartphone (please complete the following information):

  • Device: Redmi Note 3
  • OS: Havoc OS 4.8 (Android 11)
  • Browser: Brave
  • Version: 1.34.81

Debug Logs

--------- beginning of main
02-04 15:21:02.368 15939 15945 I .fmsys.snapdro: Background concurrent copying GC freed 124(48KB) AllocSpace objects, 48(4608KB) LOS objects, 49% free, 3879KB/7759KB, paused 95us total 152.967ms
02-04 15:21:16.929 15939 15945 I .fmsys.snapdro: Background concurrent copying GC freed 101(48KB) AllocSpace objects, 44(4224KB) LOS objects, 49% free, 3671KB/7343KB, paused 116us total 102.891ms
02-04 15:22:08.638 15939 15982 W cr_ChildProcessConn: onServiceDisconnected (crash or killed by oom): pid=15994 bindings:W  S state:3 counts:0,0,0,1,
02-04 15:22:09.726 15939 15939 E chromium: [ERROR:aw_browser_terminator.cc(123)] Renderer process (15994) crash detected (code -1).
02-04 15:22:09.782 15939 15939 E chromium: [ERROR:aw_browser_terminator.cc(89)] Render process (15994) kill (OOM or update) wasn't handed by all associated webviews, killing application.
02-04 15:22:20.128 20153 20153 E .fmsys.snapdro: Not starting debugger since process cannot load the jdwp agent.
02-04 15:22:20.384 20153 20153 I WebViewFactory: Loading com.android.webview version 91.0.4472.164 (code 447216403)
02-04 15:22:20.393 20153 20153 I .fmsys.snapdro: The ClassLoaderContext is a special shared library.
02-04 15:22:20.615 20153 20153 I cr_LibraryLoader: Loaded native library version number "91.0.4472.164"
02-04 15:22:20.615 20153 20153 W .fmsys.snapdro: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
02-04 15:22:20.616 20153 20153 W .fmsys.snapdro: Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
02-04 15:22:20.616 20153 20153 W .fmsys.snapdro: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
02-04 15:22:20.618 20153 20153 I cr_CachingUmaRecorder: Flushed 6 samples from 6 histograms.
02-04 15:22:20.634 20153 20153 I TetheringManager: registerTetheringEventCallback:com.fmsys.snapdrop
02-04 15:22:21.036 20153 20153 W SnapdropAndroid: refresh triggered
02-04 15:22:21.056 20153 20196 W cr_media: Requires BLUETOOTH permission
02-04 15:22:21.058 20153 20205 I Adreno  : QUALCOMM build                   : 7dfbea3, I0b59f3a7cf
02-04 15:22:21.058 20153 20205 I Adreno  : Build Date                       : 01/16/18
02-04 15:22:21.058 20153 20205 I Adreno  : OpenGL ES Shader Compiler Version: EV031.22.00.01
02-04 15:22:21.058 20153 20205 I Adreno  : Local Branch                     : mybranch30109289
02-04 15:22:21.058 20153 20205 I Adreno  : Remote Branch                    : quic/LA.BR.1.3.7_rb1.8
02-04 15:22:21.058 20153 20205 I Adreno  : Remote Branch                    : NONE
02-04 15:22:21.058 20153 20205 I Adreno  : Reconstruct Branch               : NOTHING
02-04 15:22:21.069 20153 20205 I Adreno  : PFP: 0x005ff112, ME: 0x005ff066
02-04 15:22:22.663 20153 20153 W SnapdropAndroid: refresh finished
02-04 15:22:22.701 20153 20166 I Gralloc4: mapper 4.x is not supported
02-04 15:22:22.703 20153 20166 W Gralloc3: mapper 3.x is not supported
02-04 15:22:23.810 20153 20206 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
02-04 15:22:23.810 20153 20206 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
02-04 15:22:23.811 20153 20206 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
02-04 15:22:23.811 20153 20206 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
02-04 15:22:23.812 20153 20206 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
02-04 15:22:23.813 20153 20206 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
02-04 15:22:23.814 20153 20206 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
02-04 15:22:23.816 20153 20206 W Utils   : could not parse long range '175-174'
02-04 15:22:24.456 20153 20198 E chromium: [ERROR:socket_manager.cc(128)] Failed to resolve address for 9bb0214e-aae2-4359-aa95-5a7b5e0a4e28.local., errorcode: -105
02-04 15:22:24.456 20153 20153 W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.
02-04 15:22:25.127 20153 20153 W SnapdropAndroid: refresh finished
@zcraber zcraber added the bug Something isn't working label Feb 4, 2022
@fm-sys
Copy link
Owner

fm-sys commented Feb 4, 2022

Thanks for opening a ticket even with a debug log attached, really appreciated!

The debug log feature is brand new, but unfortunately doesn't seem to work as expected - the crash is missing in the log 🙈😅

I will try to reproduce the crash anyway, and will enhance the debug logs feature to correctly include stacktraces.

Maybe I'll come back to you, if I need a second log...

@fm-sys
Copy link
Owner

fm-sys commented Mar 1, 2022

Hi @zcraber, Can you try to reproduce the crash and generate another log?

It should (hopefully) contain a --------- Last crash section at the beginning...

@zcraber
Copy link
Author

zcraber commented Mar 3, 2022

@fm-sys For some reason, I'm unable to send files or even text from PC to the app and vice versa! Not sure what went wrong. Tried Brave and Edge browsers.

@fm-sys
Copy link
Owner

fm-sys commented Mar 3, 2022

Can you check whether the problem exists independent of the app (are transferrs possible when using your Android browser or not)?

Common problems: Please check that you don't have any Proxys and VPN's enabled. Sometimes also Ad-blockers are making trouble... Reloading the page can also help in some cases.

@zcraber
Copy link
Author

zcraber commented Mar 3, 2022

Sometimes also Ad-blockers are making trouble... Reloading the page can also help in some cases.

You were right! Turning off the ad-blocker solved it.

App closed itself around 97-100% of the file transfer. Here are the logs:

--------- System Information
- Device type: Redmi Note 3 (havoc_kenzo, Xiaomi)
- Android version: 11
- Snapdrop app version: 1.9.3
--------- beginning of main
03-03 21:29:36.149 27533 27540 I .fmsys.snapdro: Background concurrent copying GC freed 92(48KB) AllocSpace objects, 32(3072KB) LOS objects, 49% free, 4031KB/8062KB, paused 65us total 103.579ms
03-03 21:29:44.458 27533 27540 I .fmsys.snapdro: Background concurrent copying GC freed 130(48KB) AllocSpace objects, 48(4608KB) LOS objects, 49% free, 3583KB/7166KB, paused 154us total 120.495ms
03-03 21:29:46.598 27533 27540 I .fmsys.snapdro: Background young concurrent copying GC freed 84(47KB) AllocSpace objects, 32(3072KB) LOS objects, 44% free, 3631KB/6494KB, paused 5.955ms total 22.627ms
03-03 21:29:54.921 27533 27540 I .fmsys.snapdro: Background young concurrent copying GC freed 82(47KB) AllocSpace objects, 32(3072KB) LOS objects, 38% free, 3967KB/6494KB, paused 74us total 196.142ms
03-03 21:30:01.192 27533 27533 W Choreographer: Frame time is 0.203327 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
03-03 21:30:06.979 27533 27540 I .fmsys.snapdro: Background young concurrent copying GC freed 102(47KB) AllocSpace objects, 44(4224KB) LOS objects, 45% free, 4351KB/7934KB, paused 80us total 309.102ms
03-03 21:30:27.050 27533 27540 I .fmsys.snapdro: Background concurrent copying GC freed 111(48KB) AllocSpace objects, 41(3904KB) LOS objects, 49% free, 3903KB/7806KB, paused 114us total 960.414ms
03-03 21:30:27.103 27533 27547 I OpenGLRenderer: Davey! duration=921ms; Flags=0, IntendedVsync=56557446782717, Vsync=56557446782717, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=56557447094830, AnimationStart=56557447097590, PerformTraversalsStart=56558354648579, DrawStart=56558354721704, SyncQueued=56558355004204, SyncStart=56558355299256, IssueDrawCommandsStart=56558355420611, SwapBuffers=56558366848163, FrameCompleted=56558368197017, DequeueBufferDuration=737136, QueueBufferDuration=484271, GpuCompleted=56549698299468, 
03-03 21:30:44.077 27533 27540 I .fmsys.snapdro: Background young concurrent copying GC freed 86(47KB) AllocSpace objects, 40(3840KB) LOS objects, 39% free, 4415KB/7262KB, paused 124us total 102.383ms
03-03 21:31:00.358 27533 27540 I .fmsys.snapdro: Background concurrent copying GC freed 116(48KB) AllocSpace objects, 48(4608KB) LOS objects, 49% free, 3247KB/6494KB, paused 75us total 125.217ms
03-03 21:31:22.124 27533 27540 I .fmsys.snapdro: Background young concurrent copying GC freed 88(47KB) AllocSpace objects, 36(3456KB) LOS objects, 39% free, 4351KB/7134KB, paused 96us total 369.569ms
03-03 21:31:55.133 27533 27554 W cr_ChildProcessConn: onServiceDisconnected (crash or killed by oom): pid=27555 bindings:W  S state:3 counts:0,0,0,1,
03-03 21:31:55.682 27533 27533 E chromium: [ERROR:aw_browser_[terminator.cc](https://terminator.cc/)(123)] Renderer process (27555) crash detected (code -1).
03-03 21:31:55.711 27533 27533 E chromium: [ERROR:aw_browser_[terminator.cc](https://terminator.cc/)(89)] Render process (27555) kill (OOM or update) wasn't handed by all associated webviews, killing application.
03-03 21:32:07.594  5460  5460 E .fmsys.snapdro: Not starting debugger since process cannot load the jdwp agent.
03-03 21:32:07.905  5460  5460 I WebViewFactory: Loading com.android.webview version 91.0.4472.164 (code 447216403)
03-03 21:32:07.917  5460  5460 I .fmsys.snapdro: The ClassLoaderContext is a special shared library.
03-03 21:32:08.107  5460  5460 I cr_LibraryLoader: Loaded native library version number "91.0.4472.164"
03-03 21:32:08.107  5460  5460 W .fmsys.snapdro: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
03-03 21:32:08.108  5460  5460 W .fmsys.snapdro: Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
03-03 21:32:08.108  5460  5460 W .fmsys.snapdro: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
03-03 21:32:08.111  5460  5460 I cr_CachingUmaRecorder: Flushed 6 samples from 6 histograms.
03-03 21:32:08.126  5460  5460 I TetheringManager: registerTetheringEventCallback:com.fmsys.snapdrop
03-03 21:32:08.474  5460  5460 W SnapdropAndroid: refresh triggered
03-03 21:32:08.491  5460  5497 W cr_media: Requires BLUETOOTH permission
03-03 21:32:08.496  5460  5514 I Adreno  : QUALCOMM build                   : 7dfbea3, I0b59f3a7cf
03-03 21:32:08.496  5460  5514 I Adreno  : Build Date                       : 01/16/18
03-03 21:32:08.496  5460  5514 I Adreno  : OpenGL ES Shader Compiler Version: EV031.22.00.01
03-03 21:32:08.496  5460  5514 I Adreno  : Local Branch                     : mybranch30109289
03-03 21:32:08.496  5460  5514 I Adreno  : Remote Branch                    : quic/[LA.BR](https://la.br/).1.3.7_rb1.8
03-03 21:32:08.496  5460  5514 I Adreno  : Remote Branch                    : NONE
03-03 21:32:08.496  5460  5514 I Adreno  : Reconstruct Branch               : NOTHING
03-03 21:32:08.503  5460  5514 I Adreno  : PFP: 0x005ff112, ME: 0x005ff066
03-03 21:32:10.341  5460  5460 W SnapdropAndroid: refresh finished
03-03 21:32:10.377  5460  5479 I Gralloc4: mapper 4.x is not supported
03-03 21:32:10.378  5460  5479 W Gralloc3: mapper 3.x is not supported
03-03 21:32:11.347  5460  5516 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
03-03 21:32:11.347  5460  5516 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
03-03 21:32:11.349  5460  5516 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
03-03 21:32:11.349  5460  5516 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
03-03 21:32:11.350  5460  5516 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
03-03 21:32:11.351  5460  5516 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
03-03 21:32:11.353  5460  5516 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
03-03 21:32:11.356  5460  5516 W Utils   : could not parse long range '175-174'
03-03 21:32:12.152  5460  5499 E chromium: [ERROR:socket_[manager.cc](https://manager.cc/)(128)] Failed to resolve address for 04ebc2f9-39d7-46cc-8792-8d43ff442c88.local., errorcode: -105
03-03 21:32:12.255  5460  5460 W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.
03-03 21:32:12.880  5460  5460 W SnapdropAndroid: refresh finished

@TalkLounge
Copy link

TalkLounge commented Aug 4, 2022

Can confirm this on Windows 10 Home (Snapdrop PWA App) -> Motorola Moto G10 (F-Droid Snapdrop Android App v1.11.0)

@SangeethSujith
Copy link

I am getting very slow speeds in snapdrop. Like 8 to 10 min for a 250mb file. Also even it was transferring online its slower than my internet speeds

@fm-sys
Copy link
Owner

fm-sys commented Mar 28, 2023

Does anyone still experience crashes when transferring large files? Otherwise I would like to close this issue as stale...

@fm-sys fm-sys added unverified This issue is not yet verified Waiting for response Feadback or more information is required from the author to continue here. labels Mar 28, 2023
@TalkLounge
Copy link

Does anyone still experience crashes when transferring large files? Otherwise I would like to close this issue as stale...

Yep. Still crashes on version 2.0.3 when file > 1 GB

@fm-sys fm-sys removed the Waiting for response Feadback or more information is required from the author to continue here. label May 4, 2023
@fm-sys fm-sys changed the title App crashes while receiving 1GB+ file from PC App crashes while receiving 1GB+ file from PC? Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified This issue is not yet verified
Projects
None yet
Development

No branches or pull requests

4 participants