[New-bugs-announce] [issue12673] SEGFAULT error on OpenBSD (sparc)

rpointel report at bugs.python.org
Mon Aug 1 08:00:10 CEST 2011


New submission from rpointel <python at xiri.fr>:

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.

----------
components: Installation
files: python_segfault_sparc.log
messages: 141488
nosy: rpointel
priority: normal
severity: normal
status: open
title: SEGFAULT error on OpenBSD (sparc)
versions: Python 2.7
Added file: http://bugs.python.org/file22816/python_segfault_sparc.log

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12673>
_______________________________________


More information about the New-bugs-announce mailing list