Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Double-mapping might cause crash #101

Open
djdiskmachine opened this issue Sep 1, 2024 · 0 comments
Open

[BUG] Double-mapping might cause crash #101

djdiskmachine opened this issue Sep 1, 2024 · 0 comments

Comments

@djdiskmachine
Copy link
Owner

When mapping with mapping.xml, ControlRoom::Attach calls MultiChannelAdapter::AddChannel which in turn calls T_SimpleList::Insert
This has an assert for already existing items:
NAssert(!Contains(item)) ;

It seems a bit harsh to crash the application for events like this, consider changing for an if statement.

[MAPPING] Attached /event/b to key:0:s
[ERROR] Assertion failed: !Contains(item)
[ERROR] >> file [ion/T_SimpleList.cpp]
[ERROR] >> line 28
lgpt.deb-exe: /home/m/Documents/GitRepos/LittleGPTracker/projects/../sources/System/Console/n_assert.cpp:14: void __NAssert(const char*, const char*, unsigned int): Assertion `0' failed.
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant