bug-glibc
[Top][All Lists]
Advanced

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

Re: Possible qsort() bug with large dataset


From: Andreas Jaeger
Subject: Re: Possible qsort() bug with large dataset
Date: Thu, 11 Dec 2003 09:23:59 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, linux)

Akshat Aranya <address@hidden> writes:

> Hi,
>
> 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
> integer.

I can't find some directly.

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

No, it isn't - Do you have a short reproducable test case?

Andreas
-- 
 Andreas Jaeger, address@hidden, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 N├╝rnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgpOcX4Ur4vLi.pgp
Description: PGP signature


reply via email to

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