After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697738 - Freezes when accepting video call (backtrace attached)
Freezes when accepting video call (backtrace attached)
Status: RESOLVED WONTFIX
Product: ekiga
Classification: Applications
Component: general
4.0.x
Other Windows
: Normal critical
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2013-04-10 16:26 UTC by ian
Modified: 2020-06-06 16:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GDB backtrace (27.04 KB, application/octet-stream)
2013-04-10 16:26 UTC, ian
Details
Ekiga debug log (38.34 KB, application/octet-stream)
2013-04-10 16:28 UTC, ian
Details
GDB backtrace based off Eugen Dedu's exe (30.07 KB, text/plain)
2013-05-03 18:35 UTC, ian
Details
stderr from a.exe (811.70 KB, text/plain)
2013-05-03 19:23 UTC, ian
Details

Description ian 2013-04-10 16:26:46 UTC
Created attachment 241187 [details]
GDB backtrace

I have two Windows XP machines, each with a Logitech C500, and each connected to an Asterisk SIP server. Ekiga 4.0.1.

Each machine can see its own video in the preview window.

When I ring one machine from the other, Ekiga freezes on the recipient as soon as the button is pressed to pick up the call.

I've attached a backtrace. I've got a debug log but its too large to upload. I'll find some way to send it if requested.
Comment 1 ian 2013-04-10 16:28:10 UTC
Created attachment 241188 [details]
Ekiga debug log
Comment 2 Eugen Dedu 2013-04-13 08:41:58 UTC
I looked over your log without having found something evident.  I will look again into it.
Comment 3 Eugen Dedu 2013-04-26 14:28:03 UTC
Unfortunately, the stack trace does not give any useful information, because the synbols are stripped.  Could you try installing the program at http://eugen.dedu.free.fr/x.exe on the machine where ekiga will freeze and give me again the gdb stack trace?

Also, does the freeze always appear?  Can you notice visually if it appears when you press the button, or when it tries to show the remote video, or other thing, or you cannot infer anything?

Finally, in -d 4 debug log I see that there is communication for several seconds at then end of the log, whereas you said there is freeze, do you know what happens?
Comment 4 Eugen Dedu 2013-04-30 08:16:50 UTC
Any news, ian?
Comment 5 Eugen Dedu 2013-04-30 10:16:56 UTC
This could be the same as https://mail.gnome.org/archives/ekiga-devel-list/2013-April/msg00009.html.
Comment 6 ian 2013-04-30 12:52:15 UTC
Very sorry for not getting back to this. I will look at it today, but hopefully within the next few days if not.
Comment 7 ian 2013-05-03 18:35:29 UTC
Created attachment 243239 [details]
GDB backtrace based off Eugen Dedu's exe
Comment 8 Eugen Dedu 2013-05-03 18:54:27 UTC
ian, sorry, but could you also use http://eugen.dedu.free.fr/a.exe and give me just the -d 4 log?
Comment 9 ian 2013-05-03 19:02:10 UTC
The video preview output always freezes as soon as I pick up a video call. If I turn off the video preview window on the recipient then it still hangs, but I see no video at all. The recipient doesn't see any video from the calling side. The application freezes with the video preview (or blank window with previews off).

It happens on every Ekiga to Ekiga video call.

It seems to happen with "moving logo" chosen as video device on both PCs too.

If I disable every video codec on the recipient then Ekiga doesn't hang (but of course there is no video).

https://mail.gnome.org/archives/ekiga-devel-list/2013-April/msg00009.html could be the same bug if this call back test is a video call.

Thanks,
Comment 10 ian 2013-05-03 19:21:15 UTC
Okay, a.exe installed now, same problem.

I've noticed that after a while, without -d4 I get:

     osutils.cxx(2294)  PTLib   Possible deadlock in read/write mutex 0x3019ec8
:
  thread-id=1704 (0x6a8), readers=0, writers=1
  thread-id=3604 (0xe14), readers=1, writers=6


