Bug 933858

Summary: Can't no longer login after upgrade (today 7.6.2015) Opensuse 13.2 Tumbleweed
Product: [openSUSE] openSUSE Distribution Reporter: Andreas Fueglistaler <andreas.fueglistaler>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED INVALID QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P3 - Medium CC: andreas.fueglistaler, tiwai, wbauer
Version: 13.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output hwinfo command
Additional file which shows at the end some communication errors
Xorg.0.log file

Description Andreas Fueglistaler 2015-06-07 13:32:51 UTC
Hi All,

Opensuse 13.2 Tumbleweed updated today 7.6.2015. Kernel 4.0.4-2) I am no longer able to login what ever I try GNOME or KDE or even failsafe with Kernel 4.0.4-1.
I get to the login screen, but then after providing the credentials it fails with the trace log below. Ok, not directly but one gets there .....

Error report see below:
Application: plasmashell (5.3.1) Qt Version: 5.4.1 Operating System: Linux 4.0.4-1-desktop x86_64 Distribution: "openSUSE 20150605 (Tumbleweed) (x86_64)" -- Information about the crash: - What I was doing when the application crashed: System restart after update (7.6.2015). Since then I can no longer login nether wit KDE nor GNOME. Even failsafe has the same behavior. The crash can be reproduced every time. -- Backtrace: Application: Plasma (plasmashell), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f3a86cf18c0 (LWP 1925))] Thread 3 (Thread 0x7f3a6e9c6700 (LWP 1935)): #0 0x00007f3a807dd4cd in poll () at /lib64/libc.so.6 #1 0x00007f3a855e5322 in () at /usr/lib64/libxcb.so.1 #2 0x00007f3a855e6def in xcb_wait_for_event () at /usr/lib64/libxcb.so.1 #3 0x00007f3a715a2c69 in () at /usr/lib64/qt5/plugins/platforms/libqxcb.so #4 0x00007f3a80e4e9ef in () at /usr/lib64/libQt5Core.so.5 #5 0x00007f3a7fdd9484 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3a807e5a4d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f3a67fff700 (LWP 1939)): #0 0x00007f3a807d959d in read () at /lib64/libc.so.6 #1 0x00007f3a784e5f45 in () at /usr/lib64/tls/libnvidia-tls.so.340.76 #2 0x00007f3a7cd0cb20 in () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f3a7cccb989 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f3a7cccbde8 in () at /usr/lib64/libglib-2.0.so.0 #5 0x00007f3a7cccbf6c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #6 0x00007f3a8108033b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #7 0x00007f3a81026f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #8 0x00007f3a80e49dba in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #9 0x00007f3a840abf68 in () at /usr/lib64/libQt5Qml.so.5 #10 0x00007f3a80e4e9ef in () at /usr/lib64/libQt5Core.so.5 #11 0x00007f3a7fdd9484 in start_thread () at /lib64/libpthread.so.0 #12 0x00007f3a807e5a4d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f3a86cf18c0 (LWP 1925)): [KCrash Handler] #5 0x00007f3a807323c7 in raise () at /lib64/libc.so.6 #6 0x00007f3a8073379a in abort () at /lib64/libc.so.6 #7 0x00007f3a80e3d060 in QMessageLogger::fatal(char const*, ...) const () at /usr/lib64/libQt5Core.so.5 #8 0x00007f3a715ca2fe in () at /usr/lib64/qt5/plugins/platforms/libqxcb.so #9 0x00007f3a715a424b in () at /usr/lib64/qt5/plugins/platforms/libqxcb.so #10 0x00007f3a8159ca6b in QOpenGLContext::create() () at /usr/lib64/libQt5Gui.so.5 #11 0x00007f3a715ca68d in () at /usr/lib64/qt5/plugins/platforms/libqxcb.so #12 0x00007f3a715ca801 in () at /usr/lib64/qt5/plugins/platforms/libqxcb.so #13 0x00007f3a8478f6a3 in QSGRenderLoop::instance() () at /usr/lib64/libQt5Quick.so.5 #14 0x00007f3a847bebb0 in QQuickWindowPrivate::init(QQuickWindow*, QQuickRenderControl*) () at /usr/lib64/libQt5Quick.so.5 #15 0x00007f3a86711a5e in PlasmaQuick::Dialog::Dialog(QQuickItem*) () at /usr/lib64/libKF5PlasmaQuick.so.5 #16 0x00007f3a66bbd480 in () at /usr/lib64/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so #17 0x00007f3a84047379 in QQmlType::create() const () at /usr/lib64/libQt5Qml.so.5 #18 0x00007f3a840a7abf in () at /usr/lib64/libQt5Qml.so.5 #19 0x00007f3a840a8384 in () at /usr/lib64/libQt5Qml.so.5 #20 0x00007f3a84036c87 in () at /usr/lib64/libQt5Qml.so.5 #21 0x00007f3a8403748e in QQmlIncubationController::incubateFor(int) () at /usr/lib64/libQt5Qml.so.5 #22 0x00007f3a84c1238c in () at /usr/lib64/libKF5Declarative.so.5 #23 0x00007f3a84037125 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib64/libQt5Qml.so.5 #24 0x00007f3a84032e3c in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib64/libQt5Qml.so.5 #25 0x00007f3a84c0292d in KDeclarative::QmlObject::completeInitialization(QHash<QString, QVariant> const&) () at /usr/lib64/libKF5Declarative.so.5 #26 0x00007f3a84c029dc in () at /usr/lib64/libKF5Declarative.so.5 #27 0x000000000046277f in Osd::Osd(ShellCorona*) () #28 0x000000000045601c in ShellCorona::ShellCorona(QObject*) () #29 0x000000000045efd9 in ShellManager::loadHandlers() () #30 0x00007f3a81059656 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5 #31 0x00007f3a8237eb5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #32 0x00007f3a82383a26 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #33 0x00007f3a81028fd5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #34 0x00007f3a8102ae6f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5 #35 0x00007f3a81080ea3 in () at /usr/lib64/libQt5Core.so.5 #36 0x00007f3a7cccbc74 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #37 0x00007f3a7cccbec8 in () at /usr/lib64/libglib-2.0.so.0 #38 0x00007f3a7cccbf6c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #39 0x00007f3a8108031c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #40 0x00007f3a81026f2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #41 0x00007f3a8102e5b6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #42 0x0000000000433278 in main () Reported using DrKonqi


