Public bug reported:

Binary package hint: xserver-xorg-core

I have uncovered a bug in the X server on both Gutsy and Hardy. I have
been able to reproduce the bug on two different machines using three
different drivers (nvidia, vesa, intel) and with two different software
packages. The problem appears related to drawing large numbers of very
small filled polygons. The fact that two different software packages
trigger the bug and that it occurs on different machines using different
video drivers suggests that the bug is deep in the X server code.

How to reproduce the crash:

Scenario 1:

1) wget http://www.keittlab.org/~tkeitt/melanesia.tgz -O- | tar zxvf -
2) qgis melanesia.shp     # qgis 0.9.2-rc2 from www.qgis.org

Note that qgis is not packaged for Hardy, but I was able to run it on
Gutsy (chrooted) and redirect the display to Hardy and was able to crash
the X server in Hardy.

Scenario 2:

1) wget http://www.keittlab.org/~tkeitt/melanesia.tgz -O- | tar zxvf -
2) R           # www.r-project.org

then in R (instruction below on setting up R)

> library(rgdal)
> x <- readOGR('melanesia.shp', 'melanesia')
> plot(x)   # OK! Polygons _not_ filled
> spplot(x)  # crash

This also crashes the X server. I cannot tell whether it is filling the
polygons or simply using color to display the polygons that triggers the
core dump.

Obviously it is rather difficult to debug the X server. I've tried
several approaches, but without much insight.

Setting up R:

1) apt-get install r-base-dev
2) R

in R

install.packages('rgdal', dep = T)

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Xorg crashes drawing complex geometries
https://bugs.launchpad.net/bugs/208899
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to