<div><span class="e" id="q_109351a3cc3fbeed_0">On 2/4/06, <b class="gmail_sendername">Joris Huizer</b> &lt;<a href="mailto:jorishuizer@planet.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jorishuizer@planet.nl
</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I have this question: I have a game called &quot;Knights and Merchants&quot; which<br>&nbsp;&nbsp;I sometimes play; I find it deadlocks each time after playing for an<br>hour or so<br>it seems it isn't a complete deadlock, sometimes some of sound comes
<br>through between intervals of minutes or so; harddisk activity seems<br>extreme - the light is burning constantly.<br>I then usually decide to kill the program; as it opens fullscreen I<br>can't get to the xterm that launched it, so I try to get to a console;
<br>The system is so slow that it takes some time to get to a console<br>&lt;ctrl-alt-f1&gt;, and login in may time out a few times before finaly<br>getting in (the cure to that one is simple: login before starting the<br>

game...) - then it takes another minute or so to run ps and kill the<br>wine process<br><br>is there a way to find what is causing the deadlock? I can log the<br>output wine gives using `script`, but as deadlocks only occur after a
<br>lot of time running the game with lots of logging active would be a pain<br><br>will log the output at least next time I play; for now, has somebody<br>ideas how to log without getting major slowdown (otherwise there's no
<br>playing in it)?<br><br>thanks,<br><br>Joris<br><br><br></blockquote></div><br></span></div>
This really sounds like a memory leak to me. Usually I'd use valgrind
(<a href="http://valgrind.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://valgrind.org/</a>) to find memory leaks and such. Valgrind 3.1.0
works with wine, but it produces alot of output you'd have to look
through and the program will run insanely slow. It might be worth a try.<br>
<br>