Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 363939

Summary: x11-libs/qt-gui-4.7.2: Qt Designer segfaults at startup in QRegion::~QRegion() () from /usr/lib64/qt4/libQtGui.so.4
Product: Gentoo Linux Reporter: Alexander Lopatin <alopatindev>
Component: [OLD] DevelopmentAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: asolokha
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://bugreports.qt.nokia.com/browse/QTBUG-18805
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 394903    
Bug Blocks:    
Attachments: emerge --info
designer stacktrace
detailed designer stacktrace

Description Alexander Lopatin 2011-04-17 16:46:35 UTC
Just segfaults.
Also posted here: http://bugreports.qt.nokia.com/browse/QTBUG-18805

Reproducible: Always

Steps to Reproduce:
1. Install =x11-libs/qt-meta-4.7
2. Run designer



Installed Qt packages:

sbar@laptop ~ $ qlist -ICv x11-libs/qt.*
x11-libs/qt-assistant-4.7.2
x11-libs/qt-core-4.7.2-r1
x11-libs/qt-dbus-4.7.2
x11-libs/qt-declarative-4.7.2-r1
x11-libs/qt-gui-4.7.2
x11-libs/qt-meta-4.7
x11-libs/qt-multimedia-4.7.2
x11-libs/qt-opengl-4.7.2
x11-libs/qt-qt3support-4.7.2
x11-libs/qt-script-4.7.2
x11-libs/qt-sql-4.7.2
x11-libs/qt-svg-4.7.2
x11-libs/qt-test-4.7.2
x11-libs/qt-webkit-4.7.2
x11-libs/qt-xmlpatterns-4.7.2
Comment 1 Alexander Lopatin 2011-04-17 16:47:31 UTC
Created attachment 270293 [details]
emerge --info
Comment 2 Alexander Lopatin 2011-04-17 16:48:02 UTC
Created attachment 270295 [details]
designer stacktrace
Comment 3 Alexander Lopatin 2011-04-19 08:17:04 UTC
Created attachment 270495 [details]
detailed designer stacktrace

I've rebuilt x11-libs/qt-gui and x11-libs/qt-declarative with CFLAGS="-march=native -O1 -mtune=generic -g -ggdb -pipe" to get more details.
Comment 4 k0l0b0k 2011-05-06 05:37:58 UTC
Same for me.
qt-creator 2.1 and 2.2 fails on both ~x86 and ~amd64, on access to designer (Tools->Options->Designer for example, causes app to crash)

I can provide any additional info, if needed.
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2011-05-07 14:35:06 UTC
Try building qt-gui with USE=accessibility and then rebuild qt-declarative too.
Comment 6 Alexander Lopatin 2011-05-09 08:37:04 UTC
(In reply to comment #5)
> Try building qt-gui with USE=accessibility and then rebuild qt-declarative too.

That worked, thank you!
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2011-05-10 12:42:02 UTC
We apparently need to add accessibility in IUSE for qt-declarative too, like we recently did for qt-svg, and depend on 'qt-gui[accessibility=]'.
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2012-01-29 21:06:37 UTC
This will be fixed in 4.8
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2012-01-30 15:12:52 UTC
Should be fixed in qt-declarative-4.8.0-r1