Anyway, the stderr log is attached. In the log I'm using the "moving logo" device on both PCs. The "Read 160 instead of 320" line keeps repeating during the hang, and the 3 final lines only seem to appear when I end the task.

Thanks
Comment 11 ian 2013-05-03 19:23:59 UTC
Created attachment 243243 [details]
stderr from a.exe
Comment 12 ian 2013-06-04 13:55:57 UTC
Just a note to say that this problem also seems to affect non-video calls. We've noticed that if somebody makes a call from a Cisco 7940 (non-video) phone via our Asterisk server to an Ekiga client then Ekiga will crash unless every codec has been disabled.

The Ekiga user can phone the 7940 just fine, even with all video codecs enabled.
Comment 13 Eugen Dedu 2013-09-16 13:07:57 UTC
ian, sorry for the long delay, I was pretty busy.  I am willing to tackle this bug, are you ready to help to fix this bug too?
Comment 14 ian 2013-09-16 13:31:38 UTC
Hi,

No problem about the delay.

If I can provide any more information then just tell me.

Thanks for looking at this,

Ian
Comment 15 Eugen Dedu 2013-09-17 14:34:42 UTC
ian, could you tell me what do show the three entries in Preferences->Audio-Devices?
Comment 16 ian 2013-09-18 19:13:19 UTC
"Default (PTLIB/WindowsMultimedia)" in all three boxes. The problem on inbound calls happens even without the webcam plugged in/installed, in which case the only other option is "SoundMAX HD Audio (PTLIB/WindowsMultiMedia)

Ian
Comment 17 Eugen Dedu 2013-09-20 10:32:18 UTC
Ian, in comment #12 you wrote that it appears without video too.  Does this appear when you disable all video codecs on recipient, or all audio and video codecs on recipient?  I would like to know if it is related to video or not.

Also, in the same comment you wrote that it crashed, whereas in the bug report there was a freeze.  Do you confirm this?  If yes, I would like a gdb stack from the crash, since it is simpler to investigate.

Be prepared to have several exchanges in bugzilla to solve this bug, sorry...
Comment 18 ian 2013-09-20 18:25:24 UTC
Sorry, I misspoke. Ekiga never crashes. It simply hangs/becomes unresponsive.

I don't know if this is relevant, but I'm running Debian's Asterisk 1:1.6.2.9-2+squeeze6 with:
   videosupport=yes
   disallow=all
   allow=ulaw
   allow=alaw
   allow=gsm
   allow=h263


I have realized that the hang is intermittent, let me give you an example session.

In each case I dial from a Cisco 7940 (non-video) phone, to 4.0.1 with the moving logo video device. If the call fails the asterisk server behaves as if Ekiga doesn't pick up (7940 keeps ringing):

My video codec order is:
   * theora
   * h261
   * H263
   * H263-1998
   * H264
   * MP4V-ES

I can accept 10 successive inbound calls without a crash:
   If I disable all video codecs
   If I check just theora
   If I check just h261
   If I check just MP4V-ES
   If I check only theora and h261
   If I check only theora and MP4V-ES
   If I check only theora and h261 and MP4V-ES

If I check everything again it hangs on the second inbound accept.
After restarting it, if I check everything except theora it hangs on the second inbound accept.
After restarting it, if I check only H263-1998, H264, MP4V-ES I can make 10 calls.
If I check only theora, h261, H263 it hangs straight away.
After restarting (not changing the codecs) it hangs on the second inbound accept.
After restarting again it hangs on the third inbound attempt.

At this point I reorder my codec list to:
   * H263-1998 (disabled)
   * H264 (disabled)
   * MP4V-ES (disabled)
   * theora
   * h261
   * H263

it hangs on the 2nd call again.
Comment 19 Damien Sandras 2013-12-08 17:45:18 UTC
It could be a duplicate of bug #719951
Comment 20 André Klapper 2020-06-06 16:30:33 UTC
Ekiga is not under active development anymore:
https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/273

Ekiga saw its last release 7 years ago. The last code commits were 4 years ago.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (and transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active Ekiga development again in the future.