Re: [Vala] Weird Gee segfaults
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Stéphane Maniaci <stephane maniaci gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Weird Gee segfaults
- Date: Sat, 07 Aug 2010 10:25:02 +0100
Hi,
في ج، 06-08-2010 عند 13:13 -0500 ، كتب Stéphane Maniaci:
Hi,
I'm having some weird segfaults when I try to acceed the "size"
properties of my Gee.ArrayList. GDB says :
The only reason I know for a vala program to segfault (other than buggy
bindings, but this isn't the case here) is calling a virtual method (or
property) of an invalid (usually null) reference.
Program received signal SIGSEGV, Segmentation fault.
0x00121014 in gee_collection_get_size (self=0x7478654e) at
collection.c:212
212 return GEE_COLLECTION_GET_INTERFACE (self)->get_size
(self);
(gdb) bt
#0 0x00121014 in gee_collection_get_size (self=0x7478654e) at
collection.c:212
This seems really weird since self isn't null, but it has probably been
freed (shouldn't happen if you don't do weird things). It's probably a
bug, do you have a little program to reproduce it?
Regards,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]