Re: [Ekiga-devel-list] ekiga on F-15

2011-05-25 Thread Eugen Dedu

On 03/05/11 19:46, Peter Robinson wrote:

Hey All,

We're nearing the release of Fedora 15 but we have an issue with ekiga
in that is crashes [1]. I've reported the bug to ptlib now here [2]
with a full backtrace but it segfaults before I get any output if run
as ekiga -d 4.


Just to inform you that the crash has been fixed in both stable branch 
and trunk.


--
Eugen
___
ekiga-devel-list mailing list
ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] ekiga on F-15

2011-05-25 Thread Peter Robinson
On Wed, May 25, 2011 at 5:25 PM, Eugen Dedu
eugen.d...@pu-pm.univ-fcomte.fr wrote:
 On 03/05/11 19:46, Peter Robinson wrote:

 Hey All,

 We're nearing the release of Fedora 15 but we have an issue with ekiga
 in that is crashes [1]. I've reported the bug to ptlib now here [2]
 with a full backtrace but it segfaults before I get any output if run
 as ekiga -d 4.

 Just to inform you that the crash has been fixed in both stable branch and
 trunk.

Cool! I did commit a fix so it does start up and work in Fedora. What
is the status of the next beta release btw?

Peter
___
ekiga-devel-list mailing list
ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] ekiga on F-15

2011-05-25 Thread Eugen Dedu

On 25/05/11 18:31, Peter Robinson wrote:

On Wed, May 25, 2011 at 5:25 PM, Eugen Dedu
eugen.d...@pu-pm.univ-fcomte.fr  wrote:

On 03/05/11 19:46, Peter Robinson wrote:


Hey All,

We're nearing the release of Fedora 15 but we have an issue with ekiga
in that is crashes [1]. I've reported the bug to ptlib now here [2]
with a full backtrace but it segfaults before I get any output if run
as ekiga -d 4.


Just to inform you that the crash has been fixed in both stable branch and
trunk.


Cool! I did commit a fix so it does start up and work in Fedora. What
is the status of the next beta release btw?


While fixing bugs, other bugs are introduced, and as time passes other 
bugs appear...  Hope we will have very soon a new unstable release.


--
Eugen
___
ekiga-devel-list mailing list
ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] ekiga on F-15

2011-05-04 Thread Jacek Konieczny
On Tue, May 03, 2011 at 11:32:17PM +0100, Peter Robinson wrote:
 On Tue, May 3, 2011 at 10:18 PM, Eugen Dedu
 eugen.d...@pu-pm.univ-fcomte.fr wrote:
  On 03/05/11 19:46, Peter Robinson wrote:
 
  Hey All,
 
  We're nearing the release of Fedora 15 but we have an issue with ekiga
  in that is crashes [1]. I've reported the bug to ptlib now here [2]
  with a full backtrace but it segfaults before I get any output if run
  as ekiga -d 4.
 
  This is the crash that both Julien and me have just discovered this evening!
 
  The bug was reported on 10 March.  The version as of 8 April worked on my
  machine.  The version as of today does not work on my machine.
 
  The conclusion is that the bug was triggered by another application.  Is
  your ekiga built with gcc 4.6?  Another potential application is libboost.
 
 Yes, gcc 4.6.0 and boost 1.46.0

I think it is the GCC, or rather a PTLib abuse of GCC.

I have fixed a similar crash (for ptlib 2.8, but not 2.10) with the
following patch:

--- ptlib-2.8.3/include/ptlib/object.h.orig 2010-12-20 23:39:10.0 
+0100
+++ ptlib-2.8.3/include/ptlib/object.h  2011-04-28 13:08:04.0 +0200
@@ -947,7 +947,7 @@
 
 
 // Memory pooling allocators
-#if defined(__GNUC__)  __GNUC__ = 4  !defined(P_MINGW)
+#if 0
 #include ext/bitmap_allocator.h
 template class Type class PFixedPoolAllocator: public 
__gnu_cxx::bitmap_allocatorType { };
 #include ext/mt_allocator.h


For me it looks like PTLib tries to use some internal GCC API instead of
standard std:allocaltor and it fails. I don't think using any internal
APIs (and I consider anything which name starts with '__gnu_..' as
such), even for great performance improvements, is a good idea.

That patch fixes Ekiga-3.3.0 crash with ptlib 2.8, but the same Ekiga
version seems to crash in a similar way when compiled with PTLib 2.10.
In a similar way, but in a different place and the patch changes
nothing.

