Home » U++ Library support » FileSel&FileList, Path » BUG Access violation when closing FileSel
BUG Access violation when closing FileSel [message #59404] |
Thu, 22 December 2022 13:35 |
Maginor
Messages: 44 Registered: May 2019
|
Member |
|
|
Hi, I get the following bug when I click OK on a FileSel. It only seems to happen if the rest of the function after ExecuteOpen() takes a long time, and it does not happen consistently.
ExcecuteOpen() is called inside a callback function attached to a toolbar button.
As you can see, the call stack does not involve any user code, and I get the same bug in two different ultimate++ applications that have fairly different user code.
If I make a PromptOK() call right after ExecuteOpen() and before the rest of the function is executed, the crash does not happen.
I am getting this both with ClangX64 and MSVCx64 compilation setups (Windows 10).
The lambda in the call stack is the following one inside DisplayPopup.cpp, DisplayPopup::Set(...)
popup->WhenClose << [=] { PostCallback([=] { popup.Clear(); }); };
-
Attachment: bug.png
(Size: 205.35KB, Downloaded 145 times)
[Updated on: Sun, 25 December 2022 11:12] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri Apr 26 21:22:25 CEST 2024
Total time taken to generate the page: 0.02512 seconds
|