classification
Title: SEGFAULT error on OpenBSD (sparc)
Type: Stage: resolved
Components: Installation Versions: Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: NetBSD: segmentation fault in listextend during install
View: 7424
Assigned To: Nosy List: rpointel
Priority: normal Keywords:

Created on 2011-08-01 06:00 by rpointel, last changed 2014-06-07 15:23 by rpointel. This issue is now closed.

Files
File name Uploaded Description Edit
python_segfault_sparc.log rpointel, 2011-08-01 06:00
Messages (3)
msg141488 - (view) Author: Remi Pointel (rpointel) * Date: 2011-08-01 06:00
Hello,

on OpenBSD (arch: sparc), I got a SIGBUS error during the compilation.

gdb info:
#0  0x089f136c in listextend (self=0xb6232d8, b=0xb611060) at /home/ports/pobj/Python-2.7.1/Python-2.7.1/Objects/listobject.c:838
838                 Py_INCREF(o);
(gdb) list
833             /* populate the end of self with b's items */
834             src = PySequence_Fast_ITEMS(b);
835             dest = self->ob_item + m;
836             for (i = 0; i < n; i++) {
837                 PyObject *o = src[i];
838                 Py_INCREF(o);
839                 dest[i] = o;
840             }
841             Py_DECREF(b);
842             Py_RETURN_NONE;
(gdb) print src
$1 = (PyObject **) 0xb61106c
(gdb) print i  
$2 = 1
(gdb) print *src
$3 = (PyObject *) 0x8d8afdc
(gdb) print src[i]
$4 = (PyObject *) 0x0

Attached file is the complete log file.

Thanks,

Remi.
msg141493 - (view) Author: Remi Pointel (rpointel) * Date: 2011-08-01 11:38
This bug seems to be the same than 7424:
http://bugs.python.org/issue7424
Sorry I didn't seen it before.
msg219946 - (view) Author: Remi Pointel (rpointel) * Date: 2014-06-07 15:23
For your information, this bug has been fixed in OpenBSD and the developper has contacted the NetBSD developper:
http://marc.info/?l=openbsd-tech&m=140209064821540&w=2

So I think we could close this issue because it's a system issue, not Python.
History
Date User Action Args
2014-06-07 15:23:51rpointelsetmessages: + msg219946
2011-08-01 12:45:21r.david.murraysetstatus: open -> closed
resolution: duplicate
superseder: NetBSD: segmentation fault in listextend during install
stage: resolved
2011-08-01 11:38:24rpointelsetmessages: + msg141493
2011-08-01 06:00:10rpointelcreate