{"action":"opened","issue":{"url":"https://api.github.com/repos/simh/simh/issues/606","repository_url":"https://api.github.com/repos/simh/simh","labels_url":"https://api.github.com/repos/simh/simh/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/simh/simh/issues/606/comments","events_url":"https://api.github.com/repos/simh/simh/issues/606/events","html_url":"https://github.com/simh/simh/issues/606","id":347869708,"node_id":"MDU6SXNzdWUzNDc4Njk3MDg=","number":606,"title":"PDP11 simulator exits back to simh prompt for no obvious reason","user":{"login":"EJMarr","id":13817779,"node_id":"MDQ6VXNlcjEzODE3Nzc5","avatar_url":"https://avatars3.githubusercontent.com/u/13817779?v=4","gravatar_id":"","url":"https://api.github.com/users/EJMarr","html_url":"https://github.com/EJMarr","followers_url":"https://api.github.com/users/EJMarr/followers","following_url":"https://api.github.com/users/EJMarr/following{/other_user}","gists_url":"https://api.github.com/users/EJMarr/gists{/gist_id}","starred_url":"https://api.github.com/users/EJMarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EJMarr/subscriptions","organizations_url":"https://api.github.com/users/EJMarr/orgs","repos_url":"https://api.github.com/users/EJMarr/repos","events_url":"https://api.github.com/users/EJMarr/events{/privacy}","received_events_url":"https://api.github.com/users/EJMarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-06T10:36:49Z","updated_at":"2018-08-06T10:36:49Z","closed_at":null,"author_association":"NONE","body":"PDP11 simulator exits back to simh prompt for no obvious reason\r\n\r\n- #### Context\r\n\r\nWhen running two PDP11 simulators, communicating just with minor background traffic on Ethernet via npcap, either of them may exit back to the simh prompt, displaying\r\n\r\n```\r\nInvalid argument, PC: 023550 (BR 23516)\r\nsim> \r\n```\r\nThis may be after several hours of hands-off operation.\r\n\r\nThe PC given is the instruction after the system's idle loop WAIT instruction.\r\n\r\nI suspect (without evidence) that the \"Invalid argument\" message relates to trying to read beyond the end of the ini file, which has a BOOT RQ0 as the last line (I am currently trying it with a SHO VERSION after the BOOT, to confirm/refute this idea).\r\n\r\nDo you have any suggestions as to where to look for triggers that may cause a simulator to exit?\r\n\r\n- #### the output of \"sim> SHOW VERSION\" while running the simulator which is having the issue\r\n\r\nPDP-11 simulator V4.0-0 Current        git commit id: e537e4d8\r\nsim> sho version\r\nPDP-11 simulator V4.0-0 Current\r\n    Simulator Framework Capabilities:\r\n        32b data\r\n        32b addresses\r\n        Threaded Ethernet Packet transports:PCAP:NAT:UDP\r\n        Idle/Throttling support is available\r\n        Virtual Hard Disk (VHD) support\r\n        RAW disk and CD/DVD ROM support\r\n        Asynchronous I/O support (Lock free asynchronous event queue)\r\n        Asynchronous Clock support\r\n        FrontPanel API Version 12\r\n    Host Platform:\r\n        Compiler: Microsoft Visual C++ 19.00.24215.01\r\n        Simulator Compiled as C arch: x86 (Debug Build) on Jul 23 2018 at 07:37:25\r\n        Memory Access: Little Endian\r\n        Memory Pointer Size: 32 bits\r\n        Large File (>2GB) support\r\n        SDL Video support: SDL Version 2.0.5\r\n        PCRE RegEx (Version 8.36 2014-09-26) support for EXPECT commands\r\n        OS clock resolution: 1ms\r\n        Time taken by msleep(1): 1ms\r\n        OS: Microsoft Windows [Version 10.0.17134.165]\r\n        Architecture: x86 on AMD64, Processors: 2\r\n        Processor Id: AMD64 Family 16 Model 4 Stepping 3, AuthenticAMD, Level: 16, Revision: 0403\r\n        git commit id: e537e4d8\r\n        git commit time: 2018-07-15T10:18:30-07:00\r\nsim>\r\n\r\n- #### how you built the simulator or that you're using prebuilt binaries\r\n\r\nUsing the standard build for VS2015, with no errors produced.\r\n\r\nVersion of PDP11.exe in use was built as a Release version, compiled on VS2015, at commit e537e4d8.\r\n\r\nI have tried the Debug version, but this ran for approaching 24 hours without failure.\r\n\r\n- #### the simulator configuration file (or commands) which were used when the problem occurred.\r\n\r\n[Target2.txt](https://github.com/simh/simh/files/2262165/Target2.txt)\r\n\r\n- #### the expected behavior and the actual behavior\r\n\r\nSee above.\r\n\r\n"}}
{"actor":{"display_login":"EJMarr"}}