Skip to content

Instantly share code, notes, and snippets.

View hpk42's full-sized avatar

holger krekel hpk42

View GitHub Profile
in the e2ee branch we have better reporting and get here: https://github.com/deltachat/deltachat-core-rust/blob/safe-e2ee/src/dc_receive_imf.rs#L621
11.35 [inbox-ac2] DC_EVENT_INFO(0,'INBOX-fetch started...')
11.39 [inbox-ac1] DC_EVENT_INFO(0,'Receiving message INBOX/7...')
11.41 [inbox-ac1] DC_EVENT_INFO(0,'set gossiped_timestamp for all chats to 0.')
11.42 [inbox-ac1] DC_EVENT_INFO(0,'set gossiped_timestamp for all chats to 0.')
11.43 [inbox-ac1] DC_EVENT_INFO(0,'Sqlite Error: NulError(NulError(27, [239, 191, 189, 116, 101, 239, 191, 189, 239, 191, 189, 101, 239, 191, 189, 51, 239, 191, 189, 44, 239, 191, 189, 98, 239, 191, 189, 0, 26, 239, 191, 189, 239, 191, 189, 233, 134, 183, 239, 191, 189, 78, 239, 191, 189, 71, 45, 9, 239, 191, 189, 12, 239, 191, 189, 239, 191, 189, 239, 191, 189, 239, 191, 189, 36, 239, 191, 189, 4, 239, 191, 189, 80, 239, 191, 189, 239, 191, 189, 208, 143, 239, 191, 189, 80, 22, 239, 191, 189, 239, 191, 189, 116, 239, 191, 189, 88, 239, 191, 189, 102, 239, 191, 189, 239, 191, 189,
(py37) hpk@beto:~/p/rpgp/pgp-ffi (pybindings)$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/hpk/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu
nightly-2019-02-24-x86_64-unknown-linux-gnu
nightly-2019-03-23-x86_64-unknown-linux-gnu
cur = (*(*mime).mm_data.mm_multipart.mm_mp_list).first;
while !cur.is_null() {
if self.parse_mime_recursive((*cur).data as *mut ) {
any_part_added = 1i32;
break;
}
cur = if !cur.is_null() {
(*cur).next
} else {
ptr::null_mut()
* thread #14: tid = 15760, 0x00007ffff08bc9f6 capi.abi3.so`dc_perform_imap_jobs + 358 at lib.rs:415, name = 'python', stop reason = signal SIGILL: illegal instruction operand
frame #0: 0x00007ffff08bc9f6 capi.abi3.so`dc_perform_imap_jobs + 358 at lib.rs:415
412 }
413
414 #[no_mangle]
-> 415 pub unsafe extern "C" fn dc_perform_imap_jobs(context: *mut dc_context_t) {
416 if context.is_null() {
417 eprintln!("ignoring careless call to dc_perform_imap_jobs()");
418 return;
old query: SELECT c.addr, LENGTH(ps.verified_key_fingerprint) FROM contacts c LEFT JOIN acpeerstates ps ON c.addr=ps.addr WHERE c.id IN(29,12,161,140,27,16,82,111,170,210,25,33,236,259,148)
Connection is already used from this thread: stack backtrace:
0: deltachat::sql::Sql::start_stmt::hfb6be6ad9411d4c5 (0x7f00b38e10ef)
at src/sql.rs:276
1: deltachat::sql::Sql::query_row::h9301a72cb4fb454a (0x7f00b38d7d08)
at src/sql.rs:150
2: deltachat::peerstate::Peerstate::from_stmt::hd02c7d310d34b7b3 (0x7f00b39c5540)
at src/peerstate.rs:191
3: deltachat::peerstate::Peerstate::from_addr::h2db7fabda41e4777 (0x7f00b3a15841)
name = 'deltachat_ffi'
operating_system = 'unix:Ubuntu'
crate_version = '1.0.0-alpha.3'
explanation = '''
Panic occurred in file 'src/dc_tools.rs' at line 1564
'''
method = 'Panic'
backtrace = '''
stack backtrace:
0: backtrace::backtrace::libunwind::trace::hb967ce26135b92e1 (0x7f0c93c3574d)
Opened ""/home/hpk/.config/DeltaChat/686f6c6765724064656c7461636861742e6465/db.sqlite"".
Delta Chat Core is awaiting your commands.
> list
Error: Unknown command: "list" type ? for help.
> listchats
================================================================================
old query: SELECT c.id,c.type,c.name, c.grpid,c.param,c.archived, c.blocked, c.gossiped_timestamp, c.locations_send_until FROM chats c WHERE c.id=?;
Connection is already used from this thread: stack backtrace:
0: deltachat::sql::Sql::start_stmt::h9852793097ef1289 (0x55b48b78adbf)
at src/sql.rs:276
non UTF-8 data [237, 160, 189, 237, 184, 128, 32, 68, 97, 110, 107, 101, 0]: lossy ������ Danke. error Utf8Error { valid_up_to: 0, error_len: Some(1) }
got utf-16 string: Ok("�� Danke\u{0}\u{0}\u{0}\u{0}嘸輵\u{20d9}\u{0}\u{0}") - lossy: �� Danke嘸輵⃙
sqlite3_column_text returned non UTF-8 string
non UTF-8 data [237, 160, 189, 237, 184, 180, 237, 160, 189, 237, 178, 164, 237, 160, 188, 237, 189, 172, 237, 160, 188, 237, 191, 184, 226, 154, 146, 239, 184, 143, 237, 160, 189, 237, 187, 160, 239, 184, 143, 237, 160, 189, 237, 180, 168, 226, 155, 143, 239, 184, 143, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 54, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 0]: lossy ������������������������⚒️������️������⛏️zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz6zzzzzzzzzzz. error Utf8Error { valid_up_to: 0, error_len: Some(1) }
got utf-16 string: Ok("
name = 'deltachat_ffi'
operating_system = 'unix:Ubuntu'
crate_version = '1.0.0-alpha.3'
explanation = '''
Panic occurred in file 'src/libcore/result.rs' at line 1051
'''
method = 'Panic'
backtrace = '''
stack backtrace:
0: backtrace::backtrace::libunwind::trace::hb967ce26135b92e1 (0x7f60311c2f1d)
name = 'deltachat_ffi'
operating_system = 'unix:Ubuntu'
crate_version = '1.0.0-alpha.0'
explanation = '''
Panic occurred in file 'src/libcore/result.rs' at line 999
'''
method = 'Panic'
backtrace = '''
stack backtrace:
0: backtrace::backtrace::libunwind::trace::h1b563d61c04efae8 (0x7faf7455218d)