Hi,

I tried valgrind and wine with COD4 demo but I couldn't get the game running. I have to say that "~/Desktop/wine/native/wine iw3sp.exe" let run the game. With /usr/local/valgrind-svn/bin/valgrind --trace-children=yes ~/Desktop/wine/native/wine iw3sp.exe I got the attached log file. I was running both from the same location (/home/ricola/.wine/drive_c/Programme/cod4). The next thing is that other apps are working well (like CodeBlocks or notepad) with wine and valgrind. If I don't set the --trace-children=yes argument the app starts fine (but that's not what I like to do, isn't it?).

COD4 isn't the only app which isn't working. It also affects 3Dmark 2001 and 03.

Any hints about this?

My goal is to check for memory leaks in wine, not in COD4. Because several apps crash with out of memory error.

Cheers
Rico
==28032== Memcheck, a memory error detector.
==28032== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==28032== Using LibVEX rev 1856, a library for dynamic binary translation.
==28032== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==28032== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework.
==28032== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==28032== For more details, rerun with: -v
==28032== 
==28033== Memcheck, a memory error detector.
==28033== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==28033== Using LibVEX rev 1856, a library for dynamic binary translation.
==28033== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==28033== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework.
==28033== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==28033== For more details, rerun with: -v
==28033== 
==28033== 
==28033== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 9 from 1)
==28033== malloc/free: in use at exit: 0 bytes in 0 blocks.
==28033== malloc/free: 30 allocs, 30 frees, 3,673 bytes allocated.
==28033== For counts of detected errors, rerun with: -v
==28033== All heap blocks were freed -- no leaks are possible.
==28034== 
==28034== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 9 from 1)
==28034== malloc/free: in use at exit: 22,105 bytes in 613 blocks.
==28034== malloc/free: 1,178 allocs, 565 frees, 52,958 bytes allocated.
==28034== For counts of detected errors, rerun with: -v
==28034== searching for pointers to 613 not-freed blocks.
==28034== checked 223,920 bytes.
==28034== 
==28034== LEAK SUMMARY:
==28034==    definitely lost: 0 bytes in 0 blocks.
==28034==      possibly lost: 0 bytes in 0 blocks.
==28034==    still reachable: 22,105 bytes in 613 blocks.
==28034==         suppressed: 0 bytes in 0 blocks.
==28034== Rerun with --leak-check=full to see details of leaked memory.
==28039== Memcheck, a memory error detector.
==28039== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==28039== Using LibVEX rev 1856, a library for dynamic binary translation.
==28039== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==28039== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework.
==28039== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==28039== For more details, rerun with: -v
==28039== 
==28039== 
==28039== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 9 from 1)
==28039== malloc/free: in use at exit: 0 bytes in 0 blocks.
==28039== malloc/free: 30 allocs, 30 frees, 3,673 bytes allocated.
==28039== For counts of detected errors, rerun with: -v
==28039== All heap blocks were freed -- no leaks are possible.
==28032== Memcheck, a memory error detector.
==28032== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==28032== Using LibVEX rev 1856, a library for dynamic binary translation.
==28032== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==28032== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework.
==28032== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==28032== For more details, rerun with: -v
==28032== 
==28032== Memcheck, a memory error detector.
==28032== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==28032== Using LibVEX rev 1856, a library for dynamic binary translation.
==28032== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==28032== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework.
==28032== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==28032== For more details, rerun with: -v
==28032== 
preloader: Warning: failed to reserve range 00110000-60000000
==28032== Warning: set address range perms: large range 2111700992 (defined)
==28032== Memcheck, a memory error detector.
==28032== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==28032== Using LibVEX rev 1856, a library for dynamic binary translation.
==28032== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==28032== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework.
==28032== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==28032== For more details, rerun with: -v
==28032== 
preloader: Warning: failed to reserve range 00110000-60000000
==28032== Warning: set address range perms: large range 2109734912 (defined)
wine: could not load L"C:\\Programme\\cod4\\iw3sp.exe": UngĀ³ltige Adresse
==28032== 
==28032== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 32 from 1)
==28032== malloc/free: in use at exit: 4,017 bytes in 36 blocks.
==28032== malloc/free: 119 allocs, 83 frees, 17,740 bytes allocated.
==28032== For counts of detected errors, rerun with: -v
==28032== searching for pointers to 36 not-freed blocks.
==28032== checked 953,204 bytes.
==28032== 
==28032== LEAK SUMMARY:
==28032==    definitely lost: 0 bytes in 0 blocks.
==28032==      possibly lost: 0 bytes in 0 blocks.
==28032==    still reachable: 4,017 bytes in 36 blocks.
==28032==         suppressed: 0 bytes in 0 blocks.
==28032== Rerun with --leak-check=full to see details of leaked memory.


Reply via email to