bugzilla-daemon at freedesktop.org
2012-Oct-14  21:23 UTC
[Nouveau] [Bug 55980] New: X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980
          Priority: medium
            Bug ID: 55980
          Assignee: nouveau at lists.freedesktop.org
           Summary: X Segfault on second screen resize
        QA Contact: xorg-team at lists.x.org
          Severity: critical
    Classification: Unclassified
                OS: Linux (All)
          Reporter: geaaru at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: Driver/nouveau
           Product: xorg
Hi, 
with last kernel 3.x I have a segfault of X server (v. 1.13.0).
When i start X (on kde4 or gnome3 environment) all start correctly. I have a
CRT monitor that support 1600x1200 resolution. Through these steps i have
always segfault:
1. X started with a resolution of 1600x1200
2. Change resolution to 1280x1024 (here resolution change correctly)
3. Change resolution to 1600x1200 (here Segfault)
resize called 1600 1200
resize called 1280 1024
resize called 1600 1200
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x577a6e]
(EE) 1: /usr/bin/X (0x400000+0x17b429) [0x57b429]
(EE) 2: /lib64/libpthread.so.0 (0x7fb3af392000+0xef30) [0x7fb3af3a0f30]
(EE) 3: /lib64/libc.so.6 (0x7fb3ae01a000+0x1230f0) [0x7fb3ae13d0f0]
(EE) 4: /usr/lib64/xorg/modules/libexa.so (0x7fb3ac3f5000+0x5b75)
[0x7fb3ac3fab75]
(EE) 5: /usr/lib64/xorg/modules/libexa.so (0x7fb3ac3f5000+0x5eb4)
[0x7fb3ac3faeb4]
(EE) 6: /usr/lib64/xorg/modules/libexa.so (0x7fb3ac3f5000+0x87f0)
[0x7fb3ac3fd7f0]
(EE) 7: /usr/lib64/xorg/modules/libexa.so (0x7fb3ac3f5000+0x10c3e)
[0x7fb3ac405c3e]
(EE) 8: /usr/lib64/xorg/modules/libexa.so (0x7fb3ac3f5000+0x12692)
[0x7fb3ac407692]
(EE) 9: /usr/lib64/xorg/modules/libexa.so (0x7fb3ac3f5000+0xb803)
[0x7fb3ac400803]
(EE) 10: /usr/bin/X (0x400000+0x168a80) [0x568a80]
(EE) 11: /usr/bin/X (0x400000+0xb8fff) [0x4b8fff]
(EE) 12: /usr/bin/X (0x400000+0x31c5e) [0x431c5e]
(EE) 13: /usr/bin/X (0x400000+0x345eb) [0x4345eb]
(EE) 14: /usr/bin/X (0x400000+0x248fa) [0x4248fa]
(EE) 15: /lib64/libc.so.6 (__libc_start_main+0xec) [0x7fb3ae038ae8]
(EE) 16: /usr/bin/X (0x400000+0x24489) [0x424489]
(EE) 
(EE) Segmentation fault at address 0x8
Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting
Same segfault happens if I leave my computer on poweron but with monitor on
poweroff. When i poweron monitor screen resolution automatically go to 1024x768
and then when i try to restore 1600x1200 resolution I have same segfault.
Hereinafter same informations about my env:
# uname -a
Linux golia2 3.6.0-rc6+ #1 SMP PREEMPT Sat Sep 29 11:29:58 CEST 2012 x86_64
Pentium(R) Dual-Core CPU E5200 @ 2.50GHz GenuineIntel GNU/Linux
# lspci | grep VGA  
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 250]
(rev a2)
Mesa-9.0 and libdrm 2.4.39.
This error happens with both vanilla kernel or nouveau-kernel from git.
How can i help you to fix this bug ?
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20121014/59eeeb05/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Oct-14  21:28 UTC
[Nouveau] [Bug 55980] X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980 --- Comment #1 from Ge@@ru <geaaru at gmail.com> --- Missing... When X go to segfault my monitor go to poweroff and only a reboot permit to return to a normal status. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121014/c029d0e0/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Oct-14  22:31 UTC
[Nouveau] [Bug 55980] X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980
--- Comment #2 from Ge@@ru <geaaru at gmail.com> ---
With gdb problem is happens after 5/6 resolutions change (I thinks that could
be relative to a delay required on driver to do this syscall).
However, after these resize this is gdb backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x00007f46ee14f860 in ?? () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f46ee14f860 in ?? () from /lib64/libc.so.6
#1  0x00007f46ec40eb75 in exaMemcpyBox (pbox=<optimized out>,
src=<optimized
out>, src_pitch=448, dst=<optimized out>, dst_pitch=436, 
    pPixmap=<optimized out>) at /usr/include/bits/string3.h:52
