Parsing message

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

 



Hi,

Debugger should be able to catch your "segmentation fault" easily!

Anyway, a quick skimming showed potential problem:
pjsip_parser_err_report is a list and list must be initialized first.
Or just try pjsip_parse_msg(..., NULL) to make sure if this was the
problem.

BR,
nanang


2010/9/16 Piotr Doniec <doniczek at gmail.com>:
> Hi all,
>
> I'm trying to parse SIP message using pjsip without success. Even the
> simplest program does not work. Here is the
> code?http://pastebin.com/gVTC3zRw?it gives my "Segmentation fault". Please
> help. I'm trying to make it work for 2 day now and it's very important to
> me.
>
> Regards,
> Peter
>
> _______________________________________________
> 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