[Python-bugs-list] [ python-Bugs-442520 ] test_struct fails on SPARC

noreply@sourceforge.net noreply@sourceforge.net
Wed, 18 Jul 2001 11:39:04 -0700


Bugs item #442520, was opened at 2001-07-18 11:39
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=442520&group_id=5470

Category: Extension Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: Tim Peters (tim_one)
Summary: test_struct fails on SPARC

Initial Comment:
With structmodule.c 2.48, test_struct fails on SPARC
Solaris with a SIGSEGV. This is caused by the
assignment

* (LONG_LONG *)p = x;

in np_longlong, where p is 0x1ac684, i.e. this is an
unaligned access. The Python caller is

struct.pack("q", 5)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=442520&group_id=5470