|
From: smiley g. <smi...@ya...> - 2004-09-24 07:52:33
|
Hello, The following error message was noted in an application that attaches shared memory segment of 150M at a fixed address at 0x20000000 on a 2 cpu box. valgrind: vg_memory.c:245 (vgPlain_unmap_range): Assertion `rs == middle' failed. ==29762== at 0xB002A41F: vgPlain_skin_assert_fail (vg_mylibc.c:1137) ==29762== by 0xB002A41E: assert_fail (vg_mylibc.c:1133) ==29762== by 0xB002A45C: vgPlain_core_assert_fail (vg_mylibc.c:1144) ==29762== by 0xB0027CC7: vgPlain_unmap_range (vg_memory.c:245) ==29762== by 0xB0027F55: vgPlain_map_file_segment (vg_memory.c:354) ==29762== by 0xB0028150: vgPlain_map_fd_segment (vg_memory.c:448) ==29762== by 0xB0038CFF: mmap_segment (vg_syscalls.c:199) ==29762== by 0xB003FBC8: after_mmap2 (vg_syscalls.c:4112) ==29762== by 0xB00439F5: vgPlain_post_syscall (vg_syscalls.c:6341) sched status: Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==29762== at 0x34D598CA: mmap64 (in /lib/tls/libc-2.3.2.so) Note: see also the FAQ.txt in the source distribution. It contains workarounds to several common problems. If that doesn't help, please report this bug to: valgrind.kde.org In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks. $more /proc/version Linux version 2.4.21-15.ELsmp (bhc...@bu...) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)) #1 SMP Thu Ap r 22 00:18:24 EDT 2004 $valgrind --version valgrind-2.2.0 Thanks, Madhan. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
|
From: Tom H. <th...@cy...> - 2004-09-24 08:04:06
|
In message <200...@we...>
smiley glitter <smi...@ya...> wrote:
> The following error message was noted in an
> application that attaches shared memory segment of
> 150M at a fixed address at 0x20000000 on a 2 cpu box.
Depending on what tool you're using this may well not be possible
under valgrind - mapping memory at a fixed address is a truly horrible
thing to do anyway.
> valgrind: vg_memory.c:245 (vgPlain_unmap_range):
> Assertion `rs == middle' failed.
This shouldn't happen though...
> If that doesn't help, please report this bug to:
> valgrind.kde.org
...so please do file a bug as it requested.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|