On a Debian squeeze amd64 system with Linux 2.6.33 from experimental, the upstream testcase does not trigger the issue for me. MadCoder, can you try upgrading to a newer kernel and testing again?
p...@chianamo:~/tmp/thai-bsp$ uname -a Linux chianamo 2.6.33-2-amd64 #1 SMP Thu Mar 11 06:28:56 UTC 2010 x86_64 GNU/Linux p...@chianamo:~/tmp/thai-bsp$ wget https://bugs.kde.org/attachment.cgi?id=36291 -O mremap_test.c --2010-03-14 13:50:04-- https://bugs.kde.org/attachment.cgi?id=36291 Resolving bugs.kde.org... 138.246.255.179 Connecting to bugs.kde.org|138.246.255.179|:443... connected. HTTP request sent, awaiting response... 302 Found Location: http://bugsfiles.kde.org/attachment.cgi?id=36291 [following] --2010-03-14 13:50:06-- http://bugsfiles.kde.org/attachment.cgi?id=36291 Connecting to 202.12.97.116:8088... connected. Proxy request sent, awaiting response... 200 OK Length: 807 [text/x-csrc] Saving to: `mremap_test.c' 100%[==========================================================================================================================================>] 807 --.-K/s in 0s 2010-03-14 13:50:08 (4.27 MB/s) - `mremap_test.c' saved [807/807] p...@chianamo:~/tmp/thai-bsp$ gcc -o test mremap_test.c p...@chianamo:~/tmp/thai-bsp$ valgrind ./test ==19531== Memcheck, a memory error detector ==19531== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==19531== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright info ==19531== Command: ./test ==19531== 0x4020000 - 0x4021000 4096 0x4022000 - 0x4024000 8192 0x4024000 - 0x4028000 16384 0x4028000 - 0x4030000 32768 0x403f000 - 0x404f000 65536 0x404f000 - 0x406f000 131072 0x406f000 - 0x40af000 262144 0x40af000 - 0x412f000 524288 0x517a000 - 0x527a000 1048576 0x527a000 - 0x547a000 2097152 ==19531== ==19531== HEAP SUMMARY: ==19531== in use at exit: 0 bytes in 0 blocks ==19531== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==19531== ==19531== All heap blocks were freed -- no leaks are possible ==19531== ==19531== For counts of detected and suppressed errors, rerun with: -v ==19531== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4) p...@chianamo:~/tmp/thai-bsp$ apt-cache policy valgrind valgrind: Installed: 1:3.5.0-3 Candidate: 1:3.5.0-3 Version table: *** 1:3.5.0-3 0 700 http://neutron.debianclub.com testing/main Packages 700 ftp://mirror.internode.on.net testing/main Packages 600 http://neutron.debianclub.com unstable/main Packages 600 ftp://mirror.internode.on.net unstable/main Packages 100 /var/lib/dpkg/status Hello from the 2010 Thai BSP: http://wiki.debian.org/DebianThailand/MiniDebCamp2010/BSP -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