Error has been reported to KDE.org, but they say its a bug below KDE, see comment below:
David Edmundson <kde@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DOWNSTREAM

--- Comment #1 from David Edmundson <kde@davidedmundson.co.uk> ---
#10 0x00007f3a8159ca6b in QOpenGLContext::create() () at
/usr/lib64/libQt5Gui.so.5

Your graphic drivers are broken. It's below our layer.
Talk to SuSE people, sorry.

Hope you get it fixed.


Please let me know how to fix this issue!

Before today's update (7.6.2015) the system run well!

Kind regards
Andy
Comment 1 Andreas Fueglistaler 2015-06-07 13:59:57 UTC
*** Bug 933859 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Fueglistaler 2015-06-08 06:18:16 UTC
*** Bug 933855 has been marked as a duplicate of this bug. ***
Comment 3 Takashi Iwai 2015-06-08 08:32:22 UTC
Please make sure that it's a regression in kernel.  You should be able to boot from the previous kernel by selecting the one in GRUB boot menu.  Try to boot your current system with the previous kernel.  If the problem is actually gone, then it implies that the problem is in kernel.  If the problem still exists, it's no kernel issue but a regression in another component.
Comment 4 Andreas Fueglistaler 2015-06-08 08:38:16 UTC
I did try the previous kernel (failsafe) 4.0.4-1 and the problem was the same to login. If that imply's that it is not in the kernel to what group/component should the bug be reportet then?

I also tried to login (kernel 4.0.4-2) to login with KDE and GNOME and both showed the same behaviour.

