Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107001 - games-strategy/uqm-0.4.0 compiles on AMD64 but segfaults
Summary: games-strategy/uqm-0.4.0 compiles on AMD64 but segfaults
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-23 08:05 UTC by Gustavo Ribeiro Alves
Modified: 2005-09-23 10:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Ribeiro Alves 2005-09-23 08:05:14 UTC
games-strategy/uqm does not have an amd64 flag. But does compile cleanly on an
amd64 system. 

When I try to run the program I get a segfault :

The Ur-Quan Masters v0.4.0 (compiled Sep 23 2005 04:16:43)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.
Using SDL version 1.2.8 (compiled with 1.2.8)
Warning: There's no 'packages/addons' directory in the 'content' directory;
        '--addon' options are ignored.
Initializing Pure-SDL graphics.
SDL driver used: x11
SDL initialized.
Initializing Screen.
Set the resolution to: 640x480x32
1 joysticks were found.
The names of the joysticks are:
    HOLTEK Twin Shock
VControl opened joystick: HOLTEK Twin Shock
6 axes, 12 buttons, 0 hats.
Initializing SDL audio subsystem.
SDL audio subsystem initialized.
Opening SDL audio device.
    using alsa at 44100 Hz 16 bit stereo, 940 samples audio buffer
Initializing mixer.
Mixer initialized.
Initializing sound decoders.
Sound decoders initialized.
        'lbm/title.ani' -- 19 bytes
Falha de segmenta
Comment 1 Gustavo Ribeiro Alves 2005-09-23 08:05:14 UTC
games-strategy/uqm does not have an amd64 flag. But does compile cleanly on an
amd64 system. 

When I try to run the program I get a segfault :

The Ur-Quan Masters v0.4.0 (compiled Sep 23 2005 04:16:43)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.
Using SDL version 1.2.8 (compiled with 1.2.8)
Warning: There's no 'packages/addons' directory in the 'content' directory;
        '--addon' options are ignored.
Initializing Pure-SDL graphics.
SDL driver used: x11
SDL initialized.
Initializing Screen.
Set the resolution to: 640x480x32
1 joysticks were found.
The names of the joysticks are:
    HOLTEK Twin Shock
VControl opened joystick: HOLTEK Twin Shock
6 axes, 12 buttons, 0 hats.
Initializing SDL audio subsystem.
SDL audio subsystem initialized.
Opening SDL audio device.
    using alsa at 44100 Hz 16 bit stereo, 940 samples audio buffer
Initializing mixer.
Mixer initialized.
Initializing sound decoders.
Sound decoders initialized.
        'lbm/title.ani' -- 19 bytes
Falha de segmentação

Analysing with gdb I found:

(gdb) run --contentdir=/usr/share/games/uqm/content --sound=none
Starting program: /usr/games/lib/uqm/uqm --contentdir=/usr/share/games/uqm/conte
nt --sound=none
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912523124464 (LWP 25701)]
The Ur-Quan Masters v0.4.0 (compiled Sep 23 2005 04:16:43)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.
Using SDL version 1.2.8 (compiled with 1.2.8)
Warning: There's no 'packages/addons' directory in the 'content' directory;
        '--addon' options are ignored.
Initializing Pure-SDL graphics.
SDL driver used: x11
SDL initialized.
Initializing Screen.
Set the resolution to: 640x480x32
1 joysticks were found.
The names of the joysticks are:
    HOLTEK Twin Shock
VControl opened joystick: HOLTEK Twin Shock
6 axes, 12 buttons, 0 hats.
[New Thread 1082132832 (LWP 25704)]
Using nosound audio driver.
Initializing mixer.
Mixer initialized.
Initializing sound decoders.
Sound decoders initialized.
[New Thread 1090525536 (LWP 25705)]
[New Thread 1098918240 (LWP 25706)]
        'lbm/title.ani' -- 19 bytes

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1082132832 (LWP 25704)]
0x0000000000000000 in ?? ()
(gdb) q


Reproducible: Always
Steps to Reproduce:
Comment 2 Gustavo Ribeiro Alves 2005-09-23 08:14:23 UTC
Did some additional research on the issue:

Found the following fedora bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=158705

And the following uqm bug:
http://uqm.stack.nl/cgi-bin/bugs/show_bug.cgi?id=252

It seems to be a problem upstream. This bug should be marked as LATTER or as
UPSTREAM, since it can only be solved latter when it is fixed upstream (but I'm
not an gentoo-bugzilla-police expert, so I'll leave this to the bug-wranglers)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-09-23 08:26:23 UTC
Not keyworded for amd64 so assigning to them.
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-09-23 10:06:28 UTC
it's not even marked testing, so don't expect it to work