[issue9420] gdbm with /usr/include/ndbm.h

2013-03-25 Thread Eric Wald

Eric Wald added the comment:

The approach used in 2.7.4rc1 also works, building cleanly on LFS 7.2; thank 
you.

--
nosy: +eswald

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



[issue5023] Segfault in datetime.time.strftime("%z")

2010-07-04 Thread Eric Wald

Eric Wald  added the comment:

Reproduced again in version 2.7rc2; I had thought that it went away, but it 
turns out that --with-pydebug hides the problem.

Compiling GDB now.

--
status: pending -> open
versions: +Python 2.7

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



[issue5023] Segfault in datetime.time.strftime("%z")

2009-01-21 Thread Eric Wald

New submission from Eric Wald :

Execution of "make test" for Python 2.6.1 halts with a segmentation 
fault on line 2198 of Python-2.6.1/Lib/test/test_datetime.py; also 
occurs using the attached script, narrowing it down to the %z sequence 
in the format argument to datetime.time.strftime(), but only when the 
time object has a non-None tzinfo.  The segfault disappears when I 
comment out line 1133 of Python-2.6.1/Modules/datetimemodule.c:

PyOS_snprintf(buf, buflen, "%c%02d%s%02d", sign, hours, sep, minutes);

Compiled with GCC 3.4.3 with Smashing Stack Protector on LFS 5.1.1 
(Linux 2.6.11.12 and glibc 2.3.5 with ssp patches).  Using BASECFLAGS=-
fno-stack-protector has no effect on the segfault.  All other Python 
tests pass.  HAVE_SNPRINTF has been defined to 1 in pyconfig.h by the 
config script.

I have not yet compiled gdb, but I can if requested.

--
components: Library (Lib)
files: zone_failure.py
messages: 80332
nosy: eswald
severity: normal
status: open
title: Segfault in datetime.time.strftime("%z")
type: crash
versions: Python 2.6
Added file: http://bugs.python.org/file12825/zone_failure.py

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



[issue5023] Segfault in datetime.time.strftime("%z")

2009-01-22 Thread Eric Wald

Eric Wald  added the comment:

Update: Undefining HAVE_SNPRINTF does not correct the problem.

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