[Libreoffice] [Bug 42865] New: MySQL native driver: free() on non-heap pointer; in debug mode abort()

Stephan Bergmann sbergman at redhat.com
Mon Nov 14 01:47:31 PST 2011


Lionel,

I must admit I'm confused.  On my system,

> ~ objdump -T /usr/lib64/libstdc++.so.6 | grep _ZNSs4_Rep20_S_empty_rep_storageE
> 0000003e504f45a0 g    DO .bss  0000000000000020 GLIBCXX_3.4 _ZNSs4_Rep20_S_empty_rep_storageE
 >
> ~ objdump -T /usr/lib64/libmysqlcppconn.so | grep _ZNSs4_Rep20_S_empty_rep_storageE
> 0000000000000000      DO *UND* 0000000000000000 GLIBCXX_3.4 _ZNSs4_Rep20_S_empty_rep_storageE
 >
> ~ objdump -t mysqlc/unxlngx6/lib/mysqlc.uno.so | grep _ZNSs4_Rep20_S_empty_rep_storageE
> 00000000003dbe40 l     O .bss  0000000000000020             _ZNSs4_Rep20_S_empty_rep_storageE

That is, libstdc++.so.6 exports the symbol with version GLIBCXX_3.4 and 
libmysqlcppconn.so links against it, while mysqlc.uno.so emits its own 
definition of the symbol (as a local symbol, due to the map file).  Do 
you have an idea why mysqlc.uno.so emits its own definition at all?

Stephan


More information about the LibreOffice mailing list