#707 [Geany 0.20] Geany crash when you try to open a file

pending
nobody
None
5
2014-04-13
2011-06-02
Anonymous
No

Geany 0.20 on Ubuntu crash when I do "Ctrl+O" once time on three.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-06-03

    I cannot reproduce this with latest build (0.21). Can you provide the steps you went through to cause the crash?

     
  • Colomban Wendling

    I cannot either reproduce the bug with latest SVN, and the open/save dialogs implementation changed a bit, so maybe it's fixed.

    Also note that GTK file chooser have (or had) a bug that made it crash when some external applications modified displayed files, which could've been cause of your crashes. The new implementations also workarounds this to some extent.

     
  • Colomban Wendling

    • status: open --> pending
     
  • John Hunter

    John Hunter - 2014-04-12

    I have a similar problem with v1.23.1 (Netrunner 1312). It would appear that if there is a '.filename.c.swp' file (left by vim) in the current directory and one then attempts to open 'filename.c' in geany, there is a good chance that geany will crash. It seems that geany will crash if `filename.c' is already open under vim or view. Rather than crash, geany should complain gracefully.

     
  • Lex Trotman

    Lex Trotman - 2014-04-12

    Can't reproduce with (almost) 1.24.

    Is the .c file on a foreign filesystem? Its possible that vi has left it locked in some way so that it can't be read.

    Can you run Geany under GDB and get a backtrace when it crashes.

     
  • John Hunter

    John Hunter - 2014-04-13

    Can't reproduce with (almost) 1.24.

    Is the .c file on a foreign filesystem? Its possible that vi has left it locked in some way so that it can't be read.

    Can you run Geany under GDB Linux version 3.11.0-19-genericand get a backtrace when it crashes.


    No, the file system is local (reiserfs). I cannot detect any evidence of locking by vim.

    Under gdb, I can open files already opened uder vim without crashing; however, I have not yet tried to edit them in geany -- I will create a duplicate identical project in another directory in the next few days, and then test it to destruction.

    The system configuration:
    Linux version 3.11.0-19-generic; CPU: Intel i5-2320 CPU @ 3.00GHz; 6GB ram;
    3TB SATA3 disc.

    [edited to fix bad markup]

     
    Last edit: Lex Trotman 2014-04-13
  • Lex Trotman

    Lex Trotman - 2014-04-13

    Under gdb, I can open files already opened uder vim without crashing; however, I have not yet tried to edit them in geany -- I will create a duplicate identical project in another directory in the next few days, and then test it to destruction.

    I'm not sure what you mean here, please run "gdb geany" and try to open files that you think cause the problem. When something causes Geany to crash back to gdb type "bt" and post the results.

     

Log in to post a comment.