<div class="gmail_quote">On Tue, Jun 9, 2009 at 6:11 PM, Jussi Pakkanen <span dir="ltr">&lt;<a href="mailto:jpakkane@gmail.com">jpakkane@gmail.com</a>&gt;</span> wrote:<br><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">
&gt;        How interesting; in these cases I would tend to compare the &quot;strace -e<br>
&gt; file&quot; output of the command-line, with the same thing run inside the<br>
&gt; environment that OO.o sets up - no doubt there is some random variable<br>
&gt; that is set wrong, and this path has never been hit before :-)<br>
<br>
</div>Or some magic compiler flag is not set. Or some output files must be<br>
in certain locations or everything fails (this has already happened,<br>
btw).</blockquote><div><br>I looked a bit more into it and found out the cause of the crash.<br><br>In store/source/store.cxx:319 the code creates a new OStoreDirectory with this line:<br><br></div></div>Reference&lt;OStoreDirectory&gt; xDirectory (new OStoreDirectory());<br>
<br>The dmake built binary this calls the constructor function in store/source/storlckb.cxx:170. It looks like this:<br><br>OStoreDirectory::OStoreDirectory (void)<br>     : m_xManager (NULL),<br>       m_pNode    (NULL),<br>
       m_aDescr   (0, 0, 0),<br>       m_nPath    (0),<br>       m_hTextCvt (NULL)<br>{<br>}<br><br>But for some reason the CMake built one calls the constructor in store/inc/store/store.inl:170. It looks like this:<br><br>
inline OStoreDirectory::OStoreDirectory (void) SAL_THROW(())<br>    : m_hImpl (0)<br>{<br>}<br><br>I can&#39;t figure out why (probably missing #defines). If someone has knowledge about this some pointers would be appreciated.<br>
<br>