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

Question: What versions of Qt does Nodeeditor support #458

Open
jamesbloom-scheff opened this issue Jan 27, 2025 · 1 comment
Open

Question: What versions of Qt does Nodeeditor support #458

jamesbloom-scheff opened this issue Jan 27, 2025 · 1 comment

Comments

@jamesbloom-scheff
Copy link

We were using Qt 5.15.2 with QtNodes with no problems. We are in the process of moving to Qt 5.15.14-1. We've tried both rebuilding QtNodes with Qt 5.15.14-1 on linux and also not rebuilding QtNodes, using Qt 5.15.2. In both cases, address sanitizer gives an error with an uninitialized ptr (or misaligned address). There is no problem when we build our product with Qt 5.15.2.

/opt/rh/gcc-toolset-11/root/usr/include/c++/11/bits/unique_ptr.h:85:2: runtime error: member access within misaligned address 0xbebebebebebebebe for type 'struct NodeDelegateModel', which requires 8 byte alignment
0xbebebebebebebebe: note: pointer points here

#0 0x12f500f in std::default_deleteQtNodes::NodeDelegateModel::operator()(QtNodes::NodeDelegateModel*) const (/fa/sw/registry/34153-paobjectmodel6-368-dtn6-01/components/spectrum_ui/amd64_gcc11/spectrum_client+0x12f500f)
#1 0x247dcb2 in std::unique_ptr<QtNodes::NodeDelegateModel, std::default_deleteQtNodes::NodeDelegateModel >::reset(QtNodes::NodeDelegateModel*) (/fa/sw/registry/34153-paobjectmodel6-368-dtn6-01/components/spectrum_ui/amd64_gcc11/spectrum_client+0x247dcb2)
#2 0x247d275 in std::unique_ptr<QtNodes::NodeDelegateModel, std::default_deleteQtNodes::NodeDelegateModel >::operator=(std::unique_ptr<QtNodes::NodeDelegateModel, std::default_deleteQtNodes::NodeDelegateModel >&&) (/fa/sw/registry/34153-paobjectmodel6-368-dtn6-01/components/spectrum_ui/amd64_gcc11/spectrum_client+0x247d275)
#3 0x2478896 in QtNodes::DataFlowGraphModel::addNode(QString) (/fa/sw/registry/34153-paobjectmodel6-368-dtn6-01/components/spectrum_ui/amd64_gcc11/spectrum_client+0x2478896)

My question is what versions of Qt are supported by QtNodes? Is Qt 5.15.14-1 supported?

@jamesbloom-scheff
Copy link
Author

Nvm. It turned out that the person who rebuilt QtNodes built it wrong.

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