Bug 6720 - Openmortal does not find libperl.so
Summary: Openmortal does not find libperl.so
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: José Jorge
URL: MGA3-64-OK
Whiteboard: MGA3-64-OK MGA3-32-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-07-08 10:36 CEST by Julien Gouesse
Modified: 2014-02-05 16:46 CET (History)
9 users (show)

See Also:
Source RPM: openmortal-0.7.1-7.mga3
CVE:
Status comment:


Attachments
cpuinfo.txt (1.36 KB, text/plain)
2014-01-23 12:43 CET, claire robinson
Details

Description Julien Gouesse 2012-07-08 10:36:35 CEST
Hi

When I run Openmortal, I get this error message:
openmortal: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory

A symbolic link for Perl is missing. Doing this as a super user solves the problem:
ln -s /usr/lib/perl5/5.14.2/i386-linux-thread-multi/CORE/libperl.so /usr/lib

In my humble opinion, it should be done somewhere else, not in the pre-install script of Openmortal RPM.

This is an old known problem:
http://forums.fedoraforum.org/archive/index.php/t-141030.html
Julien Gouesse 2012-07-08 10:47:42 CEST

CC: (none) => gouessej

Olivier Delaune 2012-07-08 17:02:18 CEST

CC: (none) => olivier.delaune
Source RPM: (none) => openmortal-0.7.1-5.mga2

Manuel Hiebel 2012-07-09 19:14:50 CEST

Assignee: bugsquad => lists.jjorge

José Jorge 2012-07-11 08:34:08 CEST

Status: NEW => ASSIGNED

Comment 1 José Jorge 2012-07-11 08:40:47 CEST
I have uploaded a updated package for Mageia 2.

You can test this by lauching openmortal.

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

Updated openmortal packages fix crash at startup.
========================

Updated packages in core/updates_testing:
========================
openmortal-0.7.1-5.1.mga2

Source RPM: 
openmortal-0.7.1-5.1.mga2.src.rpm

Assignee: lists.jjorge => qa-bugs

Comment 2 Julien Gouesse 2012-07-11 10:30:12 CEST
Thanks. I will give it a try in about 9 hours when I'm back home.
Comment 3 Olivier Delaune 2012-07-11 15:08:08 CEST
Testing on Mageia 2 64-bits. The new package fixes the startup problem. It seems to work fine now.
Comment 4 Julien Gouesse 2012-07-11 19:43:54 CEST
It works fine now. José, please explain how you fix such a bug in the right way so that I will be able to provide a patch or something better the next time.

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

Comment 5 Manuel Hiebel 2012-07-11 19:49:18 CEST
reopening for the QA
julien: http://svnweb.mageia.org/packages/updates/2/openmortal/current/SPECS/openmortal.spec?r1=241635&r2=269383
so only a rebuild (seems it was missing from the perl update)

Status: RESOLVED => REOPENED
Hardware: i586 => All
Resolution: FIXED => (none)
Whiteboard: (none) => mga1-32-OK,

Comment 6 Manuel Hiebel 2012-07-11 19:54:53 CEST
oh and olivier tested too, so we can validated it :)

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

Updated openmortal packages fix crash at startup.
========================

Updated packages in core/updates_testing:
========================
openmortal-0.7.1-5.1.mga2

Source RPM: 
openmortal-0.7.1-5.1.mga2.src.rpm

Could sysadmin please push from FIXME core/updates_testing to core/updates

Thankyou!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: mga1-32-OK, => mga2-32-OK, mga2-64-OK,

Comment 7 Thomas Backlund 2012-07-14 02:15:57 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0124

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

Comment 8 Martin Volf 2014-01-19 10:41:20 CET
Hi,

same issue in MGA3: openmortal-0.7.1-7.mga3, perl-base-5.16.3-1.mga3.

In MGA4 beta2 (cauldron) it is ok...

Please, fix it, thank you...

Status: RESOLVED => REOPENED
CC: (none) => chipo
Version: 2 => 3
Resolution: FIXED => (none)

Rémi Verschelde 2014-01-19 10:56:56 CET

