-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Standalone-App stops working (crash) during import of backup #1662
Comments
On of your conversations was extremely large. When you next try to do the import, watch the CPU and memory usage in process manager. I suspect that the application is having trouble with a conversation of that size. |
The memory-usage right before the crash is about 3700MB (2 processes combined), the CPU usage on my Laptop about 90%, on desktop about 20% |
@scottnonnenberg after #1616 was fixed with 0.44.7 for me I am now running into this error on import with 1.0.36. Thanks for your great support. In the terminal I see:
|
@mlsxlist Would you be willing to provide the full log? Please also talk about how the memory usage of the process changes as the import progresses. One other thing comes to mind - do you have any particularly large attachments in your export? |
@scottnonnenberg please see the log here: https://gist.github.com/55a0cae2b386d9ea6b121989f0b42885 I observed the memory during import. During import the overall memory usage of the signal processes goes up to 4-5 GB before it crashes. For me it is not clear which conversation is imported at the time of the crash. The larges attachments I see the Signal folder from where I import the message are videos with around 85 MB. |
@mlsxlist Thanks. One thing to try is to update your Chrome app to |
@scottnonnenberg when I export again with 0.44.10 the export never ends and signal hangs on the Please wait while we export your data... screen. In the log I see https://gist.github.com/mlsxlist/6da32f9c4032d03b846c84b09468d943 |
|
Thanks. Export worked with 0.44.11. Did not see the update. |
@scottnonnenberg I get the same out of memory error as before. I observed the memory and did the import after a reboot of the laptop with 16GB of physical memory. With signal-desktop running there was 13GB of free memory. When I started the import I could see memory going down from 13GB to 0. signal-desktop ate up all memory until the process was terminated by the OS. The folder that holds the exported data from the chrome app 0.44.11 has a size of 3,4 GB. Strange that signal-desktop needs a factor 3 more memory for the import. |
@mlsxlist Can you take a look at all the |
@scottnonnenberg The largest .json file is db.json with a size of 4MB. The largest messages.json has a size of 2.6MB and is a group conversation. |
@mlsxlist Hm. We should definitely be able to load those files no problem. Can you also find your largest attachment? |
@scottnonnenberg the largest attachment is a mp4 file with a size of 84.8 MB |
Signal Desktop |
@scottnonnenberg thanks. Also 1.0.38 runs out of memory for me. {"name":"log","hostname":"myhost","pid":9567,"level":30,"msg":"Done importing 4110 messages for conversation [REDACTED]~`³","time":"2017-11-15T05:24:38.418Z","v":0} Aborted |
@scottnonnenberg after a reboot to make sure that as much free memory as possible is available the import succeeded. Thanks, Scott for you help. |
@Wasseranomalie It seems, in another thread, that you were able to import successfully. I'm going to close this bug, happy to re-open it if anyone else experiences this. |
Bug description
Created first backup with the chrome-extension v0.44.1 and tried to import it into the new standalone-applikation. It crashed during the procedure resulting in the "something went wrong during the import"-screen after starting the applikation again. Unfortunately I can't see anything useful in the debug-log, but I'll post it anyway. Neither updating the chrome-extension to 0.44.2 and backing up again nor reinstalling the standalone-applikation did solve the issue. (It seems that deinstalling chrome v1.x does not clear the applikation-data, on first start after installing it I directly landed at the "something went wrong"-screen again)
Steps to reproduce
Actual result: Crash after some time waiting for the import to complete
Expected result: Import successful
Screenshots
Platform info
Operating System: Windows 10 64Bit
Browser: Electron v??
Signal version: 1.0.34
Link to debug log
https://gist.github.com/anonymous/bc476b51311a60eda9581293bd81c575
(Latest crash seems to be after timestamp 2017-11-01T23:14:01.349Z )
Edit: Debug-log from export:
https://gist.github.com/anonymous/17debc9137a18772b395376eff39e2b6
According to the extension the backup was successful (not like in #1660 where the export seems to fail)
(Latest backup starts at timestamp 2017-11-01T23:34:43.739Z )
The text was updated successfully, but these errors were encountered: