seeker / dwarftherapist

Automatically exported from code.google.com/p/dwarftherapist
Other
0 stars 0 forks source link

Major lagging when closing dwarffortress before dwarffortress on linux #470

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce
1. Run df with dfhack
2. Run command sudo setcap cap_sys_ptrace=eip /usr/bin/dwarftherapist
3. Start a saved game
4. Run dwarftherapist. Make sure it connects
5. Close dwarffortress before dwarftherapist.

Major lags. System hangs, my swap that is almost never used goes through the 
roof.

I'm using Arch. DF version is 34.11, the one from 
https://www.archlinux.org/packages/community/i686/dwarffortress/. DFhack 
34.11r3 linux version. Used the system libraries instead of runtime for 
dwarffortress I believe. The same with stonesense, is that important? 

I copied dfhack to the df folder. I used the setcap method I learned from the 
Arch wiki to give dfhack memory permissions. It works fine, no issues. But when 
I close df, there's the problem. Super major lags. My system grinds to a halt. 
This happens especially when chromium is open. I have to go to the command line 
and specifically kill and bumbling processes for my system to get back. 
Sometimes I even restart the whole graphics system.

Original issue reported on code.google.com by sodomy...@gmail.com on 6 Feb 2014 at 4:04