[Python-bugs-list] [ python-Bugs-445991 ] test_struct dumps core on IRIX 6.5
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 03 Oct 2001 12:51:28 -0700
Bugs item #445991, was opened at 2001-07-30 08:40
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=445991&group_id=5470
Category: Extension Modules
Group: Platform-specific
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Greg Ward (gward)
Assigned to: Greg Ward (gward)
Summary: test_struct dumps core on IRIX 6.5
Initial Comment:
Built 2.2a1 on a 64-bit SGI box running IRIX 6.5.
test_struct dumps core:
$ /python Lib/test/test_struct.py
trying: xcbhilfd
trying: xcBHILfd
trying: @xcbhilfd
[...]
'f' 2.0 '@\x00\x00\x00' '\x00\x00\x00@'
'd' 2.0 '@\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00@'
'f' -2.0 '\xc0\x00\x00\x00' '\x00\x00\x00\xc0'
'd' -2.0 '\xc0\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\xc0'
zsh: 193500 bus error (core dumped) ./python
Lib/test/test_struct.py
Analyzing the coredump with dbx reveals:
$ dbx ./python core
dbx version 7.3 MR 55458_Apr30_MR Apr 30 1999 13:44:41
Core from signal SIGBUS: Bus error
(dbx) where
> 0 np_longlong(0x101aaf8c, 0x1012c354, 0x5fff88fc,
0xc388060, 0x5, 0x5, 0x8, 0x7fff27f7)
["/tmp/Python-2.2a1/Modules/structmodule.c":703,
0x5ffe304c]
1 struct_pack(0x0, 0x1022ce6c, 0x0, 0xc388060,
0x101aaf8c, 0x5, 0x0, 0x1013d015)
["/tmp/Python-2.2a1/Modules/structmodule.c":1362,
0x5ffe50b0]
2 call_cfunction(0x101a75a4, 0x1022ce6c, 0x0,
0xc388060, 0x5, 0x5, 0x8, 0x7fff27f7)
["/tmp/Python-2.2a1/Python/ceval.c":3064, 0x1005d37c]
3 eval_frame(0x101f55fc, 0x101f5748, 0x83,
0x101f5748, 0x10231b98, 0x10230ffa, 0x0, 0x0)
["/tmp/Python-2.2a1/Python/ceval.c":1913, 0x10058dec]
4 PyEval_EvalCodeEx(0x10231b98, 0x10139924,
0x10139924, 0x0, 0x0, 0x0, 0x0, 0x0)
["/tmp/Python-2.2a1/Python/ceval.c":2518, 0x1005b59c]
5 PyEval_EvalCode(0x10231b98, 0x10139924,
0x10139924, 0xc388060, 0x5, 0x5, 0x8, 0x7fff27f7)
["/tmp/Python-2.2a1/Python/ceval.c":491, 0x10053590]
6 run_node(0x1019ac50, 0x7fff3009, 0x10139924,
0x10139924, 0x7fff2df4, 0x5, 0x8, 0x7fff27f7)
["/tmp/Python-2.2a1/Python/pythonrun.c":1057, 0x10062704]
7 run_err_node(0x1019ac50, 0x7fff3009, 0x10139924,
0x10139924, 0x7fff2df4, 0x5, 0x8, 0x7fff27f7)
["/tmp/Python-2.2a1/Python/pythonrun.c":1044,
0x10062660] 8 PyRun_FileExFlags(0xfb4e640,
0x7fff3009, 0x101, 0x10139924, 0x10139924, 0x1,
0x7fff2df4, 0x7fff27f7)
["/tmp/Python-2.2a1/Python/pythonrun.c":1035, 0x100625e4]
9 PyRun_SimpleFileExFlags(0xfb4e640, 0x7fff3009,
0x1, 0x7fff2df4, 0x5, 0x5, 0x0, 0x7fff27f7)
["/tmp/Python-2.2a1/Python/pythonrun.c":672, 0x10060dc4]
10 PyRun_AnyFileExFlags(0xfb4e640, 0x7fff3009, 0x1,
0x7fff2df4, 0x5, 0x5, 0x8, 0x7fff27f7)
["/tmp/Python-2.2a1/Python/pythonrun.c":482, 0x1006037c]
11 Py_Main(0x2, 0x7fff2ea4, 0x0, 0xfb4e640, 0x5,
0x0, 0x0, 0x0) ["/tmp/Python-2.2a1/Modules/main.c":320,
0x1000d378]
12 ::main(0x2, 0x7fff2ea4, 0xfb4e3d8, 0xc388060,
0x5, 0x5, 0x8, 0x7fff27f7)
["/tmp/Python-2.2a1/Modules/ccpython.cc":10,
0x1000c7ec] 13 __start()
["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M3/csu/crt1text.s":177,
0x1000c788]
----------------------------------------------------------------------
>Comment By: Greg Ward (gward)
Date: 2001-10-03 12:51
Message:
Logged In: YES
user_id=14422
This no longer seems to happen with the latest CVS
(2.2a4+). Closing this bug.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=445991&group_id=5470