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


User sb changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Jul 24 07:35:54 +0000 
2008 -------
On a Solaris 10 x86 machine (x42-so28) I got reproducible crashes in HelpLinker
(after uncommenting the #ifdef SOLARIS block at
xmlhelp/source/com/sun/star/help/HelpLinker.cxx:1.14 l. 652--655) when calling
dmake in helpcontent2/util/sbasic on unxsoli4.pro DEV300m26: main calls
IndexerPreProcessor::~IndexerPreProcessor (via inline HelpLinker::~HelpLinker)
calls xsltFreeStylesheet (at HelpLinker.cxx l. 97) which SEGVs.  Experimenting
with the relative orders of the calls to xsltFreeStylesheet and the destruction
of std::ifstream fileReader (created at HelpLinker.cxx l. 401), it appears that
the std::ifstream destructor has an error that causes memory corruption.

Solaris is virtually the only platform that still uses STLport-4.0 (all other
use STLport-4.5, see stlport/makefile.mk:1.44).  If cmc did his builds not using
the default OOo STLport, that would also explain why cmc could not reproduce the
crashes.

I filed issue 92066 to upgrade Solaris to STLport-4.5, but for the meantime the
simple fix of calling std::ifstream::close in
xmlhelp/source/com/sun/star/help/HelpLinker.cxx:1.14.10.1 also seems to work
around the problems.  Builds of
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fsb92> (with
the fix included) on both Solaris-Intel
(<http://buildbot.go-oo.org/buildbot/Solaris-Intel/builds/205>) and
Solaris-Sparc (<http://buildbot.go-oo.org/buildbot/Solaris-Sparc/builds/193>)
build bots did not fail in helpcontent2 (the Solaris-Sparc build failed further
down due to unrelated issue 90172; also note that a Solaris-Sparc build of
unfixed DEV300_m26,
<http://buildbot.go-oo.org/buildbot/Solaris-Sparc/builds/192>, did also not fail
in helpcontent2, however).

---------------------------------------------------------------------
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