Page 1 of 1

Run compiled EXE's under Wine (Linux/Ubuntu)

Posted: Thu Jul 06, 2017 10:54 am
by Barilla
I've tried to run a protected file under Wine on Linux (Ubuntu 16.04 LTS) but even if I'm turning off "Redirect WinAPI functions", it refuses to work. The error I'm getting is:
"wine: Unhandled privileged instruction at address 0x7bc4bf95 (thread 0009), starting debugger...
err:seh:raise_exception Unhandled exception code c0000096 flags 0 addr 0x7bc6a455
err:seh:raise_exception Unhandled exception code c0000096 flags 0 addr 0x7bc67c05"

The line "err:seh:raise_exception Unhandled exception code c0000096 flags 0 addr 0x7bc67c05" is presented ~1900 times and then the following shows:

"err:seh:raise_exception Unhandled exception code c00000fd flags 0 addr 0x7bc46046
err:seh:setup_exception_record stack overflow 1664 bytes in thread 0009 eip 7bc46046 esp 00e70cb0 stack 0xe70000-0xe71000-0x1070000"

Does someone knows what it means and how to solve the issue?
Using Enigma Protector 5.60

Re: Run compiled EXE's under Wine (Linux/Ubuntu)

Posted: Thu Jul 06, 2017 11:15 am
by Enigma
Hi, can you please confirm if the same file works well on Windows without wine? And if you use vm_risc markers?

Also, try to disable the option Virtual Machine - Entry Point, and make sure nothing is selected in Virtual Machine - Functions Selecting.

Re: Run compiled EXE's under Wine (Linux/Ubuntu)

Posted: Thu Jul 06, 2017 11:22 am
by Barilla
Enigma wrote:Hi, can you please confirm if the same file works well on Windows without wine? And if you use vm_risc markers?
If I'm running the application directly without compiling it with Enigma, it works great, both on Linux and Windows.
Enigma wrote:Also, try to disable the option Virtual Machine - Entry Point, and make sure nothing is selected in Virtual Machine - Functions Selecting.
File entry point is not enabled
The list under Functions selecting is clear.

Re: Run compiled EXE's under Wine (Linux/Ubuntu)

Posted: Thu Jul 06, 2017 2:09 pm
by Enigma
We do not have a Wine environment for testing yet. Going to set it up.

Just curious if you have a remote connection to wine system that we can use for testing?

And if possible, please make a test application that reproduces this problem and send it to us at support@enigmaprotector.com.

Btw, does it happen with any file, or your specific program only?

Re: Run compiled EXE's under Wine (Linux/Ubuntu)

Posted: Wed Jul 12, 2017 10:07 am
by Barilla
FYI if you have the same problem:
All requested information is sent to support team and we are now investigating the issue. I will give you all an update, as soon as the issue is solved.

Re: Run compiled EXE's under Wine (Linux/Ubuntu)

Posted: Wed Jul 12, 2017 11:30 am
by Enigma
Hi, yes, we've received your email.

Temporary, I could say that Virtual Box feature causes this problem. If you disable Virtual Box the file should be working well.
Please test it if you have a time.

Also, we are trying to prepare a new debug version for you, that will create a more detailed log to understand where is the problem exactly.