Closed GoogleCodeExporter closed 9 years ago
This issue was closed by revision r103.
Original comment by moo...@gmail.com
on 11 Apr 2013 at 3:41
It appears this issue is a bit more complicated than I thought. Parsing these
PDB files alone doesn't cause any issue. My original patch should probably be
reverted.
This issue only happens if a few PDB files are parsed in the same process.
Parsing the same PDB in an endless loop doesn't trigger the issue. Parsing a
few of them in a loop does trigger the issue pretty reliably.
Using `reload(pdbparse)` after one of the exceptions seems to temporarily
resolve the issue until it goes bad again. That seems to suggest a global is
being corrupted, but I couldn't find any globals in the code.
From some debugging I've done, it seems like something in the PDB is being
skipped. When the section headers failed to load, it was because the data being
parsed from them was from 0x1000, even though the section headers are at 0x8000.
I've attached a script that reproduce this issue pretty reliably. I tested this
with:
* Windows 7 x64
* Python 2.7.3
* Construct 2.5.0
* pdbparse 1.0
Original comment by kichik
on 15 Apr 2013 at 5:27
Attachments:
Could you make sure you are trying this with the most recent SVN version of
pdbparse (and that there aren't any old ones hanging around on your system)? I
have had your repro script running for 1.5 hours without seeing any failures.
There was a problem with global state being corrupted, but it was fixed back in
r87.
Original comment by moo...@gmail.com
on 16 Apr 2013 at 11:37
It works perfectly fine with the latest SVN version for me too. I wrongly
assumed latest SVN version will not fix this because there was no closed issue
for it. Sorry for the waste of time.
Original comment by kichik
on 16 Apr 2013 at 11:49
Fixed back in r87. Sorry for not creating an issue for it at the time; I tend
to use the issue tracker just for externally-reported bugs.
Original comment by moo...@gmail.com
on 17 Apr 2013 at 4:47
Original issue reported on code.google.com by
kichik
on 11 Apr 2013 at 2:51Attachments: