Skip to content

SystemError: ../Objects/listobject.c:290: bad argument to internal function [i386,armel,...] #14852

@yarikoptic

Description

@yarikoptic

Any idea on what could cause such an exception on 32bit platform (Debian sid i386), 0.19.1

======================================================================
ERROR: test_frame_from_json_to_json (pandas.io.tests.json.test_pandas.TestPandasContainer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/json/test_pandas.py", line 272, in test_frame_from_json_to_json
    _check_all_orients(self.frame)
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/json/test_pandas.py", line 246, in _check_all_orients
    check_index_type=False, check_column_type=False)
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/json/test_pandas.py", line 165, in _check_orient
    numpy=numpy, convert_axes=convert_axes)
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/json.py", line 281, in read_json
    date_unit).parse()
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/json.py", line 346, in parse
    self._parse_numpy()
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/json.py", line 541, in _parse_numpy
    precise_float=self.precise_float)
SystemError: ../Objects/listobject.c:290: bad argument to internal function

======================================================================
ERROR: test_misc_example (pandas.io.tests.json.test_pandas.TestPandasContainer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/json/test_pandas.py", line 743, in test_misc_example
    result = read_json('[{"a": 1, "b": 2}, {"b":2, "a" :1}]', numpy=True)
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/json.py", line 281, in read_json
    date_unit).parse()
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/json.py", line 346, in parse
    self._parse_numpy()
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/json.py", line 541, in _parse_numpy
    precise_float=self.precise_float)
SystemError: ../Objects/listobject.c:290: bad argument to internal function

======================================================================
ERROR: testArrayNumpyLabelled (pandas.io.tests.json.test_ujson.NumpyJSONTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/json/test_ujson.py", line 1178, in testArrayNumpyLabelled
    output = ujson.loads(input_dumps, numpy=True, labelled=True)
SystemError: ../Objects/listobject.c:290: bad argument to internal function

======================================================================
ERROR: testDataFrameNumpyLabelled (pandas.io.tests.json.test_ujson.PandasJSONTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/json/test_ujson.py", line 1286, in testDataFrameNumpyLabelled
    numpy=True, labelled=True))
SystemError: ../Objects/listobject.c:290: bad argument to internal function

full build log: https://buildd.debian.org/status/fetch.php?pkg=pandas&arch=i386&ver=0.19.1-3&stamp=1481348917

happens also on some other architectures: e.g. armel https://buildd.debian.org/status/fetch.php?pkg=pandas&arch=armel&ver=0.19.1-3&stamp=1481359184

Metadata

Metadata

Assignees

No one assigned

    Labels

    32bit32-bit systemsIO JSONread_json, to_json, json_normalizeLinuxLinux OSTestingpandas testing functions or related to the test suiteUnreliable TestUnit tests that occasionally fail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions