Hide Forgot
Description of problem: waiting for X server to shut down Backtrace: 0: /usr/bin/Xephyr (xorg_backtrace+0x3c) [0x81e62dc] 1: /usr/bin/Xephyr (0x8048000+0x1a17e6) [0x81e97e6] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xadf40c] Segmentation fault at address (nil) Fatal server error: Caught signal 11 (Segmentation fault). Server aborting Version-Release number of selected component (if applicable): xorg-x11-server-Xephyr-1.9.5-1.fc14.i686 Actual results: #0 0x00000000 in ?? () #1 0x080f281c in miPointerDeviceCleanup (pDev=0xa12a828, pScreen=0xa0b8240) at mipointer.c:285 #2 0x0807eac0 in CloseDevice (dev=0xa12a828) at devices.c:900 #3 0x0807f2d7 in CloseDownDevices () at devices.c:995 #4 0x081f3dd9 in AbortServer () at log.c:423 #5 0x081f3f1e in FatalError (f=0x820eb48 "Caught signal %d (%s). Server aborting\n") at log.c:552 #6 0x081e9840 in OsSigHandler (signo=11, sip=0xbfed74ec, unused=0xbfed756c) at osinit.c:156 #7 <signal handler called> #8 0x00000000 in ?? () #9 0x080f281c in miPointerDeviceCleanup (pDev=0xa12a828, pScreen=0xa0b8240) at mipointer.c:285 #10 0x0807eac0 in CloseDevice (dev=0xa12a828) at devices.c:900 #11 0x0807f2d7 in CloseDownDevices () at devices.c:995 #12 0x0807d4fd in main (argc=11, argv=0xbfed79f4, envp=0xbfed7a24) at main.c:316 (gdb) f 10 #10 0x0807eac0 in CloseDevice (dev=0xa12a828) at devices.c:900 900 screen->DeviceCursorCleanup(dev, screen); (gdb) p dev $1 = (struct _DeviceIntRec *) 0xa12a828 (gdb) p *dev $2 = {public = {devicePrivate = 0x0, processInputProc = 0x81c0f40 <ProcessPointerEvent>, realInputProc = 0x81c0f40 <ProcessPointerEvent>, enqueueInputProc = 0x8092bc0 <EnqueueEvent>, on = 0}, next = 0xa12ac00, startup = 1, deviceProc = 0x8080130 <CorePointerProc>, inited = 1, enabled = 1, coreEvents = 1, deviceGrab = {grabTime = {months = 0, milliseconds = 7656358}, fromPassiveGrab = 0, implicitGrab = 128, activeGrab = {next = 0x0, resource = 12582912, device = 0xa12a828, window = 0xa2cb948, ownerEvents = 0, keyboardMode = 1, pointerMode = 1, grabtype = GRABTYPE_CORE, type = 4 '\004', modifiersDetail = {exact = 0, pMask = 0x0}, modifierDevice = 0x0, detail = {exact = 0, pMask = 0x0}, confineTo = 0x0, cursor = 0x0, eventMask = 32860, deviceMask = 0, xi2mask = {"\000\000" <repeats 42 times>}}, grab = 0x0, activatingKey = 0 '\000', ActivateGrab = 0x809b0b0 <ActivatePointerGrab>, DeactivateGrab = 0x809b280 <DeactivatePointerGrab>, sync = {frozen = 0, state = 0, other = 0x0, event = 0x0}}, type = 1, xinput_type = 0, name = 0xa12abc8 "Virtual core pointer", id = 2, key = 0x0, valuator = 0xa248ca8, button = 0xa12b268, focus = 0x0, proximity = 0x0, absolute = 0x0, kbdfeed = 0x0, ptrfeed = 0xa12b840, intfeed = 0x0, stringfeed = 0x0, bell = 0x0, leds = 0x0, xkb_interest = 0x0, config_info = 0x0, unused_classes = 0xa12b000, saved_master_id = 0, devPrivates = 0xa12ab3c, unwrapProc = 0x81c72a0 <xkbUnwrapProc>, spriteInfo = 0xa12ab20, u = {master = 0x0, lastSlave = 0x0}, last = {valuators = {31, 450, 0 <repeats 34 times>}, remainder = { 0 <repeats 36 times>}, numValuators = 3, slave = 0x0}, properties = {properties = 0x0, handlers = 0x0}, transform = {m = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}}}, xtest_master_id = 0} (gdb) p screen $3 = (struct _Screen *) 0xa0b8240 (gdb) p *screen $4 = {myNum = 0, id = 0, x = 0, y = 0, width = 1056, height = 800, mmWidth = 358, mmHeight = 271, numDepths = 7, rootDepth = 24 '\030', allowedDepths = 0xa0b9030, rootVisual = 33, defColormap = 32, minInstalledCmaps = 1, maxInstalledCmaps = 1, backingStoreSupport = 2 '\002', saveUnderSupport = 0 '\000', whitePixel = 16777215, blackPixel = 0, GCperDepth = {0xa0d8c08, 0xa0d8c98, 0xa0d8d28, 0xa0d8db8, 0xa0d8e48, 0xa0d8ed8, 0xa0d8f68, 0xa0d8ff8, 0x0}, PixmapPerDepth = {0xa0d9088}, devPrivate = 0xa0d8b60, numVisuals = 64, visuals = 0xa0d7b10, root = 0x0, screensaver = {pWindow = 0x0, wid = 288, blanked = 0 '\000', ExternalScreenSaver = 0}, CloseScreen = 0x813c360 <glxCloseScreen>, QueryBestSize = 0x80cb1c0 <fbQueryBestSize>, SaveScreen = 0x80be180 <KdSaveScreen>, GetImage = 0x8195f20 <shadowGetImage>, GetSpans = 0x80d27d0 <fbGetSpans>, SourceValidate = 0, CreateWindow = 0x81e1130 <compCreateWindow>, DestroyWindow = 0x8195710 <damageDestroyWindow>, PositionWindow = 0x80cd840 <fbPositionWindow>, ChangeWindowAttributes = 0x81df060 <compChangeWindowAttributes>, RealizeWindow = 0x81e16f0 <compRealizeWindow>, UnrealizeWindow = 0x81e1620 <compUnrealizeWindow>, ValidateTree = 0x80f8f10 <miValidateTree>, PostValidateTree = 0, WindowExposures = 0x80c6570 <KdXVWindowExposures>, CopyWindow = 0x81e0710 <compCopyWindow>, ClearToBackground = 0x80fedb0 <miClearToBackground>, ClipNotify = 0x81e0400 <compClipNotify>, RestackWindow = 0, CreatePixmap = 0x80d4570 <fbCreatePixmap>, DestroyPixmap = 0x8113560 <ShmDestroyPixmap>, SaveDoomedAreas = 0, RestoreAreas = 0, ExposeCopy = 0, TranslateBackingStore = 0, ClearBackingStore = 0, DrawGuarantee = 0, BackingStoreFuncs = {SaveAreas = 0, RestoreAreas = 0, SetClipmaskRgn = 0, GetImagePixmap = 0, GetSpansPixmap = 0}, RealizeFont = 0x80cb1a0 <fbRealizeFont>, UnrealizeFont = 0x80cb1b0 <fbUnrealizeFont>, ConstrainCursor = 0x80f2ac0 <miPointerConstrainCursor>, CursorLimits = 0x818d570 <AnimCurCursorLimits>, DisplayCursor = 0x818d120 <AnimCurDisplayCursor>, RealizeCursor = 0x818cc90 <AnimCurRealizeCursor>, UnrealizeCursor = 0x818d2e0 <AnimCurUnrealizeCursor>, RecolorCursor = 0x818cd70 <AnimCurRecolorCursor>, SetCursorPosition = 0x818d6a0 <AnimCurSetCursorPosition>, CreateGC = 0x818fbb0 <damageCreateGC>, CreateColormap = 0x805e300 <ephyrCreateColormap>, DestroyColormap = 0x808ea00 <NoopDDA>, InstallColormap = 0x81df460 <compInstallColormap>, UninstallColormap = 0x80c8810 <KdUninstallColormap>, ListInstalledColormaps = 0x80c8930 <KdListInstalledColormaps>, StoreColors = 0x81814a0 <PictureStoreColors>, ResolveColor = 0x80c8bb0 <fbResolveColor>, BitmapToRegion = 0x80d4680 <fbPixmapToRegion>, SendGraphicsExpose = 0x80ee320 <miSendGraphicsExpose>, BlockHandler = 0x81df1a0 <compBlockHandler>, WakeupHandler = 0x80c3a20 <KdWakeupHandler>, blockData = 0x0, wakeupData = 0x0, devPrivates = 0xa0cc568, CreateScreenResources = 0x80be070 <KdCreateScreenResources>, ModifyPixmapHeader = 0x80f5710 <miModifyPixmapHeader>, GetWindowPixmap = 0x80cb350 <_fbGetWindowPixmap>, SetWindowPixmap = 0x81902e0 <damageSetWindowPixmap>, GetScreenPixmap = 0x80f58d0 <miGetScreenPixmap>, SetScreenPixmap = 0x80f58e0 <miSetScreenPixmap>, pScratchPixmap = 0xa2490f0, totalPixmapSize = 56, MarkWindow = 0x80fef00 <miMarkWindow>, MarkOverlappedWindows = 0x80fef70 <miMarkOverlappedWindows>, ChangeSaveUnder = 0, PostChangeSaveUnder = 0, ConfigNotify = 0x81e0160 <compConfigNotify>, MoveWindow = 0x81e1040 <compMoveWindow>, ResizeWindow = 0x81e0f40 <compResizeWindow>, GetLayerWindow = 0x8100040 <miGetLayerWindow>, HandleExposures = 0x80ff150 <miHandleValidateExposures>, ReparentWindow = 0x81e1480 <compReparentWindow>, SetShape = 0x8100050 <miSetShape>, ChangeBorderWidth = 0x81e0e80 <compChangeBorderWidth>, MarkUnrealizedWindow = 0x8100410 <miMarkUnrealizedWindow>, DeviceCursorInitialize = 0x80f2520 <miPointerDeviceInitialize>, DeviceCursorCleanup = 0x80f2780 <miPointerDeviceCleanup>}
(In reply to comment #0) > 0: /usr/bin/Xephyr (xorg_backtrace+0x3c) [0x81e62dc] /usr/src/debug/xorg-server-1.9.5/os/backtrace.c:46 void xorg_backtrace(void) { void *array[64]; const char *mod; int size, i; Dl_info info; ErrorF("\nBacktrace:\n"); size = backtrace(array, 64); >>>>>> for (i = 0; i < size; i++) { dladdr(array[i], &info); mod = (info.dli_fname && *info.dli_fname) ? info.dli_fname : "(vdso)"; if (info.dli_saddr) ErrorF("%d: %s (%s+0x%lx) [%p]\n", i, mod, info.dli_sname, (long unsigned int)((char *) array[i] - (char *) info.dli_saddr), array[i]); else ErrorF("%d: %s (%p+0x%lx) [%p]\n", i, mod, info.dli_fbase, (long unsigned int)((char *) array[i] - (char *) info.dli_fbase), array[i]); } } > 1: /usr/bin/Xephyr (0x8048000+0x1a17e6) [0x81e97e6] /usr/src/debug/xorg-server-1.9.5/os/osinit.c:142 static void OsSigHandler(int signo, siginfo_t *sip, void *unused) { #ifdef RTLD_DI_SETSIGNAL const char *dlerr = dlerror(); if (dlerr) { LogMessage(X_ERROR, "Dynamic loader error: %s\n", dlerr); } #endif /* RTLD_DI_SETSIGNAL */ if (OsSigWrapper != NULL) { if (OsSigWrapper(signo) == 0) { /* ddx handled signal and wants us to continue */ return; } } /* log, cleanup, and abort */ xorg_backtrace(); >>>>>>>>>>> if (sip->si_code == SI_USER) { ErrorF("Recieved signal %d sent by process %ld, uid %ld\n", signo, (long) sip->si_pid, (long) sip->si_uid); } else { switch (signo) { case SIGSEGV: case SIGBUS: case SIGILL: case SIGFPE: ErrorF("%s at address %p\n", strsignal(signo), sip->si_addr); } } FatalError("Caught signal %d (%s). Server aborting\n", signo, strsignal(signo)); } > 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xadf40c] > Segmentation fault at address (nil)
Moving to F15, this might still be valid. Peter, does this look familiar?
Have you been able to reproduce this with anything newer? F15 or F16 possibly? I vaguely remember fixing something related to the device shutdown path, but can't remember the exact commit.
(In reply to comment #3) > Have you been able to reproduce this with anything newer? F15 or F16 possibly? Yes, I can reproduce this on F15: Backtrace: 0: /usr/bin/Xephyr (xorg_backtrace+0x3c) [0x81d6a3c] 1: /usr/bin/Xephyr (0x8048000+0x191ec6) [0x81d9ec6] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb8640c] Segmentation fault at address (nil) Fatal server error: Caught signal 11 (Segmentation fault). Server aborting xorg-x11-server-Xephyr-1.10.4-2.fc15.i686
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping