1

gdb 给了我以下

Program received signal SIGABRT, Aborted.
0x000001efa0f31eea in kill () at <stdin>:2
2       <stdin>: No such file or directory.
        in <stdin>
(gdb) where
#0  0x000001efa0f31eea in kill () at <stdin>:2
#1  0x000001efa0f986ca in abort () at /usr/src/lib/libc/stdlib/abort.c:70
#2  0x000001efa8473e71 in __gnu_cxx::__verbose_terminate_handler () at /usr/obj/gcc-4.7.2/gcc-4.7.2/libstdc++-v3/libsupc++/vterminate.cc:50
#3  0x000001efa8471ba8 in __cxxabiv1::__terminate (handler=Unhandled dwarf expression opcode 0xf3
) at /usr/obj/gcc-4.7.2/gcc-4.7.2/libstdc++-v3/libsupc++/eh_terminate.cc:40
#4  0x000001efa8471bf3 in std::terminate () at /usr/obj/gcc-4.7.2/gcc-4.7.2/libstdc++-v3/libsupc++/eh_terminate.cc:50
Die: DW_TAG_unspecified_type (abbrev = 23, offset = 133635)
        has children: FALSE
        attributes:
                DW_AT_name (DW_FORM_strp) string: "decltype(nullptr)"
Dwarf Error: Cannot find type of die [in module /usr/local/lib/libestdc++.so.15.0]

我正在开发 openbsd 5.3 有人遇到过这个问题吗?

#include <iostream>

int main (void) {

  try {
    throw 10;

  }catch (...) {

    std::cout<<"thrown"<<std::endl;
  }
return 0;
}

这足以导致问题

4

0 回答 0