Closed strugee closed 5 years ago
I patched the program to dump the SQLite statements it was executing. Here's the end of that:
statement
CREATE TRIGGER sms_au AFTER UPDATE ON sms BEGIN
INSERT INTO sms_fts(sms_fts, rowid, body, thread_id) VALUES('delete', old._id, old.body, old.thread_id);
INSERT INTO sms_fts(rowid, body, thread_id) VALUES(new._id, new.body, new.thread_id);
END
statement
CREATE VIRTUAL TABLE mms_fts USING fts5(body, thread_id UNINDEXED, content=mms, content_rowid=_id)
statement
CREATE TRIGGER mms_ai AFTER INSERT ON mms BEGIN
INSERT INTO mms_fts(rowid, body, thread_id) VALUES (new._id, new.body, new.thread_id);
END
statement
CREATE TRIGGER mms_ad AFTER DELETE ON mms BEGIN
INSERT INTO mms_fts(mms_fts, rowid, body, thread_id) VALUES('delete', old._id, old.body, old.thread_id);
END
statement
CREATE TRIGGER mms_au AFTER UPDATE ON mms BEGIN
INSERT INTO mms_fts(mms_fts, rowid, body, thread_id) VALUES('delete', old._id, old.body, old.thread_id);
INSERT INTO mms_fts(rowid, body, thread_id) VALUES(new._id, new.body, new.thread_id);
END
statement
CREATE TABLE job_spec(_id INTEGER PRIMARY KEY AUTOINCREMENT, job_spec_id TEXT UNIQUE, factory_key TEXT, queue_key TEXT, create_time INTEGER, next_run_attempt_time INTEGER, run_attempt INTEGER, max_attempts INTEGER, max_backoff INTEGER, max_instances INTEGER, lifespan INTEGER, serialized_data TEXT, is_running INTEGER)
statementlly exported 35 frames, 0 attachments, 8341 bytes into file
CREATE TABLE sqlite_sequence(name,seq)
thread 'main' panicked at 'Failed to prepare statement: CREATE TABLE sqlite_sequence(name,seq): Error { code: Some(1), message: Some("object name reserved for internal use: sqlite_sequence") }', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Okay, this seems to be a bug in signal itself, I will apply the same patch as the signal app (https://github.com/signalapp/Signal-Android/commit/128da6db04d204dee437012d41dec06be4717537)
Could you please try again with d938f75 applied?
I checked out that patch and rebuilt, then reran the program. It's still running, but it hasn't crashed yet so I think it's fine.
Closing since d938f75 is already in master.
Running the program on my backup produces the following error:
This is on Debian 9. Version information:
Version information on the host that built the binary (which is different than what I'm running it on, but should have the exact same packages installed because they share the same Qubes OS TemplateVM):
The program was installed with
cargo install
today. Please do let me know what other information I can provide.