[SIP Beyond VoIP] SIPCoreError: PJSIPUA is not instantiated

ANIL KARADAĞ anil.karadag at gmail.com
Fri Feb 22 15:15:25 CET 2013


Hi Saúl,


I re-checked the file content according to your mail, shared only the
following because others were logged with log level INFO. And all of them
related with closed connection [1].


2013-02-21 21:08:27.439150 [sylk-server 1652]: Notification
name=SIPEngineGotException sender=<Engine(Thread-1, started daemon
139928778000128)>
{'traceback': 'Traceback (most recent call last):\n  File
"/usr/lib64/python2.6/site-packages/sipsimple/core/_engine.py", line 110,
in run\n    failed = self._ua.poll()\n  File "_core.ua.pxi", line 694, in
sipsimple.core._core.PJSIPUA.poll (sipsimple/core/_core.c:42735)\n  File
"_core.ua.pxi", line 43, in sipsimple.core._core.Timer.call
(sipsimple/core/_core.c:34501)\n  File "_core.invitation.pxi", line 1045,
in sipsimple.core._core.Invitation._cb_state
(sipsimple/core/_core.c:119114)\n  File "_core.ua.pxi", line 37, in
sipsimple.core._core.Timer.cancel (sipsimple/core/_core.c:34439)\n  File
"_core.ua.pxi", line 740, in sipsimple.core._core.PJSIPUA._remove_timer
(sipsimple/core/_core.c:43306)\nValueError: list.remove(x): x not in
list\n',
 'type': <type 'exceptions.ValueError'>,
 'value': ValueError('list.remove(x): x not in list',)}

2013-02-21 21:08:27.441103 [sylk-server 1652]: Notification
name=SIPEngineDidFail sender=<Engine(Thread-1, started daemon
139928778000128)>

2013-02-21 21:08:29.105116 [sylk-server 1652]: Notification
name=SIPApplicationDidEnd sender=<sylk.server.SylkServer object at
0x2535550>
{'end_reason': 'engine failed'}



[1]

2013-02-21 21:08:27.851257 [sylk-server 1652]: Notification
name=MSRPLibraryLog sender=UnknownSender
{'level': INFO, 'message': 'Closed connection to 1.1.1.1:56926 (Connection
to the other side was lost in a non-clean fashion: Connection lost.)'}

thanks

On Fri, Feb 22, 2013 at 2:01 PM, Saúl Ibarra Corretgé
<saul at ag-projects.com>wrote:

>
> On Feb 22, 2013, at 12:57 PM, ANIL KARADAĞ wrote:
>
> >
> > The file size (~1,4GB) is too big. Do you have a ftp server?
> >
>
> Nope. Can you locate SIPEngineDidFail inside that file?
>
> >
> > On Fri, Feb 22, 2013 at 11:22 AM, Saúl Ibarra Corretgé <
> saul at ag-projects.com> wrote:
> >
> > On Feb 22, 2013, at 9:13 AM, ANIL KARADAĞ wrote:
> >
> > > Hi Saúl,
> > >
> > >
> > > I tried to re-produce the problematic scenario. But there is no
> "PJSIPUA is not instantiate" message in syslog file.
> > >
> > >
> > > But SylkServer behaves same.
> > >
> > >
> > > logs;
> > >
> > >
> > > 1- notification_trace.txt
> > >
> > > 2013-02-21 21:08:29.105116 [sylk-server 1652]: Notification
> name=SIPApplicationDidEnd sender=<sylk.server.SylkServer object at
> 0x2535550>
> > > {'end_reason': 'engine failed'}
> > >
> >
> > Can you attach the full notifications trace? There will be a
> SIPEngineDidFail notification which will explain what is happening.
> >
> > >
> > > 2- syslog;
> > >
> > > Feb 21 21:08:26 sylk-server[1652]: error: An exception occured within
> the SIP core:
> > > Feb 21 21:08:26 sylk-server[1652]: error: Traceback (most recent call
> last):
> > > Feb 21 21:08:26 sylk-server[1652]: error:   File
> "/usr/lib64/python2.6/site-packages/sipsimple/core/_engine.py", line 110,
> in run
> > > Feb 21 21:08:26 sylk-server[1652]: error:     failed = self._ua.poll()
> > > Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.ua.pxi", line
> 694, in sipsimple.core._core.PJSIPUA.poll (sipsimple/core/_core.c:42735)
> > > Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.ua.pxi", line
> 43, in sipsimple.core._core.Timer.call (sipsimple/core/_core.c:34501)
> > > Feb 21 21:08:26 sylk-server[1652]: error:   File
> "_core.invitation.pxi", line 1045, in
> sipsimple.core._core.Invitation._cb_state (sipsimple/core/_core.c:119114)
> > > Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.ua.pxi", line
> 37, in sipsimple.core._core.Timer.cancel (sipsimple/core/_core.c:34439)
> > > Feb 21 21:08:26 sylk-server[1652]: error:   File "_core.ua.pxi", line
> 740, in sipsimple.core._core.PJSIPUA._remove_timer
> (sipsimple/core/_core.c:43306)
> > > Feb 21 21:08:26 sylk-server[1652]: error: ValueError: list.remove(x):
> x not in list
> > >
> > >
> > >
> > > On Thu, Feb 21, 2013 at 11:25 AM, Saúl Ibarra Corretgé <
> saul at ag-projects.com> wrote:
> > >
> > > On Feb 21, 2013, at 9:36 AM, ANIL KARADAĞ wrote:
> > >
> > > > Hi Saúl,
> > > >
> > > >
> > > > I found a new data; strace shows status pause for parent SylkServer
> process. And checked there is no any childs. So I think the parent process
> waits child.
> > >
> > > SylkServer is not multiprocess. That pause is performed in the main
> Python thread, the actual SIP engine runs in another thread. Looks like the
> SIP engine died for some reason, but I can't confirm unless I see the
> notifications.
> > >
> > > --
> > > Saúl Ibarra Corretgé
> > > AG Projects
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Anıl KARADAĞ
> > > Senior Software Developer
> >
> > --
> > Saúl Ibarra Corretgé
> > AG Projects
> >
> >
> >
> >
> >
> >
> > --
> > Anıl KARADAĞ
> > Senior Software Developer
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
>
>
>


-- 
Anıl KARADAĞ
Senior Software Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20130222/fa8d4759/attachment-0001.html>


More information about the SIPBeyondVoIP mailing list