[Gambas-user] Signal #11 when overriding Variant[] - Bug revived?

tobi tobiasboege01 at ...1601...
Sun Jun 24 12:40:36 CEST 2012


On Fri, 22 Jun 2012, Benoît Minisini wrote:
> Le 20/06/2012 21:38, tobi a écrit :
> > 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
> >
> 
> Please send me the project that shows that bug again.
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

The demonstration project for our website is attached. I removed the Form containing a GridView to
sort and some stuff and replaced it by a simple module file to test it with the latest revision,
problem still present.

Regards,
Tobi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GridSort2.tar
Type: application/x-tar
Size: 30720 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20120624/0375df2d/attachment.tar>


More information about the User mailing list