Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350883 - dev-vcs/hgview-1.2.0 segfaults after PyQt4-4.8.1 and sip-4.11.2 update
Summary: dev-vcs/hgview-1.2.0 segfaults after PyQt4-4.8.1 and sip-4.11.2 update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 20:44 UTC by Denilson Sá Maia
Modified: 2011-05-19 19:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,5.23 KB, text/plain)
2011-01-10 13:24 UTC, Denilson Sá Maia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2011-01-06 20:44:58 UTC
How to reproduce:
1) Go to any mercurial repository directory.
2) Run "hgview"

Until last month, it would open the nice hgview interface. However, now it just prints "Segmentation fault".

I've noticed this happening after updating from 4.7.3 to dev-python/PyQt4-4.8.1. I haven't tried going back to the previous version, so I'm not 100% sure this is true.
Comment 1 Denilson Sá Maia 2011-01-06 21:14:56 UTC
Also, recently portage updated from dev-python/sip-4.10.2 to 4.11.2, which was updated just before qscintilla, qscintilla-python and PyQt4.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-01-09 15:14:13 UTC
Did you rebuild PyQt4 and hgview after updating sip?
Comment 3 Denilson Sá Maia 2011-01-10 11:40:12 UTC
(In reply to comment #2)
> Did you rebuild PyQt4 and hgview after updating sip?

Yes, portage itself rebuilt PyQt4 after sip.

I've tried rebuilding hgview. No difference it still segfaults (as I expected, since I believe it's pure python code).
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-01-10 13:20:23 UTC
Please attach your emerge --info and eselect python list.
Comment 5 Denilson Sá Maia 2011-01-10 13:24:09 UTC
Created attachment 259470 [details]
emerge --info

emerge --info attached to the bug.

$ eselect python list
Available Python interpreters:
  [1]   python2.6 *
  [2]   python3.1
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2011-01-10 14:49:57 UTC
Do you have kde-base/pykde4 installed? If so, please try rebuilding it too.
Comment 7 Denilson Sá Maia 2011-01-10 17:25:59 UTC
(In reply to comment #6)
> Do you have kde-base/pykde4 installed? If so, please try rebuilding it too.

No, I don't have pykde4. (which is not needed anyway; hgview uses just qt4, and not kde)
Comment 8 François Bissey 2011-05-18 22:24:26 UTC
I got that too I solved it by rebuilding qscintilla and qscintilla-python (I suspect only the later was needed).
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2011-05-19 10:31:50 UTC
Denilson, can you confirm that rebuilding qscintilla-python solves this issue for you too?
Comment 10 Denilson Sá Maia 2011-05-19 18:16:33 UTC
Right now I've rebuilt, x11-libs/qscintilla-2.4.5, dev-python/qscintilla-python-2.4.5 and dev-vcs/hgview-1.2.1

And I can confirm it fixes for me, hgview doesn't segfault anymore.

I don't know exactly which package solved the issue, as I've re-emerged them all at once.
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2011-05-19 19:10:47 UTC
It was qscintilla-python I guess... Closing as invalid because you didn't rebuild all packages depending on sip or PyQt4 as warned by the postinst message.