[Asterisk-Dev] RE: Latest CVS: Segmentation fault (core dumped)

VoIP voip at er21.com
Mon Dec 27 17:15:59 MST 2004


Hi, 
What do you mean "update"?  My server has no previous copy installed, so I
just checked out fresh copy and installed.  
The server can be started successfully but when SIP phone tries to register
with it, it crashes. 

Any idea?  Thanks in advance. 



-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Brian West
To: 'Asterisk Developers Mailing List'
Subject: RE: [Asterisk-Dev] RE: Latest CVS: Segmentation fault (core dumped)

Make sure you update.

bkw

> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-
> bounces at lists.digium.com] On Behalf Of VoIP
> Sent: Monday, December 27, 2004 12:45 PM
> To: 'Asterisk Developers Mailing List'
> Subject: [Asterisk-Dev] RE: Latest CVS: Segmentation fault (core dumped)
> 
> I've installed latest CVS on 2 servers, one with digium card and the other
> w/o digium card. Both got segmentation fault. Thru gdb, I got the below
> results which is not the app_voicemail problem.
> 
> (gdb) bt full
> #0  0x4003c89e in pthread_mutex_lock () from /lib/tls/libpthread.so.0
> No symbol table info available.
> #1  0x41b3ddbd in register_verify (p=0x8158cf0, sin=0x431313cc,
>     req=0x431313dc, uri=0x431315f9 "sip:mycom.com", ignore=0) at
> chan_sip.c:5017
>         destroyme = 0
>         res = -1
>         peer = (struct sip_peer *) 0x0
>         tmp = "<sip:admin\000mycom.com", '\0' <repeats 236 times>
>         iabuf = "\024\n\023BÓ\026\023C¬ý\022C\fý\022C"
>         name = 0x4312fd11 "admin"
>         c = 0x4312fd16 ""
>         t = 0x43131605 ""
> #2  0x41b4984f in handle_request (p=0x8158cf0, req=0x431313dc,
> sin=0x431313cc,
>     recount=0x431313b8, nounlock=0x431313bc) at chan_sip.c:7843
>         resp = {rlPart1 = 0x0, rlPart2 = 0x0, len = 0, headers = 0, header
> =
> {
>     0x0 <repeats 64 times>}, lines = 0, line = {0x0 <repeats 64 times>},
>   data = '\0' <repeats 4095 times>}
>         cmd = 0x431315f0 "REGISTER"
>         cseq = 0x431316ca " REGISTER"
>         from = 0x0
>         e = 0x431315f9 "sip:mycom.com"
>         useragent = 0x41b50df9 ""
>         c = (struct ast_channel *) 0x0
> ---Type <return> to continue, or q <return> to quit---
>         transfer_to = (struct ast_channel *) 0x0
>         seqno = 1
>         len = 1
>         ignore = 0
>         respid = 0
>         res = -1
>         gotdest = 0
>         iabuf = '\0' <repeats 15 times>
>         af = {frametype = 5, subclass = 0, datalen = 0, samples = 0,
>   mallocd = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0,
>     tv_usec = 0}, prev = 0x0, next = 0x0}
>         debug = 0
> #3  0x41b49f9d in sipsock_read (id=0x8128b18, fd=9, events=1, ignore=0x0)
>     at chan_sip.c:7941
>         req = {rlPart1 = 0x431315f0 "REGISTER",
>   rlPart2 = 0x431315f9 "sip:mycom.com", len = 349, headers = 9, header = {
>     0x431315f0 "REGISTER", 0x4313160f "Content-Length: 0",
>     0x43131622 "Contact: <sip:admin at 192.168.1.101:5060>",
>     0x4313164b "Call-ID:
> DF512780-EECA-4819-9D2D-EA050CC10506 at 192.168.1.101",
>     0x43131688 "Max-Forwards: 70",
>     0x4313169a "From: <sip:admin at mycom.com>;tag=14422979",
>     0x431316c3 "CSeq: 1 REGISTER", 0x431316d5 "To: <sip:admin at mycom.com>",
>     0x431316ef "Via: SIP/2.0/UDP
> 192.168.1.101:5060;branch=z9hG4bKc0a801650131c9---Type <return> to
> continue,
> or q <return> to quit---
> b141d0551c000010a100000001", 0x4313174b "", 0x0 <repeats 54 times>},
>   lines = 0, line = {0x4313174d "", 0x0 <repeats 63 times>},
>   data = "REGISTER\000sip:mycom.com\000SIP/2.0\000\000Content-Length:
> 0\000\000Contact: <sip:admin at 192.168.1.101:5060>\000\000Call-ID:
> DF512780-EECA-4819-9D2D-EA050CC10506 at 192.168.1.101\000\000Max-Forwards:
> 70\000\000From: <sip:admin at mycom.com>;tag"...}
>         sin = {sin_family = 2, sin_port = 50743, sin_addr = {
>     s_addr = 616355034}, sin_zero = "\000\000\000\000\000\000\000"}
>         p = (struct sip_pvt *) 0x8158cf0
>         res = 349
>         len = 16
>         nounlock = 0
>         recount = 0
>         debug = 0
> #4  0x08053345 in ast_io_wait (ioc=0x811ed80, howlong=1000) at io.c:267
>         res = 1
>         x = 0
>         origcnt = 1
> #5  0x41b4a6bc in do_monitor (data=0x0) at chan_sip.c:8088
>         res = 1000
>         sip = (struct sip_pvt *) 0x0
>         peer = (struct sip_peer *) 0x0
>         t = 1104172719
> ---Type <return> to continue, or q <return> to quit---
>         fastrestart = 0
>         lastpeernum = -1
>         curpeernum = 0
>         reloading = 0
> #6  0x4003b2b6 in start_thread () from /lib/tls/libpthread.so.0
> No symbol table info available.
> (gdb)
> 
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev





More information about the asterisk-dev mailing list