Hi Philippe,
this is the stack trace when my program crashes.
Thanks for all,
regards.
boost_signals-vc71-mt-gd-1_33_1.dll!0037a7fd()
boost_signals-vc71-mt-gd-1_33_1.dll!0037b09a()
avcodec-51.dll!00f4cc4d()
> my-videocalling.exe!boost::signal4<void,SipWrapper &,int,_piximage
*,_piximage
*,boost::last_value<void>,int,std::less<int>,boost::function<void
__cdecl(SipWrapper &,int,_piximage *,_piximage *),std::allocator<void> >
>::operator()(SipWrapper & a1={...}, int a2=1, _piximage *
a3=0x02bef9e8, _piximage * a4=0x02bef9a8) Riga 337 + 0xf C++
my-videocalling.exe!myEventsHandler(OWPL_EVENT_CATEGORY
category=EVENT_CATEGORY_CALLSTATE, void * pInfo=0x0b92fdcc, void *
pUserData=0x00000000) Riga 318 C++
phapi.dll!owplFireEvent(OWPL_EVENT_CATEGORY
Category=EVENT_CATEGORY_CALLSTATE, void * pInfo=0x0b92fdcc) Riga 137 +
0x16 C
phapi.dll!owplFireCallEvent2(int hCall=1, OWPL_CALLSTATE_EVENT
event=CALLSTATE_VIDEO_EVENT, OWPL_CALLSTATE_CAUSE
cause=CALLSTATE_VIDEO_FRAME_RCV, const char *
szRemoteIdentity=0x00000000, int nData=0, const void * pData=0x02b9cc44,
int hAssociatedCall=0) Riga 213 + 0xb C
phapi.dll!ph_frame_display_cbk(void * ctx=0x101081a0, void *
event=0x02b9cc44) Riga 707 + 0x1f C
phapi.dll!ph_media_video_flush_queue(ph_video_stream *
stream=0x02b9cb18, unsigned long seqnumber_start=41985, unsigned long
seqnumber_end=41986) Riga 839 + 0x21 C
phapi.dll!ph_handle_video_network_data(ph_video_stream *
stream=0x02b9cb18, unsigned long timestamp=0, unsigned long *
ts_inc=0x0b92fefc) Riga 912 + 0x17 C
phapi.dll!ph_video_handle_data(ph_video_stream *
stream=0x02b9cb18) Riga 958 + 0x17 C
phapi.dll!ph_video_io_thread(void * p=0x02b9cb18) Riga 1126 + 0x9 C
msvcr71d.dll!_threadstartex(void * ptd=0x02af0e00) Riga 241 + 0xd C
kernel32.dll!7c80b683()
Philippe BERNERY wrote:
Le 25 mai 07 à 15:02, Luigi Bancaro a écrit :
Hi,
I found that my executable crashes here, on line
p->videoFrameReceivedEvent(...);
case CALLSTATE_VIDEO_FRAME_RCV :
if(info->pData != NULL) {
video_data = (phVideoFrameReceivedEvent_t *) info->pData;
#ifdef ENABLE_VIDEO
if(video_data != NULL) {
p->videoFrameReceivedEvent(*p, info->hCall,
video_data->frame_remote, video_data->frame_local);
}
#endif
}
Do you know the reason?
Luigi,
Your code seems correct however you may have a crash because a pointer
is not valid anymore, or because of race condition, or because of
anything else. It's difficult to tell why it crashes with these
information.
What is the stack trace you get when your code crashes ?
--
Philippe BERNERY <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
http://dev.openwengo.org
_______________________________________________
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel