Segmentation fault error again! ¿how to solve it?
-
- Posts: 7
- Joined: Thu Jun 07, 2007 8:46 am
Segmentation fault error again! ¿how to solve it?
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?
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
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.
On a side note, running Q3 as root (with sudo) is a Security Risk. Don't do it.
-
- Posts: 7
- Joined: Thu Jun 07, 2007 8:46 am
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?^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.
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
-
- Posts: 7
- Joined: Thu Jun 07, 2007 8:46 am
2 things 1.32c is only in windows... I'm using linux with 1.32b I think that's the latests...^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.
And what is "run the server plain if you normally host a mod" ¿Did you mean disable the console?
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
-
- Posts: 7
- Joined: Thu Jun 07, 2007 8:46 am
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
-
- Posts: 7
- Joined: Thu Jun 07, 2007 8:46 am
are you suggesting that PB is just on my way? and also are u suggesting I should stop playing urt for q3?^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.
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?
-
- Posts: 22175
- Joined: Sun Oct 14, 2001 7:00 am
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm