Odd. The protobuf code does not use C++ exceptions at all.
To make a debug build, just use CXXFLAGS=-g2 or something. (If you don't
specify CXXFLAGS manually, protobuf's configure script adds -DNDEBUG, on the
assumption that the majority of users don't want debug builds.)
On Wed, Jun 9, 2010 at 11:28 AM, Monty Taylor <mord...@inaugust.com> wrote:
> I'm getting a weird error with an exception thrown on freebsd not being
> catchable by a catch (...) block...
> But first - how do I do a debug build of protobuf? I was going to first
> try building a debug build to see if helped me track down what was going
> More directly though - any thoughts on what's going on here:
> terminate called after throwing an instance of 'char const*'
> Program received signal SIGABRT, Aborted.
> 0x0000000801a60a9c in thr_kill () from /lib/libc.so.7
> (gdb) bt
> #0 0x0000000801a60a9c in thr_kill () from /lib/libc.so.7
> #1 0x0000000801aeff8b in abort () from /lib/libc.so.7
> #2 0x000000080158b1c5 in __gnu_cxx::__verbose_terminate_handler ()
> #3 0x0000000008015887 in ?? ()
> #4 0x0000000000000000 in ?? ()
> #5 0x0000000000000206 in ?? ()
> #6 0x5000000008011fa3 in ?? ()
> #7 0x00007ffffe1df850 in ?? ()
> #8 0x00007ffffe1dfe10 in ?? ()
> #9 0x00007ffffe1df820 in ?? ()
> #10 0x0000000801204363 in
> google::protobuf::MessageLite::ParseFromCodedStream (
> this=0xfffe1df850000000, input=0x7ffffe1df8500000)
> at google/protobuf/message_lite.cc:123
> #11 0x0000000801204676 in
> (this=0x7ffffe1dfe10, input=Variable "input" is not available.
> ) at google/protobuf/message_lite.cc:170
> #12 0x000000080125e631 in google::protobuf::Message::ParseFromIstream (
> this=0x7ffffe1dfe10, input=0x7ffffe1df940)
> at google/protobuf/message.cc:130
> #13 0x00000000005d575a in drizzled::plugin::StorageEngine::readTableFile (
> pa...@0xf85000000008011f, table_message=Variable "table_message" is
> not available.
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at