LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2017, 07:37 PM   #1
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Rep: Reputation: 0
Wine exited 127 with out of memory


Hi.

wine didn't run as normal user (but ran as root) because "/usr/bin/wine: error while loading shared libraries: out of memory: Operation not permitted".

This is strace out put of strace wine cmd.exe

Code:
execve("/bin/wine", ["wine", "Downloads/LineInst (1).exe"], 0x7fff842118f8 /* 63 vars */) = 0
strace: [ Process PID=17508 runs in 32 bit mode. ]
brk(NULL)                               = 0x7d9f7000
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aa77000
readlink("/proc/self/exe", "/usr/bin/wine", 4096) = 13
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686/sse2", 0xff9165f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686", 0xff9165f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/sse2", 0xff9165f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/bin/../lib32/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686/sse2", 0xff9165f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686", 0xff9165f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/sse2", 0xff9165f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P{\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1816508, ...}) = 0
mmap2(NULL, 1898208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a8a7000
mmap2(0x2aa5e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x2aa5e000
mmap2(0x2aa64000, 75488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aa64000
close(3)                                = 0
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`P\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=146376, ...}) = 0
mmap2(NULL, 123136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a888000
mmap2(0x2a8a3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x2a8a3000
mmap2(0x2a8a5000, 4352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a8a5000
close(3)                                = 0
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\211\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=2152232, ...}) = 0
mmap2(NULL, 1923524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a6b2000
mprotect(0x2a881000, 4096, PROT_NONE)   = 0
mmap2(0x2a882000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x2a882000
mmap2(0x2a885000, 10692, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a885000
close(3)                                = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=272656, ...}) = 0
mmap2(NULL, 272656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a66f000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib32/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13672, ...}) = 0
mmap2(NULL, 16436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a66a000
mmap2(0x2a66d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2a66d000
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a668000
set_thread_area({entry_number:-1, base_addr:0x2a668700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
mprotect(0x2a882000, 8192, PROT_READ)   = 0
mprotect(0x2a66d000, 4096, PROT_READ)   = 0
mprotect(0x2a8a3000, 4096, PROT_READ)   = 0
mprotect(0x2aa5e000, 20480, PROT_READ)  = 0
mprotect(0x7c002000, 4096, PROT_READ)   = 0
mprotect(0x2aaa3000, 4096, PROT_READ)   = 0
munmap(0x2a66f000, 272656)              = 0
set_tid_address(0x2a668768)             = 17508
set_robust_list(0x2a668770, 12)         = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x2a88ca70, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x2a88cb00, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
uname({sysname="Linux", nodename="mint", ...}) = 0
brk(NULL)                               = 0x7d9f7000
brk(0x7da18000)                         = 0x7da18000
brk(0x7da19000)                         = 0x7da19000
mmap2(NULL, 2101248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2a467000
mprotect(0x2a468000, 2097152, PROT_READ|PROT_WRITE) = 0
clone(child_stack=0x2a667424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2a667ba8, tls={entry_number:12, base_addr:0x2a667b40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0x2a667ba8) = 17509
prlimit64(0, RLIMIT_AS, NULL, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
prlimit64(0, RLIMIT_AS, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}, NULL) = 0
readlink("/proc/self/exe", "/usr/bin/wine", 256) = 13
stat64("/usr/bin/wineserver", {st_mode=S_IFREG|0755, st_size=577136, ...}) = 0
execve("/usr/bin/wine-preloader", ["/usr/bin/wine-preloader", "/usr/bin/wine", "Downloads/LineInst (1).exe"], 0x7d9f7160 /* 64 vars */) = 0
set_thread_area({entry_number:-1, base_addr:0x7c403080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
mmap2(NULL, 65536, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 EPERM (Operation not permitted)
mmap2(0x10000, 1048576, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x10000
mmap2(0x110000, 1743716352, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x110000
mmap2(0x7f000000, 50331648, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f000000
mprotect(0x7ffff000, 4096, PROT_READ|PROT_EXEC) = 0
open("/usr/bin/wine", O_RDONLY)         = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\20\21\0|4\0\0\0"..., 2048) = 2048
mmap2(0x7c000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x7c000000
mmap2(0x7c002000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x7c002000
close(3)                                = 0
open("/lib/ld-linux.so.2", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\f\0\0004\0\0\0"..., 2048) = 2048
mmap2(NULL, 157944, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x68000000
mprotect(0x68025000, 6392, PROT_NONE)   = 0
mmap2(0x68025000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x24000) = 0x68025000
close(3)                                = 0
getuid()                                = 1000
geteuid()                               = 1000
getgid()                                = 1000
getegid()                               = 1000
prctl(PR_SET_NAME, "wine")              = 0
brk(NULL)                               = 0x7d3e5000
uname({sysname="Linux", nodename="mint", ...}) = 0
readlink("/proc/self/exe", "/usr/bin/wine-preloader", 4096) = 23
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686/sse2", 0xffebf8e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686", 0xffebf8e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/sse2", 0xffebf8e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/bin/../lib32/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686/sse2", 0xffebf8e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686", 0xffebf8e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/sse2", 0xffebf8e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P{\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1816508, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted)
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted)
writev(2, [{iov_base="/usr/bin/wine", iov_len=13}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="", iov_len=0}, {iov_base="", iov_len=0}, {iov_base="out of memory", iov_len=13}, {iov_base=": ", iov_len=2}, {iov_base="Operation not permitted", iov_len=23}, {iov_base="\n", iov_len=1}], 10/usr/bin/wine: error while loading shared libraries: out of memory: Operation not permitted
) = 92
exit_group(127)                         = ?
+++ exited with 127 +++
In Manjaro Linux, wine, wine-staging or wine-staging-nine.
Thanks in advance.
 
Old 09-19-2017, 01:30 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 6,785
Blog Entries: 3

Rep: Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629
Quote:
Originally Posted by yek View Post
wine didn't run as normal user (but ran as root) because "/usr/bin/wine: error while loading shared libraries: out of memory: Operation not permitted".
so you concluded that running as root will fix that?

you probably made things much, much worse now.
anyhow your first step would be to look at the application that causes the error, then at winehq app database, then at their forums...

try this:
purge /home/yek/.wine and /root/.wine
purge all wine installations & their dependencies
re-install wine stable.

if you still have problems after that, your first step would be to look at the application that causes the error, then at winehq app database, then at their forums...
 
Old 09-19-2017, 04:04 AM   #3
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Hi ondoho, thank you for your reply.

I tried

1. blast ~yek/.wine and ~root/.wine
2. remove all wine and it's compornents (wine-mono, wine_gecko, winetricks, q4wine)
3. re-install wine
4. run wine as yek (didn't run, out of memory error occured.)
5. run wine as root (ran)

I cleared all wine environment (didn't install any Windows application), but this problem was not solved...
 
Old 09-19-2017, 05:39 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,792

Rep: Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888
you may need to strace both (yek and root) and check the differences

but first check the environment, probably it is just a variable
 
Old 09-19-2017, 06:17 AM   #5
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Environment:

Code:
$ ls -ld .wine
ls: cannot access '.wine': No such file or directory
$ sudo ls -ld ~root/.wine
drwx------ 4 root root 4096  9月 19 08:15 /root/.wine
$ pacman -Q | grep wine
q4wine 1.3.5-2
wine 2.17-1
wine-mono 4.7.1-1
wine_gecko 2.47-1
winetricks 20170823-1

strace of wine cmd.exe.

Code:
execve("/bin/wine", ["wine", "cmd.exe"], 0x7ffcb0f15618 /* 25 vars */) = 0
strace: [ Process PID=6960 runs in 32 bit mode. ]
brk(NULL)                               = 0x7c047000
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aa08000
readlink("/proc/self/exe", "/usr/bin/wine", 4096) = 13
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686/sse2", 0xff8adf90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686", 0xff8adf90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/sse2", 0xff8adf90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/bin/../lib32/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686/sse2", 0xff8adf90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686", 0xff8adf90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/sse2", 0xff8adf90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P{\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1816508, ...}) = 0
mmap2(NULL, 1898208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a838000
mmap2(0x2a9ef000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x2a9ef000
mmap2(0x2a9f5000, 75488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a9f5000
close(3)                                = 0
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`P\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=146376, ...}) = 0
mmap2(NULL, 123136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a819000
mmap2(0x2a834000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x2a834000
mmap2(0x2a836000, 4352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a836000
close(3)                                = 0
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\211\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=2152232, ...}) = 0
mmap2(NULL, 1923524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a643000
mprotect(0x2a812000, 4096, PROT_NONE)   = 0
mmap2(0x2a813000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x2a813000
mmap2(0x2a816000, 10692, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a816000
close(3)                                = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=272656, ...}) = 0
mmap2(NULL, 272656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a600000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib32/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13672, ...}) = 0
mmap2(NULL, 16436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a5fb000
mmap2(0x2a5fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2a5fe000
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a5f9000
set_thread_area({entry_number:-1, base_addr:0x2a5f9700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
mprotect(0x2a813000, 8192, PROT_READ)   = 0
mprotect(0x2a5fe000, 4096, PROT_READ)   = 0
mprotect(0x2a834000, 4096, PROT_READ)   = 0
mprotect(0x2a9ef000, 20480, PROT_READ)  = 0
mprotect(0x7c002000, 4096, PROT_READ)   = 0
mprotect(0x2aa34000, 4096, PROT_READ)   = 0
munmap(0x2a600000, 272656)              = 0
set_tid_address(0x2a5f9768)             = 6960
set_robust_list(0x2a5f9770, 12)         = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x2a81da70, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x2a81db00, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
uname({sysname="Linux", nodename="mint", ...}) = 0
brk(NULL)                               = 0x7c047000
brk(0x7c068000)                         = 0x7c068000
brk(0x7c069000)                         = 0x7c069000
mmap2(NULL, 2101248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2a3f8000
mprotect(0x2a3f9000, 2097152, PROT_READ|PROT_WRITE) = 0
clone(child_stack=0x2a5f8424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2a5f8ba8, tls={entry_number:12, base_addr:0x2a5f8b40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0x2a5f8ba8) = 6961
futex(0x2a5f8ba8, FUTEX_WAIT, 6961, NULL) = 0
prlimit64(0, RLIMIT_AS, NULL, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
prlimit64(0, RLIMIT_AS, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}, NULL) = 0
readlink("/proc/self/exe", "/usr/bin/wine", 256) = 13
stat64("/usr/bin/wineserver", {st_mode=S_IFREG|0755, st_size=577136, ...}) = 0
execve("/usr/bin/wine-preloader", ["/usr/bin/wine-preloader", "/usr/bin/wine", "cmd.exe"], 0x7c047160 /* 26 vars */) = 0
set_thread_area({entry_number:-1, base_addr:0x7c403080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
mmap2(NULL, 65536, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 EPERM (Operation not permitted)
mmap2(0x10000, 1048576, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x10000
mmap2(0x110000, 1743716352, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x110000
mmap2(0x7f000000, 50331648, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f000000
mprotect(0x7ffff000, 4096, PROT_READ|PROT_EXEC) = 0
open("/usr/bin/wine", O_RDONLY)         = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\20\21\0|4\0\0\0"..., 2048) = 2048
mmap2(0x7c000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x7c000000
mmap2(0x7c002000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x7c002000
close(3)                                = 0
open("/lib/ld-linux.so.2", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\f\0\0004\0\0\0"..., 2048) = 2048
mmap2(NULL, 157944, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x68000000
mprotect(0x68025000, 6392, PROT_NONE)   = 0
mmap2(0x68025000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x24000) = 0x68025000
close(3)                                = 0
getuid()                                = 1001
geteuid()                               = 1001
getgid()                                = 1001
getegid()                               = 1001
prctl(PR_SET_NAME, "wine")              = 0
brk(NULL)                               = 0x7cc3a000
uname({sysname="Linux", nodename="mint", ...}) = 0
readlink("/proc/self/exe", "/usr/bin/wine-preloader", 4096) = 23
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686/sse2", 0xffba7be0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686", 0xffba7be0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/sse2", 0xffba7be0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/bin/../lib32/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686/sse2", 0xffba7be0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686", 0xffba7be0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/sse2", 0xffba7be0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P{\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1816508, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted)
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted)
writev(2, [{iov_base="/usr/bin/wine", iov_len=13}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="", iov_len=0}, {iov_base="", iov_len=0}, {iov_base="out of memory", iov_len=13}, {iov_base=": ", iov_len=2}, {iov_base="Operation not permitted", iov_len=23}, {iov_base="\n", iov_len=1}], 10/usr/bin/wine: error while loading shared libraries: out of memory: Operation not permitted
) = 92
exit_group(127)                         = ?
+++ exited with 127 +++
Strace of sudo wine cmd.exe (head 150 lines).

Code:
cat strace150.root                                                                                                 [~]
execve("/bin/wine", ["wine", "cmd.exe"], 0x7ffcb7245bc8 /* 24 vars */) = 0
strace: [ Process PID=6984 runs in 32 bit mode. ]
brk(NULL)                               = 0x7c4df000
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aa57000
readlink("/proc/self/exe", "/usr/bin/wine", 4096) = 13
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686/sse2", 0xffe475f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686", 0xffe475f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/sse2", 0xffe475f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/bin/../lib32/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686/sse2", 0xffe475f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686", 0xffe475f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/sse2", 0xffe475f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P{\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1816508, ...}) = 0
mmap2(NULL, 1898208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a887000
mmap2(0x2aa3e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x2aa3e000
mmap2(0x2aa44000, 75488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aa44000
close(3)                                = 0
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`P\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=146376, ...}) = 0
mmap2(NULL, 123136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a868000
mmap2(0x2a883000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x2a883000
mmap2(0x2a885000, 4352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a885000
close(3)                                = 0
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\211\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=2152232, ...}) = 0
mmap2(NULL, 1923524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a692000
mprotect(0x2a861000, 4096, PROT_NONE)   = 0
mmap2(0x2a862000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x2a862000
mmap2(0x2a865000, 10692, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a865000
close(3)                                = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=272656, ...}) = 0
mmap2(NULL, 272656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a64f000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib32/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13672, ...}) = 0
mmap2(NULL, 16436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a64a000
mmap2(0x2a64d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2a64d000
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a648000
set_thread_area({entry_number:-1, base_addr:0x2a648700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
mprotect(0x2a862000, 8192, PROT_READ)   = 0
mprotect(0x2a64d000, 4096, PROT_READ)   = 0
mprotect(0x2a883000, 4096, PROT_READ)   = 0
mprotect(0x2aa3e000, 20480, PROT_READ)  = 0
mprotect(0x7c002000, 4096, PROT_READ)   = 0
mprotect(0x2aa83000, 4096, PROT_READ)   = 0
munmap(0x2a64f000, 272656)              = 0
set_tid_address(0x2a648768)             = 6984
set_robust_list(0x2a648770, 12)         = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x2a86ca70, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x2a86cb00, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
uname({sysname="Linux", nodename="mint", ...}) = 0
brk(NULL)                               = 0x7c4df000
brk(0x7c500000)                         = 0x7c500000
brk(0x7c501000)                         = 0x7c501000
mmap2(NULL, 2101248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2a447000
mprotect(0x2a448000, 2097152, PROT_READ|PROT_WRITE) = 0
clone(child_stack=0x2a647424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2a647ba8, tls={entry_number:12, base_addr:0x2a647b40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0x2a647ba8) = 6985
futex(0x2a647ba8, FUTEX_WAIT, 6985, NULL) = 0
prlimit64(0, RLIMIT_AS, NULL, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
prlimit64(0, RLIMIT_AS, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}, NULL) = 0
readlink("/proc/self/exe", "/usr/bin/wine", 256) = 13
stat64("/usr/bin/wineserver", {st_mode=S_IFREG|0755, st_size=577136, ...}) = 0
execve("/usr/bin/wine-preloader", ["/usr/bin/wine-preloader", "/usr/bin/wine", "cmd.exe"], 0x7c4df160 /* 25 vars */) = 0
set_thread_area({entry_number:-1, base_addr:0x7c403080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
mmap2(NULL, 65536, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0
mmap2(0x10000, 1048576, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x10000
mmap2(0x110000, 1743716352, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x110000
mmap2(0x7f000000, 50331648, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f000000
mprotect(0x7ffff000, 4096, PROT_READ|PROT_EXEC) = 0
open("/usr/bin/wine", O_RDONLY)         = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\20\21\0|4\0\0\0"..., 2048) = 2048
mmap2(0x7c000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x7c000000
mmap2(0x7c002000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x7c002000
close(3)                                = 0
open("/lib/ld-linux.so.2", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\f\0\0004\0\0\0"..., 2048) = 2048
mmap2(NULL, 157944, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x68000000
mprotect(0x68025000, 6392, PROT_NONE)   = 0
mmap2(0x68025000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x24000) = 0x68025000
close(3)                                = 0
getuid()                                = 0
geteuid()                               = 0
getgid()                                = 0
getegid()                               = 0
prctl(PR_SET_NAME, "wine")              = 0
brk(NULL)                               = 0x7c982000
uname({sysname="Linux", nodename="mint", ...}) = 0
readlink("/proc/self/exe", "/usr/bin/wine-preloader", 4096) = 23
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686/sse2", 0xff992880) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/i686", 0xff992880) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls/sse2", 0xff992880) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/bin/../lib32/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686/sse2", 0xff992880) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/i686", 0xff992880) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib32/sse2", 0xff992880) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P{\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1816508, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x68027000
mmap2(NULL, 1898208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x68029000
mmap2(0x681e0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x681e0000
mmap2(0x681e6000, 75488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x681e6000
close(3)                                = 0
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`P\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=146376, ...}) = 0
mmap2(NULL, 123136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x681f9000
mmap2(0x68214000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x68214000
mmap2(0x68216000, 4352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x68216000
close(3)                                = 0
openat(AT_FDCWD, "/usr/bin/../lib32/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/bin/../lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\211\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=2152232, ...}) = 0
mmap2(NULL, 1923524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x68218000
mprotect(0x683e7000, 4096, PROT_NONE)   = 0
mmap2(0x683e8000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x683e8000
mmap2(0x683eb000, 10692, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x683eb000
close(3)                                = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=272656, ...}) = 0
mmap2(NULL, 272656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x683ee000
 
Old 09-19-2017, 06:17 AM   #6
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Result of diff.

Code:
--- strace.yek	2017-09-19 19:07:19.016164875 +0900
+++ strace150.root	2017-09-19 19:09:17.461958026 +0900
@@ -1,87 +1,87 @@
-execve("/bin/wine", ["wine", "cmd.exe"], 0x7ffcb0f15618 /* 25 vars */) = 0
-strace: [ Process PID=6960 runs in 32 bit mode. ]
-brk(NULL)                               = 0x7c047000
-mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aa08000
+execve("/bin/wine", ["wine", "cmd.exe"], 0x7ffcb7245bc8 /* 24 vars */) = 0
+strace: [ Process PID=6984 runs in 32 bit mode. ]
+brk(NULL)                               = 0x7c4df000
+mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aa57000
 readlink("/proc/self/exe", "/usr/bin/wine", 4096) = 13
 access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/tls/i686/sse2", 0xff8adf90) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/tls/i686/sse2", 0xffe475f0) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/tls/i686", 0xff8adf90) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/tls/i686", 0xffe475f0) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/tls/sse2", 0xff8adf90) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/tls/sse2", 0xffe475f0) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
 stat64("/usr/bin/../lib32/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 openat(AT_FDCWD, "/usr/bin/../lib32/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/i686/sse2", 0xff8adf90) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/i686/sse2", 0xffe475f0) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/i686", 0xff8adf90) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/i686", 0xffe475f0) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/sse2", 0xff8adf90) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/sse2", 0xffe475f0) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P{\0\0004\0\0\0"..., 512) = 512
 fstat64(3, {st_mode=S_IFREG|0755, st_size=1816508, ...}) = 0
-mmap2(NULL, 1898208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a838000
-mmap2(0x2a9ef000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x2a9ef000
-mmap2(0x2a9f5000, 75488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a9f5000
+mmap2(NULL, 1898208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a887000
+mmap2(0x2aa3e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x2aa3e000
+mmap2(0x2aa44000, 75488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aa44000
 close(3)                                = 0
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`P\0\0004\0\0\0"..., 512) = 512
 fstat64(3, {st_mode=S_IFREG|0755, st_size=146376, ...}) = 0
-mmap2(NULL, 123136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a819000
-mmap2(0x2a834000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x2a834000
-mmap2(0x2a836000, 4352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a836000
+mmap2(NULL, 123136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a868000
+mmap2(0x2a883000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x2a883000
+mmap2(0x2a885000, 4352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a885000
 close(3)                                = 0
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\211\1\0004\0\0\0"..., 512) = 512
 fstat64(3, {st_mode=S_IFREG|0755, st_size=2152232, ...}) = 0
-mmap2(NULL, 1923524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a643000
-mprotect(0x2a812000, 4096, PROT_NONE)   = 0
-mmap2(0x2a813000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x2a813000
-mmap2(0x2a816000, 10692, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a816000
+mmap2(NULL, 1923524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a692000
+mprotect(0x2a861000, 4096, PROT_NONE)   = 0
+mmap2(0x2a862000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x2a862000
+mmap2(0x2a865000, 10692, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a865000
 close(3)                                = 0
 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
 fstat64(3, {st_mode=S_IFREG|0644, st_size=272656, ...}) = 0
-mmap2(NULL, 272656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a600000
+mmap2(NULL, 272656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a64f000
 close(3)                                = 0
 openat(AT_FDCWD, "/usr/lib32/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0\0004\0\0\0"..., 512) = 512
 fstat64(3, {st_mode=S_IFREG|0755, st_size=13672, ...}) = 0
-mmap2(NULL, 16436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a5fb000
-mmap2(0x2a5fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2a5fe000
+mmap2(NULL, 16436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a64a000
+mmap2(0x2a64d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2a64d000
 close(3)                                = 0
-mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a5f9000
-set_thread_area({entry_number:-1, base_addr:0x2a5f9700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
-mprotect(0x2a813000, 8192, PROT_READ)   = 0
-mprotect(0x2a5fe000, 4096, PROT_READ)   = 0
-mprotect(0x2a834000, 4096, PROT_READ)   = 0
-mprotect(0x2a9ef000, 20480, PROT_READ)  = 0
+mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a648000
+set_thread_area({entry_number:-1, base_addr:0x2a648700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
+mprotect(0x2a862000, 8192, PROT_READ)   = 0
+mprotect(0x2a64d000, 4096, PROT_READ)   = 0
+mprotect(0x2a883000, 4096, PROT_READ)   = 0
+mprotect(0x2aa3e000, 20480, PROT_READ)  = 0
 mprotect(0x7c002000, 4096, PROT_READ)   = 0
-mprotect(0x2aa34000, 4096, PROT_READ)   = 0
-munmap(0x2a600000, 272656)              = 0
-set_tid_address(0x2a5f9768)             = 6960
-set_robust_list(0x2a5f9770, 12)         = 0
-rt_sigaction(SIGRTMIN, {sa_handler=0x2a81da70, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0
-rt_sigaction(SIGRT_1, {sa_handler=0x2a81db00, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
+mprotect(0x2aa83000, 4096, PROT_READ)   = 0
+munmap(0x2a64f000, 272656)              = 0
+set_tid_address(0x2a648768)             = 6984
+set_robust_list(0x2a648770, 12)         = 0
+rt_sigaction(SIGRTMIN, {sa_handler=0x2a86ca70, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0
+rt_sigaction(SIGRT_1, {sa_handler=0x2a86cb00, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
 ugetrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
 uname({sysname="Linux", nodename="mint", ...}) = 0
-brk(NULL)                               = 0x7c047000
-brk(0x7c068000)                         = 0x7c068000
-brk(0x7c069000)                         = 0x7c069000
-mmap2(NULL, 2101248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2a3f8000
-mprotect(0x2a3f9000, 2097152, PROT_READ|PROT_WRITE) = 0
-clone(child_stack=0x2a5f8424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2a5f8ba8, tls={entry_number:12, base_addr:0x2a5f8b40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0x2a5f8ba8) = 6961
-futex(0x2a5f8ba8, FUTEX_WAIT, 6961, NULL) = 0
+brk(NULL)                               = 0x7c4df000
+brk(0x7c500000)                         = 0x7c500000
+brk(0x7c501000)                         = 0x7c501000
+mmap2(NULL, 2101248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2a447000
+mprotect(0x2a448000, 2097152, PROT_READ|PROT_WRITE) = 0
+clone(child_stack=0x2a647424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2a647ba8, tls={entry_number:12, base_addr:0x2a647b40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0x2a647ba8) = 6985
+futex(0x2a647ba8, FUTEX_WAIT, 6985, NULL) = 0
 prlimit64(0, RLIMIT_AS, NULL, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
 prlimit64(0, RLIMIT_AS, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}, NULL) = 0
 readlink("/proc/self/exe", "/usr/bin/wine", 256) = 13
 stat64("/usr/bin/wineserver", {st_mode=S_IFREG|0755, st_size=577136, ...}) = 0
-execve("/usr/bin/wine-preloader", ["/usr/bin/wine-preloader", "/usr/bin/wine", "cmd.exe"], 0x7c047160 /* 26 vars */) = 0
+execve("/usr/bin/wine-preloader", ["/usr/bin/wine-preloader", "/usr/bin/wine", "cmd.exe"], 0x7c4df160 /* 25 vars */) = 0
 set_thread_area({entry_number:-1, base_addr:0x7c403080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
-mmap2(NULL, 65536, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 EPERM (Operation not permitted)
+mmap2(NULL, 65536, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0
 mmap2(0x10000, 1048576, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x10000
 mmap2(0x110000, 1743716352, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x110000
 mmap2(0x7f000000, 50331648, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f000000
@@ -97,36 +97,54 @@
 mprotect(0x68025000, 6392, PROT_NONE)   = 0
 mmap2(0x68025000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x24000) = 0x68025000
 close(3)                                = 0
-getuid()                                = 1001
-geteuid()                               = 1001
-getgid()                                = 1001
-getegid()                               = 1001
+getuid()                                = 0
+geteuid()                               = 0
+getgid()                                = 0
+getegid()                               = 0
 prctl(PR_SET_NAME, "wine")              = 0
-brk(NULL)                               = 0x7cc3a000
+brk(NULL)                               = 0x7c982000
 uname({sysname="Linux", nodename="mint", ...}) = 0
 readlink("/proc/self/exe", "/usr/bin/wine-preloader", 4096) = 23
 access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/tls/i686/sse2", 0xffba7be0) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/tls/i686/sse2", 0xff992880) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/tls/i686", 0xffba7be0) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/tls/i686", 0xff992880) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/tls/sse2", 0xffba7be0) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/tls/sse2", 0xff992880) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/tls/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
 stat64("/usr/bin/../lib32/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 openat(AT_FDCWD, "/usr/bin/../lib32/i686/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/i686/sse2", 0xffba7be0) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/i686/sse2", 0xff992880) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/i686/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/i686", 0xffba7be0) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/i686", 0xff992880) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/sse2/libwine.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
-stat64("/usr/bin/../lib32/sse2", 0xffba7be0) = -1 ENOENT (No such file or directory)
+stat64("/usr/bin/../lib32/sse2", 0xff992880) = -1 ENOENT (No such file or directory)
 openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P{\0\0004\0\0\0"..., 512) = 512
 fstat64(3, {st_mode=S_IFREG|0755, st_size=1816508, ...}) = 0
-mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted)
+mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x68027000
+mmap2(NULL, 1898208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x68029000
+mmap2(0x681e0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x681e0000
+mmap2(0x681e6000, 75488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x681e6000
 close(3)                                = 0
-mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted)
-writev(2, [{iov_base="/usr/bin/wine", iov_len=13}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="", iov_len=0}, {iov_base="", iov_len=0}, {iov_base="out of memory", iov_len=13}, {iov_base=": ", iov_len=2}, {iov_base="Operation not permitted", iov_len=23}, {iov_base="\n", iov_len=1}], 10/usr/bin/wine: error while loading shared libraries: out of memory: Operation not permitted
-) = 92
-exit_group(127)                         = ?
-+++ exited with 127 +++
+openat(AT_FDCWD, "/usr/bin/../lib32/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
+openat(AT_FDCWD, "/usr/bin/../lib32/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
+read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`P\0\0004\0\0\0"..., 512) = 512
+fstat64(3, {st_mode=S_IFREG|0755, st_size=146376, ...}) = 0
+mmap2(NULL, 123136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x681f9000
+mmap2(0x68214000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x68214000
+mmap2(0x68216000, 4352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x68216000
+close(3)                                = 0
+openat(AT_FDCWD, "/usr/bin/../lib32/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
+openat(AT_FDCWD, "/usr/bin/../lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
+read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\211\1\0004\0\0\0"..., 512) = 512
+fstat64(3, {st_mode=S_IFREG|0755, st_size=2152232, ...}) = 0
+mmap2(NULL, 1923524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x68218000
+mprotect(0x683e7000, 4096, PROT_NONE)   = 0
+mmap2(0x683e8000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x683e8000
+mmap2(0x683eb000, 10692, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x683eb000
+close(3)                                = 0
+openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
+fstat64(3, {st_mode=S_IFREG|0644, st_size=272656, ...}) = 0
+mmap2(NULL, 272656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x683ee000
 
Old 09-19-2017, 06:20 AM   #7
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Maybe, there's no big difference except

Code:
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EPERM (Operation not permitted)
line.
 
Old 09-19-2017, 06:49 AM   #8
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,792

Rep: Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888
environment means the environment variables, what is reported by the command env (usually)
 
Old 09-19-2017, 08:58 AM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,629
Blog Entries: 4

Rep: Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999Reputation: 2999
Most likely, the actual cause of the error is some kind of file-permissions issue, not actually "out of memory." Unless there is a ulimit in place.
 
Old 09-19-2017, 09:40 AM   #10
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,792

Rep: Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888
instead of plain diff I used to do the following:
Code:
grep open <strace_file> | grep -v ENOENT | sort -u
and compare the - list of - files really opened. Probably you will find something.
 
Old 09-19-2017, 09:46 PM   #11
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
check in stracefile.

Code:
$ grep open strace.yek | grep -v ENOENT | sort -u
open("/lib/ld-linux.so.2", O_RDONLY)    = 3
open("/usr/bin/wine", O_RDONLY)         = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/bin/../lib32/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/bin/../lib32/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/bin/../lib32/libwine.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib32/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
check with ldd.

Code:
$ ldd /usr/bin/wine
	linux-gate.so.1 (0x2aa44000)
	libwine.so.1 => /usr/bin/../lib32/libwine.so.1 (0x2a888000)
	libpthread.so.0 => /usr/bin/../lib32/libpthread.so.0 (0x2a869000)
	libc.so.6 => /usr/bin/../lib32/libc.so.6 (0x2a693000)
	libdl.so.2 => /usr/lib32/libdl.so.2 (0x2a64b000)
	/lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0x2aa46000)
open with file command.

Code:
$ for i in /lib/ld-linux.so.2 /usr/bin/wine /etc/ld.so.cache /usr/lib32/lib{c.so.6,pthread.so.0,wine.so.1,dl.so.2}
do
file "$i"
done
/lib/ld-linux.so.2: symbolic link to ../lib32/ld-linux.so.2
/usr/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=8f7b854f1f0a7198c0594dfcd0a528b9c65f96ef, stripped
/etc/ld.so.cache: data
/usr/lib32/libc.so.6: symbolic link to libc-2.26.so
/usr/lib32/libpthread.so.0: symbolic link to libpthread-2.26.so
/usr/lib32/libwine.so.1: symbolic link to libwine.so.1.0
/usr/lib32/libdl.so.2: symbolic link to libdl-2.26.so
follow symbolic link

Code:
$ for i in /lib/lib{c-2.26.so,pthread-2.26.so,wine.so.1.0,dl-2.26.so}
do
file "$i"
done
/lib/libc-2.26.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /usr/lib/ld-linux-x86-64.so.2, BuildID[sha1]=2104f3d4ad5cf68603afbe7ba1a17f5ac99c5988, for GNU/Linux 3.2.0, not stripped
/lib/libpthread-2.26.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /usr/lib/ld-linux-x86-64.so.2, BuildID[sha1]=60cae7e4afd8b276ddfbc85a5a3e7982d59659aa, for GNU/Linux 3.2.0, not stripped
/lib/libwine.so.1.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=642b9962a59b8723fa234bd7b77fe8403dd21eae, stripped
/lib/libdl-2.26.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=cfcd512c5bb2d1b408ef17344c56419803e2f0ba, for GNU/Linux 3.2.0, stripped
permissions.

Code:
-rw-r--r-- 1 root root 272656  9月 19 19:11 /etc/ld.so.cache
-rwxr-xr-x 1 root root 173552  9月  4 18:48 /usr/lib32/ld-2.26.so*
-rwxr-xr-x 1 root root 2065840  9月 13 02:47 /lib/libc-2.26.so*
-rwxr-xr-x 1 root root   14144  9月 13 02:47 /lib/libdl-2.26.so*
-rwxr-xr-x 1 root root  145336  9月 13 02:47 /lib/libpthread-2.26.so*
-rwxr-xr-x 1 root root 1718968  9月 16 04:01 /lib/libwine.so.1.0*
 
Old 09-19-2017, 09:46 PM   #12
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
ulimit

Code:
$ ulimit
unlimited
environment params.

Code:
TERM=xterm-256color
HOME=/home/yek
SHELL=/bin/zsh
USER=yek
LOGNAME=yek
PATH=/home/yek/bin2:/home/yek/bin:/bin:/usr/local/bin:/usr/bin:/usr/bin/core_perl:/usr/X11R6/bin:/sbin:/usr/local/sbin:/usr/sbin:/home/yek/.cabal/bin
SHLVL=1
PWD=/home/yek
OLDPWD=/home/yek
LC_NUMERIC=ja_JP.UTF-8
LC_TIME=ja_JP.UTF-8
LC_MONETARY=ja_JP.UTF-8
LC_PAPER=ja_JP.UTF-8
LC_NAME=ja_JP.UTF-8
LC_ADDRESS=ja_JP.UTF-8
LC_TELEPHONE=ja_JP.UTF-8
LC_MEASUREMENT=ja_JP.UTF-8
LC_IDENTIFICATION=ja_JP.UTF-8
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
FPATH=/usr/share/zsh/5.4.2/functions/Completion:/usr/local/share/zsh/site-functions:/usr/share/zsh/site-functions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle
EDITOR=vim
G_FILENAME_ENCODING=@locale
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
LANG=ja_JP.UTF-8
_=/bin/env
 
  


Reply

Tags
mmap, out of memory, wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: mdadm exited with status: 127 litianzhi Red Hat 7 02-09-2012 10:22 AM
[thread 0xb7fe7b70 (lwp 3738) exited] program exited with code 01 aicaicai Linux - Newbie 1 12-04-2011 12:08 PM
cannot start cupsd: cupsd: Child exited with status 127! kpachopoulos Debian 0 08-25-2006 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration