Package: valgrind
Version: 1:3.8.1-1
Severity: normal

Hello,

There is a page about running wine under valgrind:

http://wiki.winehq.org/Wine_and_Valgrind

Since the information there is mostly outdated and the patches do not
apply I installed 32bit valgrind and rebuilt wine from Ubuntu (since
Debian does not seem to ship non-obsolete wine) with valgrind version
from sid.

This allows running a program like notepad (from wine) without issues
but real Windows application using msvcrt 2008 fails to start:

$ valgrind --trace-children=yes 
--vex-iropt-register-updates=allregs-at-mem-access --workaround-gcc296-bugs=yes 
--suppressions=$HOME/Desktop/valgrind-suppressions wine WoA.exe >valgrind.log 
2>&1 & tail -f valgrind.log
[3] 30334
==30334== Memcheck, a memory error detector
==30334== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==30334== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==30334== Command: wine WoA.exe
==30334== 
==30334== Memcheck, a memory error detector
==30334== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==30334== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==30334== Command: /usr/bin/wine-preloader /usr/bin/wine WoA.exe
==30334== 
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==30334== Warning: set address range perms: large range [0x38e7e000, 
0x7853e000) (noaccess)
==30334== Warning: set address range perms: large range [0x38e7e000, 
0x7853e000) (noaccess)
==30334== Warning: set address range perms: large range [0x8049000, 0x27ba9000) 
(noaccess)
==30334== Warning: set address range perms: large range [0x8049000, 0x27ba9000) 
(noaccess)
==30334== Warning: set address range perms: large range [0x9fb40000, 
0xbf6a0000) (noaccess)
==30334== Warning: set address range perms: large range [0xbf6a0000, 
0xfed70000) (noaccess)
==30334== Memcheck, a memory error detector
==30334== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==30334== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==30334== Command: /usr/bin/wine-preloader /usr/bin/wine C:\\War\ of\ 
Angels\\WoA.exe
==30334== 
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==30334== Warning: set address range perms: large range [0x38e7e000, 
0x7848e000) (noaccess)
==30334== Warning: set address range perms: large range [0x38e7e000, 
0x7848e000) (noaccess)
==30334== Warning: set address range perms: large range [0x8049000, 0x27b49000) 
(noaccess)
==30334== Warning: set address range perms: large range [0x8049000, 0x27b49000) 
(noaccess)
==30334== Warning: set address range perms: large range [0x9fae0000, 
0xbf5f0000) (noaccess)
==30334== Warning: set address range perms: large range [0xbf5f0000, 
0xfec10000) (noaccess)
wine: Invalid address.
==30334== 
==30334== HEAP SUMMARY:
==30334==     in use at exit: 6,875 bytes in 57 blocks
==30334==   total heap usage: 200 allocs, 143 frees, 49,411 bytes allocated
==30334== 
==30334== LEAK SUMMARY:
==30334==    definitely lost: 0 bytes in 0 blocks
==30334==    indirectly lost: 0 bytes in 0 blocks
==30334==      possibly lost: 0 bytes in 0 blocks
==30334==    still reachable: 3,872 bytes in 40 blocks
==30334==         suppressed: 3,003 bytes in 17 blocks
==30334== Rerun with --leak-check=full to see details of leaked memory
==30334== 
==30334== For counts of detected and suppressed errors, rerun with: -v
==30334== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 38 from 12)


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (171, 'unstable'), (151, 'experimental'), (101, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.0-rc3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages valgrind depends on:
ii  libc6      2.13-37
ii  libc6-dbg  2.13-37

Versions of packages valgrind recommends:
ii  gdb           7.4.1-3
ii  valgrind-dbg  1:3.8.1-1

Versions of packages valgrind suggests:
pn  alleyoop      <none>
pn  kcachegrind   <none>
pn  valgrind-mpi  <none>
pn  valkyrie      <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to