gitk crashes entire X session

Bug #659473 reported by Alex Elder
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-nouveau (Ubuntu)
Invalid
Low
Unassigned

Bug Description

When I attempt to run the command "gitk" on another host, using my laptop
(now running Ubuntu 10.10) as the DISPLAY, my entire X session (i.e., my
whole session since logging in) dies and I'm sent back to the login screen.

My system is a Dell Latitude E6500
NVIDIA Quadro NVS 160M video
Ubuntu 10.10
Linux doink 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux

I am running with the built-in display (1920x1200) plus an external 1920x1200
display via one of the DVI connectors on a DELL EPort Plus docking station. A
little while ago I attempted the same thing without the second monitor attached
(and without the docking station) and the command showed me a window as I
expected.

This is a command I used routinely with the same hardware configuration
prior to the upgrade.

I can provide other information on request.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xserver-xorg-core 2:1.9.0-0ubuntu7
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia wl
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 260.19.06 Mon Sep 13 04:29:19 PDT 2010
 GCC version: gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
Architecture: amd64
CheckboxSubmission: 87f8f82de9b554317a8da9dc569ed633
CheckboxSystem: d00f84de8a555815fa1c4660280da308
Date: Tue Oct 12 14:55:24 2010
MachineType: Dell Inc. Latitude E6500
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: root=UUID=16529649-22c6-4655-bb91-ad7e4e43321b ro quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xorg-server
Xrandr:
 Error: command ['xrandr', '--verbose'] failed with exit code 1: Xlib: extension "RANDR" missing on display ":0.0".
 RandR extension missing
dmi.bios.date: 05/06/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A22
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA22:bd05/06/2010:svnDellInc.:pnLatitudeE6500:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude E6500
dmi.sys.vendor: Dell Inc.
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.35-22-generic

Revision history for this message
Alex Elder (elder-ieee) wrote :
Revision history for this message
Ian Will (icwill) wrote :

I'm experiencing the same behavior after upgrading to 10.10. I have a Dell Precision M4400, and am using an external display, rotated to portrait mode using Xinerama. I can run gitk in NVIDIA's twin view or when the external monitor is disabled.

I have an NVIDIA Quadro FX 1700M. It's running the NVIDIA Driver v. 260.19.06, Server version number 11.0, server vendor version 1.9.0, NV-CONTROL version 1.24. (I'm not sure if that means anything).

xxxxxxxxxxxxxxx:~$ cat /proc/driver/nvidia/cards/0
Model: Quadro FX 1700M
IRQ: 16
Video BIOS: 62.94.8f.00.04
Card Type: PCI-E
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:01.00.0

xxxxxxxxxxxxxxxxxxx:~$ cat /proc/driver/nvidia/registry
EnableVia4x: 0
EnableALiAGP: 0
NvAGP: 3
ReqAGPRate: 15
EnableAGPSBA: 0
EnableAGPFW: 0
Mobile: 4294967295
ResmanDebugLevel: 4294967295
RmLogonRC: 1
ModifyDeviceFiles: 1
DeviceFileUID: 0
DeviceFileGID: 0
DeviceFileMode: 438
RemapLimit: 0
UpdateMemoryTypes: 4294967295
UseVBios: 1
RMEdgeIntrCheck: 1
UsePageAttributeTable: 4294967295
EnableMSI: 0
MapRegistersEarly: 0
RegisterForACPIEvents: 1
RegistryDwords: ""

Revision history for this message
Ian Will (icwill) wrote :

p.s. gitk crashes x for me every time I run it. I'm not running from another host. I'm not using a docking station, just the native laptop display and a second external monitor with Xinerama.

Revision history for this message
Andy Fong (boringuy) wrote :

Same thing happens to me also after upgrading to 10.10 from 10.04.
Dell D820 with nvidia and external monitor + xinerama.

Here is some some observations:
- Disabling xinerama get rid of the crash.
- Interesting thing is that I installed "qgit" instead and it crashes the whole X also.
- I don't think git itself can crash X
- probably not a bug in tcl/tk or qt
- looks like a bug in xorg which crashes on certain drawing primitive used by both gitk and qgit.

Revision history for this message
Alex Elder (elder-ieee) wrote :

I can confirm that disabling xinerama eliminated the problem for
me as well.

Revision history for this message
Benoit Grégoire (benoitg) wrote :

I have the exact same problem, but with the latest nouveau driver. I am also using a docking station and two screens. Will run a few tests to narrow it down.

