Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lords of Cyberspace crashes mbbsemu on Sysop cmd #599

Open
Blixxky opened this issue Nov 12, 2023 · 1 comment
Open

Lords of Cyberspace crashes mbbsemu on Sysop cmd #599

Blixxky opened this issue Nov 12, 2023 · 1 comment
Assignees
Labels
bug Something isn't working full screen display aka full screen editor module Defect/Issue related to a specific Module

Comments

@Blixxky
Copy link

Blixxky commented Nov 12, 2023

Reproducable by using these commands to enable Sysop permissions (requires SYSOP key by default):

permit 0
permit 1
permit 5
edit p

Then pressing enter or taking other action will crash Mbbsemu

[2023-11-12T11:45:35.0820381-05:00] MBBSEmu.Program [Information] Started MBBSEmu Build #111223-102
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at MBBSEmu.HostProcess.Fsd.FsdUtility.<>c.<BuildAnswerString>b__7_0(FsdFieldSpec field)
   at System.Linq.Enumerable.Sum[TSource,TResult,TAccumulator](IEnumerable`1 source, Func`2 selector)
   at MBBSEmu.HostProcess.Fsd.FsdUtility.BuildAnswerString(FsdStatus fsdStatus)
   at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.FieldVerificationRoutine(SessionBase session, FsdStatus fieldStatus)
   at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.ValidateField(SessionBase session, FsdStatus fsdStatus)
   at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.InFullScreenDisplay(SessionBase session)
   at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.ProcessSessionState(SessionBase session, Dictionary`2 modules)
   at MBBSEmu.HostProcess.MbbsHost.WorkerThread()
@Blixxky
Copy link
Author

Blixxky commented Nov 13, 2023

The same crash occurs when using these Sysop commands to change Tournament settings:

tourney
d
0
any key
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at MBBSEmu.HostProcess.Fsd.FsdUtility.<>c.<BuildAnswerString>b__7_0(FsdFieldSpec field)
   at System.Linq.Enumerable.Sum[TSource,TResult,TAccumulator](IEnumerable`1 source, Func`2 selector)
   at MBBSEmu.HostProcess.Fsd.FsdUtility.BuildAnswerString(FsdStatus fsdStatus)
   at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.FieldVerificationRoutine(SessionBase session, FsdStatus fieldStatus)
   at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.ValidateField(SessionBase session, FsdStatus fsdStatus)
   at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.InFullScreenDisplay(SessionBase session)
   at MBBSEmu.HostProcess.HostRoutines.FsdRoutines.ProcessSessionState(SessionBase session, Dictionary`2 modules)
   at MBBSEmu.HostProcess.MbbsHost.WorkerThread()

@enusbaum enusbaum added bug Something isn't working module Defect/Issue related to a specific Module full screen display aka full screen editor labels Nov 15, 2023
@enusbaum enusbaum self-assigned this Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working full screen display aka full screen editor module Defect/Issue related to a specific Module
Projects
None yet
Development

No branches or pull requests

2 participants