Fwd: Re: (process:5746): GLib-GObject-CRITICAL **: gtype.c:2708: You forgot to call g_type_init() - Fedora 16



I've realized (perhaps a bit late) that Phong Cao and I continued this gtkmm-list thread without sending copies to the list. Not very nice of us! I haven't saved every message in the thread, but this email and another one that will soon follow, contain all info.

Kjell

-------- Ursprungligt meddelande --------
Ämne: Re: (process:5746): GLib-GObject-CRITICAL **: gtype.c:2708: You forgot to call g_type_init() - Fedora 16
Datum: Tue, 6 Dec 2011 09:08:00 -0500
Från: Phong Cao <phngcv gmail com>
Till: Kjell Ahlstedt <kjell ahlstedt bredband net>


Hi Kjell,

Thank you for the response. I was also thinking that it might be the static data members initialization that causes this error. The problem is I dont know any other appropriate places to initialize them... ?

On Tue, Dec 6, 2011 at 5:42 AM, Kjell Ahlstedt <kjell ahlstedt bredband net> wrote:
2011-12-05 21:02, Phong Cao skrev:
Sorry Kjell gtkmm email list does not let me send the attached file since it is 1.3MB. Here is the download link:

http://www.mediafire.com/?0d1dxx40ky9w455

On Mon, Dec 5, 2011 at 2:24 PM, Kjell Ahlstedt <kjell ahlstedt bredband net> wrote:

Attached with this email is the source code of this program. I hope you guys can download & compile it in your computer to see if it works. Just type "make" and everything will be compiled... I wonder if there are even errors in my Makefile.

Where's the attachment? I don't find any.

Kjell Ahlstedt
--
Phong V. Cao
Hi,

I've downloaded your code, and had a very quick look at it. I wonder if the problem can be with initialization of static data. E.g. near the beginning of dingo-dbmanager.cc. Such initializations are executed before main() is called.
You can see from where the critical messages are printed, if you use gdb and set a breakpoint at function g_log.
I can check myself later, if necessary, but I haven't time to do it right now.

Kjell




--
Phong V. Cao





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