Re: [recon-devel] Codec problems
Hi,
On Fri, Nov 28, 2008 at 6:48 PM, Alexander Chemeris
<Alexander.Chemeris@xxxxxxxxx> wrote:
> On Fri, Nov 28, 2008 at 2:56 PM, Alexander Chemeris
> <Alexander.Chemeris@xxxxxxxxx> wrote:
>> Ok, I've compiled recon tests on my 64-bit Ubuntu and I'm getting
>> the same crash. It looks very much like sipXmediaLib is not fully
>> initialized, so it tries to use non-initialized memory pool. I'll work
>> with Scott on fixing this.
>
> Ok, now it looks like a synchronization problem inside sipXmediaLib.
> If you compile it with "-g -o0" it will work smoothly, but compiling
> with -O2 breaks things. Seems gcc is a bit too aggressive somewhere.
> I'm trying to get a clue what we're missing here. As a temporary
> "fix" use "-o0" for sipXmediaLib compilation.
Finally, I found some time to look into this problem.
So, it was not a synchronization problem. It was rather
different gcc behavior in struct member alignment in
-O2 mode under 64-bits. Anyway, it's fixed now in svn
rev.11133.
--
Regards,
Alexander Chemeris.
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000