Bug 12795 - Starting Stepmania from menu doesn't work
Summary: Starting Stepmania from menu doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA4-32-OK MGA4-64-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-02-16 22:23 CET by Stefan Horn
Modified: 2014-03-19 18:43 CET (History)
6 users (show)

See Also:
Source RPM: stepmania-3.9-21.mga4.src.rpm
CVE:
Status comment:


Attachments

Description Stefan Horn 2014-02-16 22:23:47 CET
Description of problem:

Starting Stepmania from menu doesn't work. There is a mistake in desktop-file:

Exec=soundwrapper /usr/games/stepmania

But it can be started from konsole with stepmania.

So the following entry is right.

Exec=/usr/games/stepmania

Version-Release number of selected component (if applicable):


How reproducible: 
Starting Stepmania from menu


[stefan@localhost ~]$ rpm -qif /usr/games/stepmania
Name        : stepmania
Version     : 3.9
Release     : 21.mga4
Architecture: x86_64
Install Date: Sa 15 Feb 2014 21:34:22 CET
Group       : Games/Arcade
Size        : 7895117
License     : MIT
Signature   : RSA/SHA1, Sa 19 Okt 2013 05:58:46 CEST, Key ID b742fa8b80420f66
Source RPM  : stepmania-3.9-21.mga4.src.rpm
Build Date  : Sa 19 Okt 2013 05:49:22 CEST
Build Host  : rabbit.mageia.org
Relocations : (not relocatable)
Packager    : umeabot <umeabot>
Vendor      : Mageia.Org
URL         : http://www.stepmania.com/wiki/Downloads
Summary     : A rythm game
Description :
StepMania is a music/rhythm game. The player presses different buttons in time
to the music and to note patterns that scroll across the screen. Features 3D
graphics, visualizations, support for gamepads/dance pads, a step recording
mode, and more!
To add songs, simply copy the content of your folder containing songs
to ~/StepMania/Songs as user, or to /usr/share/StepMania/Songs as root.

Reproducible: 

Steps to Reproduce:
Florian Hubold 2014-02-16 22:29:16 CET

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

Florian Hubold 2014-02-16 22:30:04 CET

Keywords: (none) => Triaged
CC: (none) => doktor5000
Version: 4 => Cauldron
Assignee: bugsquad => doktor5000
Whiteboard: (none) => MGA4TOO

Comment 1 Florian Hubold 2014-02-16 22:32:03 CET
Will take a look.

Status: NEW => ASSIGNED

Comment 2 Florian Hubold 2014-03-16 13:57:52 CET
stepmania-3.9-22.mga5 submitted to core/release for cauldron.

stepmania-3.9-21.1.mga4 submitted to core/updates_testing for Mageia 4.


Suggested advisory:
========================

You can test this by installing stepmania and running it via the menu entry.  Previously, that was "soundwrapper /usr/games/stepmania" and it would not run, but produce a segfault because it was called via soundwrapper. The call to soundwrapper and the Requires on soundwrapper have been removed.

========================

Updated packages in core/updates_testing:
========================
stepmania-3.9-22.mga4.i586.rpm

stepmania-3.9-22.mga4.x86_64.rpm

Source RPMs:
stepmania-3.9-22.mga4.src.rpm

Keywords: Triaged => (none)
Assignee: doktor5000 => qa-bugs

Comment 3 Florian Hubold 2014-03-16 13:59:02 CET
For completeness sake, this is what the start looks with soundwrapper:


[doktor5000@Mageia4 stepmania]$ LC_ALL=C soundwrapper /usr/games/stepmania 
StepMania 3.9
Log starting 2014-03-16 14:58:23

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(stepmania:11215): GLib-CRITICAL **: g_regex_unref: assertion 'regex != NULL' failed
Loading window: gtk
OS: Linux ver 031213
Crash backtrace component: x86 custom backtrace
Crash lookup component: dladdr
Crash demangle component: cxa_demangle
Runtime library: glibc 2.18
Threads library: NPTL 2.18
TLS is available
ALSA: Advanced Linux Sound Architecture Driver Version k3.12.13-desktop-2.mga4.
ALSA Driver: 0: HDA Intel [Intel], device 0: ALC888 Analog [ALC888 Analog], 0/1 subdevices avail
ALSA Driver: 0: HDA Intel [Intel], device 1: ALC888 Digital [ALC888 Digital], 1/1 subdevices avail
ALSA Driver: 1: HDA NVidia [NVidia], device 3: HDMI 0 [HDMI 0], 1/1 subdevices avail
ALSA Driver: 1: HDA NVidia [NVidia], device 7: HDMI 0 [HDMI 0], 1/1 subdevices avail
ALSA Driver: 1: HDA NVidia [NVidia], device 8: HDMI 0 [HDMI 0], 1/1 subdevices avail
ALSA Driver: 1: HDA NVidia [NVidia], device 9: HDMI 0 [HDMI 0], 1/1 subdevices avail
Couldn't load driver ALSA: dsnd_pcm_open(hw:0): Device or resource busy
Mixing 0.000000 ahead in 0 Mix() calls
Couldn't load driver ALSA-sw: dsnd_pcm_open(hw:0): Device or resource busy
/////////////////////////////////////////
WARNING: OSS_GETVERSION failed: Invalid argument
/////////////////////////////////////////
Sound driver: OSS
terminate called after throwing an instance of 'RageException'
  what():  write didn't: 4032 ()
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted
ptrace failed: Operation not permitted

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

