« Return to Thread: Could not unregister, regression

Could not unregister, regression

by Michael Rickmann :: Rate this Message:

Reply to Author | View in Thread

This is Ekigas answer in the accounts window on Linux now. With the
current git version I cannot unregister my account at ekiga.net any
longer. Also the subcriber threads do not terminate any longer. Ekiga
needs considerably longer to shutdown than it took one week ago and does
not shut down at all when run under gdb. This is
EKIGA_3_2_0-214-g0941186 and ptlib/opal version 22850. I attach the out
put from an gdb --args ekiga -d 1 where I set three brakepoints,
b main.cpp:4562
b sip-endpoint.cpp:554
b sip-endpoint.cpp:610
All I was doing was registering in the accounts window and unregistering
again, then quit. Clearly the subscriber thread 1755 manages to register
as the callback OnRegistered is called, but it makes no use of
AutoDeleteThread and is still active at program end. The subscriber 1756
used to unsubscribe behaves similarly but does not manage to trigger an
OnRegistered callback. Another change is that a week ago I could
outcomment the unsubscribe function in sip-endpoint.cpp:552 and the
linker would not complain. Now it is needed.

Another point: Ekiga cannot be compiled since opal version 2258 because
the SIPEndPoint::Message form called in sip-endpoint.cpp:360 no longer
exists.
Regards
Michael



Could not unregister

Starting program: /home/mrickma/src/ekiga-head/linux/ekiga/src/ekiga -d 1
[Thread debugging using libthread_db enabled]
[New Thread 0xb58a3730 (LWP 1230)]
[Switching to Thread 0xb58a3730 (LWP 1230)]
main (argc=3, argv=0xbfd36274) at gui/main.cpp:4347
4347  gchar *url = NULL;
(gdb) c
Continuing.
2009/06/14 19:50:02.757  0:08.216                       Version 3.3.0 by  on Unix Linux (2.6.28-11-generic-i686) with PTLib (v2.7beta0) at 2009/6/14 19:50:02.757
2009/06/14 19:50:02.757  0:08.216                       Ekiga git revision: EKIGA_3_2_0-214-g0941186
[New Thread 0xb5417b90 (LWP 1492)]
[New Thread 0xb53d6b90 (LWP 1493)]
[New Thread 0xb5395b90 (LWP 1495)]
2009/06/14 19:50:02.772  0:08.231                       Detecting V4L2 devices
[New Thread 0xb5354b90 (LWP 1670)]
2009/06/14 19:50:03.253  0:08.712                       OpalMan Registered endpoint with prefix pc
2009/06/14 19:50:03.384  0:08.843                       OpalMan Registered endpoint with prefix sip
[New Thread 0xb5313b90 (LWP 1680)]
[New Thread 0xb52d2b90 (LWP 1682)]
2009/06/14 19:50:03.391  0:08.850                       OpalMan Registered endpoint with prefix sips
[New Thread 0xb5291b90 (LWP 1684)]
2009/06/14 19:50:03.405  0:08.864                       OpalMan Registered endpoint with prefix h323
2009/06/14 19:50:03.405  0:08.864                       OpalMan Registered endpoint with prefix h323s
[New Thread 0xb5250b90 (LWP 1687)]
[New Thread 0xb520fb90 (LWP 1696)]
[New Thread 0xb51b4b90 (LWP 1700)]
[New Thread 0xb49b3b90 (LWP 1703)]
2009/06/14 19:50:03.917  0:09.376                       Detecting V4L2 devices
2009/06/14 19:50:04.395  0:09.854                       PVidInDev Open() videoFd:-1
2009/06/14 19:50:04.395  0:09.854                       PVidInDev Close() videoFd:-1  started:0
2009/06/14 19:50:04.395  0:09.854                       Detecting V4L2 devices
2009/06/14 19:50:04.855  0:10.314                       PVidInDev Open() devName:/dev/video0  videoFd:-1
2009/06/14 19:50:05.031  0:10.490                       PVidInDev G_PARM failed : Invalid argument
2009/06/14 19:50:05.031  0:10.490                       VideoInputDevice S_STD failed : Invalid argument
2009/06/14 19:50:05.032  0:10.491                       PVidInDev G_PARM failed (preserving frame rate may not work) : Invalid argument
2009/06/14 19:50:05.032  0:10.491                       PVidInDev G_PARM failed (preserving frame rate may not work) : Invalid argument
2009/06/14 19:50:05.323  0:10.782 StunDetector:0xb520fb90 PTLib Destroyed thread 0x87dffc0 StunDetector:0xb520fb90(id = b520fb90)
[Thread 0xb520fb90 (LWP 1696) exited]
2009/06/14 19:50:05.696  0:11.155                       Ekiga version 3.3.0
2009/06/14 19:50:05.696  0:11.155                       OPAL version 3.7.0
2009/06/14 19:50:05.696  0:11.155                       PTLIB version 2.7.0
2009/06/14 19:50:05.696  0:11.155                       GNOME support disabled
2009/06/14 19:50:05.696  0:11.155                       Accelerated rendering support enabled
2009/06/14 19:50:05.696  0:11.155                       DBUS support disabled
2009/06/14 19:50:05.696  0:11.155                       GConf support enabled
2009/06/14 19:50:05.696  0:11.155                       ESound support disabled
[New Thread 0xb4371b90 (LWP 1750)]
2009/06/14 19:50:06.278  0:11.737 GMVideoOut...0xb5395b90 XVideo XQueryShmExtension success
2009/06/14 19:50:06.278  0:11.737 GMVideoOut...0xb5395b90 XVideo Using SHM extension
2009/06/14 19:50:06.279  0:11.738 GMVideoOut...0xb5395b90 X11 Unknown X Event 19 received
[Thread 0xb4371b90 (LWP 1750) exited]
2009/06/14 19:50:06.770  0:12.229 Opal Liste...0xb5291b90 Listen UDP read error.
[Thread 0xb5291b90 (LWP 1684) exited]
2009/06/14 19:50:06.793  0:12.252                       PTLib Destroyed thread 0x8883588 Opal Listener:0xb5291b90(id = b5291b90)
[New Thread 0xb5291b90 (LWP 1752)]
[Thread 0xb5250b90 (LWP 1687) exited]
2009/06/14 19:50:07.347  0:12.806                       PTLib Destroyed thread 0x88841d8 Opal Listener:0xb5250b90(id = b5250b90)
[New Thread 0xb5250b90 (LWP 1753)]
[New Thread 0xb520fb90 (LWP 1754)]
2009/06/14 19:50:15.583  0:21.042  subscriber:0xb520fb90 PTLib Destroyed thread 0x8cf9a40 subscriber:0xb520fb90(id = b520fb90)
[Thread 0xb520fb90 (LWP 1754) exited]
[New Thread 0xb520fb90 (LWP 1755)]
[Switching to Thread 0xb520fb90 (LWP 1755)]

