#113 Lua script causing crashes.


1. Geany ver. 0.12
2. GTK+ win32 2.10
3. Vista Ultima (64 bit version)

The Problem
1. It appears that any time ( is placed infront of an statement (i.e. print) an error is caused that crashes the program. If there is nothing or some sort of symbol in front (such as = ) then it works fine.


for n = 1, 10 do
print (

At this point the program crashes.

Note: This only happens when I set the scripting language to Lua and works fine when there is no determined language.

2. If I try opening any files the program crashes, constantly.

3. Neither problems 1. or 2. are resolved when I reload the program.

The Solution
I reinstalled the program and it seems to be working fine. This still leave the problem of why this happened in the first place. This is a bit of a concern if it turns not to be a one time bug.
Although this works I'd really prefer not to have to reinstall constantly, its a bit of a hassle.


  • Enrico Tröger

    Enrico Tröger - 2008-01-19

    Logged In: YES
    Originator: NO

    Unfortunately, I can't reproduce the problems on Linux and also not on Windows 2000.
    After you re-installed Geany the first time, it works all well? Or did you have to re-install it multiple times?
    Also, I'm not sure why re-installing did change anything at all.
    Did you deleted your configuration directory or did you just removed the installation directory?

    Basically re-installing shouldn't change anything because the installation directory isn't changed at all after the installation. All settings are stored in the configuration directory, in Geany 0.12 it is typically in "C:\Documents and Settings/username/.geany", at least on Windows 2000 and Windows XP. Maybe this is related to Windows Vista in any way.

  • Nobody/Anonymous

    Logged In: NO

    After the first install it worked fine, no problems. The next day when I started using it again everything I mentioned before started happening.

    Reinstalling went as follow: 1. A full uninstall which includes the configuration folder you have mentioned, 2. Downloaded the 'geany-0.12_setup.exe' file again. 3. Reinstalled the program.

    If what you're saying is true then I have no idea why it was giving me any problems at all. However, I have again been experiencing the same problem I did the first time so I'm guessing reinstalling is as you pointed out not a real solution, especially daily. :(

    For reference purposes said configuration directory is stored as 'C:\Users\Username\.geany' and 'C:\Users.geany' for Vista. The 'geany.conf' file is stored in 'C:\Users\Username'
    Username being the user that installed it, of course.

    If this can't be fixed then so be it, but its a shame 'cause I really like this editor.

    Thanks for your time

  • Nobody/Anonymous

    Logged In: NO

    A slight correction: The 'geany.conf' file is stored in 'C:\Users\Username' folder AS WELL AS said configuration folders.

  • Enrico Tröger

    Enrico Tröger - 2008-01-23

    Logged In: YES
    Originator: NO

    Still no idea what's wrong but maybe it's related to the different home directory layout on Vista in general. We recently changed the default location of Geany's configuration directory to store it in the Windows way and not Unix-like. I have no idea where it will be placed on Vista but on Windows 2000/XP it is the app path(Application Data). Maybe this fixes the problem or gives at least any useful information.
    To test it, please try the new Windows build: http://files.uvena.de/geany/geany-0.13svn_r2188_setup.exe

    For more detailed information about the changes, please read: http://lists.uvena.de/geany/2008-January/002572.html

  • Colomban Wendling

    I guess it is/was a problem in the lua tag parser. However, I can't reproduce it nowadays even though the parser doesn't seem to have changed much since then.

  • Colomban Wendling

    • status: open --> pending-out-of-date
  • Colomban Wendling

    • status: pending-out-of-date --> closed-out-of-date
    • Found in: --> Unknown
    • Fixed in: --> None

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks