[Open Office] "pure virtual method called" error on old kernels

Rail Aliev rail at openoffice.org
Fri Oct 27 03:04:20 EDT 2006


Hi,

I just discovered that size-thread-stack.diff patch breaks OOo on old
machines with `getconf GNU_LIBPTHREAD_VERSION` = "linuxthreads-0.10"
(Slackware 11 installed with default 2.4 kernel for example). 

OOo was compiled on "modern" :) distro with 2.6 with NPTL. On tested
machine it gives:

pure virtual method called
terminate called without an active exception

GDB shows that this pure virtual method belongs to vos::IMutex::aquire()
which should not be called directly. After short investigation I found
that vos::OMutex::OMutex() (which cause of the problem) uses
osl_createMutex() which actively uses threads. After disabling
size-thread-stack.diff (which actively changes thread related stuff) I
get working OOo.

FYI.

-- 
Best regars,
Rail Aliev
http://{ru,tr}.openoffice.org

What this country needs is a dime that will buy a good five-cent bagel.


More information about the Openoffice mailing list