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

Bug 405989

Summary: >=dev-qt/qtgui-4.8[egl]: some Qt apps crash with SIGSEGV in XVisualIDFromVisual from /usr/lib64/libX11.so.6
Product: Gentoo Linux Reporter: jannis <kripton>
Component: [OLD] LibraryAssignee: Qt Bug Alias <qt>
Status: RESOLVED CANTFIX    
Severity: normal CC: ainsaar, gentoo+bugs, nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugreports.qt-project.org/browse/QTBUG-12836
Whiteboard: tracking upstream
Package list:
Runtime testing required: ---
Attachments: gdb backtrace
emerge --info
output of "emerge -pv qt-gui qt-demo"
Still crashing with qt-4.8.1

Description jannis 2012-02-27 07:54:23 UTC
With x11-libs/qt-gui-4.8.0-r2 installed and using the default "raster" graphics backend, some Qt apps crash. Under them mythfrontend (from overlay) and qtdemo (from portage tree). On KDE startup there is also a crash-reporting window but I can't remember right now.
gdb backtrace of crashing qtdemo and "emerge --info" will be attached.
Graphics card is an AMD Radeon HD 4670 using the open-source r600g (Gallium3D) driver with mesa-8.0.

Procedure suggestions for further tracking the issue down are very welcome.

Reproducible: Always
Comment 1 jannis 2012-02-27 07:55:35 UTC
Created attachment 303455 [details]
gdb backtrace
Comment 2 jannis 2012-02-27 07:55:50 UTC
Created attachment 303457 [details]
emerge --info
Comment 4 jannis 2012-02-27 08:45:22 UTC
Updated mesa to 8.0.1: No change.

Tried all the different Qt graphic systems:
- "native": no change - qtdemo crashes
- "opengl": KDE doesn't even start - crash
- "openvg": KDE loads but dosn't display anything
- "render" (default): KDE works - qtdemo crashes
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2012-02-28 10:49:32 UTC
(In reply to comment #3)
> Might be related to:
> https://bugs.kde.org/show_bug.cgi?id=198294
> https://bugreports.qt-project.org/browse/QTBUG-12836

Yep, the backtrace is very similar to the one in QTBUG-12836.

Please post the output of 'emerge -pv qt-gui'
Comment 6 jannis 2012-02-28 17:27:42 UTC
Created attachment 303609 [details]
output of "emerge -pv qt-gui qt-demo"
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2012-02-28 17:39:16 UTC
Is the crash reproducible with USE="-egl" in qt-gui?
Comment 8 jannis 2012-02-28 17:53:17 UTC
(In reply to comment #7)
> Is the crash reproducible with USE="-egl" in qt-gui?

No, it's not. I rebuilt qt-gui and qt-opengl with USE="-egl" and it worked afterwards (re-login wasn't needed).

I just found my qt-project.org login details so I could post a reference to this bug here in their tracker. Maybe could speed up upstream-development?

I'm just trying to figure out why I had +egl in first place... Will post here as soon as I remember :)
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2012-02-28 19:05:27 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Is the crash reproducible with USE="-egl" in qt-gui?
> 
> No, it's not. I rebuilt qt-gui and qt-opengl with USE="-egl" and it worked
> afterwards (re-login wasn't needed).
> 

Ok, thanks for testing.

> I just found my qt-project.org login details so I could post a reference to
> this bug here in their tracker. Maybe could speed up upstream-development?
> 

Please do, upstream bug seems dead since August 2010 :-/
Comment 10 jannis 2012-02-28 19:41:03 UTC
Very welcome :) Thanks for the hint with USE="-egl". Notified upstream. Let's see what happens, I'm happy with -egl. I assume I just wanted to test s.th. and forgot about it then ...
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2012-03-26 23:57:51 UTC
*** Bug 409805 has been marked as a duplicate of this bug. ***
Comment 12 Davide Pesavento (RETIRED) gentoo-dev 2012-03-30 10:25:14 UTC
Please retry with Qt 4.8.1 if you can.
Comment 13 jannis 2012-03-31 07:05:05 UTC
Created attachment 307251 [details]
Still crashing with qt-4.8.1

I can still reproduce this with Qt-4.8.1. Everything is fine with USE="-egl" on qt-gui and qt-opengl but crashed with USE="egl". gdb backtrace is attached.

Just like the user in bug#409805 I use the r600g-driver (now with mesa-8.0.2). I wanted to test the "classic" R600-driver but I don't have this option anymore:

64bit r300 (Radeon R300-R500)
  [1]   gallium *
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *

Maybe I need to re-check USE-flags on mesa
Comment 14 Davide Pesavento (RETIRED) gentoo-dev 2015-06-14 14:26:31 UTC
Qt4 will not have any more releases after 4.8.7, except for security fixes.  Therefore the chances of getting this bug fixed upstream are practically zero, sorry.