python2.7 & python imaging (PIL) dumps core with buffer overflow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-imaging (Ubuntu) |
Fix Released
|
Medium
|
Barry Warsaw | ||
Natty |
Invalid
|
Medium
|
Barry Warsaw | ||
Oneiric |
Fix Released
|
Medium
|
Barry Warsaw |
Bug Description
Binary package hint: python2.7
Python 2.7 dumps core when doing python imaging (PIL) operations on a TIF file. Below is a sample doing a resize; but another operation like converting the color mode will also dump core.
The unusual color mode may be contributing to the bug.
This cannot be replicated under maverick, where it works as expected.
I will either attach the TIF file to this bug report, or if too large, I will link to it elsewhere.
>>> from PIL import Image
>>> image = Image.open(
>>> image
<PIL.TiffImageP
>>> image.thumbnail
*** buffer overflow detected ***: python terminated
======= Backtrace: =========
/lib/libc.
/lib/libc.
/usr/lib/
/usr/lib/
/usr/lib/
python(
python(
======= Memory map: ========
00400000-0066c000 r-xp 00000000 08:17 131874 /usr/bin/python2.7
0086b000-0086c000 r--p 0026b000 08:17 131874 /usr/bin/python2.7
0086c000-008d4000 rw-p 0026c000 08:17 131874 /usr/bin/python2.7
008d4000-008e6000 rw-p 00000000 00:00 0
01eff000-02968000 rw-p 00000000 00:00 0 [heap]
7f87bf160000-
7f87bf183000-
7f87bf382000-
7f87bf383000-
7f87bf384000-
7f87bf3c1000-
7f87bf5c1000-
7f87bf5c4000-
7f87bf5c7000-
7f87bf5e6000-
7f87bf7e5000-
7f87bf7e6000-
7f87bf7ea000-
7f87bf7eb000-
7f87bf8ed000-
7f87bfaed000-
7f87bfaf0000-
7f87bfaf1000-
7f87bfaf2000-
7f87bfb34000-
7f87bfd34000-
7f87bfd35000-
7f87bfd3d000-
7f87bfd5a000-
7f87bff59000-
7f87bff5a000-
7f87bff63000-
7f87bff72000-
7f87c0171000-
7f87c0172000-
7f87c0174000-
7f87c0187000-
7f87c0386000-
7f87c0387000-
7f87c038b000-
7f87c038e000-
7f87c058d000-
7f87c058e000-
7f87c0590000-
7f87c05b6000-
7f87c07b6000-
7f87c07b8000-
7f87c07b9000-
7f87c07c0000-
7f87c09bf000-
7f87c09c0000-
7f87c09c1000-
7f87c09d6000-
7f87c0bd5000-
7f87c0bd6000-
7f87c0bd7000-
7f87c0cbf000-
7f87c0ebe000-
7f87c0ec6000-
7f87c0ec8000-
7f87c0edd000Aborted (core dumped)
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: python2.7-minimal 2.7.1-3
ProcVersionSign
Uname: Linux 2.6.38-3-generic x86_64
Architecture: amd64
AssertionMessage: *** buffer overflow detected ***: python terminated
Date: Sat Feb 12 12:44:25 2011
ExecutablePath: /usr/bin/python2.7
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110202)
ProcCmdline: python
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LC_MESSAGES=
LANG=en_US.UTF-8
LANGUAGE=en_US:en
Signal: 6
SourcePackage: python2.7
StacktraceTop:
raise () from /lib/libc.so.6
abort () from /lib/libc.so.6
?? () from /lib/libc.so.6
__fortify_fail () from /lib/libc.so.6
__chk_fail () from /lib/libc.so.6
Title: python2.7 assert failure: *** buffer overflow detected ***: python terminated
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
affects: | python2.7 (Ubuntu) → python-imaging (Ubuntu) |
tags: | added: python27 |
Changed in python-imaging (Ubuntu Natty): | |
status: | New → Confirmed |
assignee: | nobody → Barry Warsaw (barry) |
milestone: | none → ubuntu-11.04-beta-2 |
Changed in python-imaging (Ubuntu Natty): | |
milestone: | ubuntu-11.04-beta-2 → ubuntu-11.04 |
Changed in python-imaging (Ubuntu Natty): | |
milestone: | ubuntu-11.04 → natty-updates |
Changed in python-imaging (Ubuntu Oneiric): | |
milestone: | ubuntu-11.04 → none |
Changed in python-imaging (Ubuntu Natty): | |
status: | Confirmed → Invalid |
Attachment: TIF image that generates crash