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

Segmentation fault with PySide #770

Closed
astrofrog opened this issue Oct 22, 2015 · 1 comment
Closed

Segmentation fault with PySide #770

astrofrog opened this issue Oct 22, 2015 · 1 comment
Milestone

Comments

@astrofrog
Copy link
Member

One of the issues I ran into when debugging #768 is that on PySide (on Mac), I get a segmentation fault when opening a new viewer.

To reproduce:

conda create -n test python=2.7 glueviz
conda remove pyqt sip
conda install pyside

then create a Python script with

import numpy as np
from glue import qglue
qglue(x=np.random.random((100,100)))

Run it, then drag the dataset onto the main area and make an imagewidget. This gives a segmentation fault.

gdb shows the following error:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000008
0x0000000105d820fd in QVariant_isStringList ()

EDIT: need to also install the latest developer version of glue once the conda environment is set up

@astrofrog astrofrog modified the milestone: 0.6 Oct 22, 2015
@astrofrog
Copy link
Member Author

Fixed in #755

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