[Libreoffice] Debug compilation fails in sal module

Julien Nabet serval2412 at yahoo.fr
Mon Jun 20 12:32:47 PDT 2011


Le 20/06/2011 15:19, Caolán McNamara a écrit :
> On Mon, 2011-06-20 at 10:08 +0100, serv serva wrote:
>> It happens each time. I don't know what element has triggered this.
>> I tried gdb but when I runned it, it makes the first which is ok. I don't know how to go to this specific test.
> Could you see the patch in the other thread "interesting difference
> in..." and see if it makes a difference to this problem as well.
>
> C.
Hello,

I just git updated and read that you had commited and pushed your patch. 
So I did a "rm -rf unxlng*" in sal and build again.
I've still got an error but it's slightly different, here is what I get :
Making:    libosl_process.so
Making:    all_qa_osl_process.dpslo
----------------------------------------------------------
- start unit test #1 on library ../../../unxlngi6/lib/libosl_Thread.so
----------------------------------------------------------
: &&     
LD_LIBRARY_PATH=/home/maryline/compile-libreoffice/libo/clone/ure/sal/unxlngi6/lib:/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   
../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libosl_Thread.so
OK (6)
----------------------------------------------------------
- start unit test #2 on library ../../../unxlngi6/lib/libosl_process.so
----------------------------------------------------------
: &&     
LD_LIBRARY_PATH=/home/maryline/compile-libreoffice/libo/clone/ure/sal/unxlngi6/lib:/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   
../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libosl_process.so
*** glibc detected *** ../../../unxlngi6/bin/cppunittester: free(): 
invalid pointer: 0xb74facd0Error: File 
/home/maryline/compile-libreoffice/libo/clone/ure/sal/cpprt/operators_new_delete.cxx, 
Line 96: operator delete mismatch
/bin/bash: line 1: 15149 Aborted                 
LD_LIBRARY_PATH=/home/maryline/compile-libreoffice/libo/clone/ure/sal/unxlngi6/lib:/home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 
../../../unxlngi6/bin/cppunittester ../../../unxlngi6/lib/libosl_process.so
dmake:  Error code 134, while making 'test2'

We clearly see in the logs that there's an invalid pointer.

Julien.


More information about the LibreOffice mailing list