Hi Bill!
Do you have g_key_file_get_string_list: assertion `group_name != NULL' failed 
too?
If not, I would probably consider it a different bug, that should be reported 
in a new bug report.
In that case, you may want to explore in GUI /var/crash, and 'double-'click the 
crash file to be guided in reporting bug.

Well, while trying to learn what is update-desktop-database, I extracted code I 
believe to be the culprit (seems the same in Gutsy and Hardy):
static void
process_desktop_file (const char  *desktop_file, 
                      const char  *name,
                      GError     **error)
{
  GError *load_error; 
  GKeyFile *keyfile;
  char **mime_types; 
  int i;

  keyfile = g_key_file_new ();

  load_error = NULL;
  g_key_file_load_from_file (keyfile, desktop_file,
                             G_KEY_FILE_NONE, &load_error);

  if (load_error != NULL) 
    {
      g_propagate_error (error, load_error);
      return;
    }

  mime_types = g_key_file_get_string_list (keyfile,
                                           g_key_file_get_start_group (keyfile),
                                           "MimeType", NULL, &load_error);

  g_key_file_free (keyfile);

As I have no clue at all what that code does, I'll need a bit of time to
undestand it. ;-)

That said, when I do:
sudo apt-get remove yelp
on my Hardy system, I get no error at all.

-- 
update-desktop-database segfault
https://bugs.launchpad.net/bugs/59392
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to