Re: [Ekiga-devel-list] Real Issue is Opal::Call virtual table missing



HI Eugene,

I observed the Virtual Table of Opal::Call is missing at second answer
or hungup.
First answer
(gdb) print *call
$1 = {_vptr.Call = 0xb7e7d660 <vtable for Opal::Call+256>
Ekiga answers successfully.

2nd answer
(gdb) print *call
$1 = {_vptr.Call = 0x33352020,
Ekiga crashs with pure virtual method.

The second answer or hungup will have pure virtual method crash since
the *call could not find Opal::Call.

I notice that the boost::bind or boost::signal is not really reliable
following the Opal::Call object.

Best Regards,
Lorin




On Fri, Jan 4, 2013 at 3:34 PM, Eugen Dedu
<Eugen Dedu pu-pm univ-fcomte fr> wrote:
> Let's try this:  in plugins/libnotify/libnotify-main.cpp, could you replace
> function call_notification_action_cb with:
>
>
> static void
> call_notification_action_cb (NotifyNotification *notification,
>                              gchar *action,
>                              gpointer data)
> {
>   std::cout << "1 " << action << std::endl;
>
>   Ekiga::Call *call = (Ekiga::Call *) data;
>
>   std::cout << "2 " << action << std::endl;
>   notify_notification_close (notification, NULL);
>   std::cout << "3 " << action << std::endl;
>
>   if (!strcmp (action, "accept"))
>     call->answer ();
>   else
>     call->hang_up ();
> }
>
> recompile ekiga, make install, and give the gdb trace again?
>
>
> On 03/01/13 00:23, Lorin Melander wrote:
>>
>> not really  I press answer only.
>> I follow instructions of the ekiga website to get ptlib and opal.
>>
>> On Wed, Jan 2, 2013 at 4:20 PM, Eugen Dedu
>> <Eugen Dedu pu-pm univ-fcomte fr>  wrote:
>>>
>>> On 02/01/13 21:29, Lorin Melander wrote:
>>>>
>>>>
>>>> I'm running Ubuntu 12.10 OS and use Ekiga 4.0 for h323 test.
>>>>
>>>> I was able to dial to the Ekiga from the ntouch VP (Sorenson VP
>>>> H323/SIP).
>>>>
>>>> However the crash occurred after redailing to the ekiga.
>>>>
>>>> The Ekiga can redial to the ntouch VP without problem but the Ekiga
>>>> would be crashed after redailing from the ntouch VP.
>>>>
>>>> Help much appreciated.  Happy to provide additional info if needed.
>>>>
>>>> The link of file is http://filebin.ca/SATOpWV4l4j/gdb-ekiga.txt.gz.
>>>
>>>
>>>
>>> I am really out of ideas on where the problem is...
>>>
>>> Julien, Damien, any idea?  The crash appears at the call of a callback
>>> function, it seems.
>>>
>>>
>>> Where did you downloaded ekiga and ptlib from?
>>>
>>> The crash appears after having pressed Reject, is that right?
>>>
>>> Is it reproducible 100% at the second incoming call?
>
> _______________________________________________
> ekiga-devel-list mailing list
> ekiga-devel-list gnome org
> https://mail.gnome.org/mailman/listinfo/ekiga-devel-list



-- 
-lorin


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