Re: Is gtkmm deleting stuff it shouldn't be deleting ??
- From: John Emmas <johne53 tiscali co uk>
- Cc: gtkmm <gtkmm-list gnome org>
- Subject: Re: Is gtkmm deleting stuff it shouldn't be deleting ??
- Date: Fri, 08 Nov 2013 08:12:26 +0000
On 07/11/2013 17:39, John Emmas wrote:
On 07/11/2013 16:08, Kjell Ahlstedt wrote:
I've used gdb to see what's happening in the functions that you
mention. The datalist in g_datalist_get_data() contains 2 entries:
-- GQuark 1007, "gtk-window-icon-info"
-- GQuark 181, "glibmm_Glib::quark_cpp_wrapper_deleted_"
You're right. In my build (now building from the tarball sources) the
number of registered quarks (in other words, seq_id) is 995. At the
point where it crashes the number of datalist entries (d->len) equals
3 and their values are:-
1st entry: 93 // Don't know how to work
2nd entry: 856 // out what these ones are
3rd entry: 3219138047 // I'm assuming this one's garbage.
The above values are the values I get when the search string is
"gtk-selection-handlers". For other search strings I get different
values.
Hi Kjell,
Better late than never but this morning, I realised I could simply print
out the relevant strings! Here's what I'm getting for those first two
entries:-
1st entry (GQuark 93) = "glibmm__Glib::quark_"
2nd entry (GQuark 856) = "gtk-window-icon-info"
Notice that my 2nd string is the same as your 1st string. I wonder if
this indicates some kind of alignment problem?
John
n
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]