[issue40821] os.getlogin() not working

2020-12-16 Thread Philipp Gortan


Change by Philipp Gortan :


--
nosy: +mephinet

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



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

2009-09-25 Thread Philipp Gortan

Philipp Gortan  added the comment:

I can reproduce this problem with Gentoo Hardened and 
gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.6, ssp-3.4.6-1.0, pie-8.7.10)

when gdb-ing through the datetimemodule.c, and displaying the "tuple"
variable in time_strftime, I can see that the pointer gets modified by
the wrap_strftime call, resulting in Py_DECREF causing the segfault:
before wrap_strftime:
(gdb) x tuple
0xa8938f2c: 0x0001
after wrap_strftime:
(gdb) x tuple
0x938f2c:   Cannot access memory at address 0x938f2c
thus executing
Py_DECREF(tuple)
results in the segfault.

--
nosy: +mephinet

___
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")

2010-05-31 Thread Philipp Gortan

Philipp Gortan  added the comment:

@belopolsky: unittest exists, 
/usr/lib/python2.6/test/test_datetime.py
as mentioned by the OP, this unittest reproduces
the issue.

--

___
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")

2010-06-01 Thread Philipp Gortan

Philipp Gortan  added the comment:

Unfortunately, I'm no longer able to reproduce this issue as I upgraded to gcc 
4.3 sometime within the last nine months...
With 4.3, I don't see this segfault any longer.

--

___
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