Description
When running VMS in the MicroVAX3900 simulator under Windows 10 with idle enabled, it will eventually crash with the a message similar to the following:
sim_idle() - waiting too long: w_ms=1253 usecs, w_idle=973 usecs, sim_interval=6265, rtc->currd=6435
sim_idle() - waiting too long - aborting from C:...\sim_timer.c:1792
It seem be triggered by heavy IO activity and most recently happened while running a DEC Windows session on the host PC.
Show Version:
MicroVAX 3900 simulator V4.0-0 Current
Simulator Framework Capabilities:
64b data
64b addresses
Threaded Ethernet Packet transports:PCAP:NAT:UDP
Idle/Throttling support is available
Virtual Hard Disk (VHD) support
RAW disk and CD/DVD ROM support
Asynchronous I/O support (Lock free asynchronous event queue)
Asynchronous Clock support
FrontPanel API Version 15
Host Platform:
Compiler: Microsoft Visual C++ 19.29.30152.00
Simulator Compiled as C arch: x86 (Release Build) on Oct 12 2023 at 19:34:29
Build Tool: simh-Visual-Studio-Project
Memory Access: Little Endian
Memory Pointer Size: 32 bits
Large File (>2GB) support
SDL Video support: SDL Version 2.0.20, PNG Version 1.6.37
PCRE RegEx (Version 8.43 2019-02-23) support for EXPECT commands
OS clock resolution: 1ms
Time taken by msleep(1): 1ms
WinEditLine Version: 2.208
Ethernet packet info: NAT, UDP, PCAP: Npcap version 1.71, based on libpcap version 1.10.2-PRE-GIT
OS: Microsoft Windows [Version 10.0.19045.3570]
Architecture: x86 on AMD64, Processors: 4
Processor Id: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel, Level: 6, Revision: 2a07
Processor Name: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
tar tool: bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp
curl tool: curl 8.0.1 (Windows) libcurl/8.0.1 Schannel WinIDN
git commit id: 985137c+uncommitted-changes
git commit time: 2023-10-06T13:40:11-10:00
-
how you built the simulator or that you're using prebuilt binaries
Standard, no debug build using Visual Studio 2019 and sources recently pulled from the git repository
-
the simulator configuration file (or commands) which were used when the problem occurred.
set cr disable
set dz disable
set vh disable
set rl disable
set rqb disable
set rqc disable
set rqd disable
set ts disable
set xqb disable
attach nvr 3900.nvr
set cpu 64m
set cpu idle=vms:90
set rq0 ra92
set rq1 ra92
set rq2 ra92
set rq3 cdrom
set rq3 locked
attach rq0 d0.dsk
attach rq1 d1.dsk
attach rq2 d2.dsk
set tq tk70
set tq2 disabled
set tq3 disabled
attach xq nat:tcp=23:10.0.2.4:23,tcp=22:10.0.2.4:22,udp=177:10.0.2.4:177
attach lpt LPA0.txt
dep bdr 80
set cpu conhalt
;set cpu simhalt
set console brk=10
boot cpu
-
the expected behavior and the actual behavior
sim_idle() - waiting too long: w_ms=1253 usecs, w_idle=973 usecs, sim_interval=6265, rtc->currd=6435
sim_idle() - waiting too long - aborting from C:...\sim_timer.c:1792
-
you may also need to provide specific pointers to data files that may be necessary to demonstrate the problem