Think I found the problem.I had added LzmaStateDecode.* to the project as well as the other files, and it compiles and runs, but crashes, presumably because LzmaStateDecode.h also defines a CLzmaDecoderState struct like LzmaDecode.h Removing the LzmaStateDecode.* files from the project at least gets the test working again, so it&#39;ll probably work in my app now as well, since the crash was the same.<br>
<br>J<br><br><br><div class="gmail_quote">On Feb 3, 2008 1:32 PM, Dennis Schridde &lt;<a href="mailto:devurandom@gmx.net">devurandom@gmx.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am Sonntag, 3. Februar 2008 19:04:54 schrieb Jeremy:<br><div class="Ih2E3d">&gt; Is there something special you have to do in order to get 7z support<br>&gt; working? I set up the PHYSFS_SUPPORTS_7Z define, and everything seems<br>
&gt; peachy until I attempt to mount a 7z archive, and it crashes when<br>&gt; attempting to use an uninitialized struct.<br></div>Which struct?<br><div class="Ih2E3d"><br>&gt; Using the test_physfs.c and<br>&gt; latest from svn. Even in the app I&#39;m using an older version of physfs in,<br>
&gt; it won&#39;t mount a 7z file. It doesn&#39;t crash, but there appears to be a bug<br>&gt; reading the header. If I fix that it gets farther and then crashes.<br></div>Can I have a look at that fix? And which bug do you mean?<br>
<div class="Ih2E3d"><br>&gt; Hopefully I&#39;m just forgetting to do something and this support isn&#39;t just<br>&gt; broken in SVN.<br></div>It works great here...<br><br>Can you provide an equivalent of &quot;bt full&quot;? And examine the involved<br>
variables?<br>The line 220, it seems to talk about, is:<br> &nbsp; &nbsp;outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos];<br>Without knowing what nowPos, dictionary, dictionaryPos, pos and the associated<br>sizes are, it might get difficult to fix.<br>
<br>And is it just me, or are msvc backtraces more difficult to read than gdb<br>ones? It also seems as if it is missing information, like files...<br><font color="#888888"><br>--Dennis<br></font></blockquote></div><br>