[issue35301] python.exe crashes - lzma?

Jonathan report at bugs.python.org
Fri Nov 23 09:21:13 EST 2018


New submission from Jonathan <bugreports at lightpear.com>:

Python 3.6.3 on Windows 7 64 bit.

I keep getting intermittent crashes of Python.exe with my project. The error is below and as best I can see seems to be indicating the issue with the LZMA module.

All I'm doing is using it to compress web-pages (typically XML ones). Problem is, I can't replicate it. When I try and run the process again, the page that previously crashed it now works. I've had this happen three times so far (out of about 150,000 pages downloaded and compressed).

My use of LZMA is quite simply:

from lzma import compress
compress(page_content, preset=5)

The pages it has crashed on so far (but which work fine now):
http://www.geoportal.rlp.de/mapbender/php/wms.php?inspire=1&layer_id=35833&request=GetCapabilities&service=WMS&version=1.3.0
https://maps.runnymede.gov.uk/geoserver/planning/lp_ancient_woodland/wms?request=GetCapabilities&service=WMS&version=1.3.0
http://serviziogc.regione.fvg.it/geoserver/GEOLOGIA/wms?request=GetCapabilities&service=WMS&version=1.3.0

I took a mini dump (attached) and full dump using Process Explorer. The full dump is 100MB compressed (1GB uncompressed).


----

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	python.exe
  Application Version:	3.6.3150.1013
  Application Timestamp:	59d3d3a3
  Fault Module Name:	_lzma.pyd
  Fault Module Version:	3.6.3150.1013
  Fault Module Timestamp:	59d3d343
  Exception Code:	c0000005
  Exception Offset:	000000000002e368
  OS Version:	6.1.7601.2.1.0.768.3
  Locale ID:	2057
  Additional Information 1:	d00b
  Additional Information 2:	d00be1cd6ce69f4b081e66c649a14f90
  Additional Information 3:	8c17
  Additional Information 4:	8c17b9c4b6a39b7e31bf71b3b1374f1b

----------
files: python-mini.7z
messages: 330327
nosy: jonathan-lp
priority: normal
severity: normal
status: open
title: python.exe crashes - lzma?
type: crash
versions: Python 3.6
Added file: https://bugs.python.org/file47944/python-mini.7z

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35301>
_______________________________________


More information about the Python-bugs-list mailing list