[Rd] strange crashes caused by 'cairoDevice' and 'tcltk' dialogues

From: Liviu Andronic <landronimirc_at_gmail.com>
Date: Thu, 19 Nov 2009 12:22:05 +0000

Dear developers
I get some strange crashes when 'cairoDevice' and 'tcltk' are both loaded in the same R vanilla session.

When executing the following in that order require(relimp)
showData (iris)

I get a crash with the following message (see R-relimp-cairoDevice.txt): The program 'R' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'.   (Details: serial 2832 error_code 3 request_code 15 minor_code 0)   (Note to programmers: normally, X errors are reported asynchronously;    that is, you will receive the error a while after causing it.    To debug your program, run it with the --sync command line    option to change this behavior. You can then get a meaningful    backtrace from your debugger if you break on the gdk_x_error() function.)

When I inverse the order of calls, I no longer seem to get issues. (See R-cairoDevice-relimp.txt)
showData (iris)

Initially I got issues with 'playwith' and 'Rcmdr', but managed to pin down to 'cairoDevice' and 'tcltk' (although it could still be something else). At this point I'm stuck. I tried R -d gdb --vanilla

> require(relimp)

Loading required package: relimp
Loading Tcl/Tk interface ... [Thread debugging using libthread_db enabled] Cannot find new threads: generic error
(gdb) quit

I get the same error when trying to load Rcmdr in gdb.

Could someone point me to the right direction of investigating these crashes? Thank you

liviu_at_debian-liv:~$ uname -a
Linux debian-liv 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19 UTC 2009 x86_64 GNU/Linux
liviu_at_debian-liv:~$ cat /etc/apt/sources.list | grep cran2deb deb http://debian.cran.r-project.org/cran2deb/debian-amd64/ testing/
> sessionInfo()

R version 2.10.0 (2009-10-26)


 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8
 [5] LC_MONETARY=C              LC_MESSAGES=en_GB.UTF-8
 [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] relimp_1.0-1 cairoDevice_2.10

loaded via a namespace (and not attached): [1] tcltk_2.10.0

R-devel_at_r-project.org mailing list
Received on Thu 19 Nov 2009 - 12:28:25 GMT

This archive was generated by hypermail 2.2.0 : Thu 19 Nov 2009 - 19:00:34 GMT