Issue 756093: complex pow() crash on Alpha (original) (raw)

Created on 2003-06-17 18:17 by doerwalter, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Messages (8)
msg60346 - (view) Author: Walter Dörwald (doerwalter) * (Python committer) Date: 2003-06-17 18:17
Python crashes with a floating point exception on SF's Alpha/Linux 2.2 machine in the compile farm: $ ./python Python 2.3b1+ (#2, Jun 17 2003, 10:50:58) [GCC 2.95.4 20011002 (Debian prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> pow(1e200+1j,1e200+1j) Floating point exception $
msg60347 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-06-21 13:51
Logged In: YES user_id=21627 Can you tell whether you were compiling with -ieee?
msg60348 - (view) Author: Walter Dörwald (doerwalter) * (Python committer) Date: 2003-06-23 11:13
Logged In: YES user_id=89016 Doesn't seem that way: gcc -pthread -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Objects/complexobject.o Objects/complexobject.c Changing OPT in Makefile to include -ieee and recompiling doesn't fix the problem, I still get a "Floating point exception".
msg60349 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-06-23 21:24
Logged In: YES user_id=21627 Ah, I see: LINUX. This is probably a compiler bug, without even looking at the details.
msg61326 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-20 18:51
Does the error occur with Python 2.6, too?
msg67345 - (view) Author: Ali Polatel (hawking) Date: 2008-05-25 12:51
Probably related to this. test_pow fails on alpha with both 2.4.4 and 2.5.2. test test_pow failed -- Traceback (most recent call last): File "/var/tmp/portage/dev-lang/python-2.4.4-r9/work/Python-2.4.4/Lib/test/test_pow.py", line 109, in test_bug705231 eq(pow(a, 1.23e167), 1.0) ValueError: negative number cannot be raised to a fractional power I'll test with 2.6 and report back.
msg70079 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-07-20 11:23
Did you get some results?
msg82270 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2009-02-16 20:47
Closing this due to lack of feedback. Ali Polatel's report looks like an entirely separate issue; most likely an alpha libm bug.
History
Date User Action Args
2022-04-10 16:09:17 admin set github: 38670
2009-02-16 20:47:49 mark.dickinson set status: pending -> closedresolution: out of datemessages: +
2008-07-20 14:57:42 mark.dickinson set nosy: + mark.dickinson
2008-07-20 11:23:47 georg.brandl set nosy: + georg.brandlmessages: +
2008-05-25 12:52:00 hawking set nosy: + hawkingmessages: +
2008-01-20 18:51:11 christian.heimes set status: open -> pendingversions: + Python 2.6, - Python 2.3nosy: + christian.heimesmessages: + components: + Extension Modules, - Nonetype: crash
2003-06-17 18:17:29 doerwalter create