Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: client-0.95.2 "sigpipe caught" - cfsndserv fails to start



The tests I performed previously were on Tru64 UNIX on a 64-bit Alpha,
so I thought I'd try things out on Red Hat Linux V5.2 (Kernel 2.2.0)
Intel, and see if the 32-bit code can talk to the 64-bit code over the
network.

I got lots of interesting client failures ... but determined that all
the problems related to the client on Linux Intel and not to the server
or the communications code at all.  The failures related to the throwing
or consumption of inventory items and opening gates, and occurred in
cfclient and gcfclient equally.

Example output ... gcfclient ...

	Playing on server type  Crossfire Server
	Unknown input state: 2
	Got update_item command for item we don't have (7769)
	Could not find match for a holy symbol

	** ERROR **: sigpipe caught

Example output ... server ...

	ReadPacket got an error.: Connection reset by peer
	ReadPacket got error 54, returning 0make_path_tofile
/rz1c/crossfire-0.95.2/package/lib/lib/players/Go/Go.pl...

Need a \n there somewhere.
Error 54 on the server is indeed ECONNRESET, connection reset by peer.

Test sequence was to bring in a character, go to the newbie practice map
to the left of the starting point, and then try to open the first gate. 
The fault occurred as soon as I pressed "a" to open it.

Further debugging showed that the fault happened in the client at the
point it was trying to play a sound.  Turning off sound fixed the
problem, after I restarted the client.  Turning off sound does not take
effect until you restart?

It seems cfsndserv was failing with this error ...

Couldn't open /dev/dsp: Operation not supported by device

Because I don't have a sound card.

Not sure what the correct fix would be, sorry.  Perhaps quietly die, or
make a dialog box saying "Can't play sound, ignore the problem?"

-- 
James Cameron                                      (cameron@stl.dec.com)

OpenVMS, Linux, Firewalls, Software Engineering, CGI, HTTP, X, C, FORTH,
COBOL, BASIC, DCL, csh, bash, ksh, sh, Electronics, Microcontrollers,
Disability Engineering, Netrek, Bicycles, Pedant, Farming, Home Control,
Remote Area Power, Greek Scholar, Tenor Vocalist, Church Sound, Husband.

"Specialisation is for insects." -- Robert Heinlein.
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]