[gtkmm] strange class-problem


I started using Gtkmm2.0 some weeks ago (I've had some experiences with v. 1.2). I wrote already the complete GUI part of a small program. No problems with that. Everything compiles and runs fine. Now I want to write the none-GUI part, but I bump into a strange problem.

When I add a variable, e.g. gint number, to a class, I get a segmentation fault when I try to run the program (compilation & linking is without errors/warnings).

I don't know really how to use dbg, but when I run the program, dbg gives me this information:
Program received signal SIGSEGV, Segmentation fault.
0x4047ed8e in Glib::ObjectBase::is_derived_ () from /usr/lib/libglibmm-2.0.so.1

Can someone give me some ideas to pinpoint the problem and how to correct it?

Many thanks in advance!!!

Mail.be, WebMail and Virtual Office

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]