Greets,
Jacek
___
ekiga-devel-list mailing list
ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] ekiga on F-15

2011-05-04 Thread Jacek Konieczny
On Wed, May 04, 2011 at 09:59:47AM +0200, Eugen Dedu wrote:
 Thank you very much.  This fixes the issue!  I think you have done 
 something wrong when using ptlib 2.10, since ekiga 3.3.0 does not 
 compile with it (as far as I remember).

The strange thing was it compiled with ptlib 2.10 (that is why I have
tried to see if the patch fixes anything in such combination), but I
understand it was not expected to work with this version, so I was not
very disappointed it doesn't.

…or it was even older Ekiga – 3.2.7. It works with (patched) 2.8 even
though it is not expected to ;)

Greets,
Jacek
___
ekiga-devel-list mailing list
ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list

Re: [Ekiga-devel-list] ekiga on F-15

2011-05-04 Thread Peter Robinson
 Hey All,

 We're nearing the release of Fedora 15 but we have an issue with ekiga
 in that is crashes [1]. I've reported the bug to ptlib now here [2]
 with a full backtrace but it segfaults before I get any output if run
 as ekiga -d 4.

 This is the crash that both Julien and me have just discovered this
 evening!

 The bug was reported on 10 March.  The version as of 8 April worked on
 my
 machine.  The version as of today does not work on my machine.

 The conclusion is that the bug was triggered by another application.  Is
 your ekiga built with gcc 4.6?  Another potential application is
 libboost.

 Yes, gcc 4.6.0 and boost 1.46.0

 I think it is the GCC, or rather a PTLib abuse of GCC.

 I have fixed a similar crash (for ptlib 2.8, but not 2.10) with the
 following patch:

 --- ptlib-2.8.3/include/ptlib/object.h.orig     2010-12-20
 23:39:10.0 +0100
 +++ ptlib-2.8.3/include/ptlib/object.h  2011-04-28 13:08:04.0
 +0200
 @@ -947,7 +947,7 @@


  // Memory pooling allocators
 -#if defined(__GNUC__)  __GNUC__= 4  !defined(P_MINGW)
 +#if 0
  #includeext/bitmap_allocator.h
  templateclass Type  class PFixedPoolAllocator    : public
 __gnu_cxx::bitmap_allocatorType  { };
  #includeext/mt_allocator.h


 For me it looks like PTLib tries to use some internal GCC API instead of
 standard std:allocaltor and it fails. I don't think using any internal
 APIs (and I consider anything which name starts with '__gnu_..' as
 such), even for great performance improvements, is a good idea.
use of
 That patch fixes Ekiga-3.3.0 crash with ptlib 2.8, but the same Ekiga
 version seems to crash in a similar way when compiled with PTLib 2.10.
 In a similar way, but in a different place and the patch changes
 nothing.

 Thank you very much.  This fixes the issue!  I think you have done something
 wrong when using ptlib 2.10, since ekiga 3.3.0 does not compile with it (as
 far as I remember).

 It will be fixed upstream as soon as possible.

I've tested that on a VM running ekiga remotely over a x forwarded ssh
session so as to see that it at least runs (which it does). I'll push
that patch to F-15 in the interim so ekiga at least runs.

Also doing a quick grep through the ptlib tar file it seems there's a
couple of usages of __gnu in it, it would be good to look through the
ptlib/opal to ensure we don't have other violations of those __gnu
functions.

Peter
___
ekiga-devel-list mailing list
ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] ekiga on F-15

2011-05-04 Thread Eugen Dedu

On 04/05/11 17:54, Peter Robinson wrote:

Hey All,

We're nearing the release of Fedora 15 but we have an issue with ekiga
in that is crashes [1]. I've reported the bug to ptlib now here [2]
with a full backtrace but it segfaults before I get any output if run
as ekiga -d 4.


This is the crash that both Julien and me have just discovered this
evening!

The bug was reported on 10 March.  The version as of 8 April worked on
my
machine.  The version as of today does not work on my machine.

The conclusion is that the bug was triggered by another application.  Is
your ekiga built with gcc 4.6?  Another potential application is
libboost.


Yes, gcc 4.6.0 and boost 1.46.0


I think it is the GCC, or rather a PTLib abuse of GCC.

I have fixed a similar crash (for ptlib 2.8, but not 2.10) with the
following patch:

--- ptlib-2.8.3/include/ptlib/object.h.orig 2010-12-20
23:39:10.0 +0100
+++ ptlib-2.8.3/include/ptlib/object.h  2011-04-28 13:08:04.0
+0200
@@ -947,7 +947,7 @@


  // Memory pooling allocators
