[Bug 1249571] Re: Segmentation fault on Ubuntu 13.10 when using guiqwt

Ningfei Li 1249571 at bugs.launchpad.net
Sat Nov 9 15:53:52 UTC 2013


@Scott

Thanks for your reply! 
Since python-guiqwt is almost a pure python package. I don't think a rebuilding will work. I had tried it and still got that segfault.

If you step into the code when you plot, you will find that the script stucks there at this line: 
self.emit(SIG_PLOT_LABELS_CHANGED, self) in baseplot.py (in python-guiqwt directory). "self" here is a BasePlot class inherited from QwtPlot. And QwtPlot is imported as this : from PyQt4.Qwt5 import QwtPlot. I also tried to rebuild python-qwt5-qt4. But segfault again...

The signal SIG_PLOT_LABELS_CHANGED here is import from signal.py (also
in python-guiqwt directory): SIG_PLOT_LABELS_CHANGED =
SIGNAL('plot_labels_changed(PyQt_PyObject)').

The SIGNAL here is import via this: from guidata.qt.QtCore import SIGNAL. Here the python-guidata is also a pure python package, in which there exist a script QtCore.py with the following lines that might be related:
from PyQt4.QtCore import *
from PyQt4.QtCore import pyqtSignal as Signal

So that's why I think it can be a upstream problem with pyqt4...

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to python-qt4 in Ubuntu.
https://bugs.launchpad.net/bugs/1249571

Title:
  Segmentation fault on Ubuntu 13.10 when using guiqwt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/1249571/+subscriptions




More information about the kubuntu-bugs mailing list