Orange Forum • View topic - Segfault on startup of orange

Segfault on startup of orange

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

Segfault on startup of orange

Postby CarUser » Mon May 17, 2010 19:50

I am using the svn version of orange on Debian GNU/Linux.

If I try to start orange I get a segfault.
I debugged it and the problem seems to be here:

Code: Select all
> /usr/lib/python2.5/site-packages/orange/OrangeCanvas/orngCanvas.pyw(137)__init__()
-> self.createWidgetsToolbar()

[1]    1295 segmentation fault (core dumped)  pdb /usr/lib/python2.5/site-packages/orange/OrangeCanvas/orngCanvas.pyw

Postby Guest » Mon May 17, 2010 20:25

I debugged it further to:
Code: Select all
/usr/lib/python2.5/site-packages/orange/OrangeCanvas/orngTabs.py(327)createWidgetTabs()
-> button = WidgetButton(tab, name, widgetInfo, self, self.canvasDlg, widgetTypeList, iconSize)

Postby Guest » Mon May 17, 2010 20:33

Just in case you need the values before the crash, sorry for the triple post

p tab
<PyQt4.QtGui.QWidget object at 0x1b8dc00>
p name
'File'
p widgetInfo
<orngRegistry.WidgetDescription instance at 0x168dd40>
p self
<orngTabs.WidgetTabs object at 0x1b8d628>
p self.canvasDlg
<__main__.OrangeCanvasDlg object at 0x1772160>
p widgetTypeList
3
p iconSize
40

Postby Ales » Tue May 18, 2010 9:33

Can you post the version of PyQt and Qt you have installed.
Run this in the python interpreter to find out
Code: Select all
from PyQt4.QtCore import qVersion, PYQT_VERSION_STR
print qVersion(), PYQT_VERSION_STR

Postby Guest » Tue May 18, 2010 13:49

Code: Select all
from PyQt4.QtCore import qVersion, PYQT_VERSION_STR
print qVersion(), PYQT_VERSION_STR

Code: Select all
4.6.2 4.6

Postby Guest » Wed May 19, 2010 19:57

I debugged it further to:
Code: Select all
QFrame.__init__(self)

But I doubt it would help :-).

Postby Ales » Wed May 19, 2010 20:34

Anonymous wrote:
Code: Select all
from PyQt4.QtCore import qVersion, PYQT_VERSION_STR
print qVersion(), PYQT_VERSION_STR

Code: Select all
4.6.2 4.6


I think it's a problem with your PyQt installation. The PyQt4.6 should normally link to the Qt4.5. PyQt4.7 has the full bindings for Qt4.6

Postby Guest » Thu May 20, 2010 15:22

Ales wrote:I think it's a problem with your PyQt installation. The PyQt4.6 should normally link to the Qt4.5. PyQt4.7 has the full bindings for Qt4.6


You were totally right. Sorry that I bothered you with this.

Thank you.

Postby Guest » Thu May 20, 2010 15:27

Ok, the gui runs, but if I click (and release) on anything in Visualize or Evaluate it crashes again with a segmentation fault.

My Qt Version is 4.6.2 and my PyQt version is 4.7.3.

Postby Mitar » Mon May 24, 2010 23:53

Have you tried our daily binary packages for Debian?

Postby CarUser » Tue May 25, 2010 14:56

Mitar wrote:Have you tried our daily binary packages for Debian?


Yep, I do.
And it seems the bug got fixed in the last couple of days.

Thank you a lot :-)


Return to Bugs