Bug 107210

Summary: Segment Fault while opening thunderbitf windows
Product: xorg Reporter: Frank <fpedersoli>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Frank 2018-07-12 17:32:53 UTC
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fac70d2de80 (LWP 2674))]

Thread 6 (Thread 0x7fac4f5ef700 (LWP 3324)):
#0  0x00007fac706afdd6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fac6da4ccbb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fac6da4e1ab in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fac6d9fc6fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fac6d845849 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fac680e79c9 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fac6d84f8f5 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fac696a70bc in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fac706ba2ff in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fac318be700 (LWP 2832)):
#0  0x00007fac696ad07c in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fac6c970aac in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fac6c970ac9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fac696a70bc in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fac706ba2ff in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fac335ff700 (LWP 2831)):
#0  0x00007fac706afdd6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fac6da4ccbb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fac6da4e1ab in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fac6d9fc6fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fac6d845849 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fac680e79c9 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fac6d84f8f5 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fac696a70bc in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fac706ba2ff in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fac4098f700 (LWP 2830)):
#0  0x00007fac696ad07c in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fac424ced44 in  () at /usr/lib/dri/nouveau_dri.so
#2  0x00007fac424cea38 in  () at /usr/lib/dri/nouveau_dri.so
#3  0x00007fac696a70bc in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fac706ba2ff in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fac5521c700 (LWP 2795)):
#0  0x00007ffe17f5bb04 in clock_gettime ()
#1  0x00007fac706c7d76 in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007fac6da50712 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007fac6da4eefa in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#4  0x00007fac6da4f4f6 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#5  0x00007fac6da4e3f5 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fac6d9fc6fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fac6d845849 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fac66fd9976 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007fac6d84f8f5 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fac696a70bc in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fac706ba2ff in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fac70d2de80 (LWP 2674)):
[KCrash Handler]
#6  0x00007fac42036f85 in  () at /usr/lib/dri/nouveau_dri.so
#7  0x00007fac41e1668e in  () at /usr/lib/dri/nouveau_dri.so
#8  0x00007fac42315697 in  () at /usr/lib/dri/nouveau_dri.so
#9  0x00007fac4231583a in  () at /usr/lib/dri/nouveau_dri.so
#10 0x00007fac421e25bd in  () at /usr/lib/dri/nouveau_dri.so
#11 0x00007fac421e2a22 in  () at /usr/lib/dri/nouveau_dri.so
#12 0x00007fac423115ef in  () at /usr/lib/dri/nouveau_dri.so
#13 0x00007fac41dba3fb in  () at /usr/lib/dri/nouveau_dri.so
#14 0x00007fac41db4be3 in  () at /usr/lib/dri/nouveau_dri.so
#15 0x00007fac43b9af21 in  () at /usr/lib/libGLX_mesa.so.0
#16 0x00007fac43b88769 in  () at /usr/lib/libGLX_mesa.so.0
#17 0x00007fac56b1131e in  () at /usr/lib/qt/plugins/xcbglintegrations/libqxcb-glx-integration.so
#18 0x00007fac56b11329 in  () at /usr/lib/qt/plugins/xcbglintegrations/libqxcb-glx-integration.so
#19 0x00007fac6e047ddf in QOpenGLContext::destroy() () at /usr/lib/libQt5Gui.so.5
#20 0x00007fac6e048178 in QOpenGLContext::~QOpenGLContext() () at /usr/lib/libQt5Gui.so.5
#21 0x00007fac6e04819a in QOpenGLContext::~QOpenGLContext() () at /usr/lib/libQt5Gui.so.5
#22 0x00007fac54134b94 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#23 0x00007fac54134c39 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#24 0x00007fac701733e6 in KWin::AbstractClient::destroyDecoration() () at /usr/lib/libkwin.so.5
#25 0x00007fac70183554 in KWin::Client::destroyDecoration() () at /usr/lib/libkwin.so.5
#26 0x00007fac70178e8c in KWin::Client::destroyClient() () at /usr/lib/libkwin.so.5
#27 0x00007fac701d5273 in KWin::Client::unmapNotifyEvent(xcb_unmap_notify_event_t*) () at /usr/lib/libkwin.so.5
#28 0x00007fac701d8b7c in KWin::Client::windowEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#29 0x00007fac701d9970 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#30 0x00007fac6d9fb51f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#31 0x00007fac58a1aa22 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#32 0x00007fac58a1b60d in QXcbConnection::processXcbEvents() () at /usr/lib/libQt5XcbQpa.so.5
#33 0x00007fac6da28182 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#34 0x00007fac6e7d6a74 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007fac6e7de341 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007fac6d9fda69 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#37 0x00007fac6da00afc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#38 0x00007fac6da4e01d in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#39 0x00007fac58aae9de in  () at /usr/lib/libQt5XcbQpa.so.5
#40 0x00007fac6d9fc6fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007fac6da049f6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#42 0x00007fac70986b56 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#43 0x00007fac705e49a7 in __libc_start_main () at /usr/lib/libc.so.6
#44 0x000056548f6f875a in _start ()
Comment 1 Ilia Mirkin 2018-07-12 17:52:04 UTC
Try to reproduce with symbols in the library, without them the traces are useless. Also what GPU are you using?
Comment 2 Frank 2018-07-12 20:59:48 UTC
This is the inxi with a full detail of the PC. Tomorrow I'll try to reproduce the bug, now is really late here.
I can add also that to use nouveau with KDE has been very hard, for me. I cannot use the compositor and no way to use the GPU like before (nvidia 304 driver, no longer supported).

