Smalltalk Stexpress - Runtime error: System primitive failed

Questions about Wine on Linux
Locked
AskingPotatoe
Newbie
Newbie
Posts: 4
Joined: Mon Feb 12, 2018 2:14 pm

Smalltalk Stexpress - Runtime error: System primitive failed

Post by AskingPotatoe »

Hello! I have Ubuntu 16.04 LTS. My wine version is 3.0.

I want to run Smalltalk Stexpress. I moved the folder to

Code: Select all

/home/myUser/.wine/drive_c
but when I try to run from there:

Code: Select all

 wine V.EXE 
or

Code: Select all

 wine VW.EXE 
I get a prompt saying: "Runtime error: System primitive failed".

And then when I hit accept, I get another prompt:

"The program winevdm.exe has encountered a serious problem..."

What can I do ?
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Smalltalk Stexpress - Runtime error: System primitive fa

Post by dimesio »

Is this the app? http://www.andreadrian.de/smalltalk/index.htm

That's a 16 bit app, so it will not work in a 64 bit wineprefix.

I got VW.EXE and V.EXE to start up in a 32 bit wineprefix set to Windows 95 and running in an emulated virtual desktop, but I don't know enough about the program to say how well it's working.
AskingPotatoe
Newbie
Newbie
Posts: 4
Joined: Mon Feb 12, 2018 2:14 pm

Re: Smalltalk Stexpress - Runtime error: System primitive fa

Post by AskingPotatoe »

dimesio wrote:Is this the app? http://www.andreadrian.de/smalltalk/index.htm

That's a 16 bit app, so it will not work in a 64 bit wineprefix.

I got VW.EXE and V.EXE to start up in a 32 bit wineprefix set to Windows 95 and running in an emulated virtual desktop, but I don't know enough about the program to say how well it's working.
Yeah! That's the one.

Ok! How can I change the 64 bit wineprefix to a 32 bit wineprefix? Or should I install wine again without enabling

Code: Select all

 sudo dpkg --add-architecture i386 
?
AskingPotatoe
Newbie
Newbie
Posts: 4
Joined: Mon Feb 12, 2018 2:14 pm

Re: Smalltalk Stexpress - Runtime error: System primitive fa

Post by AskingPotatoe »

dimesio wrote:Is this the app? http://www.andreadrian.de/smalltalk/index.htm

That's a 16 bit app, so it will not work in a 64 bit wineprefix.

I got VW.EXE and V.EXE to start up in a 32 bit wineprefix set to Windows 95 and running in an emulated virtual desktop, but I don't know enough about the program to say how well it's working.
Ahh Ok! I got it. :shock:

Would you suggest me to do the following?

https://askubuntu.com/questions/177192/ ... ine-prefix

To create a Wineprefix for 32 bits? Or should I do something else?
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Smalltalk Stexpress - Runtime error: System primitive fa

Post by dimesio »

You can't change the architecture of an existing wineprefix. Follow these instructions for creating a new 32 bit one: https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F
AskingPotatoe
Newbie
Newbie
Posts: 4
Joined: Mon Feb 12, 2018 2:14 pm

Re: Smalltalk Stexpress - Runtime error: System primitive fa

Post by AskingPotatoe »

dimesio wrote:You can't change the architecture of an existing wineprefix. Follow these instructions for creating a new 32 bit one: https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F
I've created a new prefix, I called it "prefix32"...

Then with that I've tried this:

Code: Select all

WINEPREFIX=/home/work/prefix32/ wine start /unix /home/work/Documents/STEXPRESS/VW.EXE 
But again it returned this error

Code: Select all

$ wine: Unhandled page fault on write access to 0x0000000a at address 0x7e567aee (thread 0030), starting debugger... 

Code: Select all

 0032:fixme:dbghelp:addr_to_linear Failed to linearize address 12b7:6b3a (mode 0) 
Another ideas?
Locked