Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1104 Discussions

SDE on Windows Subsystem for Linux (WSL) fails

Pietrucha__Jakub
Beginner
1,797 Views

Hello,

I am trying to run sde64 from Ubuntu 20.04 installed on Windows Subsystem for Linux (WSL) and it fails.

strace -o strace.txt sde64 -- /bin/bash

E: Fork for injector launcher failed: Bad address

Execution fails on clone() system call

strace -o strace.txt sde64 -- /bin/bash

getpid()                                = 10511
prctl(PR_SET_PTRACER, 10511)            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=NULL) = -1 EFAULT (Bad address)
gettid()                                = 10511
gettid()                                = 10511
open("/home/jpietruc/sandbox/pin-log.txt", O_WRONLY|O_CREAT|O_TRUNC|O_APPEND, 0666) = 3
fcntl(3, F_DUPFD, 128)                  = 132
fcntl(3, F_GETFD)                       = 0
close(3)                                = 0
fcntl(132, F_GETFD)                     = 0
gettid()                                = 10511
fcntl(132, F_SETFD, FD_CLOEXEC)         = 0
gettid()                                = 10511
mprotect(0x7f3a50cf0000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x7f3a50cf0000, 4096, PROT_READ) = 0
mprotect(0x7f3a50cf0000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x7f3a50cf0000, 4096, PROT_READ) = 0
mprotect(0x7f3a50cf0000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x7f3a50cf0000, 4096, PROT_READ) = 0
mprotect(0x7f3a50cf0000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x7f3a50cf0000, 4096, PROT_READ) = 0
write(132, "Pin: pin-3.8-97896-e83b36f\nCopyr"..., 92) = 92
write(132, "E:  ", 4)                   = 4
write(132, "Fork for injector launcher faile"..., 47) = 47
write(1, "E: ", 3)                      = 3
write(1, "Fork for injector launcher faile"..., 47) = 47
exit_group(-1)                          = ?
+++ exited with 255 +++

Could you please advise if there is a way to make it working?

Cheers,
Jakub

0 Kudos
1 Reply
AdyT_Intel
Moderator
1,797 Views

This mode is not supported. We have a Linux kit to run on Linux systems and a Windows kit to run on Windows systems.

0 Kudos
Reply