#774 crash on second file/open

closed
nobody
None
5
2012-11-06
2011-10-31
Anonymous
No

geany 0.20 crashes every time I try to open the second file. Opening one file works ok, but crashes immediately when pressing the file/open button to try to open a second file.

geany -v &
s:~$ Geany-INFO: Geany 0.20, en_US.UTF-8
Geany-INFO: GTK 2.24.6, GLib 2.30.0, GIO
Geany-INFO: System data dir: /usr/share/geany
Geany-INFO: User config dir: /home/xx/.config/geany
Geany-INFO: Added filetype Genie (51).
Geany-INFO: unknown : None (UTF-8)

(geany:6924): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
Geany-INFO: /home/xx/yy.cpp : C++ (UTF-8)
Geany-INFO: Loaded /usr/share/geany/c99.tags (C), 1618 tag(s).
**
Gtk:ERROR:/build/buildd/gtk+2.0-2.24.6/gtk/gtkfilechooserdefault.c:8751:gtk_file_chooser_default_initial_focus: assertion failed: (widget != NULL)

Discussion


  • Anonymous
    2011-10-31

    I should add that this is on Ubuntu 11.10 with all latest updates.
    Geany 0.20 used to work fine on this system until just 2 days ago..

     
    Last edit: Anonymous 2013-11-08
  • Nick Treleaven
    Nick Treleaven
    2011-10-31

    • summary: crash on file/open --> crash on second file/open
     
  • Nick Treleaven
    Nick Treleaven
    2011-10-31

    > Geany 0.20 used to work fine on this system until just 2 days ago..

    Sounds like a GTK issue. Try downgrading your GTK to the version before Geany broke.

     
  • Agreed with ntrel, probably a GTK problem -- unfortunately there are many in the file chooser code. You can also try the latest Geany release, 0.21, which had a rework on that part to workaround some of the problems.

     
    • status: open --> pending
     
  • Lex Trotman
    Lex Trotman
    2012-11-06

    • status: pending --> closed