Page 1 of 1

Segmentation fault error again! ¿how to solve it?

Posted: Thu Jun 07, 2007 10:11 pm
by Hi-8-Evidence
I'm getting pissed for this error happening many times a day while I try to get my Q3 Urt server running 24/7, I read post and some talk about some CVAR been triggered that causes this but I have no idea how to look into it. I also read it can be a faulty memory... recently when I was enabling PB and see how it goes with the server, this segmentation fault occurred immediately after loading the server unlike before that was during game. I quit the server load it another time and the same error, I notice this is happening because it can't write the PBDAT file because I didn't execute quake with sudo. So I went and add sudo and now it loaded PB fine along with the server and no error showed... however during the game the same error still showed up... so for now I think is not that it wants to write to the HD... may is to the memory but how should I fix this?

Posted: Fri Jun 08, 2007 3:34 pm
by ^misantropia^
Segfaults are always memory access errors (where a program tries to access an address that doesn't exist or it doesn't have access to). If it only happens when PB is enabled, the best advice I can give you is to either upgrade PB or refrain from using it.

On a side note, running Q3 as root (with sudo) is a Security Risk. Don't do it.

Posted: Fri Jun 08, 2007 4:25 pm
by Hi-8-Evidence
^misantropia^ wrote:Segfaults are always memory access errors (where a program tries to access an address that doesn't exist or it doesn't have access to). If it only happens when PB is enabled, the best advice I can give you is to either upgrade PB or refrain from using it.

On a side note, running Q3 as root (with sudo) is a Security Risk. Don't do it.
Thanks for the reply... yes I know but I had to try it that time to see what it does... I now run q3 with PB without sudo and no problems but I still don't know when if ever I will get that segfault error again... you say memory issues? like how can I avoid it then?...and is not PB causing it... it happens with or without it... PB caused this error to appear instantly as I run the server but now it doesn't do that. And even if it was PB there should be a fix since PB is useful... anyway the issue still is how can I avoid the segfault that can happen at anytime? Should replacing mem modules fix it? ¿What is your experience?

Posted: Fri Jun 08, 2007 7:13 pm
by ^misantropia^
Almost all segfaults are caused by software errors. A few things to try:

- upgrade Q3 to the latest and greatest (1.32c)
- maybe give ioquake3 a try (open source Q3 with heaps of bug fixes)
- run the server plain if you normally host a mod

If you do suspect hardware issues, run memtest.

Posted: Sat Jun 09, 2007 3:41 am
by Hi-8-Evidence
^misantropia^ wrote:Almost all segfaults are caused by software errors. A few things to try:

- upgrade Q3 to the latest and greatest (1.32c)
- maybe give ioquake3 a try (open source Q3 with heaps of bug fixes)
- run the server plain if you normally host a mod

If you do suspect hardware issues, run memtest.
2 things 1.32c is only in windows... I'm using linux with 1.32b I think that's the latests...
And what is "run the server plain if you normally host a mod" ¿Did you mean disable the console?

Posted: Sat Jun 09, 2007 8:15 am
by ^misantropia^
Ah, my mistake. With "plain" I mean "vanilla Q3" (omit the "+set fs_game modname" parameter).

Posted: Sat Jun 09, 2007 8:22 am
by Hi-8-Evidence
^misantropia^ wrote:Ah, my mistake. With "plain" I mean "vanilla Q3" (omit the "+set fs_game modname" parameter).
Dear Llama:

But if I omit it... it will ran quake 3 instead. Word? and also I want to know if I'm using the latest patch for linux q3.

Posted: Sat Jun 09, 2007 8:24 am
by ^misantropia^
Yep, just plain Q3, no frills. 1.32b is the latest official patch, yes, but you'd be better off with ioquake3 if you can do without PB. It really is tons better than 1.32b.

Posted: Sat Jun 09, 2007 12:00 pm
by Hi-8-Evidence
^misantropia^ wrote:Yep, just plain Q3, no frills. 1.32b is the latest official patch, yes, but you'd be better off with ioquake3 if you can do without PB. It really is tons better than 1.32b.
are you suggesting that PB is just on my way? and also are u suggesting I should stop playing urt for q3?

I went to the ioq3 site and read that the latest patch for linux ioquake3:
"Provides latest patch pk3 data from id"

??? are they suggesting ID released a new pk3 for quake3? and is it in addition to or replace the old one?
-------------
And 2nd... to install the required pak0? do they mean they want to automate the copying from the cd? or is it something else?

Posted: Sat Jun 09, 2007 12:06 pm
by Foo
He's suggesting you run a plain server to establish whether or not urt is the problem.

Then you can go back to playing urt :icon22:

Posted: Sat Jun 09, 2007 12:32 pm
by +JuggerNaut+
Hi-8-Evidence wrote:
^misantropia^ wrote:Ah, my mistake. With "plain" I mean "vanilla Q3" (omit the "+set fs_game modname" parameter).
Dear Llama:

But if I omit it... it will ran quake 3 instead. Word? and also I want to know if I'm using the latest patch for linux q3.
dear llama? :dork:

Posted: Sat Jun 09, 2007 1:09 pm
by ^misantropia^
I suspect that to be a reference to my avatar.