Ticket #101 (accepted defect)

Opened 6 years ago

Last modified 6 years ago

Assertion failed error dialog

Reported by: martinsm Owned by: alamaison
Priority: minor (e.g. uncommon, cosmetic, has workaround) Milestone: 0.30 Better dialogues
Component: ezel Version: 0.4.5
Keywords: Cc:

Description

When Swish asks password for connection and I press ESC keyboard key instead of OK or Cancel buttons, I get following error dialog:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: C:\Windows\explorer.exe
File: C:\Users\awl03\Documents\Visual S.../window_impl.hpp
Line: 557

Expression: !"Something went very wrong here - we couldn't get our window"

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort   Retry   Ignore   
---------------------------

After that Windows Explorer crashes.

Change History

comment:1 follow-up: ↓ 2 Changed 6 years ago by alamaison

Is this from a version of Swish you built yourself in Debug mode? If not, there really shouldn't be assertions!

comment:2 in reply to: ↑ 1 Changed 6 years ago by alamaison

  • Status changed from new to accepted
  • Component changed from backend to ezel

Replying to alamaison:

Is this from a version of Swish you built yourself in Debug mode? If not, there really shouldn't be assertions!

Never mind, I've found at least one problem: Release mode wasn't defining NDEBUG so assertions were still being checked.

None of this answers why the assertion fires in the first place. I can reproduce it on my machine so I'll look into it.

comment:3 Changed 6 years ago by alamaison

  • Milestone set to 0.30 Better dialogues
Note: See TracTickets for help on using tickets.