On 3/4/08, raja at solnettechnologies.com <raja at solnettechnologies.com> wrote: > > Hi all, > We are developing a sip client using pjsip,We also tested our sip client > with asterisk sip server and it works > fine,but the same sip client when we tried with OpenSer our appilication > segfaults We were unable to find the > exact cause.In OpenSer case the calls are getting established with proper > media path but when the call gets disconnected the > call originating side sip client application segfauls. > > I also found in our code segment when I comment out this line > /*pjsua_conf_connect(player_port, call_info.conf_slot); */ > the appilication doesn't segfaults. Note:This happens olny with OpenSer. > If that's the case, probably you forgot to disconnect the file player from the call in the conference when the call gets disconnected? Btw I don't think we're looking at the right thread backtrace below. cheers, -benny > below I have pasted backtrace of the gdb.please help me in this. > #0 0x00e7e519 in pj_pool_release () from /home/nat/lib/libMT.so.0 > #1 0x00e2191b in pjsip_tx_data_dec_ref () from /home/nat/lib/libMT.so.0 > #2 0x00e07848 in inv_set_state () from /home/nat/lib/libMT.so.0 > #3 0x00e085ef in inv_respond_incoming_bye () from /home/nat/lib/libMT.so.0 > #4 0x00e091fc in inv_on_state_confirmed () from /home/nat/lib/libMT.so.0 > #5 0x00e05830 in mod_inv_on_tsx_state () from /home/nat/lib/libMT.so.0 > #6 0x00e2c7ed in pjsip_dlg_on_tsx_state () from /home/nat/lib/libMT.so.0 > #7 0x00e2ee3c in mod_ua_on_tsx_state () from /home/nat/lib/libMT.so.0 > #8 0x00e28ce8 in tsx_set_state () from /home/nat/lib/libMT.so.0 > #9 0x00e29493 in tsx_on_state_null () from /home/nat/lib/libMT.so.0 > #10 0x00e2a86b in pjsip_tsx_recv_msg () from /home/nat/lib/libMT.so.0 > #11 0x00e2d0c2 in pjsip_dlg_on_rx_request () from /home/nat/lib/libMT.so.0 > #12 0x00e2f47d in mod_ua_on_rx_request () from /home/nat/lib/libMT.so.0 > #13 0x00e1c7d7 in endpt_on_rx_msg () from /home/nat/lib/libMT.so.0 > #14 0x00e207b1 in pjsip_tpmgr_receive_packet () from /home/nat/lib/libMT.so.0 > #15 0x00e22d37 in udp_on_read_complete () from /home/nat/lib/libMT.so.0 > #16 0x00e7a4f2 in ioqueue_dispatch_read_event () from /home/nat/lib/libMT.so.0 > #17 0x00e7b2fe in pj_ioqueue_poll () from /home/nat/lib/libMT.so.0 > #18 0x00e1c342 in pjsip_endpt_handle_events2 () from /home/nat/lib/libMT.so.0 > #19 0x00dfce8e in pjsua_handle_events () from /home/nat/lib/libMT.so.0 > #20 0x00dfd984 in worker_thread () from /home/nat/lib/libMT.so.0 > #21 0x00e78d87 in thread_main () from /home/nat/lib/libMT.so.0 > #22 0x446613db in start_thread () from /lib/libpthread.so.0 > #23 0x445bb06e in clone () from /lib/libc.so.6 > > > > with regards > raja > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >