ET segfaults

Discussion for any ET/ETPro/BayonET bugs or cheats you find...

Moderators: Forum moderators, developers

Post Reply
Decade
Posts: 101
Joined: Tue Dec 07, 2004 2:47 pm

ET segfaults

Post by Decade »

In the last weeks Enemy territory has started to segfault very frequently on my gentoo box, usually after 5 or 10 minutes of playing.
I spent the whole weekend trying to investigate the reason; thinking it was an overheating problem (it seems that the problem got worse with hotter weather), i restored the original clock to my cpu (it was slightly overclocked), and even tried to play with the cpu at half its normal clock; I replaced my ram with a spare 256 megs ram stick I had, in case it was faulty; I replaced my geforce 6600 gt with an old fx 5200 with lower power compsumption (it doesn't even have a fan) since somebody told me that maybe the overheated graphics card was stealing power from the cpu/ram and causing the segfaults; finally I tried a clean installation of gentoo stable branch on another partition.
None of these attempts seemed to have an effect on the segfaults :( and the point is that ET is the only program that segfaults, and this incudes other games (quake 4), and hours and hours of consecutive compiling programs/kernels (for example those needed to make the clean gentoo installation). The only think I can still try is to ask a friend of mine to install ET on his Windows pc and see if it segfaults just because of my presence :lol:
Any suggestion? :shock:
User avatar
WeblionX
Posts: 762
Joined: Sun Sep 08, 2002 1:03 pm
Contact:

Post by WeblionX »

The power supply it self could be going bad, causing low/high voltages or even putting out "dirty" or "noisy" power. Though as to why it just happens to ET, it could either be a coincidence, or ET is using something that no other program is using.
Got any old idtech3 tutorials you made or saved? Send them my way.
Decade
Posts: 101
Joined: Tue Dec 07, 2004 2:47 pm

Post by Decade »

WeblionX wrote:The power supply it self could be going bad, causing low/high voltages or even putting out "dirty" or "noisy" power. Though as to why it just happens to ET, it could either be a coincidence, or ET is using something that no other program is using.
Yeah, that's what I tought too: maybe when both the graphics card and the cpu are under heavy usage, with the fans going 100%, the power supply goes in trouble and this would explain why it affects only ET and not the compiler. Guess I'll have to try a long session at quake 4 and see if it eventually segfaults too... :?
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

PB ? I've found PB on linux usually segfaults until you run pb setup.
send lawyers, guns and money
Decade
Posts: 101
Joined: Tue Dec 07, 2004 2:47 pm

Post by Decade »

I just played more than 30 minutes with a clean .etwolf directory (default config) and it didn't crash.
ReyalP wrote:PB ? I've found PB on linux usually segfaults until you run pb setup.
You mean pbweb.x86? Could be the case since it's in the .etwolf directory.


EDIT: looks like using pbweb didn't solve the problem. It's either some cvar in my config, or some downloaded pk3 that makes me segfault.
User avatar
WeblionX
Posts: 762
Joined: Sun Sep 08, 2002 1:03 pm
Contact:

Post by WeblionX »

You could try moving all pk3s in etmain (Except for the ones that come with ET) to another directory and see if it happens on a regular map. I'd also suggest testing with both etmain and ETPro.
Got any old idtech3 tutorials you made or saved? Send them my way.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

a crashdump might give a hint

Set b_crashlogpath and post the contents or a link to it.
send lawyers, guns and money
Decade
Posts: 101
Joined: Tue Dec 07, 2004 2:47 pm

Post by Decade »

Hmm I couldn't manage to get a crashdump. I started et with +set b_crashlogpath /home/alex and didn't fid any log in that dir after the crash.

Anyways this is getting pretty tiring. Change something in cfg, play for an hour to see if it crashes, change something else, repeat. Today I played for another hour with default cfg, (including blood flash, view bobbing, no hitsounds and default crosshair :P ) and it's now pretty safe to say that it doesn't crash. But when I executed the cfg that contains my binds and my scripts (not settings, only binds and scripts), the game crashed again. So at the moment I think the culprit is not pb, not a pk3, not a cvar but a bind or a script. Meanwhile I can't play clanwars (well I could, with default cfg) :(
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Post by Deus »

can u post this cfg?
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

It is very hard to believe there is some .cfg option that makes your ET crash after hours of play. Far more likely it is something wrong with your hardware, and it only happened not to come up when you were playing with default cfg. Or running in the default config doesn't trigger that fault somehow. I suppose it could also be an issue with some library or your kernel too...

PB crashes tend to be in a few minutes.

Hardware crashes can be very strange. I've had failing hardware that would only crash the server on a certain point of a certain map.
send lawyers, guns and money
Post Reply