After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 423855 - metacity crashes with Deviant theme
metacity crashes with Deviant theme
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.18.x
Other Linux
: Normal critical
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2007-03-28 19:17 UTC by Sebastien Bacher
Modified: 2007-04-05 18:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2007-03-28 19:17:33 UTC
The bug has been opened on https://launchpad.net/bugs/97066

"Binary package hint: metacity

When trying to choose the Deviant[0] theme, metacity crashes and can not be started again until I choose another theme.

This is with metacity 2.18.0-0ubuntu1 in feisty.

[0]: http://gnome-look.org/content/show.php/DEVIANT+METACITY?content=55301
...
http://librarian.launchpad.net/6999189/_usr_bin_metacity.1000.crash
...

Thread 1 (process 6861)

  • #0 meta_theme_load
    at theme-parser.c line 4613
  • #1 meta_theme_set_current
    at theme.c line 4492
  • #2 meta_ui_set_current_theme
    at ui.c line 739
  • #3 prefs_changed_callback
    at main.c line 467
  • #4 changed_idle_handler
    at prefs.c line 259
  • #5 g_idle_dispatch
    at gmain.c line 3928
  • #6 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #7 g_main_context_iterate
    at gmain.c line 2677
  • #8 IA__g_main_loop_run
    at gmain.c line 2881
  • #9 main
    at main.c line 391
  • #10 __libc_start_main
    from /lib/tls/i686/cmov/libc.so.6
  • #11 _start
...
> Can you attach /home/miffe/.themes/Deviant/metacity-1/metacity-theme-1.xml to the bug?
...
http://librarian.launchpad.net/7036106/Deviant.tar.gz
Deviant.tar.gz

Attached whole theme."
Comment 1 Thomas Thurman 2007-04-05 18:50:31 UTC
Mea culpa. The problem here was that when a theme is invalid (as that version of Deviant is) it gets freed. However, one line I added as part of metacity-theme-2 reads a field out of the theme struct; I hadn't tested it with invalid themes. Of course it meant it crashes. Fixed.