Re: [gtkmm] strange class-problem



On Tue, 2002-11-26 at 22:21, David Jacobs wrote:
> Hello,
> 
> 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?

Have you ruled out the gcc 2.9x dynamic_cast<> bug mentioned in the
gtkmm FAQ?

-- 
Murray Cumming
murray usa net
www.murrayc.com




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