vliaskov

xorg crash after doing "xset noblank"

Nov 7th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. xset s 2 5
  2. xset s noblank
  3.  
  4. xorg-x11-server 1.20.1-1.1
  5.  
  6. the X server segfaults in compCopyWindow , failing the assertion cw->oldx != COMP_ORIGIN_INVALID
  7.  
  8. Without running "xset s noblank", there is no crash, and screensaver works fine.
  9.  
  10. Could it be that in this case compCopyWindow is called before compConfigNotify (which in turn call compReallocPixmap, and sets cw->oldx to valid values)?
  11.  
  12. Thread 1 (Thread 0x7f73b7fce940 (LWP 10987)):
  13. #0 0x00007f73b68dd08b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
  14. #1 0x00007f73b68c64e9 in __GI_abort () at abort.c:79
  15. #2 0x00005579f591579c in OsAbort () at utils.c:1350
  16. --Type <RET> for more, q to quit, c to continue without paging--
  17. #3 0x00005579f591b265 in AbortServer () at log.c:877
  18. #4 0x00005579f591c0c9 in FatalError (f=f@entry=0x5579f594ca70 "Caught signal %d (%s). Server aborting\n") at log.c:1015
  19. #5 0x00005579f5912b91 in OsSigHandler (signo=6, sip=<optimized out>, unused=<optimized out>) at osinit.c:156
  20. #6 0x00007f73b6c76f70 in <signal handler called> () at /lib64/libpthread.so.0
  21. #7 0x00007f73b68dd08b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
  22. #8 0x00007f73b68c64e9 in __GI_abort () at abort.c:79
  23. #9 0x00007f73b68c63c1 in __assert_fail_base
  24. (fmt=0x7f73b6a2a0f0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x5579f59414a0 "cw->oldx != COMP_ORIGIN_INVALID", file=0x5579f5941492 "compwindow.c", line=492, function=<optimized out>)
  25. at assert.c:92
  26. #10 0x00007f73b68d56f2 in __GI___assert_fail
  27. (assertion=assertion@entry=0x5579f59414a0 "cw->oldx != COMP_ORIGIN_INVALID", file=file@entry=0x5579f5941492 "compwindow.c", line=line@entry=492, function=function@entry=0x5579f59414e0 <__PRETTY_FUNCTION__.17910> "compCopyWindow") at assert.c:101
  28. #11 0x00005579f58425fa in compCopyWindow (pWin=0x5579f7dc8ab0, ptOldOrg=..., prgnSrc=0x5579f7bb2210) at compwindow.c:492
  29. #12 0x00005579f59078fd in miMoveWindow (pWin=0x5579f7dc8ab0, x=<optimized out>, y=<optimized out>, pNextSib=<optimized out>, kind=VTMove) at miwindow.c:293
  30. #13 0x00005579f58417ea in compMoveWindow (pWin=pWin@entry=0x5579f7dc8ab0, x=<optimized out>, y=y@entry=-7, pSib=pSib@entry=0x5579f7bc59c0, kind=kind@entry=2) at compwindow.c:391
  31. #14 0x00005579f57e6d34 in dixSaveScreens (client=<optimized out>, on=on@entry=0, mode=mode@entry=1) at window.c:3165
  32. #15 0x00005579f590c2eb in ScreenSaverTimeoutExpire (timer=<optimized out>, now=7679615, arg=<optimized out>) at WaitFor.c:471
  33. #16 0x00005579f590c550 in DoTimer (timer=0x5579f79203a0, now=now@entry=7679615) at WaitFor.c:276
  34. #17 0x00005579f590c5c8 in DoTimers (now=7679615) at WaitFor.c:290
  35. #18 0x00005579f590c857 in check_timers () at WaitFor.c:133
  36. #19 0x00005579f590c857 in WaitForSomething (are_ready=<optimized out>) at WaitFor.c:195
  37. #20 0x00005579f57b826c in Dispatch () at ../include/list.h:220
  38. #21 0x00005579f57bc466 in dix_main (argc=13, argv=0x7ffe79da3b78, envp=<optimized out>) at main.c:276
  39. #22 0x00007f73b68c7feb in __libc_start_main (main=0x5579f57a61e0 <main>, argc=13, argv=0x7ffe79da3b78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe79da3b68)
  40. at ../csu/libc-start.c:308
  41. #23 0x00005579f57a621a in _start () at ../sysdeps/x86_64/start.S:120
  42.  
  43. (gdb) print *pWin
  44. $3 = {drawable = {type = 0 '\000', class = 1 '\001', depth = 24 '\030', bitsPerPixel = 32 ' ', id = 1891, x = -6, y = -7, width = 3872, height = 1112, pScreen = 0x5579f7530480, serialNumber = 3911},
  45. devPrivates = 0x5579f7dc8b78, parent = 0x5579f7591a20, nextSib = 0x5579f7bc59c0, prevSib = 0x5579f7b2ed20, firstChild = 0x0, lastChild = 0x0, clipList = {extents = {x1 = -6, y1 = -7, x2 = 3866, y2 = 1105},
  46. data = 0x0}, borderClip = {extents = {x1 = -6, y1 = -7, x2 = 3866, y2 = 1105}, data = 0x0}, valdata = 0x5579f74f5a60, winSize = {extents = {x1 = -6, y1 = -7, x2 = 3866, y2 = 1105}, data = 0x0},
  47. borderSize = {extents = {x1 = -6, y1 = -7, x2 = 3866, y2 = 1105}, data = 0x0}, origin = {x = -6, y = -7}, borderWidth = 0, deliverableEvents = 3, eventMask = 0, background = {pixmap = 0xffffff,
  48. pixel = 16777215}, border = {pixmap = 0x0, pixel = 0}, optional = 0x5579f7cd38a0, backgroundState = 0, borderIsPixel = 1, cursorIsNone = 0, backingStore = 0, backStorage = 0, saveUnder = 0, bitGravity = 0,
  49. winGravity = 1, overrideRedirect = 1, visibility = 0, mapped = 1, realized = 1, viewable = 1, dontPropagate = 0, forcedBS = 0, redirectDraw = 2, forcedBG = 0, unhittable = 0, damagedDescendants = 0,
  50. inhibitBGPaint = 0}
  51. (gdb) print *cw
  52. $4 = {borderClip = {extents = {x1 = 0, y1 = 0, x2 = 0, y2 = 0}, data = 0x5579f59a6c60 <RegionEmptyData>}, damage = 0x5579f7dae7d0, damageRegistered = 0, damaged = 0, update = 1, clients = 0x5579f7dbbcd0,
  53. oldx = -2147483648, oldy = -2147483648, pOldPixmap = 0x0, borderClipX = -6, borderClipY = -7}
Add Comment
Please, Sign In to add comment