Breakpoint 4, Opal::Sip::EndPoint::OnRegistered (this=0x8881cb0, _aor=@0xb520f00c,
    was_registering=true) at ../../../../lib/engine/components/opal/sip-endpoint.cpp:611
611  std::string aor = (const char *) _aor;
(gdb) c
Continuing.
[Switching to Thread 0xb58a3730 (LWP 1230)]

Breakpoint 3, Opal::Sip::EndPoint::unsubscribe (this=0x8881cb0, account=@0x8881a78)
    at ../../../../lib/engine/components/opal/sip-endpoint.cpp:554
554  if (account.get_protocol_name () != "SIP")
(gdb) c
Continuing.
[New Thread 0xb3b53b90 (LWP 1756)]
[Thread 0xb53d6b90 (LWP 1493) exited]
2009/06/14 19:50:56.721  1:02.180                       PTLib Destroyed thread 0x8867804 AudioEventScheduler:0xb53d6b90(id = b53d6b90)
2009/06/14 19:50:56.721  1:02.180                       PTLib Destroyed thread 0x88672f0 PreviewManager(id = 0)
[Thread 0xb5417b90 (LWP 1492) exited]
[Thread 0xb5395b90 (LWP 1495) exited]
2009/06/14 19:50:56.811  1:02.270                       PTLib Destroyed thread 0x8842e68 GMVideoOutputManager:0xb5395b90(id = b5395b90)
2009/06/14 19:50:56.811  1:02.270                       PTLib Destroyed thread 0x8867558 VideoPreviewManager:0xb5417b90(id = b5417b90)
[New Thread 0xb4371b90 (LWP 1758)]

Breakpoint 2, main (argc=136716108, argv=0x0) at gui/main.cpp:4562
4562  gm_platform_shutdown ();
(gdb) info threads
  19 Thread 0xb4371b90 (LWP 1758)  0xb7f18430 in __kernel_vsyscall ()
  18 Thread 0xb3b53b90 (LWP 1756)  0xb7f18430 in __kernel_vsyscall ()
  17 Thread 0xb520fb90 (LWP 1755)  0xb7f18430 in __kernel_vsyscall ()
  15 Thread 0xb5250b90 (LWP 1753)  0xb7f18430 in __kernel_vsyscall ()
  14 Thread 0xb5291b90 (LWP 1752)  0xb7f18430 in __kernel_vsyscall ()
  12 Thread 0xb49b3b90 (LWP 1703)  0xb7f18430 in __kernel_vsyscall ()
  11 Thread 0xb51b4b90 (LWP 1700)  0xb7f18430 in __kernel_vsyscall ()
  7 Thread 0xb52d2b90 (LWP 1682)  0xb7f18430 in __kernel_vsyscall ()
  6 Thread 0xb5313b90 (LWP 1680)  0xb7f18430 in __kernel_vsyscall ()
  5 Thread 0xb5354b90 (LWP 1670)  0xb7f18430 in __kernel_vsyscall ()
* 1 Thread 0xb58a3730 (LWP 1230)  main (argc=136716108, argv=0x0) at gui/main.cpp:4562
(gdb) c
Continuing.
[Thread 0xb4371b90 (LWP 1758) exited]
Deadlock potential - avoiding evil bug!
[Thread 0xb5313b90 (LWP 1680) exited]
2009/06/14 19:51:14.048  1:19.507                       PTLib Destroyed thread 0x8883ca0 Network Interface Monitor:0xb5313b90(id = b5313b90)
^C
Program received signal SIGINT, Interrupt.
0xb7f18430 in __kernel_vsyscall ()
(gdb)


_______________________________________________
Ekiga-devel-list mailing list
Ekiga-devel-list@...
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list

 « Return to Thread: Could not unregister, regression