[pjsip] Segmentation fault

Benny Prijono bennylp at pjsip.org
Fri Feb 29 05:50:04 EST 2008


On 2/28/08, chethana hegde <hegdechethana at yahoo.com> wrote:
> Hi benny,
>  I have built pjsua statically and running it on arm target ,
>  I am able to build it successfully ,but while running on arm target getting
> Segmentation fault, without showing  where exactly is the problem.
>  What is the reson for such error?
>

It's quite hard to know without any details. Did the segfault happen
immediately after console menu is printed, or after few seconds, or
after some other events (incoming call, perhaps)?

Which pjsua version is this? What's your ./configure flags? And the
content of config_site.h?

cheers,
 -benny


>  Can anybody help me please....
>  when run on target ./pjsua-arm-unknown-linux-gnu it shows the window but
> comes out of application immediately  showing Segmentation Fault
>
> +=============================================================================+
>  |       Call Commands:         |   Buddy, IM & Presence:  |     Account:
>   |
>  |                              |                          |
>   |
>  |  m  Make new call            | +b  Add new buddy       .| +a  Add new
> accnt |
>  |  M  Make multiple calls      | -b  Delete buddy         | -a  Delete
> accnt. |
>  |  a  Answer call              |  i  Send IM              | !a  Modify
> accnt. |
>  |  h  Hangup call  (ha=all)    |  s  Subscribe presence   | rr
> (Re-)register |
>  |  H  Hold call                |  u  Unsubscribe presence | ru  Unregister
>   |
>  |  v  re-inVite (release hold) |  t  ToGgle Online status |  >  Cycle next
> ac.|
>  |  U  send UPDATE              |  T  Set online status    |  <  Cycle prev
> ac.|
>  | ],[ Select next/prev call
> +--------------------------+-------------------+
>  |  x  Xfer call                |      Media Commands:     |  Status &
> Config: |
>  |  X  Xfer with Replaces       |                          |
>   |
>  |  #  Send RFC 2833 DTMF       | cl  List ports           |  d  Dump status
>   |
>  |  *  Send DTMF with INFO      | cc  Connect port         | dd  Dump
> detailed |
>  | dq  Dump curr. call quality  | cd  Disconnect port      | dc  Dump config
>   |
>  |                              |  V  Adjust audio Volume  |  f  Save config
>   |
>  |  S  Send arbitrary REQUEST   | Cp  Codec priorities     |  f  Save config
>   |
> +------------------------------+--------------------------+-------------------+
>  |  q  QUIT       sleep N: console sleep for N ms    n: detect NAT type
>   |
> +=============================================================================+
>  You have 0 active call
>  >>> Segmentation fault
>  #
>
>  Thanks in advance
>  Chethana
>




More information about the pjsip mailing list