[Gambas-user] sig #6 with picture

tobias tobiasboe1 at ...20...
Mon Sep 19 19:14:35 CEST 2011


hi benoît,

i got a sig #6 every time my program exited (claims about double free).
i reduced the circumstances to this one (because once commented out, it 
works well):

Private hPic As Picture

Public Sub Form_Open()
   hPic = Object.New("Image", [256, 256, Color.White, 
Image.Standard]).Picture
End

this is on a second form which has everything else commented out.
i thought, this would be an elegant way of creating a picture filled 
with white.
what is the trouble about? (gb3 rev #4067 (currently reconfiguring for 
latest revision because of a make error...?))

regards,
tobi




More information about the User mailing list