Skip to content

Instantly share code, notes, and snippets.

@danieldk
Created November 7, 2018 18:46
Show Gist options
  • Select an option

  • Save danieldk/5ee20615aa7ad61cba2a460ea5d08ac7 to your computer and use it in GitHub Desktop.

Select an option

Save danieldk/5ee20615aa7ad61cba2a460ea5d08ac7 to your computer and use it in GitHub Desktop.
running 38 tests
Process 77464 stopped
* thread #2, name = 'test_absolute_path', stop reason = EXC_BAD_ACCESS (code=1, address=0x190178c63c)
frame #0: 0x00000001000c6b0b tests-090b3e427c9f00ad`free + 347
tests-090b3e427c9f00ad`free:
-> 0x1000c6b0b <+347>: movl 0x594(%r13,%rbx,8), %eax
0x1000c6b13 <+355>: cmpl (%rdx,%rcx,4), %eax
0x1000c6b16 <+358>: je 0x1000c6f96 ; <+1510>
0x1000c6b1c <+364>: incl %eax
Target 0: (tests-090b3e427c9f00ad) stopped.
(lldb) bt
* thread #2, name = 'test_absolute_path', stop reason = EXC_BAD_ACCESS (code=1, address=0x190178c63c)
* frame #0: 0x00000001000c6b0b tests-090b3e427c9f00ad`free + 347
frame #1: 0x00000001000acc5e tests-090b3e427c9f00ad`std::sys::unix::fs::canonicalize::h73ff402535eac323 at fs.rs:831 [opt]
frame #2: 0x00000001000ab36e tests-090b3e427c9f00ad`std::path::Path::canonicalize::ha7f90b422caccd10 [inlined] std::fs::canonicalize::h0f1dc6a611d0b73f at fs.rs:1745 [opt]
frame #3: 0x00000001000ab369 tests-090b3e427c9f00ad`std::path::Path::canonicalize::ha7f90b422caccd10 at path.rs:2323 [opt]
frame #4: 0x00000001000103cd tests-090b3e427c9f00ad`tests::get_absolute_root_path::hbcfae41141eb4086 + 109
frame #5: 0x00000001000105a0 tests-090b3e427c9f00ad`tests::get_test_env_with_abs_path::h4710eefb9e321679 + 128
frame #6: 0x0000000100012243 tests-090b3e427c9f00ad`tests::test_absolute_path::he7545369f6278dc3 + 51
frame #7: 0x0000000100018281 tests-090b3e427c9f00ad`tests::test_absolute_path::_$u7b$$u7b$closure$u7d$$u7d$::h800b51d136ed2265 + 17
frame #8: 0x0000000100009db1 tests-090b3e427c9f00ad`core::ops::function::FnOnce::call_once::h42675358561b8532 + 17
frame #9: 0x000000010001c6c2 tests-090b3e427c9f00ad`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hc65a488a7f5d2adc [inlined] test::run_test::_$u7b$$u7b$closure$u7d$$u7d$::h4f5a626f5f827cec at lib.rs:1461 [opt]
frame #10: 0x000000010001c6bd tests-090b3e427c9f00ad`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hc65a488a7f5d2adc [inlined] core::ops::function::FnOnce::call_once::h658e092af3e33d60 at function.rs:238 [opt]
frame #11: 0x000000010001c6bd tests-090b3e427c9f00ad`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hc65a488a7f5d2adc at boxed.rs:646 [opt]
frame #12: 0x00000001000c2aaf tests-090b3e427c9f00ad`__rust_maybe_catch_panic at lib.rs:103 [opt]
frame #13: 0x000000010003659d tests-090b3e427c9f00ad`std::sys_common::backtrace::__rust_begin_short_backtrace::h52bd1887feb33d1b [inlined] std::panicking::try::h629881eabb084e7f at panicking.rs:289 [opt]
frame #14: 0x0000000100036558 tests-090b3e427c9f00ad`std::sys_common::backtrace::__rust_begin_short_backtrace::h52bd1887feb33d1b [inlined] std::panic::catch_unwind::h511a0c960f236c0d at panic.rs:392 [opt]
frame #15: 0x0000000100036558 tests-090b3e427c9f00ad`std::sys_common::backtrace::__rust_begin_short_backtrace::h52bd1887feb33d1b [inlined] test::run_test::run_test_inner::_$u7b$$u7b$closure$u7d$$u7d$::h320c6436cc76ea80 at lib.rs:1416 [opt]
frame #16: 0x000000010003654a tests-090b3e427c9f00ad`std::sys_common::backtrace::__rust_begin_short_backtrace::h52bd1887feb33d1b at backtrace.rs:136 [opt]
frame #17: 0x000000010002ea68 tests-090b3e427c9f00ad`std::panicking::try::do_call::hbc4d7ad89a24a3aa [inlined] std::thread::Builder::spawn::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h122d903149536f35 at mod.rs:409 [opt]
frame #18: 0x000000010002ea52 tests-090b3e427c9f00ad`std::panicking::try::do_call::hbc4d7ad89a24a3aa [inlined] _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h2af01d0cdc3538c1 at panic.rs:313 [opt]
frame #19: 0x000000010002ea52 tests-090b3e427c9f00ad`std::panicking::try::do_call::hbc4d7ad89a24a3aa at panicking.rs:310 [opt]
frame #20: 0x00000001000c2aaf tests-090b3e427c9f00ad`__rust_maybe_catch_panic at lib.rs:103 [opt]
frame #21: 0x000000010003e6a5 tests-090b3e427c9f00ad`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h3b037ec0e2a596c2 [inlined] std::panicking::try::h338bf893dd4d5433 at panicking.rs:289 [opt]
frame #22: 0x000000010003e66c tests-090b3e427c9f00ad`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h3b037ec0e2a596c2 [inlined] std::panic::catch_unwind::h09090a0397004b14 at panic.rs:392 [opt]
frame #23: 0x000000010003e665 tests-090b3e427c9f00ad`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h3b037ec0e2a596c2 [inlined] std::thread::Builder::spawn::_$u7b$$u7b$closure$u7d$$u7d$::h94ab81dc7fc0011a at mod.rs:408 [opt]
frame #24: 0x000000010003e62e tests-090b3e427c9f00ad`_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::h3b037ec0e2a596c2 at boxed.rs:646 [opt]
frame #25: 0x000000010009d848 tests-090b3e427c9f00ad`std::sys_common::thread::start_thread::ha6d8ce6f5547a100 [inlined] _$LT$alloc..boxed..Box$LT$$LP$dyn$u20$alloc..boxed..FnBox$LT$A$C$$u20$Output$u3d$R$GT$$u20$$u2b$$u20$$u27$a$RP$$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h80317bd402ec9356 at boxed.rs:656 [opt]
frame #26: 0x000000010009d845 tests-090b3e427c9f00ad`std::sys_common::thread::start_thread::ha6d8ce6f5547a100 at thread.rs:24 [opt]
frame #27: 0x00000001000a2f19 tests-090b3e427c9f00ad`std::sys::unix::thread::Thread::new::thread_start::hffdfad99fe0983f2 at thread.rs:90 [opt]
frame #28: 0x00007fff6a62d339 libsystem_pthread.dylib`_pthread_body + 126
frame #29: 0x00007fff6a6302a7 libsystem_pthread.dylib`_pthread_start + 70
frame #30: 0x00007fff6a62c445 libsystem_pthread.dylib`thread_start + 13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment