Wine & Valgrind 2.2.0

Oliver Stieber oliver_stieber at yahoo.co.uk
Fri Mar 11 10:59:11 CST 2005


--- Lars Segerlund <lars.segerlund at comsys.se> wrote:
> 
>  Hi,
> 
>   Has anybody given prospect & oprofile a spin ?
> 
>  My machine is a bit to slow for a build of the
> latest wine, but I figured it could be a nice way to
> check systemusage in conjunction with wine.
> 
>  Opinions ?

I've oprofiled the DirectX 9 work, but it's not so
usefull their since most of the dogs work is performed
in the openGL driver.

No problems profiling though, there's a WWN artical
about it.

http://www.winehq.org/?issue=249#oprofile & Wine
> 
>  / regards, Lars Segerlund.
> 
> 
> On Fri, 11 Mar 2005 17:40:25 +0200 (EET)
> Saulius Krasuckas <saulius2 at ar.fi.lt> wrote:
> 
> > On Fri, 11 Mar 2005, James Hawkins wrote:
> > > On Fri, 11 Mar 2005 17:12:35 +0200 (EET),
> Saulius Krasuckas <saulius2 at ar.fi.lt> wrote:
> > > > On Wed, 9 Mar 2005, Robert Shearman wrote:
> > > > > I find the --tool=memcheck option the most
> useful, which can be used for
> > > > > finding the source of memory corruption.
> > > > 
> > > > Fine, but can you help me to fight an error
> saying "SEGMENT MAPS NOT OK" ?
> > > > I try running 'wine Diablo.exe' and get
> something like that:
> > > > 
> > > > | INV 2 FAILED: seg 0x1C490000-0x1C492000
> crosses boundaries of mapping 0x1C490000-0x1C491000
> > > > | INV 1 FAILED: seg -0x1C490000 does not end
> at mapping 0x1C492000-0x1C490000 end
> > > > | INV 1 FAILED: mapping 0x1C491000-0x1C492000
> (prot=rwx file=/usr/local/lib/wine/ole32.dll.so) is
> before 0x1C492000-0x1C498000
> >   ...
> > > > And then valgrind terminates.  Where is the
> problem?  Something is wrong
> > > > with the ole32.dll.so file?
> > > 
> > > Try running valgrind with wine-pthread or
> wine-kthread instead of
> > > wine, because valgrind doesn't run child
> processes in it's vm.
> > 
> > Yes, I already am running that way (wine-pthread).
>  W/o wine-pthread name
> > or w/o --trace-children=yes option supplied I
> capture nothing usefull.
> > 
> > And BTW, wine under valgrind runs slowly now. 
> AFAICS, a lot more slowly
> > than the stable v2.2.0.
> > 
> > 
> 
> 

Send instant messages to your online friends http://uk.messenger.yahoo.com 



More information about the wine-devel mailing list