PJ_INLINE(void)

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

 



On Sun, May 25, 2008 at 5:25 PM, Ayman Farouk <aymanfm at gmail.com> wrote:
> Dear All,
>
> I am using PJSUA_WINCE, I added a YES/NO MessageBox to the on_incoming call.
> It shows up fine, but when I click hangup I get "access violation error" at
> /* Internal */
> PJ_INLINE(void) pj_link_node(pj_list_type *prev, pj_list_type *next)
> {
>     ((pj_list*)prev)->next = next;
>     ((pj_list*)next)->prev = prev;
> }
>
> which is a part of list_i.h. Anyone knows what the problem is?
>

It's generally a bad idea to show modal dialog on the callback because
that will block the stack. Having said that, the stack should not
crash because of that, so the crash was caused by something else
(possibly in the application). It's impossible to know what's wrong
without seeing the call stack trace.

Cheers
 Benny



[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