AtlasEngine: Exiting OpenConsole in Debug builds throws an exception #16700

Closed
opened 2026-01-31 05:20:04 +00:00 by claunia · 1 comment
Owner

Originally created by @lhecker on GitHub (Feb 7, 2022).

Steps to reproduce

  • Set HKEY_CURRENT_USER\Console\UseDx to 2
  • Run OpenConsole.exe
  • Exit

Expected Behavior

No exceptions.

Actual Behavior

image

D3D11 WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at runtime for standard reporting. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11: **BREAK** enabled for the previous message, which was: [ WARNING STATE_CREATION #0: UNKNOWN ]
An interface [0000021167E04968] was created but not released. Use 'dps 0000021167E04908' to view its allocation stack.
Object type: ID2D1SolidColorBrush
	Color: r=1.00 g=1.00 b=1.00 a=1.00
	Outstanding reference count: 1

An interface [0000021167DF85A8] was created but not released. Use 'dps 0000021167DF8548' to view its allocation stack.
Object type: ID2D1DeviceContext
	Outstanding reference count: 1

An interface [0000021167D71F18] was created but not released. Use 'dps 0000021167D71EB8' to view its allocation stack.
Object type: ID2D1Factory
	Factory type: D2D1_FACTORY_TYPE_SINGLE_THREADED
	Outstanding reference count: 5

D2D DEBUG ERROR - Memory leaks detected.
Originally created by @lhecker on GitHub (Feb 7, 2022). ### Steps to reproduce * Set `HKEY_CURRENT_USER\Console\UseDx` to `2` * Run `OpenConsole.exe` * Exit ### Expected Behavior No exceptions. ### Actual Behavior ![image](https://user-images.githubusercontent.com/2256941/152832989-092d7b81-1586-442f-b53b-816c73a30e67.png) ``` D3D11 WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at runtime for standard reporting. [ STATE_CREATION WARNING #0: UNKNOWN] D3D11: **BREAK** enabled for the previous message, which was: [ WARNING STATE_CREATION #0: UNKNOWN ] An interface [0000021167E04968] was created but not released. Use 'dps 0000021167E04908' to view its allocation stack. Object type: ID2D1SolidColorBrush Color: r=1.00 g=1.00 b=1.00 a=1.00 Outstanding reference count: 1 An interface [0000021167DF85A8] was created but not released. Use 'dps 0000021167DF8548' to view its allocation stack. Object type: ID2D1DeviceContext Outstanding reference count: 1 An interface [0000021167D71F18] was created but not released. Use 'dps 0000021167D71EB8' to view its allocation stack. Object type: ID2D1Factory Factory type: D2D1_FACTORY_TYPE_SINGLE_THREADED Outstanding reference count: 5 D2D DEBUG ERROR - Memory leaks detected. ```
Author
Owner

@ghost commented on GitHub (May 24, 2022):

:tada:This issue was addressed in #12415, which has now been successfully released as Windows Terminal Preview v1.14.143.🎉

Handy links:

@ghost commented on GitHub (May 24, 2022): :tada:This issue was addressed in #12415, which has now been successfully released as `Windows Terminal Preview v1.14.143`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.14.143) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16700