Skip to content

heap corruption in read_csv on 32-bit big-endian architectures #20785

Closed
@ginggs

Description

@ginggs

While building pandas 0.22.0 for 32-bit big-endian architectures, the test suite crashes in TestMultiLevel::test_unstack_odd_failure with various errors:

realloc(): invalid next size
malloc(): smallbin double linked list corrupted
Segmentation fault
corrupted double-linked list

This happened to be the first test that calls read_csv, and I could reproduce this in the REPL by simply doing:

import pandas as pd
df = pd.read_csv('data.csv')

I narrowed it down to 8d7d3fb and found #17063 describing a similar problem introduced by the same commit affecting other 32-bit architectures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    32bit32-bit systemsCompatpandas objects compatability with Numpy or Python functionsIO CSVread_csv, to_csv

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions