From maechler@stat.math.ethz.ch  Wed Apr 10 16:47:20 2002
From: maechler@stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Wed, 10 Apr 2002 17:47:20 +0200 (MET DST)
Subject: [Rd] Funny characters in x11 window title (PR#1451)
Message-ID: <200204101547.RAA10066@pubhealth.ku.dk>


>>>>> "DavidB" == David Brahm <brahm@alum.mit.edu> writes:

    DavidB> In R-1.5.0pre (2002-04-08) on Solaris 2.6, the
    DavidB> window that X11() creates has a title like:

    DavidB>	   R Graphics: Device 2 (ACTIVE)   o  iyeP )( y

    DavidB> except the funny characters at the end have umlauts
    DavidB> and other accents (i.e. extended ASCII characters),
    DavidB> and they may be different each time X11() is
    DavidB> invoked.  There is no loss of functionality; it just
    DavidB> looks a little ugly.

This made me look at our Solaris (2.5.1 + tons of patches)
version of   R-1.5.0pre (2002-04-09).

There, X11()  {or  "plot(1)"}  opens a window very quickly and
then ends in a segmentation fault (see below).

Our automatic checking (unfortunately ?) nowadays excludes all
interactive features, including non-file graphical devices...

Yes, this will be investigated!
 
Here is my story (does anyone have a suggestion to get rid of
		  GDB's warning get better track of R_X11.so ?)


 % R -d gdb

 GDB is free software and you are welcome to distribute copies of it
  under certain conditions; type "show copying" to see the conditions.
 There is absolutely no warranty for GDB; type "show warranty" for details.
 GDB 4.16 (sparc-sun-solaris2.5.1), 
 Copyright 1996 Free Software Foundation, Inc...
 (gdb) r --vanilla
 Starting program: /sfs/u/staff/maechler/R/D/r-devel/SunOS-inst/bin/R.bin --vanilla
 warning: Unable to find dynamic linker breakpoint function.
 warning: GDB will be unable to debug shared library initializers
 warning: and track explicitly loaded dynamic code.

 R : Copyright 2002, The R Development Core Team
 Version 1.5.0 Under development (unstable) (2002-04-09)

    <.....>

 > x11()

 Program received signal SIGSEGV, Segmentation fault.
 0xef4bbb2c in ?? ()
    from /sfs/u/staff/maechler/R/D/r-devel/SunOS-inst/modules/R_X11.so
 (gdb) bt
 #0  0xef4bbb2c in ?? ()
    from /sfs/u/staff/maechler/R/D/r-devel/SunOS-inst/modules/R_X11.so
 #1  0xef4bbb0c in ?? ()
    from /sfs/u/staff/maechler/R/D/r-devel/SunOS-inst/modules/R_X11.so
 #2  0xef4bd2a4 in ?? ()
    from /sfs/u/staff/maechler/R/D/r-devel/SunOS-inst/modules/R_X11.so
 #3  0x92340 in Rf_addDevice (dd=0xb4bae8) at ../../../R/src/main/graphics.c:5630
 #4  0xfe91c in Rf_addX11Device (display=0x21a600 "\b", width=7, height=7, 
     ps=12, gamma=1, colormodel=4, maxcubesize=256, canvascolor=16777215, 
     devname=0x19edd8 "X11", deviceDriverRoutine=0xef4bd938 <_end+135424>)
     at ../../../R/src/unix/devices.c:326
 #5  0xfe7e4 in do_X11 (call=0x19edd8, op=0x2173e8, args=0xffffff, env=0xb47f34)
     at ../../../R/src/unix/devices.c:289
 #6  0xa39ec in do_internal (call=0x1b949c, op=0x19edd8, args=0xb47e1c, 
     env=0xb47f34) at ../../../R/src/main/names.c:1020
 #7  0x7ba3c in Rf_eval (e=0x9f1fa0, rho=0xb47f34)
     at ../../../R/src/main/eval.c:404
 #8  0x7be2c in Rf_applyClosure (call=0xb390f4, op=0x9f1ec0, arglist=0x1f9ea0, 
     rho=0x21ab78, suppliedenv=0x1f9ea0) at ../../../R/src/main/eval.c:595
 #9  0x7b824 in Rf_eval (e=0xb390f4, rho=0x21ab78)
     at ../../../R/src/main/eval.c:439
 #10 0x968b8 in R_ReplConsole (rho=0x21ab78, savestack=0, browselevel=0)
     at ../../../R/src/main/main.c:187
 #11 0x970d0 in run_Rmainloop () at ../../../R/src/main/main.c:499
 #12 0xff1bc in main (ac=0, av=0xefffe79c) at ../../../R/src/unix/system.c:93
 (gdb) 


    DavidB> I saw this behavior in R-1.3.?, it disappeared (along with the whole window
    DavidB> title) in R-1.4.1, and now it's back in R-1.5.0pre.

    DavidB> -- David Brahm (brahm@alum.mit.edu)


    DavidB> --please do not edit the information below--

    DavidB> Version:
    DavidB> platform = sparc-sun-solaris2.6
    DavidB> arch = sparc
    DavidB> os = solaris2.6
    DavidB> system = sparc, solaris2.6
    DavidB> status = Under development (unstable)
    DavidB> major = 1
    DavidB> minor = 5.0
    DavidB> year = 2002
    DavidB> month = 04
    DavidB> day = 08
    DavidB> language = R


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Funny characters in x11 window title (PR#1451)
maechler@stat.math.ethz.ch