Powered by Invision Power Board [ Resend Validation Email ]
Welcome Guest [ Log In · Register ]
Forum Rules HelpSearchMembersCalendar


 
Reply to this topicStart new topicStart Poll
[ Track this topic · Email this topic · Print this topic ]
> Seg Faults on certain maps with linux hlds, running certain maps results in a segfau
shinji1
Posted: January 04, 2005 11:28 pm
Quote Post


Just another Survivor
*

Group: Members
Posts: 19

Joined: December 04, 2004



Hi,

Not sure if this is a bug you guys have any control over. Anyways on some maps, specifically bb_birdland and bb_niteclub_b4, the linux hlds segfaults with the following stack trace.
------------------------------------------------------------------------
Program terminated with signal 11, Segmentation fault.
#0 0x439bbc87 in LookupActivityHeaviest ()
from /home/atklau/hlds/brainbread/dlls/bb_i386.so
#0 0x439bbc87 in LookupActivityHeaviest ()
from /home/atklau/hlds/brainbread/dlls/bb_i386.so
End of crash report
------------------------------------------------------------------------
unfortunately I couldn't examine the core file, prob cuz I Didn't enable debug.

Do you guys know what the problem is? I'll try to generate a core file next time and post a more complete stack trace.....
PMEmail Poster
Top
|2enegade
Posted: January 06, 2005 10:05 pm
Quote Post


Last hope of Mankind
*****

Group: Members
Posts: 752

Joined: November 29, 2004



lol, im no linux expert, but if you can some how check what the non-parametal function "LookUpHeaviest" does, it may give you a clue.


--------------------
PMEmail PosterUsers Website
Top
fcuk
Posted: January 09, 2005 11:23 am
Quote Post


Zombie Hunter
***

Group: Members
Posts: 170

Joined: November 30, 2004



it could be that it is a brainbread error. i found some hints in different forum that are talking about segment errors on linux servers berfore halflife 1.1.1.0 or counterstrike 1.5.
it could be a AMX bug too.

some questions:
are u using AMX plugin on ur server?
are u attempting to run ur server in secure mode?
is this bug completly the same at both maps?



--------------------
I don´t suffer from iNsAnItY, I enjoy every second of it
PMEmail Poster
Top
Shotgun
Posted: January 10, 2005 07:25 am
Quote Post


Zombie Hunter
***

Group: Members
Posts: 196

Joined: December 09, 2004



A segmentation fault is caused by calling a memory location not allocated to it. LookupActivityHeaviest () is called in only one spot that I know of, and that's in the monster AI in monster.cpp in the SDK. Looks like its crashing when a zombie, marine, or some other model is trying to decide which idle animation to do.


--------------------
user posted image
PM
Top
fcuk
Posted: January 10, 2005 06:48 pm
Quote Post


Zombie Hunter
***

Group: Members
Posts: 170

Joined: November 30, 2004



good to know =]
maybe its the monster_barney . both niteclub and birdland have barneymodels, which i didnt saw in other maps so far. ill check this.



--------------------
I don´t suffer from iNsAnItY, I enjoy every second of it
PMEmail Poster
Top
shinji1
Posted: January 10, 2005 11:10 pm
Quote Post


Just another Survivor
*

Group: Members
Posts: 19

Joined: December 04, 2004



I'm running admin mod, I'll try to run the maps without loading admin mod and see what the result is.

Shotgun, I think it might be interesting to see a more complete stack trace. Do you know how to make hlds dump out a core file when it crashes?

thanks
PMEmail Poster
Top
Topic Options Reply to this topicStart new topicStart Poll