Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193099 - games-arcade/koules - Koules crashes on startup
Summary: games-arcade/koules - Koules crashes on startup
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://pastebin.ca/703439
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 17:31 UTC by Mirko Briemle
Modified: 2007-09-21 22:12 UTC (History)
1 user (show)

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 Mirko Briemle 2007-09-19 17:31:35 UTC
The app crashes when I try to start it with this message displayed in the console: http://pastebin.ca/703439. I also tried to start it with the tk use flag switched on, but I do not receive any error message and it crashes after the startup screen showed up and I selected display resolution and hit the start button. Now error message is displayed then.

For more info about koules visit: http://www.ucw.cz/~hubicka/koules/English/koules.html


Reproducible: Always

Steps to Reproduce:
1. emerge koules or paludis -i koules
2. run koules or xkoules


Actual Results:  
Console Output:

#
Copyright(c) Jan Hubicka 1995, 1996
#
 
#
 
#
X4GW 1.21.21 professional
#
Copyright(c)1991,1992,1993,1994,1995 Jan Hubicka(JAHUSOFT)
#
Initializing sound server...
#
koules.sndsrv: Couldn't open DSP >/dev/dsp<
#
error: Device or resource busy
#
Sound server: exit
#
Autoprobing hardware
#
Initializing joystick driver
#
Joystick driver not avaiable(recompile koules with JOYSTICK enabled )
#
Connecting X server
#
X: Screen doesn't support PseudoColor!
#
Shm mode seems to be possible
#
Allocating pallette
#
X Error of failed request:  BadName (named color or font does not exist)
#
  Major opcode of failed request:  45 (X_OpenFont)
#
  Serial number of failed request:  10
#
  Current serial number in output stream:  16

Expected Results:  
Game starts.

This was a Problem page included with koules:
---------- 8< ---------- 8< ---------- 8< ---------- 8< ---------- 8< ---------
				SVGA VERSION
[P]	Koules crashes in the high resolution

[S]	Your /usr/local/libvga.conf or /etc/vga/libvga.conf is wrong. 
	Edit it and set your video card, monitor and mouse. 
[S]     Svgalib is unable to use high resolution. Try other program running in 
	640x480x256 - many svga programs can be switched to the high resolution 
	using export GSVGAMODE=G640x480x256. Won't work? so use 320x200 version
	or koules for X.
[S]     Report the bug.


[P]     Intro can be interrupted only if I use a mouse 	
[P]	Texts cannot be interrupted

[S]	Your  gpm/selection conflicts with the svgalib's mouse driver. Kill it 
	before running koules.
[S]	Your /usr/local/libvga.conf or /usr/vga/libvga.conf is wrong. 
        Edit it and try to set other mouse protocol.
[S]	Disable Koule's mouse support using -M.

[P]	Koules crashes on my computer

[S]	You use old svgalib version. Koules was tested on 1.2.6 / 1.2.7 version
	Use static distribution or upgrade svgalib.

---------- 8< ---------- 8< ---------- 8< ---------- 8< ---------- 8< ---------
				  X VERSION
[P]	Koules segfaulting

[S]	Report bug and try -M.

[P]	interface.h not found.

[S]	Your makefile is wrong CFLAGS must contain -Ixlib and 
        config defines(-DMITSHM and -DONLYANSI for most configurations)

[P]     sound problems

[S]	try network audio support-work on most computers

[P]	display is monochrome

[S]	-m option was changed from mouse to monochrome
	remove -m option from your batch file

My system:
paludis 0.24.6

Built by paludisbuild@calvin on 2007-08-25T16:25:03-0400
CXX:         powerpc-unknown-linux-gnu-g++ 4.1.1 (Gentoo 4.1.1-r3)
CXXFLAGS:    -O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe
LDFLAGS:     
DATADIR:     /usr/share
LIBDIR:      /usr/lib
LIBEXECDIR:  /usr/libexec
SYSCONFDIR:  /etc
stdlib:      GNU libstdc++ 20060524
libebt:      1.3.0
libwrapiter: 1.0.0
sandbox:     enabled
Comment 1 Mark K. Tuttle 2007-09-20 01:08:00 UTC
What resolution/depth is your X session running? If its 24bpp can you make it 16? Are you using composite? If so, can you try it with that off? Can you also please post your /etc/X11/xorg.conf file? Thanks.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 08:44:45 UTC
Don't refer to pastebins in bugs, please. Makes bugs useless in days.
Comment 3 Mirko Briemle 2007-09-21 16:50:08 UTC
I found the problem. Koules is depending on the xlib library. After I installed this, it works. Does anybody know how to add this to the ebuild, because it did not automatically pull it in? I had to add xlib by hand.

I also recognized that xemacs is installed with the xlib library, does this need to be or can I only install the xlib library by itself?
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2007-09-21 22:12:17 UTC
no, that's not the problem.  It doesn't have anything to do with app-xemacs/xlib.  You just needed to redo your font cache to find the specific font that xkoules uses.