Re: [Ekiga-devel-list] Issues and crash with new opal/pwlib sockets code



Hi,


Can you post a -d 4 output ?

Le jeudi 16 ao�07 �9:49 +0200, thomas schorpp a �it :
> hi.
> 
> outgoing calls fail here always with loop detected since ~3days following opal+pwlibs cvs heads, 
> see attachment. 
> 
> on incoming call segfault happens (codec PCMA, G711a; local CallWeaver PBX):
> 
> (gdb) bt full
> #0  0x00002ad0f92d4b73 in OpalConnection::OpenSourceMediaStream (this=0xe2b910,
>     mediaFormats= 0x40a07180, sessionID=1) at /usr/local/src/opal/src/opal/connection.cxx:929
>         safeLock = {safeObject = @0xe2b910, locked = 1}
>         stream = (class OpalMediaStream *) 0x4
>         sourceFormat = {<PCaselessString> = {<PString> = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x761230}, reference = 0x76d360},
>             elementSize = 1, theArray = 0x76d380 "PCM-16",
>             allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}, rtpPayloadType = RTP_DataFrame::MaxPayloadType,
>   rtpEncodingName = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f8d21970}, reference = 0x76d100}, elementSize = 1,
>           theArray = 0x76d960 "",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   defaultSessionID = 1, media_format_mutex = {<PSync> = {<PObject> = {
>         _vptr.PObject = 0x2ad0f8d1a750}, <No data fields>}, mutex = {__data = {__lock = 0,
>         __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {__prev = 0x0,
>           __next = 0x0}}, __size = '\0' <repeats 16 times>, "\001", '\0' <repeats 22 times>,
>       __align = 0}},
>   options = {<PAbstractSortedList> = {<PCollection> = {<PContainer> = {<PObject> = {
>             _vptr.PObject = 0x50f4d0}, reference = 0xe20320}, <No data fields>},
>       info = 0xd5ac20}, <No data fields>}, codecBaseTime = 0}
>         destinationFormat = {<PCaselessString> = {<PString> = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x761230},
>               reference = 0x76f140}, elementSize = 1, theArray = 0x76f1d0 "G.711-ALaw-64k",
>             allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}, rtpPayloadType = RTP_DataFrame::PCMA,
>   rtpEncodingName = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f8d21970}, reference = 0x76f180}, elementSize = 1,
>           theArray = 0x76f5b0 "PCMA",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   defaultSessionID = 1, media_format_mutex = {<PSync> = {<PObject> = {
>         _vptr.PObject = 0x2ad0f8d1a750}, <No data fields>}, mutex = {__data = {__lock = 0,
> ---Type <return> to continue, or q <return> to quit---
>         __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {__prev = 0x0,
>           __next = 0x0}}, __size = '\0' <repeats 16 times>, "\001", '\0' <repeats 22 times>,
>       __align = 0}},
>   options = {<PAbstractSortedList> = {<PCollection> = {<PContainer> = {<PObject> = {
>             _vptr.PObject = 0x50f4d0}, reference = 0xea6d00}, <No data fields>},
>       info = 0xe20380}, <No data fields>}, codecBaseTime = 0}
> #1  0x00002ad0f9319d49 in OpalPCSSConnection::OpenSourceMediaStream (this=0xe2b910,
>     mediaFormats= 0x40a07180, sessionID=1) at /usr/local/src/opal/src/opal/pcss.cxx:573
> No locals.
> #2  0x00002ad0f92dc4e9 in OpalCall::OpenSourceMediaStreams (this=0xe63cf0, connection= 0xe640f0,
>     mediaFormats= 0xe65048, sessionID=1) at /usr/local/src/opal/src/opal/call.cxx:585
>         conn = {<PSafePtrBase> = {<PObject> = {_vptr.PObject = 0x50e550}, collection = 0xe63fe8,
>     currentObject = 0xe2b910, lockMode = PSafeReadOnly}, <No data fields>}
>         startedOne = 0
>         adjustableMediaFormats = {<PList<OpalMediaFormat>> = {<PAbstractList> = {<PCollection> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x517fd0}, reference = 0xd5aba0}, <No data fields>},
>       info = 0xe29c10}, <No data fields>}, <No data fields>}
> #3  0x00002ad0f96a9f8f in SIPConnection::OnOpenSourceMediaStreams (this=0xe640f0,
>     remoteFormatList= 0xe65048, sessionId=1, localMedia=0xea6a80)
>     at /usr/local/src/opal/src/sip/sipcon.cxx:1600
>         reverseStreamsFailed = 1
>         otherList = {<PList<OpalMediaFormat>> = {<PAbstractList> = {<PCollection> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x40a073e0}, reference = 0xe64800}, <No data fields>},
>       info = 0x140a073e0}, <No data fields>}, <No data fields>}
> #4  0x00002ad0f96aa828 in SIPConnection::OnSendSDPMediaDescription (this=0xe640f0,
>     sdpIn= 0xe64ad8, rtpMediaType=SDPMediaDescription::Audio, rtpSessionId=1, sdpOut= 0x40a07720)
>     at /usr/local/src/opal/src/sip/sipcon.cxx:1566
>         hasNSE = 0
>         i = 8
>         reverseStreamsFailed = 1
>         sdpMediaList = (
>     const SDPMediaFormatList &) @0xd86f88: {<PAbstractList> = {<PCollection> = {<PContainer> = {<PO---Type <return> to continue, or q <return> to quit---
> bject> = {_vptr.PObject = 0x2ad0f9b38810}, reference = 0xce0560}, <No data fields>},
>     info = 0xcdc240}, <No data fields>}
>         hasTelephoneEvent = 1
>         localAddress = {<PString> = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f9ac4d30}, reference = 0x7fe630}, elementSize = 1,
>           theArray = 0xea79f0 "udp$192.168.0.100:5000",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   transport = 0xcf7540}
>         ip = <incomplete type>
>         port = 13020
>         rtpSession = (class RTP_UDP *) 0x7ff200
>         incomingMedia = (class SDPMediaDescription *) 0xd86ef0
>         localMedia = (class SDPMediaDescription *) 0xea6a80
>         mediaAddress = {<PString> = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f9ac4d30}, reference = 0xd87300}, elementSize = 1,
>           theArray = 0xd59000 "tcp$192.168.0.1:13020",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   transport = 0xcf73d0}
> #5  0x00002ad0f96a9d82 in SIPConnection::ConstructSDP (this=0xe640f0, sdpOut= 0x40a07720)
>     at /usr/local/src/opal/src/sip/sipcon.cxx:1325
>         sdpFailure = 1
> #6  0x00002ad0f96aaf8f in SIPConnection::SetConnected (this=0xe640f0)
>     at /usr/local/src/opal/src/sip/sipcon.cxx:1413
>         safeLock = {safeObject = @0xe640f0, locked = 1}
>         sdpOut = {<PObject> = {_vptr.PObject = 0x2ad0f9b38690},
>   mediaDescriptions = {<PAbstractList> = {<PCollection> = {<PContainer> = {<PObject> = {
>             _vptr.PObject = 0x2ad0f9b376b0}, reference = 0xd5a480}, <No data fields>},
>       info = 0xe7b180}, <No data fields>}, direction = SDPMediaDescription::Undefined,
>   protocolVersion = 0,
>   sessionName = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f8d21970}, reference = 0xea78d0}, elementSize = 1,
>           theArray = 0x7fe7b0 "Opal SIP Session",
> ---Type <return> to continue, or q <return> to quit---
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   ownerUsername = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f8d21970}, reference = 0xea7970}, elementSize = 1,
>           theArray = 0xe9b370 "-",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   ownerSessionId = 1187249537, ownerVersion = 1187249537,
>   ownerAddress = {<PString> = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f9ac4d30}, reference = 0x7fe7d0}, elementSize = 1,
>             theArray = 0xea79b0 "udp$192.168.0.100",
>             allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>     transport = 0xcf7540},
>   defaultConnectAddress = {<PString> = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f9ac4d30}, reference = 0x7fe7d0},
>             elementSize = 1, theArray = 0xea79b0 "udp$192.168.0.100",
>             allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>     transport = 0xcf7540},
>   bandwidthModifier = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f8d21970}, reference = 0xe9b5b0}, elementSize = 1,
>           theArray = 0xe29330 "",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   bandwidthValue = 0}
> #7  0x00002ad0f92dce0a in OpalCall::OnConnected (this=0xe63cf0, connection= 0xe2b910)
>     at /usr/local/src/opal/src/opal/call.cxx:468
>         formats = {<PList<OpalMediaFormat>> = {<PAbstractList> = {<PCollection> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x40000}, reference = 0x40a08950}, <No data fields>},
>       info = 0x7fb700}, <No data fields>}, <No data fields>}
>         conn = {<PSafePtrBase> = {<PObject> = {_vptr.PObject = 0x50e550}, collection = 0xe63fe8,
>     currentObject = 0xe640f0, lockMode = PSafeReadOnly}, <No data fields>}
>         ok = 0
>         createdOne = 0
> #8  0x00002ad0f92c51ca in OpalManager::OnConnected (this=0x7fb700, connection= 0xe2b910)
>     at /usr/local/src/opal/src/opal/manager.cxx:849
> ---Type <return> to continue, or q <return> to quit---
> No locals.
> #9  0x00002ad0f92ce5d6 in OpalEndPoint::OnConnected (this=0xc2fdd0, connection= 0xe2b910)
>     at /usr/local/src/opal/src/opal/endpoint.cxx:569
> No locals.
> #10 0x00002ad0f92d13b4 in OpalConnection::OnConnected (this=0xe2b910)
>     at /usr/local/src/opal/src/opal/connection.cxx:873
> No locals.
> #11 0x00002ad0f931987c in OpalPCSSConnection::AcceptIncoming (this=0xe2b910)
>     at /usr/local/src/opal/src/opal/pcss.cxx:640
> No locals.
> #12 0x00002ad0f931ac02 in OpalPCSSEndPoint::AcceptIncomingConnection (this=0xc2fdd0,
>     token= 0xc301a0) at /usr/local/src/opal/src/opal/pcss.cxx:403
>         connection = {<PSafePtrBase> = {<PObject> = {_vptr.PObject = 0x2ad0f9ac7470},
>     collection = 0xc2ff98, currentObject = 0xe2b910, lockMode = PSafeReadOnly}, <No data fields>}
> #13 0x00000000004b04b3 in GMPCSSEndpoint::AcceptCurrentIncomingCall (this=0xc2fdd0)
>     at endpoints/pcss.cpp:86
> No locals.
> #14 0x00000000004a3107 in GMManager::AcceptCurrentIncomingCall (this=<value optimized out>)
>     at endpoints/manager.cpp:181
> No locals.
> #15 0x00000000004b659f in GMURLHandler::Main (this=0x7feef0) at endpoints/urlhandler.cpp:431
>         call_history_item = <value optimized out>
>         main_window = (GtkWidget *) 0xabcb50
>         chat_window = (GtkWidget *) 0xac58b0
>         history_window = (GtkWidget *) 0x9af260
>         statusicon = (GtkWidget *) 0xc10820
>         dbus_component = (GObject *) 0xc15f80
>         call_address = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x2ad0f8d21970}, reference = 0x800320}, elementSize = 1,
>         theArray = 0xe65380 "",
>         allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>}
>         current_call_token = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer---Type <return> to continue, or q <return> to quit---
> > = {<PObject> = {_vptr.PObject = 0x2ad0f8d21970}, reference = 0xd746e0}, elementSize = 1,
>         theArray = 0xd582a0 "",
>         allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>}
>         old_url = {
>   url = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {
>               _vptr.PObject = 0x2ad0f8d21970}, reference = 0x7fe230}, elementSize = 1,
>           theArray = 0xd43370 "",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   port = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {
>               _vptr.PObject = 0x2ad0f8d21970}, reference = 0xe7a7b0}, elementSize = 1,
>           theArray = 0xd53c00 "",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   type = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {
>               _vptr.PObject = 0x2ad0f8d21970}, reference = 0xa556a0}, elementSize = 1,
>           theArray = 0xc30460 "",
>           allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>},
>   is_supported = 0}
>         l = <value optimized out>
>         contact = <value optimized out>
>         msg = <value optimized out>
>         nbr = 0
>         result = <value optimized out>
>         endpoint = (class GMManager *) 0x7fb700
> #16 0x00002ad0f8a1c03f in PThread::PX_ThreadStart (arg=0x7feef0) at tlibthrd.cxx:1343
>         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {4618880, 7063316675837820436,
>         262144, 1084262736, 7, 1084264448, 7063316675808460308, 4009471497777184276},
>       __mask_was_saved = 0}}, __pad = {0x40a081d0, 0x0, 0x2ad0f9d6e25a, 0x0}}
>         __cancel_routine = (void (*)(void *)) 0x2ad0f8a1bc66 <PThread::PX_ThreadEnd(void*)>
>         __cancel_arg = (void *) 0x7feef0
>         not_first_call = 0
>         thread = (PThread *) 0x7feef0
> #17 0x00002ad0f9d6d225 in start_thread () from /lib/libpthread.so.0
> ---Type <return> to continue, or q <return> to quit---
> No symbol table info available.
> #18 0x00002ad0fac3333d in clone () from /lib/libc.so.6
> No symbol table info available.
> (gdb)   
> 
>                                      
> 
> _______________________________________________
> Ekiga-devel-list mailing list
> Ekiga-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
-- 
 _     Damien Sandras
(o-      
//\    Ekiga Softphone : http://www.ekiga.org/
v_/_   NOVACOM         : http://www.novacom.be/
       FOSDEM          : http://www.fosdem.org/
       SIP Phone       : sip:dsandras ekiga net
                       




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