[New-bugs-announce] [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

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

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>

More information about the New-bugs-announce mailing list