On Tuesday 2011-07-05 00:52, WAROQUIERS Philippe wrote: > >>I will work on that this evening, and if confirmed, will prepare >>a patch and file a bug in bugzilla. > >https://bugs.kde.org/show_bug.cgi?id=276993 > >filed in bugzilla (with patch containing a test case and a fix for 3.7.0 >SVN) > >Philippe
+ /* first find free segment of 40K, then unmap it */ + void *initial_area = mmap((void *)0x10000000, 40960, PROT_READ|PROT_WRITE, + MAP_ANONYMOUS|MAP_PRIVATE,0,0); The 0x10000000 stems from my experimenting around (in particular, 0x10000000 was a definitely free area in my runtime environment); as far as the test case is concerned, mmap should probably just be called with NULL as first argument to pick any available address. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users