Thanks for your help!

Kind regards
Andy
Comment 5 Takashi Iwai 2015-06-08 08:49:46 UTC
The failsafe boot won't work with graphics.  It's just for fail safe.  You must have the older kernels.  Try to choose it and boot in the normal mode.
Comment 6 Andreas Fueglistaler 2015-06-08 08:57:52 UTC
I did boot it with Kernel 4.0.4-2
- normal 
- failsafe

same behaviour (login fails).

I did boot with the previous Kernel 4.0.4-1
- normal 
- failsafe

same behaviour (login fails).

this with KDE and GNOME.
Comment 7 Takashi Iwai 2015-06-08 09:29:20 UTC
4.0.4-1 was the kernel before the breaking update?  If so, it's likely a problem in another component, either the graphics stuff or Qt.

But this kind of problem can be hardware-specific.  So, please give your hardware details.  At least, hwinfo output would be helpful.
Comment 8 Andreas Fueglistaler 2015-06-08 17:11:52 UTC
Created attachment 637064 [details]
Output hwinfo command
Comment 9 Andreas Fueglistaler 2015-06-08 17:12:49 UTC
Created attachment 637065 [details]
Additional file which shows at the end some communication errors
Comment 10 Takashi Iwai 2015-06-09 13:58:46 UTC
Are you using nouveau driver or Nvidia binary driver?  The X log indicates the latter.
Comment 11 Andreas Fueglistaler 2015-06-09 14:12:27 UTC
nouveau driver is being used.
Comment 12 Takashi Iwai 2015-06-09 14:18:22 UTC
OK, then try to login and give the latest Xorg.log file.

The previously attached file contains too many logs mixed up, and I can't judge which is still valid.

(BTW, if you provide the requested information, please clear NEEDINFO flag.)
Comment 13 Andreas Fueglistaler 2015-06-09 17:24:40 UTC
Created attachment 637229 [details]
Xorg.0.log file
Comment 14 Andreas Fueglistaler 2015-06-09 17:25:25 UTC
as requested the Xorg.0.log file after a login attempt
Comment 15 Takashi Iwai 2015-06-09 18:43:35 UTC
There is no trace of crash there.  Looks rather like a library issue.
Reassigned the component so that X guys can take a look.

(BTW, again: please don't forget to clear NEEDINFO flag after you fill the requested information.)
Comment 16 Wolfgang Bauer 2015-06-12 08:30:26 UTC
(In reply to Andreas Fueglistaler from comment #14)
> as requested the Xorg.0.log file after a login attempt

Well, the reason for your problems is obvious I think.
You do indeed use nouveau, but have nvidia's libglx installed:
[   116.248] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   116.263] (II) Module glx: vendor="NVIDIA Corporation"
[   116.263] 	compiled for 4.0.2, module version = 1.0.0
[   116.263] 	Module class: X.Org Server Extension
[   116.263] (II) NVIDIA GLX Module  340.76  Thu Jan 22 11:24:42 PST 2015

If you want to use nouveau, you have to remove the nvidia driver from your system, as it replaces some system components (libglx and libGL in particular) with its own versions which don't work with the open source drivers (and it even breaks Mesa's software renderer, which is why you have the same problems in recovery mode).
Just switching to nouveau in xorg.conf (which you apparently did according to the Xorg.0.log) is not enough.

If you added the (13.2?) nvidia repo to your system, remove it, or the driver might get installed automatically.

Or maybe you installed nvidia but it broke with a kernel update?
You have to recompile the kernel module after each such update.

Btw, there is no such thing as "openSUSE 13.2 Tumbleweed". You either use 13.2 or Tumbleweed.
According to the Xorg and Kernel versions, it seems to be the latter.

But make sure that you have no 13.2 repos on your system. In case you missed it, Tumbleweed is no longer an addon repo to the latest openSUSE release, but a completely separate (rolling) distribution (since November already)...
Comment 17 Stefan Dirsch 2015-06-12 12:34:31 UTC
Indeed that's a messed up system.