To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78284





------- Additional comments from [EMAIL PROTECTED] Fri Jun 15 08:46:30 +0000 
2007 -------
Guys, sorry for disappointing you, the fix is not yet ready (but close to :-). I
think I now understand why this does not happen in the Sun build env, even when
building Python etc.

Looking at the switches, our local gcc has been compiled to support:
> gcc -v
Reading specs from
/so/env/gcc_3.4.1_p_linux_libc2.24/lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Configured with: ./configure --prefix=/so/env/gcc_3.4.1_p_linux_libc2.24
--with-gnu-as --with-as=/so/env/gcc_3.4.1_p_linux_libc2.24/bin/as --with-gnu-ld
--with-ld=/so/env/gcc_3.4.1_p_linux_libc2.24/bin/ld --enable-languages=c,c++
Thread model: posix
gcc version 3.4.1

And a standard Ubuntu one:
> gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

The local one is missing "--enable-__cxa_atexit", which is (at least that is
what the documentation says), required for strict C++ compliance. 

Doing some tests (which I am going to put on the wiki), I see a difference in
destruction order, comparing our local gcc with a plain Ubuntu one. Basically
leading to the effect, that using the local one the crashes are _not_
reproduceable. 

Certainly the fix is not disabling "__cxa_atexit" ... ;-)  By the way, a similar
/ close problem is known as "The Dead Reference Problem" (see Alexandrescu,
"Modern C++ Design").


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to