Client crashs during combat

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

One Salient Oversight
Luser
Posts: 19
Joined: Wed Jan 05, 2005 2:44 am
Location: Newcastle, Australia

Client crashs during combat

Post by One Salient Oversight »

I've been having a really annoying problem. Quite often the client will crash and freeze up as my character is slicing his way through bad guys. If I keep from combat for about 10 minutes, everything seems okay.

Important info:
* I only play localhost with my PC
* I have been playing for about 2 months so my client and server are relatively recent releases. How do I find out?
* Mandrake Linux 10.1 OS
* P3-500, 384mb RAM, 40gb HDD

ALSO:

Sometimes when I'm playing everything slows down. According to my Gnome system monitor I am using upwards of 50mb of Swap. This is annoying because I have 384mb RAM and only about 277 is used. Why can't it use RAM rather than Swap? Is there any way of modifying the server settings for this?
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Re: Client crashs during combat

Post by cavesomething »

One Salient Oversight wrote: * I have been playing for about 2 months so my client and server are relatively recent releases. How do I find out?


help-> about
for the client

and

crossfire -v
for the server

unless you compiled from CVS in which case you should know anyway.

As for the rest of your problem, I don't know.
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

Are you playing with sound enabled?

Disable sound (in GTK, client -> configure -> general) and see if that helps.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

Ah yes, /me remembers sound - switched it off months ago.

There is some issue with the sound support atm, haven't really paid much attention to the details personally, but the devel-list thread is archived here

http://shadowknight.real-time.com/piper ... 08138.html

you might find it interesting....
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

slowing down? mmm, some older versions of the client have a memory leak. you likely experience that. (does the memory used by X increase enormously when playing?)

if not, then try to type 'clearinfo on a regular basis. it seems gtk allocates memory dynamically, which cost time and cause the client slowdown when there is a lot of text
Bibendi ergo sum
or rather: sum ergo bibendi
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

Some people have trouble compiling the newer client.
/me curses linux-isms
I use BSD, and sometime I patch the client to build. Others, dont know how to, and may need to build their own client.
lordyoukai.DA
My wraith is cooler than your dragon.
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

i doubt mandrake has your BSD troubles, so he might be able to build his own client :)
Bibendi ergo sum
or rather: sum ergo bibendi
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

The answer to the swap problem is simple; LEARN HOW MEMORY WORKS.
Also, build SDL image support into the client. That stops the leak.
use a memory management program that allows you to delete the semaphores and unused segments that are in use.
lordyoukai.DA
My wraith is cooler than your dragon.
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

bort wrote:Also, build SDL image support into the client. That stops the leak.
My memory still leaks some with SDL turned on. I can cause the system to run out of memory completely (1GB of swap and 512MB ram) by rapidly inscribing in books with a keybinding till the book is full, then repeating for another few books that there goes all my memory :(
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

download cvs and compile. its not that hard ;)

my client only slows down when i get spammed by a lot of 'you kill foo' or 'your pet hits bar'
this is not due to a memory leak, but rather due to gtk's memory allocation

@bort most users are users, not ppl that can spent their lives on learning how their system works :twisted:
Bibendi ergo sum
or rather: sum ergo bibendi
Post Reply