#2  0x00007f46ec40eeb4 in exaCopyDirty (migrate=<optimized out>,
pValidDst=0x1e6b8e0, pValidSrc=0x1e6b8f0, transfer=0x7f46eceb9513,
fallback_index=1, 
    sync=0x7f46ec40d9c0 <exaWaitSync>) at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/exa/exa_migration_classic.c:240
#3  0x00007f46ec4117f0 in exaPrepareAccessReg_mixed (pPixmap=0x1e6b840,
index=<optimized out>, pReg=0x0)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/exa/exa_migration_mixed.c:254
#4  0x00007f46ec41afe5 in ExaCheckPolyFillRect (pDrawable=0x20a7cc0,
pGC=0x1b3e8d0, nrect=1, prect=0x200ad40)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/exa/exa_unaccel.c:311
#5  0x00007f46ec41455c in exaPolyFillRect (pDrawable=0x20a7cc0, pGC=0x1b3e8d0,
nrect=1, prect=0x200ad40)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/exa/exa_accel.c:849
#6  0x00000000005057e7 in damagePolyFillRect (pDrawable=0x20a7cc0,
pGC=0x1b3e8d0, nRects=1, pRects=0x200ad40)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/miext/damage/damage.c:1250
#7  0x000000000055ad9c in miPaintWindow (pWin=<optimized out>,
prgn=<optimized
out>, what=<optimized out>)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/mi/miexpose.c:641
#8  0x000000000055b01f in miWindowExposures (pWin=0x20a7cc0, prgn=0x22853c0,
other_exposed=0x0)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/mi/miexpose.c:470
#9  0x0000000000487472 in xf86XVWindowExposures (pWin=0x20a7cc0,
reg1=0x22853c0, reg2=<optimized out>)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/hw/xfree86/common/xf86xv.c:1171
#10 0x0000000000570756 in miHandleValidateExposures (pWin=0x1b3ea60)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/mi/miwindow.c:223
#11 0x0000000000461274 in SetRootClip (pScreen=0x1ad5230, enable=0)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/dix/window.c:3649
#12 0x00007f46ec40b9df in exaXorgEnableDisableFBAccess (pScrn=0x1ac93b0,
enable=0)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/hw/xfree86/exa/examodule.c:100
#13 0x00000000004b0293 in xf86CursorEnableDisableFBAccess (pScrn=0x1ac93b0,
enable=0)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/hw/xfree86/ramdac/xf86Cursor.c:226
#14 0x000000000046f2c5 in xf86VTSwitch () at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/hw/xfree86/common/xf86Events.c:441
#15 xf86Wakeup (blockData=<optimized out>, err=<optimized out>,
pReadmask=<optimized out>)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/hw/xfree86/common/xf86Events.c:285
#16 0x0000000000438597 in WakeupHandler (result=1, pReadmask=0x80ea60)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/dix/dixutils.c:423
#17 0x0000000000575477 in WaitForSomething (pClientsReady=0x1c94740)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/os/WaitFor.c:224
#18 0x0000000000434339 in Dispatch () at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/dix/dispatch.c:357
#19 0x00000000004248fa in main (argc=10, argv=<optimized out>,
envp=<optimized
out>)
    at
/var/tmp/portage/x11-base/xorg-server-1.13.0/work/xorg-server-1.13.0/dix/main.c:295
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20121014/2ebb2667/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Oct-15  17:23 UTC
[Nouveau] [Bug 55980] X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980 --- Comment #3 from Marcin Slusarz <marcin.slusarz at gmail.com> --- It looks more like xserver bug. Because of zero appearance of Nouveau in the callchain it's not certain you are using Nouveau... Please follow instructions from http://nouveau.freedesktop.org/wiki/Bugs#HowToReport and attach dmesg and xorg logs. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121015/d6b1dd29/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2012-Oct-29  11:00 UTC
[Nouveau] [Bug 55980] X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980
Ge@@ru <geaaru at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nouveau at lists.freedesktop.o |xorg-team at lists.x.org
                   |rg                          |
          Component|Driver/nouveau              |Server/Acceleration/EXA
--- Comment #4 from Ge@@ru <geaaru at gmail.com> ---
Hi,
I confirm that with xorg-server-1.12.4 this doesn't happens.
I move bug to Server/Acceleration/EXA.
Thanks for reply.
Bye
geaaru
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20121029/d080cb10/attachment.html>
bugzilla-daemon at freedesktop.org
2012-Dec-23  13:43 UTC
[Nouveau] [Bug 55980] X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980
Ge@@ru <geaaru at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|xorg-team at lists.x.org       |nouveau at
lists.freedesktop.o
                   |                            |rg
          Component|Server/Acceleration/EXA     |Driver/nouveau
--- Comment #6 from Ge@@ru <geaaru at gmail.com> ---
Hi, i do other test about this problem and I found that problem is relative to
kernel nouveau driver and not to X.
I test this with different xorg-server versions:
- 1.12.4,
- 1.13.0
- 1.13.1 (current installed version)
and with xf86-video-nouveau:
- 1.0.1
- 1.0.2
- 1.0.3
- 1.0.4
and with different kernel:
- 3.7.0
- 3.6.8
- 3.6.4
- 3.5.7
- 3.4.24
- 3.2.35
- 3.0.17
With my test i see that only with 3.0.17 and 3.2.35 all works fine.
I'm sure that problems is on kernel driver.
Are there big changes between 3.2.35 and > 3.4 for nouveau kernel driver ?
I move this bug again to nouveau/driver but I'm not sure that is right.
Sorry
if is wrong.
Thanks
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20121223/1af74a28/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Aug-24  01:59 UTC
[Nouveau] [Bug 55980] X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980 --- Comment #7 from Ilia Mirkin <imirkin at alum.mit.edu> --- Can you confirm whether this still happens with the latest kernel/xf86-video-nouveau/Xorg? If so, please provide a complete dmesg and Xorg.0.log after the issue happens. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130824/7447cf38/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Sep-26  23:09 UTC
[Nouveau] [Bug 55980] X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980
Ilia Mirkin <imirkin at alum.mit.edu> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
--- Comment #8 from Ilia Mirkin <imirkin at alum.mit.edu> ---
No response to re-test request in over a month. Closing as invalid.
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20130926/83f353f4/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Sep-27  08:01 UTC
[Nouveau] [Bug 55980] X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980
Ge@@ru <geaaru at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED
--- Comment #9 from Ge@@ru <geaaru at gmail.com> ---
Sorry for delay.
I test with last driver and seems that segfault doesn't happens. But I see
that
resolution change automatically if a leave screen off. But probably could be
relative to a wrong EDID message from my old CRT monitor.
So, we can consider resolved this issue.
Thank you very much for support.
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/nouveau/attachments/20130927/46a3e8f4/attachment-0001.html>
Reasonably Related Threads
- [Bug 22253] New: KMS Nouveau - wfb crash
- [Bug 55832] New: xf86-video-nouveau-1.0.2 - Xorg crashes once a week : segmentation fault in NVRefreshArea
- [Bug 98701] New: [NVE6] Desktop freeze, fifo read fault at 0000000000 engine 00 [GR] client 14 [SCC] reason 02 [PTE] on channel 21
- Maybe a bug of xen
- [PATCH] avoid build fail without COMPOSITE