Keywords: validated_update => (none)
Assignee: qa-bugs => lists.jjorge
Source RPM: openmortal-0.7.1-5.mga2 => openmortal-0.7.1-7.mga3
Whiteboard: mga2-32-OK, mga2-64-OK, => (none)

Comment 9 José Jorge 2014-01-21 11:49:52 CET
I have uploaded a updated package for Mageia 3.

You can test this by lauching openmortal.

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

Updated openmortal packages fix crash at startup.
========================

Updated packages in core/updates_testing:
========================
openmortal-0.7.1-7.1.mga3

Source RPM: 
openmortal-0.7.1-7.1.mga3.src.rpm

Status: REOPENED => ASSIGNED

José Jorge 2014-01-21 11:50:42 CET

Assignee: lists.jjorge => qa-bugs

Comment 10 Rémi Verschelde 2014-01-21 17:22:40 CET
Testing on Mageia 3 i586 in a VM, with German locale.

I hit segfaults from time to time on startup. The log is the following:

--

[findus@localhost ~]$ openmortal 
The locale returned by the operating system is 'C'
The LANG envvar is 'de_DE.UTF-8'
Name "main::p4f" used only once: possible typo at Backend.pl line 705.
Name "main::WIDE" used only once: possible typo at Backend.pl line 46.
Name "main::GROUND2" used only once: possible typo at Backend.pl line 59.
Name "main::DELMULTIPLIER" used only once: possible typo at Backend.pl line 60.
Name "main::p4h" used only once: possible typo at Backend.pl line 705.
Name "main::p3f" used only once: possible typo at Backend.pl line 704.
Name "main::MAXCOMBO" used only once: possible typo at Backend.pl line 61.
Name "main::NextSound" used only once: possible typo at Backend.pl line 637.
Name "main::BgMax2" used only once: possible typo at Backend.pl line 446.
Name "main::PlayerName" used only once: possible typo at Backend.pl line 279.
Name "main::p4hreal" used only once: possible typo at Backend.pl line 705.
Name "main::Name" used only once: possible typo at Backend.pl line 279.
Name "main::p3hreal" used only once: possible typo at Backend.pl line 704.
Name "main::ActiveFighters" used only once: possible typo at Backend.pl line 172.
CJoystick::Init(): Number of joysticks is 2
CJoystick::Init(): Joystick #0 is 'VirtualBox USB Tablet'
CJoystick::Init(): Joystick #0 has 2 axes, 5 buttons, 0 balls, 0 hats
CJoystick::Init(): Joystick #1 is 'VirtualBox mouse integration'
CJoystick::Init(): Joystick #1 has 2 axes, 1 buttons, 0 balls, 0 hats
Language de is not available. Reverting to English.
compiled with SDL_mixer version: 1.2.12
running with SDL_mixer version: 1.2.12
MAPPING: 'MENU_START' => 'ups.wav'
MAPPING: 'MENU_END' => 'top.wav'
MAPPING: 'MENU_ITEM_SELECTION' => 'beepdrop.wav'
MAPPING: 'MENU_ITEM_VALUE_CHANGES' => 'laser.wav'
MAPPING: 'MENU_ITEM_INVOKED' => 'apert.wav'
MAPPING: 'MENU_SUBMENU_END' => 'drips.wav'
MAPPING: 'GAME_OVER_COUNTDOWN' => 'buzzer_2.wav'
MAPPING: 'GAME_OVER_SPLAT' => 'splat2.voc'
MAPPING: 'GAME_NEW' => 'autostart.wav'
MAPPING: 'GAME_HURRYUP' => 'aroooga.voc'
MAPPING: 'GAME_HURRYUP_ENDS' => 'endcountdown_sound.wav'
MAPPING: 'PLAYER_SELECTED' => 'curve.wav'
MAPPING: 'PLAYER_SELECTION_CHANGES' => 'movemenu.wav'
MAPPING: 'NETWORK_MESSAGE' => 'beepdoub.wav'
MAPPING: 'PLAYER_JUMPS' => 'swoosh.wav'
MAPPING: 'PLAYER_LANDS' => 'hit_ground.wav'
MAPPING: 'PLAYER_FALLS' => 'splat.wav'
MAPPING: 'ATTACK_MISSES' => 'shu.wav'
MAPPING: 'ATTACK_BLOCKED' => 'thump.wav'
MAPPING: 'PLAYER_KO' => 'bowling.voc'
MAPPING: 'UPPERCUT_HITS' => 'evilpsychola.wav'
MAPPING: 'GROINKICK_HITS' => 'woman_screams.voc'
MAPPING: 'ATTACK_HITS' => 'thump3.voc'
MAPPING: 'COMBO' => 'honk.wav'
MAPPING: 'MAX_COMBO' => 'ups.wav'
MAPPING: 'JACINT' => 'cow.wav'
File '/usr/share/games/openmortal/characters/STAFF.DAT' contains 16 entries.
Unknown: 'info ', size: 32
Ambrus.dat.txt file is 66185 bytes long..
Ambrus.dat.txt loaded, 326 frames.
*** 0 14 14 Stand Stand
S,+kneeling, onknees 1,onknees 1,onknees 1,onknees 1,onknees 1,onknees 1,onknees 1,onknees 1, -kneeling,DEL,5,CON5,HASH(0x8fb0960),N,JumpFly,CON4,HASH(0x8fb0960),CON11,HASH(0x8fb0960),CON9,HASH(0x8fb0960),CON6,HASH(0x8fb0960),CON8,HASH(0x8fb0960),CON10,HASH(0x8fb0960),CON7,HASH(0x8fb0960),DELN,100
Segmentation fault

