Some details about "Segmentation Fault" etc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,everyone

I have some details about "Segmentation Fault" . I
hope somebody would advise me on fixing it.
------
GnuGK 2.0.7(in proxy mode) + openh323 1.12.3 + pwlib
1.5.3
Call generator: spirent abacus -- 128 as originator
and 128 as terminator
call length 4sec., interval between on-hook and
off-hook is also 4 sec.(I want to test its max CAPS on
different hardware platforms)

Hardware platform: p3 700MHz / P4 2.8C / 2*Xeon 2.0
RedHat Linux 9 (2.4.20-8 kernel)
-----
[Gatekeeper::Main]
Fourtytwo=42
TimeToLive=600
Name=GnuGK

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1721
CallSignalHandlerNumber=1
RemoveH245AddressOnTunneling=1
DropCallsByReleaseComplete=1
SupportNATedEndpoints=1
Q931PortRange=30000-39999
H245PortRange=40000-49999

[RasSrv::LRQFeatures]
NeighborTimeout=2
ForwardHopCount=20
AlwaysForwardLRQ=1
AcceptForwardedLRQ=1
IncludeDestinationInfoInLCF=1
CiscoGKCompatible=1
VoIPGKCompatible   =18
VCGKCompatible     =9009
DefaultComatible     = 18 

[QoS]
VideoPrefix = 511028002,511021002,511027002,4
AudioPrefix = 511028000,511021000,511027000

IsUseRejectBandWidth = 0
IsRejectNetMeeting  = 0
RejectBandWidth     = 5120
 
[Proxy]
Enable=1
T120PortRange=50000-59999
RTPPortRange=50000-59999
ProxyForNAT=1

[Endpoint]
Gatekeeper=192.215.5.223
Type=Gateway
H323ID=5223
Prefix=34
TimetoLive=600

[NATedEndpoints]
3001=true
3002=true
3003=true
3004=true
3005=true
3006=true
3007=true
3008=true

[GkStatus::Auth]
rule=allow
-----
-----
It always prompt "Segmentation Fault" and exit in less
than 20min. on the p4 and the Xeon.

BUT, on the p3 700MHz it works well -- after more than
40hrs,completed about 2 million calls.

Finally,I found that the GnuGK is more stable on a
single processor kernel than smp kernel?!

I use "catchsegv" to catch the context.
-----
...
Disable Bandwidth Management
*** Segmentation fault
Register dump:
 
 EAX: 40ab0de6   EBX: 40b6c60c   ECX: 00000005   EDX:
080e81b0
 ESI: 081f5060   EDI: 43932488   EBP: 43932420   ESP:
4393241c
 
 EIP: 40ac6f7f   EFLAGS: 00010212
 
 CS: 0023   DS: 002b   ES: 002b   FS: 0000   GS: 0033 
 SS: 002b
 
 Trap: 0000000e   Error: 00000007   OldMask: 00000000
 ESP/signal: 4393241c   CR2: 40ab0de6
 
 FPUCW: ffff037f   FPUSW: ffff0020   TAG: ffffffff
 IPOFF: 4069b1c9   CSSEL: 0023   DATAOFF: 080f16f4  
DATASEL: 002b
 
 ST(0) 0000 0000000000000000   ST(1) 0000
0000000000000000
 ST(2) 0000 0000000000000000   ST(3) 0000
0000000000000000
 ST(4) 0000 bb78000000000000   ST(5) 0000
bb78000000000000
 ST(6) 0000 bb80000000000000   ST(7) 0000
8b3136606a1e8000
 
Backtrace:
/root/pwlib/lib/libpt_linux_x86_r.so.1.5.4(_ZNK11POrdinalKey5CloneEv+0x27)[0x40a
c6f7f]
/root/pwlib/lib/libpt_linux_x86_r.so.1.5.4(_ZN19PAbstractDictionary13AbstractSet
AtERK7PObjectPS0_+0x70)[0x40ac7f1e]
/root/pwlib/lib/libpt_linux_x86_r.so.1.5.4[0x40980636]
/root/pwlib/lib/libpt_linux_x86_r.so.1.5.4(_ZN11PASN_ChoiceC2EjN11PASN_Object8Ta
gClassEjiRK7PString+0x3d)[0x40986bc7]
...
------
Here is another problem.
Occasionaly, it prompt as follows:
-----
Disable Bandwidth Management
2004/05/19 17:25:36.319 0             assert.cxx(105) 
 PWLib   Assertion fail:
Operating System error, file tlibthrd.cxx, line 679,
Error=24
 
<A>bort, <C>ore dump, <I>gnore? 
-----
If <I> is chosen,  GnuGK will continue to work.But
when shutdown, it also "Segmentation fault".
-----
I guess that maybe something does not assort with.
pwlib? glibc? linux kernel? or something else.

Would somebody give me some advise on it?

Think a lot in advance.

Kevin

_________________________________________________________
Do You Yahoo!? 
嫌邮箱太小?雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.html


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux