Summary: | X Segfault on second screen resize | ||
---|---|---|---|
Product: | xorg | Reporter: | Ge@@ru <geaaru> |
Component: | Driver/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | critical | ||
Priority: | medium | CC: | geaaru |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Ge@@ru
2012-10-14 21:23:23 UTC
Missing... When X go to segfault my monitor go to poweroff and only a reboot permit to return to a normal status. 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 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. 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 Can you bisect xserver? Note that you may need to rebuild the drivers against xserver after each bisection step. 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 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. No response to re-test request in over a month. Closing as invalid. 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. |
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.