Unable to login after gnome-theme-manager crash

Bug #69977 reported by Garyu
32
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Critical
gtk+2.0 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-control-center

I made my own theme - a copy of the Human theme, but with the modification of using red colors rather than brown/orange. I have used this theme without problems in Dapper, the only thing modified from the Human theme is the color codes. When this theme was selected I was browsing for a different set of icons in the gnome-theme-manager.

To compare the looks of different icons, I was switching back and forth between different sets of icons. At this time, gnome-theme-manager crashed, destroying both the top and bottom panels and changing window-size to minimum with only the close (X) button showing. When I resized the window of gnome-theme-manager, it had no content.

When I used Ctrl-Alt-leftarrow/rightarrow I could switch workspace and saw that aMSN, GAIM and Evolution was still running in my other workspace, but the panels did not exist. I tried using Ctrl-Alt-Tab to switch to panels, but it was not possible.

To try and restore functionality, I pressed Ctrl-Alt-Backspace to restart the X server. GDM started fine, but when the splash shows, the system will freeze, not showing any progress.

I created a new user, and the new user can login fine, so it seems only the theme settings are somehow destroyed for my user. Unfortunately, I do not know where these settings are located, otherwise I would provide them to give a hint as to what went wrong.

Revision history for this message
Garyu (launchpad-dan-erik) wrote :

About my system:
I had an installation of Dapper, so I did a dist-upgrade to change to Edgy Eft. But to avoid dist-upgrade problems, I only saved my /home partition and did a clean install of Edgy Eft, then mounting my /home partition which was previously upgraded from Dapper to Edgy.

Hardware:
MSI K9N NEO-F (nForce 550)
Gainward GeForce 7600GT
1024 MB RAM

Revision history for this message
Garyu (launchpad-dan-erik) wrote :

After a "mv .gconf .gconf.old" I was able to log in to my user account, but all of my settings are gone... So I did a
"diff -r .gconf .gconf.old > diff.txt"
and the diff.txt file is attached here, if anyone would like to take a look at it and find the files / differences between my not working files (.gconf.old) and my default edgy working files (.gconf).

If you have a solution I would be very grateful to know about it so I can get my old settings back without going through everything again...

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Can you get a backtrace of the crash? (What the bug-buddy dialog showed you)? What I noticed in the diff is: /home/dan-erik/.themes/ubuntured.dan-erik.com/panel.png as the background colour of the panel. Can you attach the theme to the bug repot too?

Changed in control-center:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Garyu (launchpad-dan-erik) wrote :

This attachment is the theme. The bug-buddy did not appear as I could see... There were two windows visible, but they were both reduced to the size of the (X) button (close) and without content when I resized them to normal size.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Can you try to move .gconf back and change the one occurence of your theme? Can you try get a backtrace of gnome-theme-manager when trying to switch back? (http://wiki.ubuntu.com/Backtrace)

Revision history for this message
Garyu (launchpad-dan-erik) wrote :

I moved back .gconf, then:

1) edited out the occurence of my theme. tried gdm login. system halt.

2) "mv panel/toplevel panel/toplevel.old". tried gdm login. system halt.

3) "mv panel panel.old". tried gdm login. system halt.

Tried the backtrace you suggested. Gtk-Warning since I am running from Ctrl-Alt-F1 terminal so it cannot open display (x server I reckon), program termination. (I am not used to working in a non-GUI environment, but I am trying my best to provide info).

Given the above outcome, I would not think that it is the panel directory or any of the contents therein (such as the reference to my theme) which is at fault.

Revision history for this message
Garyu (launchpad-dan-erik) wrote :

Aaaah, I finally figured it out by moving/renaming directories one-by-one I found my way to ~/.gconf/desktop/gnome/interface/ where there was a file using the icons I had chosen last. Contents of this file:
<?xml version="1.0"?>
<gconf>
        <entry name="icon_theme" mtime="1162583279" type="string">
                <stringvalue>Chameleon-Anthracite-Regular-0.5</stringvalue>
        </entry>
        <entry name="gtk_theme" mtime="1162507003" type="string">
                <stringvalue>ubuntured.dan-erik.com</stringvalue>
        </entry>
</gconf>

As it turns out.... Chameleon-Anthracite-Regular-0.5 is a mouse cursor theme located in the .icons folder, it is not an icon theme. I remember having a lot of difficulties finding a way to change mouse cursor themes in Dapper, but I don't think they turned up in the theme manager as icon sets.

Now it is very easy to recreate the crash: Just choose the mouse cursor theme as an icon theme and everything will go down. I am attaching a tar.gz of the theme that caused me all of these problems. Just extract it in the ~/.icons/ folder....

Revision history for this message
Sebastien Bacher (seb128) wrote :

Using "Low" importance because it's an user error which is a corner case. I've forwarded it upstream to GTK: http://bugzilla.gnome.org/show_bug.cgi?id=381236

Changed in control-center:
importance: Medium → Low
status: Needs Info → Confirmed
Changed in gtk:
status: Unknown → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed upstream

Changed in gtk+2.0:
status: Confirmed → Fix Committed
Changed in gtk:
status: Unconfirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :
Download full text (9.3 KiB)

