[Vala] Weird Gee segfaults


I'm having some weird segfaults when I try to acceed the "size"
properties of my Gee.ArrayList. GDB says :
        Program received signal SIGSEGV, Segmentation fault.
        0x00121014 in gee_collection_get_size (self=0x7478654e) at
        212             return GEE_COLLECTION_GET_INTERFACE (self)->get_size
        (gdb) bt
        #0  0x00121014 in gee_collection_get_size (self=0x7478654e) at
Note that when I create the ArrayList in my class constructor, I can
acceed the size and it properly displays 0.

Anyway, I googled for that error and got a few threads saying that it
was a problem with installed libraries, so I removed all traces of
libgee via "locate", then "yum reinstall libgee libgee-devel vala" (I'm
on Fedora 13), but I can't get rid of it.

pkg-config --libs --cflags gee-1.0 --modversion
        -pthread -I/usr/include/gee-1.0 -I/usr/include/glib-2.0
        -I/usr/lib/glib-2.0/include  -pthread -lgee -lgobject-2.0
        -lgthread-2.0 -lrt -lglib-2.0
pkg-config --cflags --libs vala-1.0 --modversion
        -pthread -I/usr/include/vala-1.0 -I/usr/include/glib-2.0
        -I/usr/lib/glib-2.0/include  -pthread -lvala -lgobject-2.0
        -lgthread-2.0 -lrt -lglib-2.0
Does anyone has an idea about that ?


− Stéphane.

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