Skip to contentSkip to conversation

Cannot run Freepascal compiler under DOSemu

DISCUSSION John Coppens 2 participants 3 messages Apr 5, 2010 – Apr 8, 2010 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi all.

I'm running the 32-bit DOSemu binary on an AMD64 system, and by far most applications run fine. I have trouble with the Freepascal compiler though. Both its installer and the actual compiler fail.

In the case of the compiler, running it without parameters gives the command line options. This works fine. When a source file is specified, DOSemu aborts with the message below. Do I have to modify the conf file? I have tried several changes, none make any difference.

I'd appreciate suggestions!
John

Output from DOSemu:

ERROR: Fault handler re-entered! signal=11 _trapno=0xE
ERROR: cpu exception in dosemu code outside of DPMI client!
trapno: 0x0e errorcode: 0x00000007 cr2: 0x00000000
eip: 0x004a2cc1 esp: 0x7fff16e2d270 eflags: 0x00010202
cs: 0x0033 ds: 0x013f es: 0x013f ss: 0x002b
ERROR: Please report the contents of ~/.dosemu/boot.log at
http://sourceforge.net/tracker/?atid=457447&group_id=49784&func=browse
It would be even more helpful if would recompile DOSEMU and reproduce this bug with "debug on" in compiletime-settings.
Page fault: write instruction to linear address: 0x00000000 CPU was in user mode
Exception was caused by insufficient privilege

#1 lore raw

Are you running this with dosemu -s? what 32 bit binary?? what version of dosemu??

Quoted 16 lines · John Coppens

Hi all.

I'm running the 32-bit DOSemu binary on an AMD64 system, and by far most applications run fine. I have trouble with the Freepascal compiler though. Both its installer and the actual compiler fail.

In the case of the compiler, running it without parameters gives the command line options. This works fine. When a source file is specified, DOSemu aborts with the message below. Do I have to modify the conf file? I have tried several changes, none make any difference.

I'd appreciate suggestions!
John

Output from DOSemu:

Quoted 17 lines

ERROR: Fault handler re-entered! signal=11 _trapno=0xE
ERROR: cpu exception in dosemu code outside of DPMI client!
trapno: 0x0e  errorcode: 0x00000007  cr2: 0x00000000
eip: 0x004a2cc1  esp: 0x7fff16e2d270  eflags: 0x00010202
cs: 0x0033  ds: 0x013f  es: 0x013f  ss: 0x002b
ERROR: Please report the contents of ~/.dosemu/boot.log at
http://sourceforge.net/tracker/?atid=457447&group_id=49784&func=browse
It would be even more helpful if would recompile DOSEMU and reproduce this bug with "debug on" in compiletime-settings.
Page fault: write instruction to linear address: 0x00000000 CPU was in user mode
Exception was caused by insufficient privilege
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to a message not in the archive
Quoted 15 lines · John Coppens
Quoted 4 lines · On Wed, 7 Apr 2010 09:28:34 -0700 solarflow99 <[email protected]> wrote:

can you test with the latest also, the latest SVN is much newer just in case that helps.  Use the -s option and paste the error message it gives you.  You are using x86 right?  What linux release do you use? because I also have a RPM in rpmfusion (svn1988)

I'll download SVN now (just arrived at home). My machine is an AMD64, but I suspect DosEmu compiles to run under compat mode?

The distro is Slackware64, quite up-to-date. I can convert rpm to tgz with the Slackware utility, but, if possible, I'd rather compile with the same options to avoid mixups.

Quoted 8 lines

John

NOTE: Great... I forgot to send this message, so, in the mean time, I compiled the svn version and it worked fine! (I still have a problem, but it's not DosEmu's. The compiler runs ok now)

Thanks for the hint - maybe it's time for the SVN version to graduate to a stable version? I noticed that even SVN is dated 2008?

Glad it works now, there's fixes going in all the time so using whats in SVN is always best now.
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html