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

New issue 291 by svit...@gmail.com: The Error.Propagate method doesn't work
http://code.google.com/p/gambas/issues/detail?id=291

1) Describe the problem.
Problems using the "Error.Propagate" method:
* memory leaks
* loss of information about the error

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
Version: TRUNK
Revision: r4996
Operating system: Linux
Distribution: any
Architecture: x86
GUI component: none
Desktop used: none

3) Provide a little project that reproduces the bug or the crash.
Code(see attachment):
Public Sub Main()

   Try test
   Error Error.Text; " at "; Error.Where
End

Sub test()

   raise_err()

   Catch
     Error Error.Text; " at "; Error.Where
     Error.Propagate
End

Sub raise_err()

   Error.Raise("E")

End

4) If your project needs a database, try to provide it, or part of it.
none

5) Explain clearly how to reproduce the bug or the crash.
Run the test project.
Output:
E at MMain.raise_err.20
  at
gbx3: warning: 2 allocation(s) non freed.



Attachments:
        bug-error-propagate-0.0.1.tar.gz  4.4 KB


------------------------------------------------------------------------------
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

Reply via email to