public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libffi/42423]  New: Core dumps while executing ctypes test cases of python-2.5.1 in AIX 5.3
@ 2009-12-18  3:57 swamy dot sangamesh at gmail dot com
  2009-12-18 12:30 ` [Bug libffi/42423] " swamy dot sangamesh at gmail dot com
  2010-01-12  9:07 ` swamy dot sangamesh at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: swamy dot sangamesh at gmail dot com @ 2009-12-18  3:57 UTC (permalink / raw)
  To: gcc-bugs

We are getting the core dumps while trying to execute python-2.5.1 ctypes test
cases in 64-bit mode in AIX 5.3 using xlc compiler.
First we applied this patch
http://gcc.gnu.org/bugzilla/attachment.cgi?id=15274&action=diff to libffi-3.0.8
for the support of 
64-bit libffi in AIX and we compiled the libffi, built the python-2.5.1 using
the configuration option --with-system-ffi,
then we tried to execute the test cases which are at "Lib/ctypes/test"
directory in the python source code.
Some of the test cases are dumping core, and the failures are

Segmentation fault in ffi_closure_helper_DARWIN at line 702 in file "" ($t1)
could not read "src/powerpc/ffi_darwin.c"

Segmentation fault in ffi_call_AIX at 0x9000000042db8e4 ($t1)
0x9000000042db8e4 (ffi_call_AIX+0xf4) ebfcfff8         ld   r31,-8(r28)

Segmentation fault in PyString_FromStringAndSize at 0x900000002c295ac ($t1)
0x900000002c295ac (PyString_FromStringAndSize+0x1ec) 881e0000        lbz  
r0,0x0(r30)

We did some analysis and it seems that the .ffi_closure_ASM code in
aix_closure.S file
is not doing correct stack progression.


Please let me know if you need any other info.

Thanks,
Sangamesh


-- 
           Summary: Core dumps while executing ctypes test cases of python-
                    2.5.1 in AIX 5.3
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: libffi
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: swamy dot sangamesh at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42423


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libffi/42423] Core dumps while executing ctypes test cases of python-2.5.1 in AIX 5.3
  2009-12-18  3:57 [Bug libffi/42423] New: Core dumps while executing ctypes test cases of python-2.5.1 in AIX 5.3 swamy dot sangamesh at gmail dot com
@ 2009-12-18 12:30 ` swamy dot sangamesh at gmail dot com
  2010-01-12  9:07 ` swamy dot sangamesh at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: swamy dot sangamesh at gmail dot com @ 2009-12-18 12:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from swamy dot sangamesh at gmail dot com  2009-12-18 12:30 -------
Created an attachment (id=19345)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19345&action=view)
stack-trace


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42423


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libffi/42423] Core dumps while executing ctypes test cases of python-2.5.1 in AIX 5.3
  2009-12-18  3:57 [Bug libffi/42423] New: Core dumps while executing ctypes test cases of python-2.5.1 in AIX 5.3 swamy dot sangamesh at gmail dot com
  2009-12-18 12:30 ` [Bug libffi/42423] " swamy dot sangamesh at gmail dot com
@ 2010-01-12  9:07 ` swamy dot sangamesh at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: swamy dot sangamesh at gmail dot com @ 2010-01-12  9:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from swamy dot sangamesh at gmail dot com  2010-01-12 09:06 -------
No Failures are seen in latest libffi-3.0.9


-- 

swamy dot sangamesh at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42423


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-12  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-18  3:57 [Bug libffi/42423] New: Core dumps while executing ctypes test cases of python-2.5.1 in AIX 5.3 swamy dot sangamesh at gmail dot com
2009-12-18 12:30 ` [Bug libffi/42423] " swamy dot sangamesh at gmail dot com
2010-01-12  9:07 ` swamy dot sangamesh at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).