<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi,<br>
<p>I am writing a unit test for the bug 49819
(<a class="moz-txt-link-freetext" href="https://bugs.documentfoundation.org/show_bug.cgi?id=49819">https://bugs.documentfoundation.org/show_bug.cgi?id=49819</a>) and
encounter a weird issue. I have restored the code to the state
before the bug fix but still can't reproduce the bug. Even
weirder, I tried and succeeded to reproduce the bug once, but it
suddenly disappear after a rebuild. <br>
</p>
<p>After using gdb to trace back the issue, I noticed that I the
function <font face="Source Code Pro">void ZipFile::readLOC(
ZipEntry &rEntry )</font> in <i>package/source/zipapi/ZipFile.cxx</i>
does throw an exception (<font face="Source Code Pro">throw
ZipIOException("The stream seems to be broken!" );</font>) when
<font face="Source Code Pro">rEntry.nTime != nTime</font>. But
somehow the exception is caught in <i>writerfilter/source/dmapper/DomainMapper.cxx:253</i>
( <font face="Source Code Pro">catch( const uno::Exception& )
{}</font> ) and does nothing. <br>
</p>
<p>Is this the correct behavior when the Zip file is broken? Also,
how could I restore the previous state to reproduce the bug?</p>
<p>Thank you.</p>
<p>Best regards,</p>
<p>Quan Nguyen.<br>
</p>
<br>
</body>
</html>