View Issue Details

IDProjectCategoryView StatusLast Update
0002392NoesisGUIC++ SDKpublic2023-03-17 18:57
ReporterAnKor Assigned Tosfernandez  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version3.1.5 
Target Version3.1.7 
Summary0002392: Noesis::GUI::Shutdown complains about objects created in another thread
DescriptionCalling Noesis::GUI::Shutdown reports cross-thread access errors for various objects if Views were created (or theme loaded) in a different thread:

[NOESIS/I] Noesis Shutdown
[NOESIS/E] The calling thread (***) cannot access this DispatcherObject because a different thread (***) owns it

The issue has been discussed on the forum: https://www.noesisengine.com/forums/viewtopic.php?t=2664
"It is related to the control templates defined in the theme, there are some objects that are not correctly detached from the creation thread."
TagsNo tags attached.
PlatformAny

Relationships

related to 0002500 assignedjsantos Disable/bypass the thread checks on objects 

Activities

AnKor

AnKor

2022-08-02 21:16

reporter  

Main-InitThread.zip (3,787 bytes)
Main-UpdateThread.zip (4,015 bytes)
AnKor

AnKor

2023-03-17 18:57

reporter   ~0008350

Today I've got a very similar threading error, but this time it is more severe because it happens when using keyboard to move the Slider thumb.

Easily reproduced with the same Main-InitThread sample I already attached.
Just replace Main.cpp in the "Integration" sample with the one from the archive and change "#if 0" to "#if 1" at line 261 to enable all functionality.
Then run it, go to Video or Audio tab, click on any slider and try to move it by pressing left or right on the keyboard.
I'm getting 3 errors like this:
[NOESIS/E] The calling thread (6512) cannot access this InputBinding because a different thread (8296) owns it

Can you advice are these real errors or can be ignored?

Issue History

Date Modified Username Field Change
2022-08-02 21:16 AnKor New Issue
2022-08-02 21:16 AnKor File Added: Main-InitThread.zip
2022-08-02 21:16 AnKor File Added: Main-UpdateThread.zip
2022-08-03 11:50 sfernandez Assigned To => sfernandez
2022-08-03 11:50 sfernandez Status new => assigned
2022-08-03 11:50 sfernandez Target Version => 3.1.6
2022-11-07 17:13 sfernandez Target Version 3.1.6 => 3.1.7
2023-02-02 17:31 jsantos Relationship added related to 0002500
2023-03-17 18:57 AnKor Note Added: 0008350