Core dump in chan_ss7 -- here's the backtrace

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

 



The problem is an ACM arriving on cic:30 with DPC=9675 corresponding to rp4
linkset. And in this linkset there is no CIC: 30.
That's why the core dump.

Rk.

On 5/31/07, Juan Carlos Castro y Castro <jcastro@xxxxxxxxxxxxxx> wrote:
>
> Your wish is my command...
>
> Program terminated with signal 11, Segmentation fault.
> #0 0x00d11201 in isup_event_handler (event=0xb7b7caec) at l4isup.c:4017
> 4017 ast_log(LOG_DEBUG, "Got ISUP event, typ=%s, cic=%d, pvt.eq=%d \n",
> isupmsg(isup_msg.typ), isup_msg.cic, pvt->equipped);
> (gdb) bt full
> #0 0x00d11201 in isup_event_handler (event=0xb7b7caec) at l4isup.c:4017
> req = (struct mtp_req *) 0xb7b7caec
> isup_msg = {dpc = 16334, opc = 9675, sls = 14, cic = 30, typ = ISUP_ACM,
> {iam = {dni = {present = 1, restricted = 0, complete = 0,
> num = '\0' <repeats 20 times>}, ani = {present = 0, restricted = 0,
> complete = 0, num = '\0' <repeats 20 times>}, rni = {present = 0,
> restricted = 0,
> complete = 0, num = '\0' <repeats 20 times>}, redir_inf = {is_redirect =
> 0, reason = 0}, contcheck = 0, echocontrol = 0, trans_medium = 0 '\0'},
> sam = {
> sni = {present = 1, restricted = 0, complete = 0, num = '\0' <repeats 20
> times>}}, acm = {back_ind = {called_party_status = 1}, obc_ind = 0}, anm =
> {
> obc_ind = 1}, con = {obc_ind = 1}, rel = {cause = 1}, grs = {range = 1},
> gra = {range_status = {range = 1, status = '\0' <repeats 31 times>}},
> cgb = {
> cgsmti = 1, range_status = {range = 0, status = '\0' <repeats 31
> times>}}, cgu = {cgsmti = 1, range_status = {range = 0, status = '\0'
> <repeats 31 times>}},
> cua = {cgsmti = 1, range_status = {range = 0, status = '\0' <repeats 31
> times>}}, cpr = {event_info = 1, obc_ind = 0}, sus = {indicator = 1}}}
> linkset = (struct linkset *) 0xd57800
> pvt = (struct ss7_chan *) 0x0
> dpc = 9675
> res = 1
> __PRETTY_FUNCTION__ = "isup_event_handler"
> #1 0x00d1fa67 in cluster_receive_packet (senderix=0, fd=54) at cluster.c
> :570
> res = 10
> hostix = 0
> buf =
>
> "\v\000\000\000L?\000\000@\177+\000F\004\000\000?z(\000m\000\000\000\n\000\000\000??r?\036\000\006\026\004\000\n\a\003\0214\0044\001\001",
> '\0' <repeats 93 times>, "May 31 10:13:44", '\0' <repeats 65 times>,
> "May 31 10:16:57", '\0' <repeats 49 times>, "May 31 10:16:57", '\0'
> <repeats 66 times>, "106", '\0' <repeats 28 times>, "173", '\0' <repeats
> 30 times>, "106", '\0' <repeats 28 times>,
>
> "td2\000\000\000\000\000\000\000\000\000???\000481\000\000\000\000\000?v2\000\f"...
> event = (struct mtp_event *) 0xb7b7caec
> req = (struct mtp_req *) 0xb7b7caec
> sz = 4
> __PRETTY_FUNCTION__ = "cluster_receive_packet"
> #2 0x00d203bd in cluster_thread_main (data=0x0) at cluster.c:712
> ix = 0
> err = 0
> timeout = 263
> maxtimeout = 263
> i = 2
> j = 1
> res = 1
> __PRETTY_FUNCTION__ = "cluster_thread_main"
> #3 0x004373db in start_thread () from /lib/libpthread.so.0
> No symbol table info available.
> #4 0x0039126e in clone () from /lib/libc.so.6
> No symbol table info available.
>
>
> Robert Kenton escreveu:
> > Please, do a 'bt full' to see better the cause.
> >
> > Rk
> >
> > On 5/31/07, *Juan Carlos Castro y Castro* <jcastro@xxxxxxxxxxxxxx
> > <mailto:jcastro@xxxxxxxxxxxxxx>> wrote:
> >
> >     What could be causing it? And another question: since chan_ss7
> hasn't
> >     been updated in the last seven months, is there anyone there
> >     developing
> >     patches for it? My ss7.conf (two machines in a cluster) is below.
> >
> >     Program terminated with signal 11, Segmentation fault.
> >     #0 0x00d11201 in isup_event_handler (event=0xb7b7caec) at
> >     l4isup.c:4017
> >     4017 ast_log(LOG_DEBUG, "Got ISUP event, typ=%s, cic=%d, pvt.eq=%d
> >     \n", isupmsg(isup_msg.typ), isup_msg.cic, pvt->equipped);
> >     (gdb) bt
> >     #0 0x00d11201 in isup_event_handler (event=0xb7b7caec) at
> >     l4isup.c:4017
> >     #1 0x00d1fa67 in cluster_receive_packet (senderix=0, fd=54) at
> >     cluster.c:570
> >     #2 0x00d203bd in cluster_thread_main (data=0x0) at cluster.c:712
> >     #3 0x004373db in start_thread () from /lib/libpthread.so.0
> >     #4 0x0039126e in clone () from /lib/libc.so.6
> >
> >
> >     [linkset-rp1]
> >     enabled => yes
> >     enable_st => no
> >     use_connect => yes
> >     hunting_policy => even_mru
> >     subservice => auto
> >     context => ss7
> >     language => da
> >     t35 => 15000,timeout
> >     subservice => auto
> >
> >     [linkset-rp4]
> >     enabled => yes
> >     enable_st => no
> >     use_connect => yes
> >     hunting_policy => even_mru
> >     subservice => auto
> >     context => ss7
> >     language => da
> >     t35 => 15000,timeout
> >     subservice => auto
> >
> >     [link-l1]
> >     linkset => rp1
> >     channels => 1-15,17-31
> >     schannel => 16
> >     firstcic => 1
> >     enabled => yes
> >
> >     [link-l2]
> >     linkset => rp4
> >     channels => 1-31
> >     schannel =>
> >     firstcic => 1
> >     enabled => yes
> >
> >     [link-l10]
> >     linkset => rp4
> >     channels => 1-15,17-31
> >     schannel => 16
> >     firstcic => 129
> >     enabled => yes
> >
> >     [host-iv-si-mgt-01]
> >     enabled => yes
> >     default_linkset => rp1
> >     opc => 0x3fce ; 16334
> >     dpc => rp1:0x25cb,rp4:0x25cf ; 9675, 9679
> >     links => l1:1,l2:2
> >     if-1 => 192.168.40.106 <http://192.168.40.106>
> >
> >     [host-iv-si-mgt-03]
> >     enabled => yes
> >     default_linkset => rp4
> >     opc => 0x3fce ; 16334
> >     dpc => rp1:0x25cf,rp4:0x25cb ; 9679, 9675
> >     links => l10:2
> >     if-1 => 192.168.40.108 <http://192.168.40.108>
> >
> >     [cluster]
> >     ; Listen on TCP port 5040
> >     port => 5040
> >     l1 => iv-si-mgt-03#if-1
> >     l2 => iv-si-mgt-03#if-1
> >     l10 => iv-si-mgt-01#if-1
> >
> >     _______________________________________________
> >     --Bandwidth and Colocation provided by Easynews.com
> >     <http://Easynews.com> --
> >
> >     asterisk-ss7 mailing list
> >     To UNSUBSCRIBE or update options visit:
> >     http://lists.digium.com/mailman/listinfo/asterisk-ss7
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-ss7 mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-ss7
> >
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20070531/61d4e862/attachment.htm

[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux