This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2.2 on HP-UX 11 64-bit - longs crash
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: loewis, scav, tim.peters
Priority: normal Keywords:

Created on 2002-03-22 15:43 by scav, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (5)
msg9914 - (view) Author: Peter Harris (scav) Date: 2002-03-22 15:43
>>> a=1L
>>> type(a)
<type 'long'>
>>> a
Bus error(coredump)

F***! Nearly everything else works. It just seems to
be something in repr() of a long that crashes it.

Anyone else have this problem?
msg9915 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-03-22 17:29
Logged In: YES 
user_id=21627

Can you use a debugger to find out and report where it crashes?
msg9916 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-03-22 17:29
Logged In: YES 
user_id=21627

Can you please also report which compiler you have been using?
msg9917 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2002-03-22 17:58
Logged In: YES 
user_id=31435

Peter, no, there have been no other reports of this on 64-
bit platforms.  If possible, try recompiling longobject.c 
with optimization disabled.  Its internal long_format() 
routine is complicated so has a better-than-usual chance of 
provoking bad code generation. 
msg9918 - (view) Author: Peter Harris (scav) Date: 2002-03-25 08:43
Logged In: YES 
user_id=8911

Thanks all.

I am using the HP-UX ANSI C compiler (cc -Ae).

Recompiling longobject.c without optimisations worked OK, 
so I'm content.

If no similar problems emerge, I'll not need to learn how 
to use the debugger (adb, which I find fairly daunting!)

Peter
History
Date User Action Args
2022-04-10 16:05:08adminsetgithub: 36313
2002-03-22 15:43:49scavcreate