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


User sb changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------
                 Summary|idlc sometimes breaks whil|Unix osl_waitCondition fai
                        |e building solaris        |ls for spurious wakeups
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Aug 30 08:07:51 -0700 
2006 -------
The root cause of this issue is that osl_waitCondition in
sal/osl/unx/conditn.c:1.6 is broken: instead of checking pCond->m_State to
detect spurious wakeups, it checks the return value of pthread_cond_wait.  [I
changed the Summary accordingly.]

Apparently, there are Solaris machines where spurious wakeups do happen rather
frequently.  In the case of failing idlc, this happens as follows (SRC680m182):
 sal/osl/unx/process.c:1.40 l. 915 erroneously succeeds without the condition
having been signaled (due to a spurious wakeup), so that in l. 931 m_pid is
still 0, so that osl_Process_E_Unknown is returned in l. 944.  This leads to
unlink'ing the various files passed from idlc to cpp in
idlc/source/idlccompile.cxx:1.19 l. 366--368 before cpp had a chance to read 
them.

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