[Gambas-user] Issue 105 in gambas: Migration crash

gambas at ...2524... gambas at ...2524...
Tue Sep 13 08:11:05 CEST 2011


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

New issue 105 by adamn... at ...626...: Migration crash
http://code.google.com/p/gambas/issues/detail?id=105

1) When I try to import a project with the attached class in it the IDE  
crashes without showing any error.

I believe the problem is in the Editor control which cannot properly fold  
the class code.  I have tracked the crash down as far as the Reload method  
in the FEditor class.  It fails at line 2359:

If Settings["/Editor/Fold"] Then edtEditor.CollapseAll

The obvious work-around is to add a blank line between ' Gambas Class File  
and 'Export in the original source.  So I have raised this one only because  
the IDE crashes without any information.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r4124

[System]
OperatingSystem=Linux
KernelRelease=2.6.38.8-pclos1.bfs
Architecture=i686
Memory=1553368 kB
DistributionVendor=Paddys-Hill
DistributionRelease="Paddys-Hill dot Net (r0.1)"
Desktop=LXDE

[Gambas 3]
Version=2.99.4
Path=/usr/local/bin/gbx3

[Libraries]
Qt4=libQtCore.so.4.7.3
GTK+=libgtk-x11-2.0.so.0.2400.4


3) Provide a little project that reproduces the bug or the crash.
Attached class file

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

5) Explain clearly how to reproduce the bug or the crash.
Stick the attached file into a gambas2 project then try to convert it to  
gambas3


Attachments:
	temp.txt  183 bytes





More information about the User mailing list