Bug 505823
| Summary: | xserver crash with gimp | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexey Kuznetsov <axet> | ||||||||||||||||
| Component: | xorg-x11-server | Assignee: | Adam Jackson <ajax> | ||||||||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | medium | Docs Contact: | |||||||||||||||||
| Priority: | low | ||||||||||||||||||
| Version: | rawhide | CC: | aquarichy, bugzilla, fedora, mcepl, r3dskull, vskcode, xgl-maint | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | All | ||||||||||||||||||
| OS: | Linux | ||||||||||||||||||
| Whiteboard: | |||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2009-07-04 19:49:58 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
can be related only to -intel driver Bug 505413 had this happen on radeonhd as well, so I don't think it's only intel specific. Created attachment 348050 [details]
X crash log when clicking in the Gimp
Here you are.
My system is this:
IBM Thinkpad X41t tablet
Fedora 11 (upgraded from Fedora 10, so not a fresh install)
Dual-head setup (with a minimally edited xorg.conf file, to be uploaded)
Video card data from lspci -vv:
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: IBM Device 0582
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at a0080000 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at 1800 [size=8]
Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at a0000000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: i915
Kernel modules: i915
Created attachment 348051 [details]
Xorg.conf
I generated this using Xorg -configure so I could spec the second monitor and have an extended display (instead of mirrored) for GDM.
OH! And I also do not have Desktop Effects enabled, if that matters.
If there's anything else I can do, please let me know.
i dont have desktop effects enabled *** Bug 505413 has been marked as a duplicate of this bug. *** Created attachment 348064 [details]
gdb backtrace from the gimp when crashing Xephyr
I've just run the Gimp in Xephyr and it crashes Xephyr as well. I got a backtrace for both the Gimp and for Xephyr. Here they are.
Er, my Xephyr backtrace actually kind of sucks: #0 0x00000000 in ?? () #1 0x0808ca9d in GrabDevice () #2 0x08192831 in ProcXGrabDevice () #3 0x0818f1c3 in ?? () #4 0x080adcd7 in Dispatch () #5 0x080936e5 in main () I'll try to do better. (gdb) bt
#0 0x00000000 in ?? ()
#1 0x0808ca9d in GrabDevice (client=0x929e6d0, dev=0x9290828, this_mode=1, other_mode=1, grabWindow=2097481,
ownerEvents=0, ctime=1960921, mask=264,
status=0xbfdfeff4 "\200>&\bH\360\337\277\256\242\21\b\204>&\b\30\360\337\277", coreGrab=0) at events.c:4692
#2 0x08192831 in ProcXGrabDevice (client=0x929e6d0) at grabdev.c:131
#3 0x0818f1c3 in ProcIDispatch (client=0xbfdfeea0) at extinit.c:349
#4 0x080adcd7 in Dispatch () at dispatch.c:437
#5 0x080936e5 in main (argc=2, argv=0xbfdff1c4, envp=0xbfdff1d0) at main.c:397
I didn't have rpm-devel installed anymore, apparently, so gdb couldn't tell me what packages I needed to debuginfo-install. Fixed that, so here we are from a second run.
Created attachment 348070 [details]
gdb session with a crashing Xephyr
Here's a session of mine in gdb with my Xephyr process, with a breakpoint in GrabDevice, which seems to be the function in which Xephyr crashes.
I'll note that it seems to crash on me at source line
|| 4692 (*grabInfo->ActivateGrab)(dev, &tempGrab, time, FALSE);
I'll note this source line
|| 4633 GrabInfoPtr grabInfo = &dev->deviceGrab;
where grabInfo is set. I cannot inspect it via gdb for some reason, though I can inspect &dev->deviceGrab
Anyway, running gdb again after the above log, I now note this:
|| (gdb) print *(&dev->deviceGrab)
|| $3 = {grabTime = {months = 0, milliseconds = 3120501}, fromPassiveGrab = 0, implicitGrab = 0, activeGrab = {next = 0x0, resource = 0, device = 0x0, window = 0x0, ownerEvents = 0, keyboardMode = 0, pointerMode = 0, coreGrab = 0, coreMods = 0, type = 0 '\0', modifiersDetail = {exact = 0, pMask = 0x0}, modifierDevice = 0x0, detail = {exact = 0, pMask = 0x0}, confineTo = 0x0, cursor = 0x0, eventMask = 0, deviceMask = 0, genericMasks = 0x0}, grab = 0x0, activatingKey = 0 '\0', ActivateGrab = 0, DeactivateGrab = 0, sync = {frozen = 0, state = 0, other = 0x0, event = 0x0, evcount = 0}}
So, yah,
+ grabInfo = &dev->deviceGrab
+ *grabInfo = *(&dev->deviceGrab)
++ has ActivateGrab as a member whose value = 0
+ grabInfo is (GrabInfoRec *) or GrabInfoPtr, so
++ *grabInfo is just GrabInfoRec
+ line 4692 tries to dereference a GrabInfoRec, via "(*grabInfo)", and then access ActivateGrab. This will fail!
|| (gdb) print *(&dev->deviceGrab)->ActivateGrab
|| Cannot access memory at address 0x0
I don't know if this adds much information but I encountered a similar crash with the nv and nouveau drivers on a nVidia G72 (GeForce 7300 SE). The workaround, as described in bug 489776, was to remove the xorg.conf file and let the X server use its default settings. I have changed the drivers from radeonhd to the radeon (xorg-x11-drv-ati) and have the same results. Composite is disabled and off-course Desktop Effects is also disabled. Created attachment 350017 [details]
Strace of Gimp process on click and crash
Created attachment 350018 [details]
xsession-erros on click and crash
Just upgraded gimp to version 2.6.6 from testing, same results X crash on click Should this be merged with bug 504300? Seems to the the same problem, or at least the same symptoms. (In reply to comment #16) > Should this be merged with bug 504300? Seems to the the same problem, or at > least the same symptoms. yes, looks so. Thanks for catching this. *** This bug has been marked as a duplicate of bug 504300 *** |
Created attachment 347802 [details] Xorg.0.log run gimp create new empty image select "Paintbruh" and make one click on image - sever crash :(((