[Gambas-user] Issue 396 in gambas: Gambas crashes when having a module named f

gambas at ...2524... gambas at ...2524...
Sun Jan 27 21:30:42 CET 2013


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

New issue 396 by cplopez at ...626...: Gambas crashes when having a module  
named f
http://code.google.com/p/gambas/issues/detail?id=396

1) Describe the problem.

When there is a module whose name is f, the code-completion feature of  
gambas crashes the program when looking for keywords started with f.  
Displaying the list of functions inside the module has the same effect.

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

[System]
OperatingSystem=Linux
Kernel=2.6.35-32-generic
Architecture=i686
Memory=2051224 kB
DistributionVendor=Ubuntu
DistributionRelease="Ubuntu 10.10"
Desktop=Gnome

[Gambas 2]
Version=2.21.0
Path=/usr/bin/gbx2

[Gambas 3]
Version=3.3.4
Path=/usr/bin/gbx3

[Libraries]
Qt4=libQtCore.so.4.7.0
GTK+=libgtk-x11-2.0.so.0.2200.0



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

*Start a new project
*Add a module. Name it "f"

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

5) Explain clearly how to reproduce the bug or the crash.

*Anywhere on the code (even outside the code of the module), try to type:
    dim a as float

**The same behavior will be reproduced if simply displaying the list of  
procedures inside the f module (F6, or by mouse click).

In either case, Gambas will crash and say:

--------------
This application has raised an unexpected error and must abort.

[13] Null object.
FEditor.FillProcCombo.2809
--------------

Hiding the completion list (with Esc, for example) before typing the f,  
fixes the problem, but no function, variable or method from f will be  
displayed.





More information about the User mailing list