Hi Benoît, this afternoon, we discovered that with a newer revision the program I wrote to demonstrate sorting of multi-dimensioned Variant[] broke. I again get Segfault when exporting an overridden Variant[] class from my project (wasn't there a discussion about this recently?) When I developed this program, I reported a bug which results in a Segfault that was fixed in rev#4715. This seemed to be the result of
[main/gbx/gbx_class.c] --8<--------------- [...] 1345 CLASS *array_type = (CLASS *)class->array_type; [...] --8<--------------- where array_type gets 0xc (GB_T_VARIANT or something like that) and is used as a pointer without further checking when overriding the Variant[] class (other native array classes may suffer from similar problems). I don't know how you made this working for me (just tried to get back to that revision to see, if something changed in that function but found nothing). Can you remember? - the subject of the mails was "Segfault when overriding Variant[]" (1st May 2012). Can you tell me something about the state of affairs? Regards, Tobi ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user