Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 30 by kevinfis...@eightvirtues.com: someimage.Draw in imlib  
component raises signal 11 upon second execution
http://code.google.com/p/gambas/issues/detail?id=30

The capitalized line in the following code causes a signal 11 the second  
time it is executed (project attached):

Public Sub Form_Open()

   Dim workspace As Image = New Image(512, 512, Color.RGB(0, 0, 0, 0), 0)
   Dim image1 As Image = Image.Load("test1.png")
   Dim image2 As Image = Image.Load("test2.png")
   Dim t As Float = Timer
   Dim frames As Long
   Dim width As Long
   Dim height As Long

   Do
     Draw.Begin(DrawingArea)
       WORKSPACE.DRAW(IMAGE1, 0, 0)
       workspace.Draw(image2, 0, 0)
       Draw.Image(workspace, 0, 0)
       frames = frames + 1
     Draw.End
     Wait
   Loop Until Timer - t >= 15

   Print Fix(frames / 15) & " frames per second."

End

Version: gb3/TRUNK
Operating system: Ubuntu 10.10 ia64
GUI component: GTK+
Desktop used: Gnome


Attachments:
        gb3_fps_calculator.tar.bz2  579 KB


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to