Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processes tab does not detect some wine processes correctly #100

Closed
nairaner opened this issue Nov 4, 2016 · 6 comments
Closed

Processes tab does not detect some wine processes correctly #100

nairaner opened this issue Nov 4, 2016 · 6 comments
Assignees
Labels
Bug

Comments

@nairaner
Copy link

@nairaner nairaner commented Nov 4, 2016

image

@brezerk brezerk added the Bug label Nov 4, 2016
@brezerk
Copy link
Owner

@brezerk brezerk commented Nov 4, 2016

Thanks for reporting.

Looking into it.

@brezerk
Copy link
Owner

@brezerk brezerk commented Nov 5, 2016

hi @nairaner

can you help me a bit please?

I think I found the issue. But I would like to get following info:

# ls -al /proc/<pid_number>/
# cat /proc/<pid_number>/cmdline
# cat /proc/<pid_number>/comm

Where the pid_number is a pid of the process which does not detected by q4wine. you can get it via ps aux | grep <program_name>

Thanks

@nairaner
Copy link
Author

@nairaner nairaner commented Nov 6, 2016

ls -al /proc/1247/  
dr-xr-xr-x   9 nairaner users 0 2016-11-06  .
dr-xr-xr-x 246 root     root  0 2016-11-06  ..
dr-xr-xr-x   2 nairaner users 0 11-06 15:49 attr
-rw-r--r--   1 nairaner users 0 11-06 15:49 autogroup
-r--------   1 nairaner users 0 11-06 15:49 auxv
-r--r--r--   1 nairaner users 0 11-06 15:49 cgroup
--w-------   1 nairaner users 0 11-06 15:49 clear_refs
-r--r--r--   1 nairaner users 0 2016-11-06  cmdline
-rw-r--r--   1 nairaner users 0 11-06 15:49 comm
-rw-r--r--   1 nairaner users 0 11-06 15:49 coredump_filter
-r--r--r--   1 nairaner users 0 11-06 15:49 cpuset
lrwxrwxrwx   1 nairaner users 0 11-06 15:49 cwd -> '/home/nairaner/.local/share/wineprefixes/LeagueOfLegends/drive_c/Riot Games/League of Legends/RADS/projects/league_client/releases/0.0.0.29/deploy'
-r--------   1 nairaner users 0 11-06 15:49 environ
lrwxrwxrwx   1 nairaner users 0 2016-11-06  exe -> /home/nairaner/WineBinaries/1.9.13/usr/bin/wine-preloader
dr-x------   2 nairaner users 0 11-06 15:49 fd
dr-x------   2 nairaner users 0 11-06 15:49 fdinfo
-r--------   1 nairaner users 0 11-06 15:49 io
-r--r--r--   1 nairaner users 0 11-06 15:49 limits
dr-x------   2 nairaner users 0 11-06 15:49 map_files
-r--r--r--   1 nairaner users 0 11-06 15:49 maps
-rw-------   1 nairaner users 0 2016-11-06  mem
-r--r--r--   1 nairaner users 0 11-06 15:49 mountinfo
-r--r--r--   1 nairaner users 0 11-06 15:49 mounts
-r--------   1 nairaner users 0 11-06 15:49 mountstats
dr-xr-xr-x   5 nairaner users 0 2016-11-06  net
dr-x--x--x   2 nairaner users 0 11-06 15:49 ns
-r--r--r--   1 nairaner users 0 11-06 15:49 numa_maps
-rw-r--r--   1 nairaner users 0 11-06 15:49 oom_adj
-r--r--r--   1 nairaner users 0 11-06 15:49 oom_score
-rw-r--r--   1 nairaner users 0 11-06 15:49 oom_score_adj
-r--------   1 nairaner users 0 11-06 15:49 pagemap
-r--------   1 nairaner users 0 11-06 15:49 personality
lrwxrwxrwx   1 nairaner users 0 11-06 15:49 root -> /
-rw-r--r--   1 nairaner users 0 11-06 15:49 sched
-r--r--r--   1 nairaner users 0 11-06 15:49 schedstat
-r--r--r--   1 nairaner users 0 11-06 15:49 smaps
-r--------   1 nairaner users 0 11-06 15:49 stack
-r--r--r--   1 nairaner users 0 11-06 15:49 stat
-r--r--r--   1 nairaner users 0 11-06 15:49 statm
-r--r--r--   1 nairaner users 0 11-06 15:49 status
-r--------   1 nairaner users 0 11-06 15:49 syscall
dr-xr-xr-x 167 nairaner users 0 2016-11-06  task
-rw-rw-rw-   1 nairaner users 0 11-06 15:49 timerslack_ns
-r--r--r--   1 nairaner users 0 11-06 15:49 wchan
cat /proc/1247/cmdline                                                                                                 :(
C:/Riot Games/League of Legends/RADS/projects/league_client/releases/0.0.0.29/deploy/LeagueClient.exe--no-sandbox%        
cat /proc/1247/comm
LeagueClient.ex
@brezerk
Copy link
Owner

@brezerk brezerk commented Nov 7, 2016

Thank you.

I have fond few other examples, when the current code does not detect wine-related process. So it seems like a time for a small refactoring
sigh

@brezerk brezerk self-assigned this Nov 7, 2016
@brezerk brezerk changed the title Processes tab dont detect processes starting with upper case Processes tab does not detect some wine processes correctly Nov 23, 2016
@brezerk
Copy link
Owner

@brezerk brezerk commented Nov 23, 2016

Hi @nairaner

This commit 1a4afc6 should fix the issue with wine-related process not being detected correctly.

@brezerk
Copy link
Owner

@brezerk brezerk commented Dec 15, 2016

Closing ticket. Pending Verification status over 1 week with no activity.

@brezerk brezerk closed this Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.