Skip to content

Moving the SplitContainer splitter size at runtime crashes the DemoConsole application. #9410

@Nora-Zhou01

Description

@Nora-Zhou01

.NET version

.Net 8.0 SDK: 8.0.100-preview.7.23328.8

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, This is the new SplitContainer integration test added to the DemoConsole application.

Issue description

In Winforms repo, there has a DemoConsole test app, the DemoConsole application crashes when moving the SplitContainer splitter size in .Net 8.0. But build and run the application in Release and Debug modes gives different results.

Release mode:

demo.mp4

Debug mode:

degug.mp4

Call stack:
System.StackOverflowException
HResult=0x800703E9
Message=Exception of type 'System.StackOverflowException' was thrown.

Steps to reproduce

Test sample: DemoConsole in Winforms repo

More Info

  1. Resizing other controls or forms in the DemoConsole application also crashes.
  2. Probably caused by the PR 9364

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions