glibmm exceptions broken after recent upgrades on CURRENT (debug info included)
- From: Ted Faber <faber@xxxxxxx>
- Date: Thu, 31 May 2007 13:34:30 -0700
I've got a bit of code that uses glibmm (and glib) to do UTF8
formatting. It seems to have broken after the big compiler/X upgrade.
When Glib::locale_to_utf8 fails, the Glib::ConvertError exception never
seems to find its way to my handler and aborts instead. The handlers
used to be invoked.
I've attached a short example that exhibits the problem and a dump of
the stack trace from gdb. All this is a pretty recent -CURRENT and new
ports. The compilation line is:
g++ `pkg-config --cflags --libs glibmm-2.4` fail.cc
Any insight or redirection toward insight would be great. I'm happy to
provide any additional debugging information.
--
Ted Faber
http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG
(gdb) where
#0 0x4846e547 in kill () from /lib/libc.so.7
#1 0x4846e4e6 in raise () from /lib/libc.so.7
#2 0x4846d02a in abort () from /lib/libc.so.7
#3 0x4810d03a in uw_init_context_1 () from /usr/X11R6/lib/libsigc-2.0.so.0
#4 0x4810d21d in _Unwind_RaiseException ()
from /usr/X11R6/lib/libsigc-2.0.so.0
#5 0x482f9f1d in __cxa_throw () from /usr/lib/libstdc++.so.6
#6 0x480a3823 in Glib::ConvertError::throw_func ()
from /usr/X11R6/lib/libglibmm-2.4.so.1
#7 0x480b0366 in Glib::Error::throw_exception ()
from /usr/X11R6/lib/libglibmm-2.4.so.1
#8 0x480a45e4 in Glib::locale_to_utf8 ()
from /usr/X11R6/lib/libglibmm-2.4.so.1
#9 0x08048fb6 in main () at fail.cc:20
Attachment:
pgpp3JhtXr5F9.pgp
Description: PGP signature
- Follow-Ups:
- Prev by Date: Synaptic tochpad recognize
- Next by Date: Re: /usr/include errors
- Previous by thread: Synaptic tochpad recognize
- Next by thread: Re: glibmm exceptions broken after recent upgrades on CURRENT (debug info included)
- Index(es):