--

On some segfaults the log stops after "MAPPING: 'JACINT' => 'cow.wav'", and some other time it segfaults after "Unknown: 'info ', size: 32" or after "Ambrus.dat.txt file is 66185 bytes long..". So either way it has to do with some file around there.

CC: (none) => remi

Rémi Verschelde 2014-01-21 17:23:57 CET

QA Contact: (none) => lists.jjorge
Whiteboard: (none) => feedback

Comment 11 Rémi Verschelde 2014-01-21 17:29:01 CET
I can't reproduce the segfault on Mageia 3 x86_64 (English locale).

URL: (none) => MGA3-64-OK

Comment 12 Martin Volf 2014-01-22 15:45:48 CET
(In reply to José Jorge from comment #9)
> I have uploaded a updated package for Mageia 3.
> 
> You can test this by lauching openmortal.
> 
> Suggested advisory:
> ========================
> 
> Updated openmortal packages fix crash at startup.
> ========================
> 
> Updated packages in core/updates_testing:
> ========================
> openmortal-0.7.1-7.1.mga3
> 
> Source RPM: 
> openmortal-0.7.1-7.1.mga3.src.rpm

Thank you for update! Works on MGA3 i586 and x86_64. No segfault. Locale Czech.

Can be pushed to Core Updates?
Comment 13 claire robinson 2014-01-22 16:11:44 CET
Fails here mga3 32 aswell.

$ openmortal
The locale returned by the operating system is 'C'
The LANG envvar is 'en_GB.UTF-8'
Name "main::p4f" used only once: possible typo at Backend.pl line 705.
Name "main::WIDE" used only once: possible typo at Backend.pl line 46.
Name "main::GROUND2" used only once: possible typo at Backend.pl line 59.
Name "main::DELMULTIPLIER" used only once: possible typo at Backend.pl line 60.
Name "main::p4h" used only once: possible typo at Backend.pl line 705.
Name "main::p3f" used only once: possible typo at Backend.pl line 704.
Name "main::MAXCOMBO" used only once: possible typo at Backend.pl line 61.
Name "main::NextSound" used only once: possible typo at Backend.pl line 637.
Name "main::BgMax2" used only once: possible typo at Backend.pl line 446.
Name "main::PlayerName" used only once: possible typo at Backend.pl line 279.
Name "main::p4hreal" used only once: possible typo at Backend.pl line 705.
Name "main::Name" used only once: possible typo at Backend.pl line 279.
Name "main::p3hreal" used only once: possible typo at Backend.pl line 704.
Name "main::ActiveFighters" used only once: possible typo at Backend.pl line 172.
CJoystick::Init(): Number of joysticks is 0
compiled with SDL_mixer version: 1.2.12
running with SDL_mixer version: 1.2.12
MAPPING: 'MENU_START' => 'ups.wav'
MAPPING: 'MENU_END' => 'top.wav'
MAPPING: 'MENU_ITEM_SELECTION' => 'beepdrop.wav'
MAPPING: 'MENU_ITEM_VALUE_CHANGES' => 'laser.wav'
MAPPING: 'MENU_ITEM_INVOKED' => 'apert.wav'
MAPPING: 'MENU_SUBMENU_END' => 'drips.wav'
MAPPING: 'GAME_OVER_COUNTDOWN' => 'buzzer_2.wav'
MAPPING: 'GAME_OVER_SPLAT' => 'splat2.voc'
MAPPING: 'GAME_NEW' => 'autostart.wav'
MAPPING: 'GAME_HURRYUP' => 'aroooga.voc'
MAPPING: 'GAME_HURRYUP_ENDS' => 'endcountdown_sound.wav'
MAPPING: 'PLAYER_SELECTED' => 'curve.wav'
MAPPING: 'PLAYER_SELECTION_CHANGES' => 'movemenu.wav'
MAPPING: 'NETWORK_MESSAGE' => 'beepdoub.wav'
MAPPING: 'PLAYER_JUMPS' => 'swoosh.wav'
MAPPING: 'PLAYER_LANDS' => 'hit_ground.wav'
MAPPING: 'PLAYER_FALLS' => 'splat.wav'
MAPPING: 'ATTACK_MISSES' => 'shu.wav'
MAPPING: 'ATTACK_BLOCKED' => 'thump.wav'
MAPPING: 'PLAYER_KO' => 'bowling.voc'
MAPPING: 'UPPERCUT_HITS' => 'evilpsychola.wav'
MAPPING: 'GROINKICK_HITS' => 'woman_screams.voc'
MAPPING: 'ATTACK_HITS' => 'thump3.voc'
MAPPING: 'COMBO' => 'honk.wav'
MAPPING: 'MAX_COMBO' => 'ups.wav'
MAPPING: 'JACINT' => 'cow.wav'
Illegal instruction

Run under gdb it shows..

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb272bb40 (LWP 16114)]
0xb7677e2c in STM_Signatures () from /lib/libmikmod.so.3
Comment 14 José Jorge 2014-01-22 21:30:41 CET
(In reply to claire robinson from comment #13)
> Program received signal SIGILL, Illegal instruction.

Please provide cat /proc/cpuinfo I suspect SSE2 intructions being used. That said, the game is not maintained since 2007...
Comment 15 claire robinson 2014-01-23 12:43:14 CET
Created attachment 4856 [details]
cpuinfo.txt
Comment 16 José Jorge 2014-01-23 17:46:55 CET
So, as

1. this update still fixes the perl bug
2. I don't know how to fix it

Can we validate the update and open another bug for the 32 bit crash?
Comment 17 David GEIGER 2014-01-25 15:54:54 CET
Testing mga3-64, with French locale

Tested complete for openmortal-0.7.1-7.1.mga3, ok for me nothing to report.

-----------------------------------------------------------------------------
Before:
$ openmortal
openmortal: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory

After:
$ openmortal
The locale returned by the operating system is 'C'
The LANG envvar is 'fr_FR.UTF-8'
Name "main::p4f" used only once: possible typo at Backend.pl line 705.
Name "main::WIDE" used only once: possible typo at Backend.pl line 46.
Name "main::GROUND2" used only once: possible typo at Backend.pl line 59.
Name "main::DELMULTIPLIER" used only once: possible typo at Backend.pl line 60.
Name "main::p4h" used only once: possible typo at Backend.pl line 705.
Name "main::p3f" used only once: possible typo at Backend.pl line 704.
Name "main::MAXCOMBO" used only once: possible typo at Backend.pl line 61.
Name "main::NextSound" used only once: possible typo at Backend.pl line 637.
Name "main::BgMax2" used only once: possible typo at Backend.pl line 446.
Name "main::PlayerName" used only once: possible typo at Backend.pl line 279.
Name "main::p4hreal" used only once: possible typo at Backend.pl line 705.
Name "main::Name" used only once: possible typo at Backend.pl line 279.
Name "main::p3hreal" used only once: possible typo at Backend.pl line 704.
Name "main::ActiveFighters" used only once: possible typo at Backend.pl line 172.
CJoystick::Init(): Number of joysticks is 2
CJoystick::Init(): Joystick #0 is 'VirtualBox USB Tablet'
CJoystick::Init(): Joystick #0 has 2 axes, 5 buttons, 0 balls, 0 hats
CJoystick::Init(): Joystick #1 is 'VirtualBox mouse integration'
CJoystick::Init(): Joystick #1 has 2 axes, 1 buttons, 0 balls, 0 hats
compiled with SDL_mixer version: 1.2.12
running with SDL_mixer version: 1.2.12
MAPPING: 'MENU_START' => 'ups.wav'
MAPPING: 'MENU_END' => 'top.wav'
MAPPING: 'MENU_ITEM_SELECTION' => 'beepdrop.wav'
MAPPING: 'MENU_ITEM_VALUE_CHANGES' => 'laser.wav'
MAPPING: 'MENU_ITEM_INVOKED' => 'apert.wav'
MAPPING: 'MENU_SUBMENU_END' => 'drips.wav'
MAPPING: 'GAME_OVER_COUNTDOWN' => 'buzzer_2.wav'
MAPPING: 'GAME_OVER_SPLAT' => 'splat2.voc'
MAPPING: 'GAME_NEW' => 'autostart.wav'
MAPPING: 'GAME_HURRYUP' => 'aroooga.voc'
MAPPING: 'GAME_HURRYUP_ENDS' => 'endcountdown_sound.wav'
MAPPING: 'PLAYER_SELECTED' => 'curve.wav'
MAPPING: 'PLAYER_SELECTION_CHANGES' => 'movemenu.wav'
MAPPING: 'NETWORK_MESSAGE' => 'beepdoub.wav'
MAPPING: 'PLAYER_JUMPS' => 'swoosh.wav'
MAPPING: 'PLAYER_LANDS' => 'hit_ground.wav'
MAPPING: 'PLAYER_FALLS' => 'splat.wav'
MAPPING: 'ATTACK_MISSES' => 'shu.wav'
MAPPING: 'ATTACK_BLOCKED' => 'thump.wav'
MAPPING: 'PLAYER_KO' => 'bowling.voc'
MAPPING: 'UPPERCUT_HITS' => 'evilpsychola.wav'
MAPPING: 'GROINKICK_HITS' => 'woman_screams.voc'
MAPPING: 'ATTACK_HITS' => 'thump3.voc'
MAPPING: 'COMBO' => 'honk.wav'
MAPPING: 'MAX_COMBO' => 'ups.wav'
MAPPING: 'JACINT' => 'cow.wav'
File '/usr/share/games/openmortal/characters/STAFF.DAT' contains 16 entries.
-------------------------------------------------------------------------------

It works fine.

CC: (none) => geiger.david68210
Whiteboard: feedback => feedback MGA3-64-OK

Comment 18 David GEIGER 2014-01-25 16:01:25 CET
Testing mga3-32, with French locale

Tested complete for openmortal-0.7.1-7.1.mga3, ok for me nothing to report.

Same as comment 17

Launching with desktop file, it works well.

Launch console, it crash once.
The second launch console, it works well.


As José Jorge suggests to comment 16, I think this bug can be validated.

Whiteboard: feedback MGA3-64-OK => feedback MGA3-64-OK MGA3-32-OK

user7 2014-02-02 00:29:06 CET

CC: (none) => wassi
Whiteboard: feedback MGA3-64-OK MGA3-32-OK => MGA3-64-OK MGA3-32-OK

Comment 19 Samuel Verschelde 2014-02-04 13:03:22 CET
Bug 12569 created for the i586 crashes.

Update validated. Advisory uploaded.

Please push to 3/core/updates.

Keywords: (none) => validated_update
CC: (none) => stormi
Whiteboard: MGA3-64-OK MGA3-32-OK => MGA3-64-OK MGA3-32-OK advisory

Comment 20 Thomas Backlund 2014-02-05 16:46:08 CET
Update pushed:
http://advisories.mageia.org/MGAA-2014-0014.html

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


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