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

2014-03-30 Thread Dmitry Shachnev
*** This bug is a duplicate of bug 1243102 ***
https://bugs.launchpad.net/bugs/1243102

** This bug has been marked a duplicate of bug 1243102
   python-qwt5-qt4 segfaults immediately in saucy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-11-14 Thread Ningfei Li
Hi Scott,

I just find a fixed package here: 
https://bugs.launchpad.net/ubuntu/+source/pyqwt5/+bug/1243102 that solves my 
problem!
It seems it's a problem with python-qwt5-qt4 rather than python-qt4. At least 
my guiqwt package works fine now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-11-09 Thread Ningfei Li
@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 Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-11-09 Thread Scott Kitterman
OK.  Thanks for the analysis.  If you can extract a reduced test case that 
demonstrates the problem, I'll send it upstream to see about a fix.

-- 
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

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


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

2013-11-09 Thread Ningfei Li
Hi Scott,

Thanks again for your quick reply! Here I can give a short test script to 
reproduce this problem (as in attachment).
It's basically a test case provided in guiqwt.tests (histogram.py). 
During debugging, it will stucks at line 12: win = CurveDialog(edit=False, 
toolbar=True, wintitle=Histogram test)
Then you trace into it to plot.py, curve.py and then baseplot.py. Finally you 
will be here in baseplot.py: self.emit(SIG_PLOT_LABELS_CHANGED, self) in 
function: def update_axis_style(self, axis_id)

Package: python-qt4 (4.10.3-1ubuntu1)
Package: python-sip (4.15.2-1ubuntu1)

reverting to python-qt4 (4.10-0ubuntu3) ) and python-sip
(4.14.5-0ubuntu1) then everything works fine.

** Attachment added: test_guiqwt.py
   
https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/1249571/+attachment/3903922/+files/test_guiqwt.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs