Crash in Glib::Object::~Object()
- From: Jens Georg <mail jensge org>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Crash in Glib::Object::~Object()
- Date: Sat, 09 Aug 2008 22:04:33 +0200
Dear List,
I'm on Windows using a self-compiled gtkmm with MSVC 2008.
When defining derivatives from Glib::Object, I experience a crash upon
destruction, even for simple cases as:
class Foo : public Glib::Object
{
public:
Foo() :
Glib::ObjectBase(typeid(Foo)),
Glib::Object()
{}
virtual ~Foo() {};
};
int main(int argc, char* argv[])
{
Gtk::Main kit(argc, argv);
Foo *f = new Foo();
delete f;
}
According to the MSVC debugger, the Glib::ObjectBase pointer seems
bogus. Has anyone experienced such behaviour before? The sample programs
I tried seemd to work fine...
Regards, Jens.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]