Revision history for this message
Benoit Grégoire (benoitg) wrote :

Ok, test results. Ran on Thinkpar T510 (Optimus graphics). BIOS config is either Integrated graphics (Intel) or Discrete (Nvidia). The nouveau open source driver is used for nvidia configurations. This is on latest natty.

BIOS; Dock config => Results
1- Integrated Graphics; In dock at boot, single screen => gitk works
2- Integrated Graphics; In dock at boot, two screens => gitk works
3- Discrete Graphics; In dock at boot, two screens => X crashes completely (back to login screen)
4- Discrete Graphics; In dock only after X starts, two screens configured with xrandr => X freezes (Image is frozen but cursor still follows mouse movements)
5- Discrete Graphics; In dock at boot, removed from dock after X starts, reconfigure to single screen with xrandr => X freezes (Image is frozen but cursor still follows mouse movements)

I've had similar symptoms at other times, but I only identified gitk as consistently triggering the bug.

In any event, this il definitely:
-Related to multi-screen configurations
-Doesn't occur on i965 driver
-Aparently common to both closed nvidia driver and open nouveau driver.

Revision history for this message
mokabar (tim-klingt) wrote :

similar issue here: gitk and git gui crash x after upgrading to natty

- nouveau with dual screen
- cannot test the nvidia driver (booting x causes a hard freeze)
- on maverick, the nvidia driver (with twinview) worked fine

Revision history for this message
mokabar (tim-klingt) wrote :

not sure, if it is related, but my dmesg output contains:

[ 6444.731629] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 160
[ 6444.731633] [drm:drm_edid_block_valid] *ERROR* Raw EDID:
[ 6444.731635] <3>1f ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 6444.731637] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 6444.731639] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 6444.731641] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 6444.731643] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 6444.731645] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 6444.731647] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 6444.731649] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 6444.731650]

Revision history for this message
Yvan Fournier (yvan-fournier) wrote :

Not sure this is the same bug or it overlaps, but I have the following behavior (SAMSUNQ Q45, NVIDIA driver 270.30):
- gitk crashes Compiz using "ubuntu" or "ubuntu-classic" desktop. Compiz seems to reload and recover, but gitk does not display.
- any other Tk program seems to crash in the same way (I tried a simple Tkinter example)
- things work well under KDE or "ubuntu-no effects" (Compiz disabled ?)

Revision history for this message
mokabar (tim-klingt) wrote :

on my machine, it also crashes, if desktop effects are disabled

Revision history for this message
mokabar (tim-klingt) wrote :

installing xserver-xorg-video-nouveau (1:0.0.16+git20110323.8378443b-0ubuntu0sarvatt) from the x-edgers ppa seems to solve the problem for me. can the fix please be backported?

Timo Aaltonen (tjaalton)
affects: xorg-server (Ubuntu) → xserver-xorg-video-nouveau (Ubuntu)
Revision history for this message
Benoit Grégoire (benoitg) wrote :

Ok, it seems for me it is fixed in mainline natty, probably by one of the two cherry-picked patches.

Revision history for this message
mkurz (matthias.kurz) wrote :

I have the same problem.
Running Ubuntu 11.04 (Natty) with the "ubuntu-classic" desktop (gnome) and the nouveau driver.

I also installed the xserver-xorg-video-nouveau (1:0.0.16+git20110323.8378443b-0ubuntu0sarvatt) from the x-edgers ppa but the Screen still crashes (Image is frozen but cursor still follows mouse movements).
I have to reboot the machine.

Any thoughts?

Revision history for this message
Patrick Carlson (firefly2442) wrote :

Same problem.

Ubuntu 11.04
ubuntu-classic with desktop effects (tried it in unity and had the same problem)

Dual monitor display using Radeon X1300 Pro PCI Express card. It has one of those Y splitter cables that outputs two dvi, one for each monitor.

Revision history for this message
penalvch (penalvch) wrote :

Alex Elder, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xserver-xorg-video-nouveau REPLACE-WITH-BUG-NUMBER

Please note, given that the information from the prior release is already available, doing this on a release prior to the development one would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xserver-xorg-video-nouveau (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Alex Elder (elder-ieee) wrote :

I'm sorry but I am no longer able to test for the problem that I
originally reported, I no longer have that system configuration.

I'm glad to see others were able to reproduce it, and appreciate
the attention that it's been paid to date.

Revision history for this message
penalvch (penalvch) wrote :

Alex Elder, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/659473/comments/21 regarding you no longer have the original system configuration. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.