This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients nadeem.vawda, vajrasky
Date 2013-12-04.16:33:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386174826.17.0.707477231335.issue19885@psf.upfronthosting.co.za>
In-reply-to
Content
[sky@localhost cutecat]$ cat /tmp/lzma_segfault.py 
import lzma
file = lzma.LZMAFile("/tmp/file.lzma", "w")
file.write(b"xxxx")
file.close()
with lzma.LZMAFile("/tmp/file.lzma", "w") as f:
    f.__init__("non-existent")
[sky@localhost cutecat]$ python /tmp/lzma_segfault.py 
Segmentation fault (core dumped)

See also issue19878.

I'll provide the patch tomorrow.
History
Date User Action Args
2013-12-04 16:33:46vajraskysetrecipients: + vajrasky, nadeem.vawda
2013-12-04 16:33:46vajraskysetmessageid: <1386174826.17.0.707477231335.issue19885@psf.upfronthosting.co.za>
2013-12-04 16:33:46vajraskylinkissue19885 messages
2013-12-04 16:33:45vajraskycreate