[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible qsort() bug with large dataset

From: Akshat Aranya
Subject: Possible qsort() bug with large dataset
Date: Fri, 5 Dec 2003 16:14:02 -0500 (EST)


I've been trying to use qsort() from glibc 2.2.4 on Linux running on an
Itanium box with a large data set.  The data is gathered from an mmap'ed
file which is >2GB in size.  I found that somewhere around 2G, qsort stops
sorting the data correctly.  Even though qsort() takes size_t as number of
elements, which is 64-bit on ia64, I suspect some code assumes it to be an

Is this a known bug? Any help would be appreciated.

Akshat Aranya

reply via email to

[Prev in Thread] Current Thread [Next in Thread]