-#if defined(__GNUC__)__GNUC__= 4!defined(P_MINGW)
+#if 0
  #includeext/bitmap_allocator.h
  templateclass Typeclass PFixedPoolAllocator: public
__gnu_cxx::bitmap_allocatorType{ };
  #includeext/mt_allocator.h


For me it looks like PTLib tries to use some internal GCC API instead of
standard std:allocaltor and it fails. I don't think using any internal
APIs (and I consider anything which name starts with '__gnu_..' as
such), even for great performance improvements, is a good idea.
use of
That patch fixes Ekiga-3.3.0 crash with ptlib 2.8, but the same Ekiga
version seems to crash in a similar way when compiled with PTLib 2.10.
In a similar way, but in a different place and the patch changes
nothing.


Thank you very much.  This fixes the issue!  I think you have done something
wrong when using ptlib 2.10, since ekiga 3.3.0 does not compile with it (as
far as I remember).

It will be fixed upstream as soon as possible.


I've tested that on a VM running ekiga remotely over a x forwarded ssh
session so as to see that it at least runs (which it does). I'll push
that patch to F-15 in the interim so ekiga at least runs.


Good.


Also doing a quick grep through the ptlib tar file it seems there's a
couple of usages of __gnu in it, it would be good to look through the
ptlib/opal to ensure we don't have other violations of those __gnu
functions.


See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625616.  Wait and see.

--
Eugen
___
ekiga-devel-list mailing list
ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] ekiga on F-15

2011-05-03 Thread Eugen Dedu

On 03/05/11 19:46, Peter Robinson wrote:

Hey All,

We're nearing the release of Fedora 15 but we have an issue with ekiga
in that is crashes [1]. I've reported the bug to ptlib now here [2]
with a full backtrace but it segfaults before I get any output if run
as ekiga -d 4.


This is the crash that both Julien and me have just discovered this evening!

The bug was reported on 10 March.  The version as of 8 April worked on 
my machine.  The version as of today does not work on my machine.


The conclusion is that the bug was triggered by another application.  Is 
your ekiga built with gcc 4.6?  Another potential application is libboost.



I noticed there was both a later release of ptlib/opal in the 2.8
series and a new stable release 2.10 release as well. Is there plans
to get a newer beta out soon that will run with those releases?


Yes, using 2.10 (not 2.8).  As soon as we fix the presence (we are very 
near!) and, if possible windows port too (one reproducible crash when 
showing video), we will release.



Peter

[1] https://bugzilla.redhat.com/show_bug.cgi?id=683872
[2] 
http://sourceforge.net/tracker/?func=detailaid=3297015group_id=204472atid=989748


--
Eugen
___
ekiga-devel-list mailing list
ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


Re: [Ekiga-devel-list] ekiga on F-15

2011-05-03 Thread Peter Robinson
On Tue, May 3, 2011 at 10:18 PM, Eugen Dedu
eugen.d...@pu-pm.univ-fcomte.fr wrote:
 On 03/05/11 19:46, Peter Robinson wrote:

 Hey All,

 We're nearing the release of Fedora 15 but we have an issue with ekiga
 in that is crashes [1]. I've reported the bug to ptlib now here [2]
 with a full backtrace but it segfaults before I get any output if run
 as ekiga -d 4.

 This is the crash that both Julien and me have just discovered this evening!

 The bug was reported on 10 March.  The version as of 8 April worked on my
 machine.  The version as of today does not work on my machine.

 The conclusion is that the bug was triggered by another application.  Is
 your ekiga built with gcc 4.6?  Another potential application is libboost.

Yes, gcc 4.6.0 and boost 1.46.0

 I noticed there was both a later release of ptlib/opal in the 2.8
 series and a new stable release 2.10 release as well. Is there plans
 to get a newer beta out soon that will run with those releases?

 Yes, using 2.10 (not 2.8).  As soon as we fix the presence (we are very
 near!) and, if possible windows port too (one reproducible crash when
 showing video), we will release.

Excellent news. It would be great to be able to get the newer version in F-15.

Peter

 Peter

 [1] https://bugzilla.redhat.com/show_bug.cgi?id=683872
 [2]
 http://sourceforge.net/tracker/?func=detailaid=3297015group_id=204472atid=989748

 --
 Eugen
 ___
 ekiga-devel-list mailing list
 ekiga-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/ekiga-devel-list

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