Fixed with this upload:

 gtk+2.0 (2.10.7-0ubuntu1) feisty; urgency=low
 .
   * New upstream version:
     * GtkNotebook
       - Tab reordering is a less intrusive
       - Rendering fixes on win32
     * GtkTreeView
       - Column resizing works correctly in right-to-left languages
       - Many scrolling bugs have been fixed
     * GtkTextView:
       - Improved scrolling during DND.
     * GtkRecentManager is more robust against bad URIs
     * Print support:
       - The cups backend works with 'BrowseShortNames Off'
         in the cups configuration
       - Multi-valued options are properly passed to cups
       - Fix build with cups 1.3
       - A few IPP compliance issues have been fixed
       - Make the lpr backend work on BSD
     * Input methods:
       - GtkEntryCompletion works with input methods
       - The Thai input method has been replace by a functional
         Thai and Lao input method based on libthai
     * Accessibility support:
       - GtkMessageDialog sets accessible name role explicitly
     * Theme support:
       - The semantics of the gtk-color-scheme setting has been
         slightly changed. Values from rc files are still merged
         together, but the X setting just overrides the prior table.
     * GdkPixbuf:
       - gdk_pixbuf_loader_write() now closes the loader when
         returning FALSE, as documented
       - The BMP loader supports more BMP variants, including
         transparency and 10-bit channels.
     * Bugs fixed:
       - 122688 modal dialog popup + drag in progress = mouse freeze
         (Ubuntu: #58575)
       - 315732 gnome-session crash on login
       - 335622 Click Description field causes Evolution to crash.
       - 357050 Crash replacing \n\n with \n or undoing after paste
       - 359537 printing custom page
       - 373466 crash in Text Editor:
       - 388041 crash in Open Folder: nada
       - 390873 crash in Text Editor: I had just opened it up ...
       - 367529 gtk_combo_box_set_model(combo, NULL) generates warning wh...
       - 381499 xdgmime requires getc_unlocked, darwin 6 lacks
       - 349119 GtkUIManager crashes on wrong action names in an XML file
       - 363437 gnome-panel crash to gtkrecentmanager code (Ubuntu: #66189)
       - 366782 GtkTreeView "expand_all" can crash if a node's children a...
       - 374378 Crash as GTK tries to blink cursor in defocused spinbutto...
       - 381236 apps crash when using a mouse cursor theme as icon theme
         (Ubuntu: #69977)
       - 320465 gtk_window_parse_geometry is almost completely broken
       - 355350 Page Setup, Range and Copy information ignored
       - 387170 Fairly large leak in gtk+
       - 390159 printing with BSD lpr does not work properly
       - 64998 GtkEntry - gtk_entry_set_text emits "changed" twice
       - 92387 unfriendly drag-n-drop in textview - scrolls too fast
         (Ubuntu: #58345)
       - 172188 io-bmp.c should sanity check the size given by the OffBit...
       - 304482 GtkComboBoxEntry editable entry should be centered vertic...
       - 315440 Problem with gtkpaned inside gtknotebook(mouse wheel over...
       ...

Read more...

Changed in gtk+2.0:
status: Fix Committed → Fix Released
Revision history for this message
Cody A.W. Somerville (cody-somerville) wrote : Re: [Bug 69977] Re: Unable to login after gnome-theme-manager crash

Sebastien: Are there any plans for an SRU?

Revision history for this message
Sebastien Bacher (seb128) wrote :

No, SRU require work, on that bug is happening only when somebody installed a buggus theme, which is not a standard situation

Revision history for this message
Fredrik (fredrk) wrote :

I have the same problem. Can't login right now.

I did also save the /home partiion when upgrading.

THAT uncommon isn't that so this should be fixed.

Revision history for this message
Fredrik (fredrk) wrote :

And for my, moving away .gconf does not the solve the issue.

HELP!

Revision history for this message
Olivier Fourdan (fourdan) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fredrik Sjögren wrote:
> I have the same problem. Can't login right now.
>
> I did also save the /home partiion when upgrading.
>
> THAT uncommon isn't that so this should be fixed.
>

Please, do not mail me directly. For any question about Xfce, use the
mailing lists.

Regards,
Olivier.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGR4yJFHBtvh5LRUARAjOxAJ9GrNl6ETISIu7MliRuNos8unf/bgCfWcP6
B4UIlaSTiH1vRw4InlQL8NY=
=q/q6
-----END PGP SIGNATURE-----

Revision history for this message
Olivier Fourdan (fourdan) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Olivier Fourdan wrote:
> Fredrik Sjögren wrote:
>> I have the same problem. Can't login right now.
>
>> I did also save the /home partiion when upgrading.
>
>> THAT uncommon isn't that so this should be fixed.

Woops, I misunderstood, all my apologies, did not see it was from
launchpad :(
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGR405FHBtvh5LRUARAnWsAKD+1QAPck8NwLTdQZM2lAWxxfS+ygCfQmd1
aNKXjOGuLXdVkFtp51/nRKo=
=+jJZ
-----END PGP SIGNATURE-----

Revision history for this message
Caitlyn (caitlyn) wrote :

Hi, Olivier,

I didn't e-mail you. I'm not Fredrik. I'm not at all sure how my e-mail address got mixed up in all of this. I am having no problems at all with Xfce right now.

I understand your issue but you've complained to the wrong person.

-Caitlyn

> -------- Original Message --------
> Subject: Re: [Bug 69977] Re: Unable to login after gnome-theme-manager
> crash
> From: Olivier Fourdan <email address hidden>
> Date: Sun, May 13, 2007 3:09 pm
> To: <email address hidden>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Fredrik Sj�gren wrote:
> > I have the same problem. Can't login right now.
> >
> > I did also save the /home partiion when upgrading.
> >
> > THAT uncommon isn't that so this should be fixed.
> >
>
> Please, do not mail me directly. For any question about Xfce, use the
> mailing lists.
>
> Regards,
> Olivier.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGR4yJFHBtvh5LRUARAjOxAJ9GrNl6ETISIu7MliRuNos8unf/bgCfWcP6
> B4UIlaSTiH1vRw4InlQL8NY=
> =q/q6
> -----END PGP SIGNATURE-----
>
> --
> Unable to login after gnome-theme-manager crash
> https://bugs.launchpad.net/bugs/69977
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.

Changed in gtk:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.