[issue6415] warnings.warn segfaults on bad formatted string

wiesenth report at bugs.python.org
Sat Jul 4 12:14:04 CEST 2009


New submission from wiesenth <d.wiesenthal at gmx.de>:

The interpreter crashes with an segmentation fault when warnings.warn
shall output a Warning instance, whose string representation is bad
formatted.

Don't know if this is fixed in a minor 2.6 release or in 2.7, I use the
Ubuntu 9.04 python2.6 package.

An easy reproducing example is given.

This is also an issue within python3.0 (python3.1 does not exist in the
repositories)

----------
files: warnsegfault.py
messages: 90111
nosy: wiesenth
severity: normal
status: open
title: warnings.warn segfaults on bad formatted string
type: crash
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file14447/warnsegfault.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6415>
_______________________________________


More information about the Python-bugs-list mailing list