[issue10762] strftime('%f') segfault

2015-05-19 Thread Ned Deily

Ned Deily added the comment:

Majeed, the fixes for this issue were released several years ago and the issue 
has been closed.  Comments on it will likely be ignored.  If you believe there 
is a problem in the current versions of Python 3 (3.4.3) or Python 2 (2.7.9), 
please open a new issue with appropriate supporting documentation of how to 
reproduce the problem (including platforms and versions used) and any resulting 
tracebacks.

--
nosy: +ned.deily
versions: +Python 2.7, Python 3.2 -Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2015-05-19 Thread Majeed Arni

Majeed Arni added the comment:

The problem still exists in 3.4 and 3.5 a4


Unhandled exception in thread started by

--
nosy: +MajeedArni
versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 
3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-05 Thread Senthil Kumaran

Changes by Senthil Kumaran :


--
assignee:  -> orsenthil
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-05 Thread Senthil Kumaran

Senthil Kumaran  added the comment:

Fixed it in relevant branches. I had to add condition around the test to verify 
that platform was win because this is unique to windows only. Thanks.

--
nosy: +orsenthil

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-05 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 1320f29bcf98 by Senthil Kumaran in branch '2.7':
Issue #10762: Guard against invalid/non-supported format string '%f' on 
Windows. Patch Santoso Wijaya.
http://hg.python.org/cpython/rev/1320f29bcf98

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-05 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 2ca1bc677a60 by Senthil Kumaran in branch '3.1':
Issue #10762: Guard against invalid/non-supported format string '%f' on 
Windows. Patch Santoso Wijaya.
http://hg.python.org/cpython/rev/2ca1bc677a60

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-02 Thread Santoso Wijaya

Changes by Santoso Wijaya :


Added file: http://bugs.python.org/file21511/issue10762_py31.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-02 Thread Santoso Wijaya

Santoso Wijaya  added the comment:

Wrong filename. Attaching again: against 2.7 and 3.1 branches.

--
Added file: http://bugs.python.org/file21510/issue10762_py27.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-02 Thread Santoso Wijaya

Changes by Santoso Wijaya :


Removed file: http://bugs.python.org/file21509/issue11703.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-02 Thread Santoso Wijaya

Santoso Wijaya  added the comment:

I don't think this is a Windows "bug" per se, because the behavior is undefined 
in the standards. The burden is up to us to validate the format string inputted 
[w]strftime and currently, our code mistakenly clears "%f" as valid.

I'm attaching a patch against 2.7 branch.

--
keywords: +patch
Added file: http://bugs.python.org/file21509/issue11703.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-02 Thread Santoso Wijaya

Changes by Santoso Wijaya :


--
versions: +Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-02 Thread Santoso Wijaya

Santoso Wijaya  added the comment:

There does not seem to be any mention of what an ANSI behavior should be upon 
encountering a non-supported format string. Hence, perhaps, the discrepancy 
among different platforms.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-04-01 Thread Santoso Wijaya

Changes by Santoso Wijaya :


--
nosy: +santa4nt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2011-02-02 Thread Alexander Belopolsky

Changes by Alexander Belopolsky :


--
components: +Extension Modules, Windows -Library (Lib)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2010-12-24 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

I verified problem with 3.2b1 on 32-bit winxp machine.
IDLE restarts after pythonw crashes.

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2010-12-24 Thread David Leonard

David Leonard  added the comment:

Agree that the patches from issue 4804 and wrapping strftime() to catch the 
invalid_parameter call would fix this:

windbg trace:
0:000> k
Child-SP  RetAddr   Call Site
`0021f328 07fe`fdbb27cf ntdll!ZwTerminateProcess+0xa
`0021f330 `6ec24eec KERNELBASE!TerminateProcess+0x2f
`0021f360 `6ec24fc0 MSVCR90!invoke_watson+0x11c
`0021f950 `6ec11f5d MSVCR90!invalid_parameter+0x70
`0021f990 `6ec11fcd MSVCR90!Gettnames+0xebd
`0021fa30 `1e062e29 MSVCR90!strftime+0x15
`0021fa70 `1e0bff79 python27!PyTime_DoubleToTimet+0x5f9
`0021fae0 `1e10f084 python27!PyCFunction_Call+0x69
`0021fb10 `1e112834 python27!PyEval_GetGlobals+0x944
`0021fb70 `1e114039 python27!PyEval_EvalFrameEx+0x36a4
`0021fc60 `1e1140d9 python27!PyEval_EvalCodeEx+0x7e9
`0021fd10 `1e1400ca python27!PyEval_EvalCode+0x29
`0021fd70 `1e1417f6 python27!PyErr_Display+0x40a
`0021fda0 `1e14235e python27!PyRun_InteractiveOneFlags+0x1c6
`0021fe10 `1e1423d5 python27!PyRun_InteractiveLoopFlags+0xce
`0021fe40 `1e0443d9 python27!PyRun_AnyFileExFlags+0x45
`0021fe70 `1d00119e python27!Py_Main+0x8e9
`0021ff30 `777bf56d python+0x119e
`0021ff60 `779f3021 kernel32!BaseThreadInitThunk+0xd
`0021ff90 ` ntdll!RtlUserThreadStart+0x21

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2010-12-23 Thread R. David Murray

R. David Murray  added the comment:

Note that this is a regression relative to 2.6, where the same call returns '' 
(which is different from what it returns on linux, where the result would be 
'%f', or OSX, where the result would be 'f').  (Tests done on windows XP using 
pythons installed from the python.org installers.)

My guess is that the difference between python 2.6 and python 2.7+ is issue 
4804.  I'm therefore adding the nosy list from that issue to this one.

For the OP's benefit: my guess is that this is a bug in the Microsoft C 
runtime, but we probably need to provide a workaround for it in Python.

--
nosy: +amaury.forgeotdarc, krisvale, loewis, mhammond, ocean-city, 
r.david.murray
versions: +Python 3.1, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10762] strftime('%f') segfault

2010-12-23 Thread David Leonard

New submission from David Leonard :

Installed http://www.python.org/ftp/python/2.7.1/python-2.7.1.amd64.msi
on Windows 7, x64 into C:\Python27

C:\>\Python27\python.exe
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strftime('%f')

Dialog raises: "Python.exe has stopped working"

--
components: Library (Lib)
messages: 124542
nosy: dleonard0
priority: normal
severity: normal
status: open
title: strftime('%f') segfault
type: crash
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com