Getötet
David Walser 2014-03-16 17:14:55 CET

Version: Cauldron => 4
Whiteboard: MGA4TOO => (none)

Comment 4 user7 2014-03-16 20:03:45 CET
Stefan Horn: Could you test the update candidate and see if it fixes the problem for you?

will test on MGA4, i586 shortly.

CC: (none) => wassi

Comment 5 Stefan Horn 2014-03-16 20:36:20 CET
I have activated core/updates_testing (distrib 11), but a stepmania-3.9-22.mga4.x86_64.rpm wasn't found. 
Regards, Stefan
Comment 6 user7 2014-03-16 21:00:21 CET
Testing complete Mageia 4 i586 for stepmania-3.9-21.1.mga4. I could reproduce the problem, the update fixes it. Please note that you must close any other program which outputs sound (e.g. amarok) before starting stepmania, or it will crash with a long error message ending with "Error: Couldn't find a sound driver that works". I'm not sure whether this is a bug or not, but it would certainly be a different one than the one reported in this bug report. Also, it looks like it was not introduced by this update, as I had the same error on my system before the update.

Thus I'd say this update candidate is OK on MGA4-i586.

Advisory must be fixed. The package in core/updates_testing is stepmania-3.9-21.1.mga4 (NOT 3.9-22)

Suggested advisory:
========================

Starting stepmania via the menu entry resulted in a segfault because it was called via soundwrapper. This update fixes it and removes the dependency on soundwrapper.

========================

Updated packages in core/updates_testing:
========================
stepmania-3.9-21.1.mga4.i586.rpm

stepmania-3.9-21.1.mga4.x86_64.rpm

Source RPMs:
stepmania-3.9-21.1.mga4.src.rpm

Whiteboard: (none) => MGA4-32-OK

Comment 7 Florian Hubold 2014-03-16 21:05:14 CET
(In reply to Stefan Horn from comment #5)
> I have activated core/updates_testing (distrib 11), but a
> stepmania-3.9-22.mga4.x86_64.rpm wasn't found. 
> Regards, Stefan

You may need to wait a few hours or a day for your mirror to catch up.
Comment 8 user7 2014-03-16 23:13:24 CET
Stefan Horn: As mentioned in my comment, the version in core/updates_testing for Mageia 4 is 3.9-21.1, not 3.9-22. Maybe that helps? Otherwise you'll have to wait a bit, as Florian suggested.
Comment 9 William Kenney 2014-03-17 16:08:03 CET
In VirtualBox, M4, KDE, 32-bit

Package(s) under test:
stepmania

default install of stepmania

[root@localhost wilcal]# urpmi stepmania
Package stepmania-3.9-21.mga4.x86_64 is already installed

Stepmania will not start from Menu or desktop icon

install stepmania from updates_testing

[root@localhost wilcal]# urpmi stepmania
Package stepmania-3.9-21.1.mga4.x86_64 is already installed

Stepmania now launches from Menu and desktop icon

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
VirtualBox 4.3.6-1.mga4.x86_64.rpm

CC: (none) => wilcal.int
Whiteboard: MGA4-32-OK => MGA4-32-OK MGA4-64-OK

Comment 10 William Kenney 2014-03-17 16:10:38 CET
For me this update works fine although others may
find wrinkles in this silly package. Launch issue
is solved. Testing complete for mga4 32-bit & 64-bit
Validating the update. Could someone from the sysadmin
team push this to updates. Thanks

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 11 Dave Hodgins 2014-03-18 22:02:12 CET
Advisory added to svn.

Someone from the sysadmin team please push 12795.adv to updates.

CC: (none) => davidwhodgins
Whiteboard: MGA4-32-OK MGA4-64-OK => MGA4-32-OK MGA4-64-OK advisory

Comment 12 Thomas Backlund 2014-03-19 18:43:01 CET
Update pushed:
http://advisories.mageia.org/MGAA-2014-0084.html

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


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