wire-desktop icon indicating copy to clipboard operation
wire-desktop copied to clipboard

Backup conversation crash to a gray screen after 100%

Open Transisto opened this issue 3 years ago • 21 comments

Desktop,

This is what the process does then it stops.

image

According to the progess bar there is ~350k messages to save, at the last step the process crash and Wire turn gray

Should I try an older version of wire to see if it goes through?

Transisto avatar Nov 09 '22 19:11 Transisto

This sounds possibly related to Windows bug where the app turns grey (in different situations) that we have been struggling to reproduce lately. Try the previous release, but I am not confident that will solve the issue here. Backups often slow down at the last step regardless of OS.

Follow up with any progress from your side please 👍

tlebon avatar Nov 10 '22 14:11 tlebon

I have the same problem with a similar amount of messages when I haven't restarted the PC in a few months. It usually fixes itself after a reboot.

From my observations the reason might be either that I'm running the PC without a page file or something related to Windows' GPU acceleration (or a combination of both) because I'm also getting odd behavior in other apps after running non-stop for more than a month or two (mostly in Firefox).

Sledge-Hammer avatar Nov 29 '22 12:11 Sledge-Hammer

This sounds possibly related to Windows bug where the app turns grey (in different situations) that we have been struggling to reproduce lately. Try the previous release, but I am not confident that will solve the issue here. Backups often slow down at the last step regardless of OS.

Follow up with any progress from your side please 👍

I really need to have a better access to searching conversations, I was gonna use backup to then use the extract to PDF software.

Is there a way to get some userful verbose logs?

Also if I could know what files in my OS need backuping I could copy that while this is getting resolved.

BTW I left it run for a long time after, the process dies and nothing more happens.

Transisto avatar Nov 29 '22 18:11 Transisto

@Transisto this is PC correct? what version of the app are you using? if it is PC you can open the application from the command line with debugging enabled

C:\Users\<username>\AppData\Local\wire\Wire.exe --devtools=1 --enable-logging

if it doesn't appear verbose restart the app again and you should see full logs.

tlebon avatar Nov 30 '22 10:11 tlebon

on Windows app select backup conversation it runs through messages goes to gray screen - the app isn't crashing fully because a second account can be clicked and is operating normally - fortunately quitting and restarting brings you back to messages again but there is no way to actually run a backup with this issue presently

MacGurus avatar Jan 10 '23 06:01 MacGurus

i tested this with a less used account with a much smaller message database and it properly goes to SAVE FILE in green -- this might be an issue related to the size of the message DB - I will try to investigate further

MacGurus avatar Jan 10 '23 06:01 MacGurus

i ran the backup on primary account (large message DB) and let it stay at the grey screen 20 to 30 minutes - it never makes it to SAVE FILE dialogue -- this leads me to suspect it's an issue related to the size of the database

MacGurus avatar Jan 10 '23 07:01 MacGurus

Everything you wrote match my problem, It seems like each account is a separate sub process, and that's what crashes.

Transisto avatar Jan 10 '23 10:01 Transisto

Everything you wrote match my problem, It seems like each account is a separate sub process, and that's what crashes.

It appears that it's becoming hung at the final processing to export the messages - I don't recall the exact # of messages in the first account I tested it on but it was nowhere near 350k messages as yours but IIRC over 200k. The only other tidbit I can add is that backup was running fine for larger databases 3 or 4 months ago and seems to work properly if the database size is below some threshold as yet to be determined

MacGurus avatar Jan 10 '23 19:01 MacGurus

I have the same problem with a similar amount of messages when I haven't restarted the PC in a few months. It usually fixes itself after a reboot.

From my observations the reason might be either that I'm running the PC without a page file or something related to Windows' GPU acceleration (or a combination of both) because I'm also getting odd behavior in other apps after running non-stop for more than a month or two (mostly in Firefox).

I tried backup after a fresh reboot only to end up with the same grey screen after it counts through the messages.

MacGurus avatar Jan 10 '23 20:01 MacGurus

This seems to be related to a memory issue in 32-bit Electron or something. If the size of the exported conversation data is more than around 32 MB when stringified, the process crashes (at this line).

I was able to resolve this for myself by rebuilding with a 64-bit version by switching this line from "ia32" to "x64": https://github.com/wireapp/wire-desktop/blob/de508fa29e0a263d2d7b7b47e24755219da2b929/bin/build-tools/lib/build-windows.ts#L40

drewmnoel avatar Feb 07 '23 20:02 drewmnoel

issue persists in latest update 3.30.4368 web 2023.03.07.08.22

MacGurus avatar Mar 07 '23 23:03 MacGurus

Any chance of this being fixed anytime soon? I haven't been able to make a backup in the past few months.

Sledge-Hammer avatar Mar 30 '23 00:03 Sledge-Hammer

update april 11, 2023 the issue persists on release web 2023.04.11.09.39 (3.30.4368)

MacGurus avatar Apr 11 '23 10:04 MacGurus

Update, Support for android has been officially dropped. Issue section closed. There are no more issues.

https://github.com/wireapp/wire-android/issues/3743#issuecomment-1471415253

nostitos avatar Apr 11 '23 20:04 nostitos

todays update 2023.05.30.13.55.09 Win Desktop 3.31.4421 backups are still not operational for larger message history with same gray screen results as outlined in the thread here

MacGurus avatar May 30 '23 20:05 MacGurus

This seems to be related to a memory issue in 32-bit Electron or something. If the size of the exported conversation data is more than around 32 MB when stringified, the process crashes (at this line).

I was able to resolve this for myself by rebuilding with a 64-bit version by switching this line from "ia32" to "x64":

https://github.com/wireapp/wire-desktop/blob/de508fa29e0a263d2d7b7b47e24755219da2b929/bin/build-tools/lib/build-windows.ts#L40

It does fix the backup, but it can't restore.

zstomp avatar Aug 21 '23 08:08 zstomp

This is indeed related to an issue with 32-bit electron. This will be fixed in the next desktop release.

tlebon avatar Oct 06 '23 13:10 tlebon

This is indeed related to an issue with 32-bit electron. This will be fixed in the next desktop release.

just got update 3.32.4459 2023.10.19.08.33.56 - same results- runs through preparing then crashes to gray

MacGurus avatar Oct 19 '23 09:10 MacGurus

this is still broken - further it appears something similar is happening when you have a large database of messages when you do a search it crashes in similar fashion - other logins remain operable -

MacGurus avatar Nov 18 '23 00:11 MacGurus

Definitely not fixed yet, which is a problem since version 3.32.4459 is supposed to be the last one for Windows 7/8/8.1 I also encountered the search issue once so far.

Sledge-Hammer avatar Nov 28 '23 15:11 Sledge-Hammer

Just got around to testing on the update today Aug 2024 and with a database of nearly 300K it backed up without issues! Maybe someone with a larger database can test it to verify and if so then this issue is resolved

MacGurus avatar Aug 08 '24 03:08 MacGurus

As this is apparently fixed, i will close it for the time being. If it reappears please reopen it.

tlebon avatar Aug 15 '24 15:08 tlebon