Hello,
(Repeating a private email I sent on this very subject earlier today,
slightly edited.)
There are not many examples of this kind of crash in google but I found
one page which sounds relevant (from just a week ago!):
http://lists.macosforge.org/pipermail/xquartz-dev/2009-April/002250.html
Now the implication there is that it's all down to some new library being
used (for anti-aliased fonts) in Tk8.5, which is why people won't have
seen it until recent Analysis releases (since we used to use 8.3 and 8.4).
We use the function he mentions on that webpage, Tk_DrawChars, to draw
text for assignments in the spectrum windows.
One option is to turn this library (and so I assume font aliasing) off
(but note that that has to be done before compilation of Tk), and this is
not really very satisfactory because it would also affect the Analysis
menus. (And some people think that aliased fonts look good, although it
doesn't really do much for me.)
The chap on that page claims it only happens in a 1-bit deep pixmap and we
don't (explicitly) create any 1-bit deep pixmaps. We use a pixmap which
is supposed to be of the same depth as the screen, and I would have
thought that was 8-bit for all screens these days. So my guess is that
there is some other subtle bug to do with anti-aliased fonts that these
people haven't quite sorted out (or even discovered) yet. But the odds
are that it's some kind of memory trample and it's possible that it's the
Analysis code that is causing this, but I would have thought not since
it's only come up with Tk8.5 (I assume, anyway; if anyone has seen this
otherwise then let me know).
This function is only used in the Tk mode graphics. So in the OpenGL mode
there should not be a problem (except for the structure viewer and
molecule viewer, which both use Tk). But note that for Linux pre-compiled
releases the OpenGL mode is not enabled (but could be). (For OSX it is
enabled and I'd definitely recommend that people use it.)
Wayne
On Wed, 15 Apr 2009, Dr. Pryank Patel wrote:
>
> Hi all,
>
> I know other people have had this issue before with Analysis 2.0.5 and 2.0.6
> from looking at the email archives (Subject "X error"). I did not have this
> issue before, but I am experiencing this issue now, and has happened 3 times
> today:
>
> X Error of failed request: BadIDChoice (invalid resource ID chosen for this
> connection)
> Major opcode of failed request: 155 (RENDER)
> Minor opcode of failed request: 4 (RenderCreatePicture)
> Resource id in failed request: 0x3abd686
> Serial number of failed request: 36520783
> Current serial number in output stream: 36520795
>
>
> Any ideas? I am using the Tk graphics handler (I usually use openGL but am
> having problems with that as well). My OS is openSuse 11.1.
>
> When I use openGL, I frequently experience a total system freeze which
> requires me to restart my machine (I am using the latest graphics drivers).
>
> PS: is there any documentation on using the Backup system in Analysis? ie:
> how to load up a project from automated backup.
>
>
|