Bug 10468 - Stepmania crashes on start with oxigen-gtk theme
Summary: Stepmania crashes on start with oxigen-gtk theme
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: José Jorge
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2013-06-09 17:55 CEST by Luca Olivetti
Modified: 2015-03-31 16:05 CEST (History)
3 users (show)

See Also:
Source RPM: stepmania-3.9-19.mga3.src.rpm
CVE:
Status comment:


Attachments
patch to oxygen-gtk2 to prevent crash due to broken regexp support (536 bytes, patch)
2014-01-07 18:02 CET, Hugo Pereira Da Costa
Details | Diff

Description Luca Olivetti 2013-06-09 17:55:14 CEST
stepmania crashes on start with these messages on the console:

$ stepmania 
StepMania 3.9
Log starting 2013-06-09 17:58:05

(stepmania:4486): GLib-CRITICAL **: PCRE library is compiled without UTF8 support

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_match_info_get_match_count: assertion `match_info' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_match_info_get_match_count: assertion `match_info' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_match_info_get_match_count: assertion `match_info' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_match_info_get_match_count: assertion `match_info' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:4486): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

StepMania has crashed.  Debug information has been output to

    /tmp/crashinfo.txt

Please report a bug at:

    http://sourceforge.net/tracker/?func=add&group_id=37892&atid=421366

Killed


The content of /tmp/crashinfo.txt (even with all debug packages installed) is useless, however using gdb I saw that the crash was in reading the theme.

Removing the oxigen-gtk rpm I could start stepmania, but that makes other gtk applications ugly.




Reproducible: 

Steps to Reproduce:
Luca Olivetti 2013-06-09 17:57:30 CEST

Source RPM: st => stepmania-3.9-19.mga3.src.rpm

Comment 1 Luca Olivetti 2013-06-10 00:39:38 CEST
Here's the backtrace:

#0  do_lookup_x (new_hash=new_hash@entry=2751586088, old_hash=old_hash@entry=0x7fffffffc770, result=result@entry=0x7fffffffc780, 
    scope=<optimized out>, i=0, flags=flags@entry=5, skip=skip@entry=0x0, undef_map=undef_map@entry=0xf8d820) at dl-lookup.c:98
#1  0x00007ffff7de733b in _dl_lookup_symbol_x (
    undef_name=0x7fffea5996e6 "_ZN6Oxygen10ColorUtils6EffectC1ENS_7Palette5GroupERKNS_9OptionMapE", undef_map=0xf8d820, 
    ref=ref@entry=0x7fffffffc848, symbol_scope=0xf8db78, version=0x0, type_class=type_class@entry=1, flags=5, 
    skip_map=skip_map@entry=0x0) at dl-lookup.c:739
#2  0x00007ffff7debb14 in _dl_fixup (l=<optimized out>, reloc_arg=<optimized out>) at ../elf/dl-runtime.c:113
#3  0x00007ffff7df1a85 in _dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:45
#4  0x00007fffea6239e1 in Oxygen::QtSettings::loadKdePalette (this=this@entry=0xf924d8, forced=forced@entry=false)
    at /usr/src/debug/oxygen-gtk2-1.3.2.1/src/oxygenqtsettings.cpp:609
#5  0x00007fffea63025c in Oxygen::QtSettings::initialize (this=0xf924d8, flags=<optimized out>)
    at /usr/src/debug/oxygen-gtk2-1.3.2.1/src/oxygenqtsettings.cpp:186
#6  0x00007fffea6418b5 in Oxygen::Style::initialize (this=0xf924c0, flags=191)
    at /usr/src/debug/oxygen-gtk2-1.3.2.1/src/oxygenstyle.cpp:66
#7  0x00007ffff0c8bb46 in gtk_theme_engine_load (module=0xf86700) at gtkthemes.c:104
#8  0x00007ffff05c8281 in g_type_module_use (module=module@entry=0xf86700) at gtypemodule.c:256
#9  0x00007ffff0c8bc55 in IA__gtk_theme_engine_get (name=0xf88ff0 "oxygen-gtk") at gtkthemes.c:181
#10 0x00007ffff0c145bb in gtk_rc_parse_engine (rc_style=<synthetic pointer>, scanner=0xf89d70, context=<optimized out>)
    at gtkrc.c:3676
#11 gtk_rc_parse_style (scanner=0xf89d70, context=0xf86030) at gtkrc.c:3158
#12 gtk_rc_parse_statement (scanner=0xf89d70, context=0xf86030) at gtkrc.c:2917
#13 gtk_rc_parse_any (context=context@entry=0xf86030, 
    input_name=input_name@entry=0xf89cf0 "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc", input_fd=input_fd@entry=13, 
    input_string=input_string@entry=0x0) at gtkrc.c:2266
#14 0x00007ffff0c15325 in gtk_rc_context_parse_one_file (context=0xf86030, context@entry=0x51b4e0e3, 
    filename=filename@entry=0xf89cf0 "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc", priority=priority@entry=10, 
    reload=reload@entry=0) at gtkrc.c:1024
#15 0x00007ffff0c15403 in gtk_rc_context_parse_file (context=0x51b4e0e3, context@entry=0xf86030, 
    filename=filename@entry=0xf89cf0 "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc", priority=priority@entry=10, 
    reload=reload@entry=0) at gtkrc.c:1090
#16 0x00007ffff0c156b8 in gtk_rc_parse_named (context=0xf86030, name=0xf88b30 "oxygen-gtk", type=<optimized out>) at gtkrc.c:838
#17 0x00007ffff0c15c08 in IA__gtk_rc_reparse_all_for_settings (settings=settings@entry=0xf87400, force_load=force_load@entry=1)
    at gtkrc.c:1824
#18 0x00007ffff0c32af5 in IA__gtk_settings_get_for_screen (screen=0xf7a800) at gtksettings.c:1091
#19 0x00007ffff0c32b4a in IA__gtk_settings_get_default () at gtksettings.c:1119
#20 0x00007fffeb0ffcb6 in connect_settings () at canberra-gtk-module.c:932
#21 0x00007fffeb0fff98 in connect_settings () at canberra-gtk-module.c:929
#22 gtk_module_init (argc=<optimized out>, argv=<optimized out>) at canberra-gtk-module.c:961
#23 0x00007ffff0be0bb1 in default_display_notify_cb (display_manager=<optimized out>) at gtkmodules.c:442
#24 default_display_notify_cb (display_manager=<optimized out>) at gtkmodules.c:422
#25 0x00007ffff05a4c30 in g_closure_invoke (closure=0xf54910, return_value=0x0, n_param_values=2, param_values=0x7fffffffd130, 
    invocation_hint=0x7fffffffd0d0) at gclosure.c:777
#26 0x00007ffff05b6040 in signal_emit_unlocked_R (node=node@entry=0xf60b60, detail=detail@entry=61, 
    instance=instance@entry=0xf5fc40, emission_return=emission_return@entry=0x0, 
    instance_and_params=instance_and_params@entry=0x7fffffffd130) at gsignal.c:3551
#27 0x00007ffff05bdfac in g_signal_emit_valist (instance=0xf5fc40, signal_id=<optimized out>, detail=61, 
    var_args=var_args@entry=0x7fffffffd388) at gsignal.c:3300
#28 0x00007ffff05be142 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at gsignal.c:3356
#29 0x00007ffff05a95d5 in g_object_dispatch_properties_changed (object=0xf5fc40, n_pspecs=2751586088, pspecs=0x7fffffffc770)
    at gobject.c:1042
#30 0x00007ffff05aaebb in g_object_notify_by_spec_internal (pspec=0xf62c00, object=0xf5fc40) at gobject.c:1136
#31 g_object_notify (object=0xf5fc40, property_name=property_name@entry=0x7ffff085991c "default-display") at gobject.c:1178
#32 0x00007ffff0804793 in IA__gdk_display_manager_set_default_display (display_manager=<optimized out>, 
    display=display@entry=0xf73020) at gdkdisplaymanager.c:242
#33 0x00007ffff08016b5 in IA__gdk_display_open_default_libgtk_only () at gdk.c:335
#34 0x00007ffff0bc6ed4 in IA__gtk_init_check (argc=<optimized out>, argv=<optimized out>) at gtkmain.c:995
#35 0x00007ffff10c4189 in Init (argc=0xd1d338 <g_argc>, argv=0xd1d330 <g_argv>)
    at arch/LoadingWindow/LoadingWindow_GtkModule.cpp:17
#36 0x000000000073a23c in LoadingWindow_Gtk::LoadingWindow_Gtk (this=0xef8730) at arch/LoadingWindow/LoadingWindow_Gtk.cpp:41
#37 0x0000000000758f04 in MakeLoadingWindow () at arch/arch.cpp:38
#38 0x0000000000735dd1 in main (argc=<optimized out>, argv=<optimized out>) at StepMania.cpp:1014
Comment 2 StepBug Commenter 2013-09-22 01:18:22 CEST
I'm running Kubuntu 13.04 with the oxygen theme, and this bug also affects stepmania 5 (beta 2a). 

As a workaround, I "configure --disable-gtk2" in the source directory and recomiled. The resulting installation does work.

CC: (none) => stepbug

Manuel Hiebel 2013-09-22 01:32:37 CEST

Keywords: (none) => Triaged
Assignee: bugsquad => lists.jjorge

Comment 3 José Jorge 2013-09-22 21:59:16 CEST
> As a workaround, I "configure --disable-gtk2"

Do you think we should change our default build? I think oxygen-gtk is not default installed?

Status: NEW => ASSIGNED

Comment 4 Hugo Pereira Da Costa 2014-01-07 18:02:09 CET
Created attachment 4737 [details]
patch to oxygen-gtk2 to prevent crash due to broken regexp support

The root of the problem is, I think, 
"(stepmania:4486): GLib-CRITICAL **: PCRE library is compiled without UTF8 support"

which in turn breaks regular expressions in glib.
Now, the attached patch, applied to oxygen-gtk2 (the gtk2 version) fixes the issue here. (just proper initialization of gmatchinfo to 0x0)

The patch will be included in the next release (in a week or so) of oxygen-gtk2: oxygen-gtk2-1.4.2


Hugo

CC: (none) => hugo.pereira

Comment 5 Florian Hubold 2014-02-16 21:03:40 CET
Guys, can you please try to start stepmania via /usr/games/stepmania ?
For others it crashes due to the use of soundwrapper (in the .desktop file)

CC: (none) => doktor5000

Florian Hubold 2014-02-16 22:29:16 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=12795

Comment 6 Florian Hubold 2014-03-16 13:32:37 CET
(In reply to Hugo Pereira Da Costa from comment #4)
> Created attachment 4737 [details]
> patch to oxygen-gtk2 to prevent crash due to broken regexp support
> 
> The patch will be included in the next release (in a week or so) of
> oxygen-gtk2: oxygen-gtk2-1.4.2

As nobody provided negative feedback, closing this bug.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 7 Luca Olivetti 2014-03-16 14:26:19 CET
Nobody provided positive feedback either:



$ sudo urpmi --auto-update --auto-select
medium "Core Release" is up-to-date
medium "Core Release Debug" is up-to-date
medium "Core Updates" is up-to-date
medium "Core Updates Debug" is up-to-date
medium "Nonfree Release" is up-to-date
medium "Nonfree Updates" is up-to-date
medium "Tainted Release" is up-to-date
medium "Tainted Updates" is up-to-date
medium "Core 32bit Release" is up-to-date
medium "Core 32bit Updates" is up-to-date
medium "Nonfree 32bit Release" is up-to-date
medium "Nonfree 32bit Updates" is up-to-date
medium "Tainted 32bit Release" is up-to-date
medium "Tainted 32bit Updates" is up-to-date
medium "google-talkplugin" is up-to-date
Packages are up to date

$ rpm -q oxygen-gtk stepmania
oxygen-gtk-1.3.2.1-1.mga3
stepmania-3.9-19.mga3

$ stepmania
StepMania 3.9
Log starting 2014-03-16 15:25:47

(stepmania:18272): GLib-CRITICAL **: PCRE library is compiled without UTF8 support

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_match_info_get_match_count: assertion `match_info' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_match_info_get_match_count: assertion `match_info' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_match_info_get_match_count: assertion `match_info' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_match_info_get_match_count: assertion `match_info' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed

(stepmania:18272): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed

StepMania has crashed.  Debug information has been output to

    /tmp/crashinfo.txt

Please report a bug at:

    http://sourceforge.net/tracker/?func=add&group_id=37892&atid=421366

Killed

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 8 Hugo Pereira Da Costa 2014-03-16 14:44:58 CET
can't reproduce.
> oxygen-gtk-1.3.2.1-1.mga3
That is too old

Crash is fixed with oxygen-gtk-1.4.2 at least, which is what you have with mageia4
Is this the version you are running ? 
If not, there is no surprise that the crash is not fixed.
(and bug should be re-closed).
Comment 9 Luca Olivetti 2014-03-16 14:58:15 CET
Yes, the bug has been reported on mageia 3 (it's in the bug report) and it is still not fixed there.
https://www.mageia.org/en/support/
says that mageia 3 is supported until November 19th, 2014.
Of course you can wait until then and close the bug, but that would be cheating ;-)
Comment 10 Marja Van Waes 2015-03-31 16:05:27 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: REOPENED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.