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

Remove RTLD_GLOBAL hack for swig #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

storborg
Copy link

If pyqt is imported prior to gr-qtgui being imported, usage of QwtPlot-based gr-qtgui widgets will fail at runtime with:

Object::connect: No such signal QwtPlotPicker::selected(const QPointF &)
Segmentation fault (core dumped)

This error is caused by the _RTLD_GLOBAL hack used by older versions of gr-modtool. The import order which exposes this problem may be generated by GRC in the specific circumstance of gr-pyqt being used inside a hierarchical block which has an ID that is alphabetically before gr-.

I haven't been able to find any reason to keep the hack around, and it isn't in most other current OOT modules. The specific platform I'm encountering the error on is GNU Radio v3.7.11 on Ubuntu 16.04.2 LTS, with up-to-date apt versions of Qt, PyQT4, etc.

…es some compatibility problems with gr-qtgui
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

Successfully merging this pull request may close these issues.

1 participant