I'm using  4.17.5-1-zen #1 ZEN SMP PREEMPT, but the error is present with all the versions. I tried also to downgrade the glibc: no way.

To reproduce with symbols have I to compile and install a custom version of the driver?


System:    Host: faststar01 Kernel: 4.17.5-1-zen x86_64 bits: 64 gcc: 8.1.1
           Desktop: KDE Plasma 5.12.5 (Qt 5.11.1) dm: sddm,sddm Distro: Artix Linux
Machine:   Device: portable System: Dell product: MP061 serial: N/A  Chassis: type: 8 serial: N/A
           Mobo: Dell model: 0YD479 serial: N/A BIOS: Dell v: A10 date: 08/26/2009
Battery    BAT0: charge: 49.1 Wh 100.0% condition: 49.1/73.3 Wh (67%) volts: 12.2/11.1
           model: SMP DELLRD8 Li-ion serial: 1984 status: Full cycles: 0
CPU:       Dual core Intel Core2 T7600 (-MCP-) arch: Conroe rev.6 cache: 4096 KB
           flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 9313
           clock speeds: min/max: 1000/2333 MHz 1: 1542 MHz 2: 1568 MHz
Memory:    Using dmidecode: dmidecode is not installed.
Graphics:  Card: NVIDIA G71M [GeForce Go 7950 GTX] bus-ID: 01:00.0 chip-ID: 10de:0297
           Display Server: N/A drivers: nouveau (unloaded: modesetting,fbdev,vesa) tty size: 168x47
Audio:     Card Intel NM10/ICH7 Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:27d8
           Sound: Advanced Linux Sound Architecture v: k4.17.5-1-zen
Network:   Card: Broadcom Limited BCM4401-B0 100Base-TX driver: b44 v: 2.0 bus-ID: 03:00.0 chip-ID: 14e4:170c
           IF: eth0 state: down mac: 00:14:22:f3:fe:95
           WAN IP: 87.26.11.195
           IF: eth0 ip-v4: N/A ip-v6-link: N/A
           IF: wlan0 ip-v4: 192.168.0.185 ip-v6-link: fe80::45e:628:d10a:42d8
Drives:    HDD Total Size: 1240.3GB (34.4% used)
           ID-1: /dev/sda model: KINGSTON_SA400S3 size: 240.1GB serial: 50026B7682179419
           ID-2: /dev/sdb model: HGST_HTS721010A9 size: 1000.2GB serial: JR1004D31KZ6MM
           Optical: No optical drives detected.
Partition: ID-1: / size: 224G used: 108G (49%) fs: btrfs dev: /dev/dm-0
           label: N/A uuid: 0accd8a7-bd71-49d1-acd5-6a33bce1b984
           ID-2: /boot size: 488M used: 96M (22%) fs: ext4 dev: /dev/sda1
           label: BootHD uuid: 828052c6-7851-42d8-8a3f-79f7761263e2
           ID-3: /home size: 224G used: 108G (49%) fs: btrfs dev: /dev/dm-0
           label: N/A uuid: 0accd8a7-bd71-49d1-acd5-6a33bce1b984
           ID-4: /run/media/francesco/WorkDisk size: 932G used: 291G (32%) fs: btrfs dev: /dev/dm-1
           label: WorkDisk uuid: 6a79cb6d-992c-4676-8a56-bc7dd0952f8f
           ID-5: /home/francesco/.thunderbird size: 224G used: 108G (49%) fs: fuse.encfs dev: /dev/encfs
           label: N/A uuid: N/A
RAID:      No RAID data: /proc/mdstat missing-is md_mod kernel module loaded?
Unmounted: ID-1: /dev/sda2 size: 239.52G label: N/A uuid: fcedf7b3-e1f6-4c8b-a578-c4a44802b21c
           ID-2: /dev/sdb1 size: 1000.20G label: N/A uuid: 4dc4ee68-5a50-4203-8e9b-824f8fd8d62e
Sensors:   System Temperatures: cpu: 52.0C mobo: N/A gpu: 52.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 203 Uptime: 14:20 Memory: 844.9/3253.4MB
           Init: N/A v: N/A rc: OpenRC v: 0.38.1 runlevel: default Gcc sys: 8.1.1
           Client: Shell (bash 4.4.231 running in konsole) inxi: 2.3.56
Comment 3 Ilia Mirkin 2018-07-13 22:49:07 UTC
I believe kwin with a G71 (supported by the nv30 driver) works fairly poorly and crashes, as you've discovered. Someone else reported crashes a while back - I looked into them a bit, but ultimately didn't have time to properly resolve.
Comment 4 Martin Peres 2019-12-04 09:43:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/444.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.