Recent update crashes within BCC makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had been using dosemu for a while and everything was fine, then after not using it for about 3mos I used it again and it is crashing when executing a Borland C++ makefile.

02:48 PM greg@bartleby >dosemu --v
dosemu2-2.0pre9
Revision: 7076
02:48 PM greg@bartleby >


The dosemu message is:

02:40 PM greg@bartleby >dosemu
ERROR: DPMI: unsupported SLDT dest 4e
ERROR: DPMI: unsupported SLDT dest 4e
ERROR: IP outside CS limit: ip=0x80494f2, cs=0x937, lim=0x7006fff, 32=1
02:40 PM greg@bartleby >

The Makefile contents are:

MAKE Version 3.6  Copyright (c) 1992 Borland International

Available memory 114274304 bytes

        mkdir bin
        bcc ../Examples/Hello.c
        copy Hello.exe bin\Hello.exe
        del Hello.exe


The failure occurs when the "copy" is executed, or any command after bcc within the makefile.  If it is commented out the command "make hello.exe" works fine, if there is any command after bcc doesemu crashes.  I have even tried a simple "pause" after bcc and even that crashes.  This used to work fine.


Debug log is attached.


Greg
suid 999 detected
sgid 999 detected
FDPP kernel "- GIT " (compiled Nov 15 2024)
booting with comcom64
debug flags: +cw
CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing /etc/dosemu/dosemu.conf file.
CONF: Parsing built-in global.conf file.
CONF: mapping driver = 'auto'
debug flags: -a+cw
CONF: timer freq=18, update=54925
CONF: CPU set to 586
CONF: CPUEMU set to jit
CONF: CPU VM set to -1
CONF: CPU VM set to -1 for DPMI
CONF: 8192k bytes EMS memory
CONF: EMS-frame = 0xe000
CONF: dos_up: on
CONF: DPMI-Server on (0x20000)
CONF: DPMI base addr = 0x20000000
CONF: PM DOS API Translator on
CONF: No DJGPP NULL deref checks: on
CONF: 8192k bytes int15 ext memory
CONF: 16384k bytes XMS memory
Warning: CONF: dosemu not running on console
Warning: $_munt_roms ~/.munt_roms does not exist
CONF: time mode = 'bios'
SER: directory  namestub LCK.. binary No
MOUSE: /dev/input/mice, type 7 using internaldriver: yes, emulate3buttons: no baudrate: 0
Warning: CONF: **** Warning: floppy /dev/fd0 not accessible, disabled
CONF: fastfloppy = 1
default_drives 0
Setting up drive C, /home/greg/.dosemu/drive_c
Added drive 0 (80): /home/greg/.dosemu/drive_c
default_drives 1
Added drive 1 (81): /usr/share/dosemu/dosemu2-cmds-0.3
Setting up default drives from E
Added drive 2 (82): /usr/share/comcom64
Added drive 3 (83): /usr/share/dosemu2-extras/bat
CONF: IPX support off
CONF(LPT0) f: (null)   c: lpr -l  t: 20  port: 0
CONF(LPT1) f: (null)   c: lpr -P PDF  t: 20  port: 0
CONF: not allowing speaker port access
CONF: Packet Driver enabled.
CONF: TCP/IP Driver enabled.
CONF: NE2000 enabled.
CONF: config variable c_system unset
Command line: /usr/libexec/dosemu2/dosemu2.bin -o /home/greg/.dosemu/boot.log -D9 -o log.txt
debug flags: 9
Linux kernel 6.8.0; CPU speed is 400000000 Hz
Warning: CPU-EMU speed is 400 MHz
CONF: V86 cpu vm set to -1
CONF: DPMI cpu vm set to -1
CONF: not running on console
CONF: mostly running as USER: uid=501 euid=501 gid=999 egid=999
CONF: priv operations unavailable
dosemu2-2.0pre9 is coming up on Linux version 6.8.0-47-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct  2 16:16:55 UTC 2 x86_64
Compiled with gcc version 11.4.0 64bit
CFLAGS: -fplan9-extensions -Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -fms-extensions -pthread -Wno-unused-result -Wcast-qual -Wwrite-strings -Wstrict-aliasing=3 -Wundef -Wno-address-of-packed-member -ggdb3 -fpie -O2 -g -O2 -ffile-prefix-map=/build/dosemu2-ta79su/dosemu2-2.0~pre9-9085=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 16Kb at 0xFA000 for 'r' (Dosemu reserved area)
CONF: reserving 8Kb at 0xFE000 for 'b' (BIOS)
Using V86 mode inside KVM
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
Registering HWRAM, type=L base=0 size=0x110000
Conventional memory mapped from 0x7b9d63800000 to 0x7b9d39000000
CONF: reserving 16384Kb at 0x900000 for 'x' (XMS)
CONF: reserving 8128Kb at 0x110000 for 'X' (EXT MEM)
Registering HWRAM, type=X base=0x110000 size=0x1ef0000
CONF: reserving 64Kb at 0x100000 for 'H' (HMA)
loading fonts for cp437
getresgid
Using DPMI inside KVM
DPMI: mem init, mpool is 140468224 bytes at 0x7b9d59000000
Registering HWRAM, type=e base=0xe0000000 size=0x400000
CONF: reserving 12Kb at 0xC0000 for 'V' (VGAEMU Video BIOS)
VID: initializing video sdl
VID: initializing SDL plugin
VID: SDL plugin initialization completed
CONF: detected layout is "us"
CONF: detected alternate layout: (null)
TIME: using 9154 usec for updating ALRM timer
CONF: freeing region for 'E' (EMS page frame)
booting comcom64
config.boot_dos set to 400000
config.int_hooks set to 0
config.force_revect set to 0
CONF: reserving 116Kb at 0xC3000 for 'U' (Upper Memory Block (UMB, XMS 3.0))
CONF: reserving 40Kb at 0xF0000 for 'U' (Upper Memory Block (UMB, XMS 3.0))
CONF: reserving 16Kb at 0xE0000 for 'E' (EMS page frame)
CONF: reserving 16Kb at 0xE4000 for 'E' (EMS page frame)
CONF: reserving 16Kb at 0xE8000 for 'E' (EMS page frame)
CONF: reserving 16Kb at 0xEC000 for 'E' (EMS page frame)
ERROR: DPMI: unsupported SLDT dest 4e
ERROR: DPMI: unsupported SLDT dest 4e
ERROR: IP outside CS limit: ip=0x80494f2, cs=0x937, lim=0x7006fff, 32=1
leavedos(do_dpmi_switch:614|0) called - shutting down
coopth_unsafe_detach() called by ./build/../src/plugin/dj64/djdev64.c
2 threads still active
leavedos thread started
leavedos thread ended
	tid=268 state=3 name=msdos ext thr off=0x3
	tid=276 state=3 name=msdos exec thr off=0
coopthreads stopped


[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux