pjsua_core.c bind()error: Address already in use Crash help ?

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

 



Madhuri is right. And please don't say that it crashed when it didn't
(did it really crash btw?). Crash means segmentation fault, or access
violation on Windows. If pjsip reports an error and is shutting down
that is not crash. Sorry if I'm overly sensitive with this, but crash
is the worst sin in programming, so please be careful when saying it.
:)

Cheers
 Benny

On Thu, Mar 27, 2008 at 5:31 AM, Madhuri Patwardhan
<madhuri_patwardhan at yahoo.com> wrote:
> Hi,
>
>  In my experience the above error is associated with
>  the port. pjsip uses port 5060 by default for SIP. If
>  it is already in use then you would get this error. On
>  Windows, sometimes I have seen that even after you
>  exit pjsip application, if you try to invoke it
>  immediately you get this error.
>
>  You can try to invoke pjsip with different port.
>  Invoke pjsip with --help and you will see all the
>  options. You could use --local-port=5061 option and
>  try.
>
>  Madhuri
>
>
>
>  --- pele_smk <pelesmk at gmail.com> wrote:
>
>  > I'm trying to execute pjsua version 0.8.0 and 0.7.0
>  > and they're both
>  > crashing with the following errors. I don't have a
>  > sound-device and I'm not
>  > sure if that's is a must have for pjsua to run. Any
>  > help on how to analyze
>  > this log file would be greatly appreciated or if I
>  > need to possibly create a
>  > dummy sound device to trick pjsua into thinking I
>  > have a sound device would
>  > be greatly appreciated. Thanks again!
>  >
>  > -Daniel
>  >
>  >
>  > [root at phonebuzzer sip]# ./pjsua
>  >  20:17:18.047 os_core_unix.c pjlib 0.8.0 for POSIX
>  > initialized
>  >  20:17:18.097 sip_endpoint.c Creating endpoint
>  > instance...
>  >  20:17:18.120          pjlib select() I/O Queue
>  > created (0x9e1020c)
>  >  20:17:18.120 sip_endpoint.c Module "mod-msg-print"
>  > registered
>  >  20:17:18.120 sip_transport. Transport manager
>  > created.
>  >  20:17:18.120 sip_endpoint.c Module "mod-pjsua-log"
>  > registered
>  >  20:17:18.120 sip_endpoint.c Module "mod-tsx-layer"
>  > registered
>  >  20:17:18.120 sip_endpoint.c Module
>  > "mod-stateful-util" registered
>  >  20:17:18.121 sip_endpoint.c Module "mod-ua"
>  > registered
>  >  20:17:18.121 sip_endpoint.c Module "mod-100rel"
>  > registered
>  >  20:17:18.121 sip_endpoint.c Module "mod-pjsua"
>  > registered
>  >  20:17:18.121 sip_endpoint.c Module "mod-invite"
>  > registered
>  >  20:17:18.121      pasound.c PortAudio sound library
>  > initialized, status=0
>  >  20:17:18.121      pasound.c PortAudio host api
>  > count=1
>  >  20:17:18.121      pasound.c Sound device count=0
>  >  20:17:18.121          pjlib select() I/O Queue
>  > created (0x9e48e5c)
>  >  20:17:18.136 sip_endpoint.c Module "mod-evsub"
>  > registered
>  >  20:17:18.136 sip_endpoint.c Module "mod-presence"
>  > registered
>  >  20:17:18.136 sip_endpoint.c Module "mod-refer"
>  > registered
>  >  20:17:18.136 sip_endpoint.c Module "mod-pjsua-pres"
>  > registered
>  >  20:17:18.136 sip_endpoint.c Module "mod-pjsua-im"
>  > registered
>  >  20:17:18.136 sip_endpoint.c Module
>  > "mod-pjsua-options" registered
>  >  20:17:18.136   pjsua_core.c 1 SIP worker threads
>  > created
>  >  20:17:18.136   pjsua_core.c pjsua version 0.8.0 for
>  > i686-pc-linux-gnu
>  > initialized
>  >  20:17:18.136   pjsua_core.c bind() error: Address
>  > already in use
>  > [status=120098]
>  >  20:17:18.136   pjsua_core.c Shutting down...
>  >  20:17:19.628      pasound.c PortAudio sound library
>  > shutting down..
>  > > _______________________________________________
>  > 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
>  >
>
>
>
>       ____________________________________________________________________________________
>  Looking for last minute shopping deals?
>  Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
>  _______________________________________________
>  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
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux