Open quizilkend opened 6 years ago
I'm having this issue as well, both with extracting and with formatting to import for XML.
./signal-back_darwin_amd64 -v signal-back v0.1.6-alpha.1-dirty proto commit: d6610f0
Will post a separate comment for the format output.
jh1:signal ytjohn$ ./signal-back_darwin_amd64 extract -v -o output signal-2018-07-24-14-38-09.backup
Password: 57708 00033 44821 48541 17385 64128
2018/07/24 14:50:23 found attachment binary 1491943414805
2018/07/24 14:50:23 file `1491943414805` has no associated SQL entry; going to have to guess at its encoding
<SNIP>
2018/07/24 14:50:24 found file type: {image jpeg image/jpeg}
2018/07/24 14:50:24 found attachment binary 1526822963335
2018/07/24 14:50:24 file `1526822963335` has no associated SQL entry; going to have to guess at its encoding
2018/07/24 14:50:24 found file type: {image jpeg image/jpeg}
Panicked: runtime error: slice bounds out of range
[frame: starting at 75636533, size 0]
Format out:
jh1:signal ytjohn$ ./signal-back_darwin_amd64 format -v -f XML signal-2018-07-24-14-38-09.backup
Password: 57708 00033 44821 48541 17385 64128
2018/07/24 14:52:50 MMS export not yet supported
2018/07/24 14:52:50 MMS export not yet supported
<SNIP>
2018/07/24 14:52:50 MMS export not yet supported
2018/07/24 14:52:50 MMS export not yet supported
Panicked: runtime error: slice bounds out of range
[frame: starting at 75636533, size 0]
After comparing them, it seems like I bomb out 75MB into the 111MB file. I suppose that could be a bad/corrupted message that far in. I made a fresh backup for this. I can get signal to ask for the passcode and start the restore (as long as I do everything on phone internal memory), but the app crashes, possibly on this same record.
@ytjohn Do the same issues occur on the stable build? Your backup might be large enough that it doesn't encounter the memory issues larger ones do, but is hitting the same wall large backups are hitting on the alpha build, so it's a good spot for me.
RE: app crashing, it may be worth trying to get a log for Signal via logcat
over adb
or something to see what the issue is.
Sorry for the delay. I ran it again with your latest release and a build from master.
https://gist.github.com/ytjohn/b952803a5d8705681c5c45c7ea95df74
@xeals I tried it again with the latest stable version and the problem persists.
Sometimes the same command works on the Mac but gets this error on Ubuntu (precompiled binaries for both).
If I run signal-back on my backup (kind of large ~3.5GB) it stops with the following error message: signal-back v0.1.6-alpha.1:
signal-back v0.1.5:
I'm not sure, but it could be related to https://github.com/xeals/signal-back/issues/19
If I can help with any additional information just let me know.