天天看點

__cxa_call_unexpected原因

coredump的調用棧:

#0  0xf76f5440 in __kernel_vsyscall ()

#1  0xf73c4657 in raise () from /lib/libc.so.6

#2  0xf73c5e93 in abort () from /lib/libc.so.6

#3  0xf75fe78d in __gnu_cxx::__verbose_terminate_handler() () from /lib/libstdc++.so.6

#4  0xf75fc263 in ?? () from /lib/libstdc++.so.6

#5  0xf75fc29f in std::terminate() () from /lib/libstdc++.so.6

#6  0xf75fc2b3 in ?? () from /lib/libstdc++.so.6

#7  0xf75fbdc9 in __cxa_call_unexpected () from /lib/libstdc++.so.6

#8  0x085d8cbe in hbase::thrift2::CHBaseClient::check_and_put (this=0xede004f8, table_name="A:B", row_key="2883054611_1201423701201702062600010410", family_name="cf1", 

Python Exception list index out of range: 

    column_name="pid", column_value="", row=std::map with 5 elements, check_flag=apache::hadoop::hbase::thrift2::TDurability::FSYNC_WAL)

    at /data/src/hbase_client.cpp:1178

原因抛出了聲明之外的異常,比如:

void f() throw (A);

void f() throw (A)

{

    ......

    throw B();

}