Skip to content

Instantly share code, notes, and snippets.

@hpk42
Created December 12, 2019 11:06
Show Gist options
  • Select an option

  • Save hpk42/3896426892ce2dd1908e3926be6e81af to your computer and use it in GitHub Desktop.

Select an option

Save hpk42/3896426892ce2dd1908e3926be6e81af to your computer and use it in GitHub Desktop.
name = 'deltachat_ffi'
operating_system = 'unix:Ubuntu'
crate_version = '1.0.0-beta.11'
explanation = '''
Cause: rwlock read lock would result in deadlock. Panic occurred in file 'src/libstd/sys/unix/rwlock.rs' at line 48
'''
method = 'Panic'
backtrace = '''
stack backtrace:
0: 0x7f94eec0c187 - backtrace::backtrace::libunwind::trace::he06e1eb9ddac9d02
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
backtrace::backtrace::trace_unsynchronized::h901a17197c187f60
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
backtrace::backtrace::trace::h944870b11c0fbbbd
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:53
1: 0x7f94eec0a6c3 - backtrace::capture::Backtrace::create::h219da2737655d0ff
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/capture.rs:164
backtrace::capture::Backtrace::new::hd0cfaefc84277d37
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/capture.rs:128
2: 0x7f94eedf1477 - human_panic::report::Report::new::he6385723ea939ed4
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/human-panic-1.0.1/src/report.rs:45
3: 0x7f94eeb4f252 - human_panic::handle_dump::heec6bbd0f7f94bef
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/human-panic-1.0.1/src/lib.rs:197
4: 0x7f94ee2f2df9 - deltachat::dc_context_new::{{closure}}::hd40541cbcf3bbad9
at /home/hpk/p/delta/core-rust2/<::human_panic::setup_panic macros>:25
5: 0x7f94eec346c0 - std::panicking::rust_panic_with_hook::hafa4d144cdeac0c6
at src/libstd/panicking.rs:468
6: 0x7f94ee514ca5 - std::panicking::begin_panic::ha5e9657911d40847
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/panicking.rs:400
7: 0x7f94ee524b92 - std::sys::unix::rwlock::RWLock::read::h8bad556574df2277
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/macros.rs:62
std::sys_common::rwlock::RWLock::read::h97f0e1baa4874224
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/sys_common/rwlock.rs:23
std::sync::rwlock::RwLock<T>::read::h07c03b26116755d9
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/sync/rwlock.rs:185
deltachat::job::interrupt_inbox_idle::hbc5218f027617460
at src/job.rs:467
8: 0x7f94ee594e11 - deltachat::job::add_job_with_interrupt::h1cd533580b35b3ba
at src/job.rs:945
deltachat::imap::precheck_imf::h4d792130e1e8eb97
at src/imap/mod.rs:1409
9: 0x7f94ee47c7d5 - deltachat::imap::Imap::fetch_new_messages::{{closure}}::h1667475918365c25
at src/imap/mod.rs:602
<std::future::GenFuture<T> as core::future::future::Future>::poll::{{closure}}::h56cf512cb473d62c
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:43
std::future::set_task_context::h951d9fa81dbda2ea
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:79
<std::future::GenFuture<T> as core::future::future::Future>::poll::hc3c06c5a4f1211f0
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:43
std::future::poll_with_tls_context::{{closure}}::h4517218881e6933e
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:121
std::future::get_task_context::hb2663a8eaa058101
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:111
std::future::poll_with_tls_context::he1fc0222da5d5073
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:121
deltachat::imap::Imap::fetch::{{closure}}::h9d7e41fa9d9641d2
at src/imap/mod.rs:449
<std::future::GenFuture<T> as core::future::future::Future>::poll::{{closure}}::h2ba77e5e77a12711
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:43
std::future::set_task_context::hc42521cb1846d56f
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:79
<std::future::GenFuture<T> as core::future::future::Future>::poll::he48c46c731c78999
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:43
std::future::poll_with_tls_context::{{closure}}::h3c2ebc1c60630e6f
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:121
std::future::get_task_context::h7168b96a62fcd348
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:111
std::future::poll_with_tls_context::h82d1c2488a517732
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:121
async_std::task::block_on::block_on::{{closure}}::h0be7767a92caf2f5
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.2.0/src/task/block_on.rs:69
<std::future::GenFuture<T> as core::future::future::Future>::poll::{{closure}}::h1286df6a9de61003
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:43
std::future::set_task_context::hebb34f75173b4c13
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:79
<std::future::GenFuture<T> as core::future::future::Future>::poll::h74c60a416d030cad
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/future.rs:43
10: 0x7f94ee3859ed - async_std::task::block_on::run::{{closure}}::hd5a6c30387790884
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.2.0/src/task/block_on.rs:130
std::thread::local::LocalKey<T>::try_with::hfd7b76d054ff0130
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/thread/local.rs:262
std::thread::local::LocalKey<T>::with::h6949f351e20b294f
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/thread/local.rs:239
11: 0x7f94ee386f33 - async_std::task::block_on::run::h8137afdd676c599e
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.2.0/src/task/block_on.rs:119
async_std::task::block_on::block_on::{{closure}}::h65aa4b2a2643d44e
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.2.0/src/task/block_on.rs:73
async_std::task::task::Task::set_current::{{closure}}::h404d7a6174179333
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.2.0/src/task/task.rs:129
std::thread::local::LocalKey<T>::try_with::h29ead5c72ab4a16a
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/thread/local.rs:262
std::thread::local::LocalKey<T>::with::hc994440c7423829c
at /rustc/1423bec54cf2db283b614e527cfd602b481485d1/src/libstd/thread/local.rs:239
12: 0x7f94ee59292a - async_std::task::task::Task::set_current::h63e1836b071737b8
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.2.0/src/task/task.rs:124
async_std::task::block_on::block_on::h2cb8b53a8faf8362
at /home/hpk/.cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.2.0/src/task/block_on.rs:73
deltachat::imap::Imap::fetch::hc327c3c9444c4c14
at src/imap/mod.rs:442
13: 0x7f94ee4ffae4 - deltachat::job_thread::JobThread::connect_and_fetch::h86b441203a55a6bd
at src/job_thread.rs:107
14: 0x7f94ee4ff57d - deltachat::job_thread::JobThread::fetch::hf3a22927cc129f67
at src/job_thread.rs:89
15: 0x7f94ee523f53 - deltachat::job::perform_inbox_fetch::h8bc2afc3ea5f52de
at src/job.rs:401
16: 0x7f94ee2f528f - deltachat::dc_perform_imap_fetch::{{closure}}::hdb0008b9edc3310c
at deltachat-ffi/src/lib.rs:485
deltachat::ContextWrapper::with_inner::h2a99d5021c0f7f64
at deltachat-ffi/src/lib.rs:113
dc_perform_imap_fetch
at deltachat-ffi/src/lib.rs:484
17: 0x7f94ee2e498c - _cffi_f_dc_perform_imap_fetch
at build/temp.linux-x86_64-3.7/deltachat.capi.c:7833
18: 0x4e6680 - _PyMethodDef_RawFastCallKeywords
19: 0x4e65d0 - _PyCFunction_FastCallKeywords
20: 0x55c318 - _PyEval_EvalFrameDefault
21: 0x4e868a - _PyObject_Call_Prepend
22: 0x4e8d7e - PyObject_Call
23: 0x559182 - _PyEval_EvalFrameDefault
24: 0x4e7eba - _PyFunction_FastCallKeywords
25: 0x557c00 - _PyEval_EvalFrameDefault
26: 0x4e7eba - _PyFunction_FastCallKeywords
27: 0x557c00 - _PyEval_EvalFrameDefault
28: 0x4e868a - _PyObject_Call_Prepend
29: 0x4e8d7e - PyObject_Call
30: 0x663923 - <unknown>
31: 0x626df4 - <unknown>
32: 0x7f94f56926ba - start_thread
33: 0x7f94f487541d - clone
34: 0x0 - <unknown>
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment