Last active
December 7, 2015 21:46
-
-
Save jacquelinekay/4790d2adda5d7e312e5d to your computer and use it in GitHub Desktop.
Backtrace from promise example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting program: /tmp/a.out | |
Traceback (most recent call last): | |
File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module> | |
from libstdcxx.v6.printers import register_libstdcxx_printers | |
ImportError: No module named 'libstdcxx' | |
terminate called after throwing an instance of 'std::system_error' | |
what(): Unknown error -1 | |
Program received signal SIGABRT, Aborted. | |
0x00007ffff7531cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 | |
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. | |
(gdb) bt | |
#0 0x00007ffff7531cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 | |
#1 0x00007ffff75350d8 in __GI_abort () at abort.c:89 | |
#2 0x00007ffff7b36535 in __gnu_cxx::__verbose_terminate_handler() () | |
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#3 0x00007ffff7b346d6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#4 0x00007ffff7b34703 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#5 0x00007ffff7b34922 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#6 0x00007ffff7b867e0 in std::__throw_system_error(int) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#7 0x0000000000402648 in std::call_once<void (std::__future_base::_State_base::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>&, bool&), std::__future_base::_State_base* const, std::reference_wrapper<std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()> >, std::reference_wrapper<bool> >(std::once_flag&, void (std::__future_base::_State_base::*&&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>&, bool&), std::__future_base::_State_base* const&&, std::reference_wrapper<std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()> >&&, std::reference_wrapper<bool>&&) (__once=..., __f=<unknown type in /tmp/a.out, CU 0x0, DIE 0xe32f>) at /usr/include/c++/4.8/mutex:794 | |
#8 0x0000000000401ea8 in std::__future_base::_State_base::_M_set_result(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>, bool) (this=0x60b028, __res=..., | |
__ignore_failure=false) at /usr/include/c++/4.8/future:358 | |
---Type <return> to continue, or q <return> to quit--- | |
#9 0x0000000000402c43 in std::promise<int>::set_value(int&&) (this=0x7fffffffdc10, | |
__r=<unknown type in /tmp/a.out, CU 0x0, DIE 0xeb70>) at /usr/include/c++/4.8/future:997 | |
#10 0x0000000000401943 in main () at broken_promise.cpp:12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment