Segmentation fault when launched

Bug #412 reported by Santiago Erquicia
6
Affects Status Importance Assigned to Milestone
eric (Ubuntu)
Fix Released
Medium
Stephan Rügamer

Bug Description

I installed eric3 today and when I try to run it it segmentation faulted.

This is the output on the console:

Traceback (most recent call last):
  File "/usr/lib/site-python/eric3/eric3.py", line 147, in ?
    main()
  File "/usr/lib/site-python/eric3/eric3.py", line 132, in main
    mw = UserInterface(loc, splash)
  ...

I installed eric3 today and when I try to run it it segmentation faulted.

This is the output on the console:

Traceback (most recent call last):
  File "/usr/lib/site-python/eric3/eric3.py", line 147, in ?
    main()
  File "/usr/lib/site-python/eric3/eric3.py", line 132, in main
    mw = UserInterface(loc, splash)
  File "/usr/lib/site-python/eric3/UI/UserInterface.py", line 265, in __init__
    self.sbv = SBVviewer(dbs, self.sbvDock, 1)
  File "/usr/lib/site-python/eric3/UI/SBVviewer.py", line 75, in __init__
    self.stackComboBox.sizePolicy().hasHeightForWidth()))
TypeError: argument 1 of QSizePolicy() has an invalid type
Segmentation fault

Revision history for this message
Hervé Cauwelier (hcauwelier-deactivatedaccount) wrote :

I can't reproduce it on version 3.6.1-3ubuntu2 in Breezy. I guess transitioning Sip and KDE Python bindings helped out.

Changed in eric:
assignee: nobody → sh-sourcecode
status: New → Accepted
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Hi,

the segmentation fault is really a eric3 problem in combination of eric3, python-qt. (I only have python-qt installed)
With the actual version of eric3, there is no segmentation fault anymore (compiled from source 3.6.2) and the qsizepolicy bug is not there anymore. but there is a strange behaviour with this qsizepolicy at all in python-qt. so we should check this in python-qt. and for eric3 wait for breezy :)

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

I recompiled python-qt,sip etc. and I patched a bit the kde stuff.
I'm waiting for upstream to put those patches in the upstream source.
After that, I will create new packages for sip,pyqt and pykde...

:)

Revision history for this message
Hervé Cauwelier (hcauwelier-deactivatedaccount) wrote :

Maybe soon... :-)

I suggest you inform the DD too, Debian users may need this patch NOW.

For dia, I created dpatches of upstream fixes, and opened a few bugreports of priority Wishlist, asking the DD to add these patches while they are not in a new upstream release.

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Patches etc. are at debian :)

I will close this bug, cause the new packages are already in breezy.

Changed in eric:
status: Accepted → Fixed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.