Apache OpenOffice (AOO) Bugzilla – Issue 1157
checkdll core dumps on libcppu when debug=true
Last modified: 2003-12-06 14:52:34 UTC
I have been building with debug=true, and can only get as far as cppu, where checkdll core dumps. I found this once before ... however to be fair, I am using a gcc 3.0 build at the moment, and do not recall the exact details of the prior error. Making: ../unxirxm3.pro/lib/libcppu.so.2.0.0 g++ -c -o ../unxirxm3.pro/slo/cppu_version.o -DUNX - I../unxirxm3.pro/inc /projects/sise/openoffice/devel/workpits/OO632B_GNUD/workar ea/solenv/src/version.cxx g++ -L/usr/lib32 -g "-hlibcppu.so.2" -shared -Wl,-Bsymbolic - L../unxirxm3.pro/lib -L../lib - L/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solenv/unxirxm3/l ib - L/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solver/632/unxirx m3.pro/lib - L/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solenv/unxirxm3/l ib -L/lib -L/usr/lib -L/usr/local/lib - L/projects/sise/openoffice/devel/workpits/java_1.2.2/usr/java//lib - L/usr/include/CC/lib - L/usr/lib ../unxirxm3.pro/slo/cppu_version.o ../unxirxm3.pro/slo/cppu_descriptio n.o - o ../unxirxm3.pro/lib/libcppu.so.2.0.0 ../unxirxm3.pro/slo/typelib.o ../unxirxm3 .pro/slo/static_types.o ../unxirxm3.pro/slo/data.o ../unxirxm3.pro/slo/sequence. o ../unxirxm3.pro/slo/any.o ../unxirxm3.pro/slo/lbmap.o ../unxirxm3.pro/slo/lben v.o ../unxirxm3.pro/slo/threadpool.o ../unxirxm3.pro/slo/jobqueue.o ../unxirxm3. pro/slo/thread.o ../unxirxm3.pro/slo/threadident.o ../unxirxm3.pro/slo/current.o -lsal -L/usr/lib32 -lpthread -Wl,-Bdynamic -lX11 -lc -lm g++: unrecognized option `-hlibcppu.so.2' ld32: WARNING 84 : /usr/lib32/libX11.so is not used for resolving any symbol. /projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solenv/bin/checkdl l.sh -L../unxirxm3.pro/lib -L../lib - L/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solenv/unxirxm3/l ib - L/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solver/632/unxirx m3.pro/lib - L/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solenv/unxirxm3/l ib -L/lib -L/usr/lib -L/usr/local/lib - L/projects/sise/openoffice/devel/workpits/java_1.2.2/usr/java//lib - L/usr/include/CC/lib -L/usr/lib ../unxirxm3.pro/lib/libcppu.so.2.0.0 Checking DLL ../unxirxm3.pro/lib/libcppu.so.2.0.0 ...Abort (core dumped) dmake: Error code 134, while making '../unxirxm3.pro/lib/libcppu.so.2.0.0' dmake: '../unxirxm3.pro/lib/libcppu.so.2.0.0' removed. ---* TG_SLO.MK *--- dmake: Error code 255, while making 'util' ---* TG_SLO.MK *--- dmake: Error code 255, while making 'cppu' ---* TG_SLO.MK *---
changing QA contact from bugs@ to issues@
Hi, core dumps of checkdll are usually not problems with checkdll itself, but with the shared library which is checked. Chekdll does just a dlopen() on the library, executes any initializers in the library and extracts one symbol. I would search the problem iithin the static initializers section of cppu (.init). Heiner
I think it could have been a problem with dl_close(), but this is not an issue anymore... this bug can be closed.
As mentioned on the qa dev list on March 5th I will close all resolved <wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details. First step in IssueZilla is unfortunately to set them to verified.
As mentioned on the qa dev list on March 5th I will close all resolved <wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.