My Gedit was crashing on startup and giving the following error:-

Gtk:ERROR:/build/buildd/gtk+2.0-2.24.20/gtk/gtkrecentmanager.c:2116:get_icon_fallback:
 assertion failed: (retval != NULL)
Aborted

I fixed this by following these steps

1. Open terminal
2. Run the command: $ echo 'gtk-icon-theme-name="Tango"' >> ~/.gtkrc-2.0
3. Run the command: $ sudo apt-get install tango-icon-theme
4. Close terminal
5. Create a new text file on your desktop eg: random.txt
6. Double click on random.txt

Problem solved. Now you should be able to run Gedit by double clicking
on a file or from the command line ( $ gedit random.txt ) with no
problems.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/651678

Title:
  crashes with assertion failure on startup

Status in GTK+ GUI Toolkit:
  Fix Released
Status in Inkscape: A Vector Drawing Tool:
  Fix Released
Status in OpenShot Video Editor:
  Fix Released
Status in Shutter - Screenshot Tool:
  Invalid
Status in “anjuta” package in Ubuntu:
  Confirmed
Status in “gtk+2.0” package in Ubuntu:
  Triaged
Status in “oxygen-molecule” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: anjuta

  Running Kubuntu Maverick

  $ dpkg -l | grep anjuta
  ii  anjuta                                         2:2.30.1.0-0ubuntu2        
                     A GNOME development IDE, for C/C++
  ii  anjuta-common                                  2:2.30.1.0-0ubuntu2        
                     A GNOME development IDE, for C/C++ - data files
  ii  anjuta-dev                                     2:2.30.1.0-0ubuntu2        
                     A GNOME development IDE, for C/C++ - development files

  When I run, the splash flashes for a moment, then the program exits
  with the following message

  $ anjuta &
  
Gtk:ERROR:/build/buildd/gtk+2.0-2.22.0/gtk/gtkrecentmanager.c:1942:get_icon_fallback:
 assertion failed: (retval != NULL)

  
  I attach the crash file

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/651678/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to