Issue720

classification
Title [Bug: 21.5-b29] RenderBadPicture (invalid Picture parameter) on exit
Type defect Module core code 21.5
Severity inconvenience Platform N/A
Keywords Nosy List asjo
explanation
process
These controls should only be changed by committers and tracker administrators.
Status new   Reason
Superseder   Submitted 2010-07-07.00:15:50
Priority normal   Assigned To

Created on 2010-07-07.07:57:11 by asjo, last changed 2010-07-07.16:22:17 by stephen.

Messages
msg2184 [hidden] ([hidden]) Date: 2010-07-07.16:22:17
  Message-ID: <1278519737.46.0.715828788892.issue720@xemacs.org>
I'm pretty sure this is due to Jeff Sparkes' commit 5237:6466bc9ebf15 of
2010-07-02, which also causes Xft builds to break pretty badly in other
ways:

On my Gentoo Linux system, with Xft, this causes all Xft text to be
drawn in the initial frame.  New frames pop up, but they are blank, and
the text is drawn into the wrong frame.  Frame decorations that are
drawn with legacy Xlib (scrollbars, etc) are drawn in the right place. 
In fact, frame decorations drawn with Xft (buffers tab control) also
appear in the right frame, so I guess you didn't try to fix those? 
 
... and I've replicated the behavior on my G4 iBook, Mac OS X 10.4.11. 
 
To replicate from "xemacs -vanilla", type C-x 5 C-f ~/.xemacs/init.el
(or any other existing text file).
msg2183 [hidden] ([hidden]) Date: 2010-07-07.07:57:11
  Message-ID: <20100707001551.609DF23D1C2E1@topper.koldfront.dk>
================================================================
Dear Bug Team!

If I start XEmacs from an xterm and quit XEmacs, I get an X error
message:

 $ xemacs -vanilla
 X Error of failed request:  RenderBadPicture (invalid Picture parameter)
   Major opcode of failed request:  148 (RENDER)
   Minor opcode of failed request:  7 (RenderFreePicture)
     Picture id in failed request: 0xe0bf07
 Serial number of failed request:  2477
   Current serial number in output stream:  2504
 $ 

================================================================

System Info to help track down your bug:
---------------------------------------

uname -a: Linux topper 2.6.32-5-amd64 #1 SMP Tue Jun 1 04:34:03 UTC 2010 x86_64 GNU/Linux

./configure  '--with-gcc' '--with-xft=all' '--with-wmcommand' '--with-mail-locking=flock' '--with-sound=none,native' '--with-site-lisp' '--with-database=berkdb' '--with-statedir=/var/lib' '--infodir=/usr/share/info/xemacs21' '--with-infopath=/usr/share/info/xemacs21' '--prefix=/usr' '--with-dynamic' '--with-debug' '--with-error-checking=gc,malloc,types' '--with-cflags-debugging=-ggdb' '--with-memory-usage-stats' '--with-pop' '--with-pdump' '--with-system-malloc' '--with-menubars=lucid' '--with-scrollbars=lucid' '--with-dialogs=athena' '--docdir=/usr/lib/xemacs-snapshot/x86_64-linux-gnu/mule/' '--with-mule' '--with-canna=no' '--with-wnn=no' '--with-xim=xlib' '--with-package-path=~/.xemacs:~/.xemacs/packages:~/.xemacs/xemacs-packages::/usr/share/xemacs-snapshot/site-packages:/usr/share/xemacs-snapshot/mule-packages:/usr/share/xemacs-snapshot/xemacs-packages:/usr/share/xemacs21/site-packages:/usr/share/xemacs21/mule-packages:/usr/share/xemacs21/xemacs-packages' 'x86_64-linux-gnu
 ' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'target_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -g -Wall' 'LDFLAGS=' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'

XEmacs 21.5-b29 "garbanzo" 2cc24c69446c+ configured for `x86_64-pc-linux'.

Compilation Environment and Installation Defaults:
  Source code location:              /usr/src/xemacs/xemacs-snapshot-21.5
  Installation prefix:               /usr
  Not using any operating system description file
  Not using any machine description file
  Compiler version:                  gcc-4.4.real (Debian 4.4.4-6) 4.4.4
    - GCC specs file:                specs.
    - Compiler command:              x86_64-linux-gnu-gcc   -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement  -Wunused-parameter -ggdb  -g -O2 -g -Wall
  libc version:                      GNU libc 2.11.2-2 (Debian)
  Relocating allocator for buffers:  no
  GNU version of malloc:             no
    - User chose not to use GNU allocators.

Window System:
  Compiling in support for the X window system:
    - X Windows headers location:                 
    - X Windows libraries location:               
    - Handling WM_COMMAND properly.
    - Using fontconfig to manage fonts.
    - Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
  Compiling in support for the Athena widget set:
    - Athena headers location:                    X11/Xaw
    - Athena library to link:                     Xaw
  Using Lucid menubars.
    - Using Xft to render antialiased fonts in menubars.
      WARNING: This Xft feature will be replaced with a face.
  Using Lucid scrollbars.
  Using Athena dialog boxes.
  Using Athena native widgets.
    - Using Xft to render antialiased fonts in tab controls.
      WARNING: This Xft feature will be replaced with a face.
    - Using Xft to render antialiased fonts in progress bars.
      WARNING: This Xft feature will be replaced with a face.
      WARNING: This Xft feature not yet implemented; setting ignored.

TTY:
  Compiling in support for ncurses.
  Compiling in support for GPM (General Purpose Mouse).

Images:
  Compiling in support for GIF images.
  Compiling in support for XPM  images.
  Compiling in support for PNG  images.
  Compiling in support for JPEG images.
  Compiling in support for TIFF images.
  Compiling in support for X-Face message headers.

Sound:
  Compiling in support for sound (native).

Databases:
  Compiling in support for Berkeley database.
  Compiling in support for LDAP.

Internationalization:
  Compiling in support for Mule (multi-lingual Emacs).
  Compiling in support for XIM (X11R5+ I18N input method).
    - Using raw Xlib to provide XIM support.

Mail:
  Compiling in support for POP mail retrieval.
  Compiling in support for "flock" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for dynamic shared object modules.
  Using the new GC mark algorithms (KKCC).
  WARNING: ---------------------------------------------------------
  WARNING: The new algorithms are experimental. They are enabled by
  WARNING: default for this release. Use `--disable-kkcc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Using the new portable dumper.
  Dumping into executable.
  Compiling in support for extra debugging code.
  Compiling in support for runtime error checking.
  WARNING: ---------------------------------------------------------
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------

Load-Path Lisp Shadows:
----------------------
(/usr/share/xemacs-snapshot/site-packages/lisp/debian-rundir
/usr/share/xemacs21/site-packages/lisp/debian-rundir
/usr/share/xemacs-snapshot/site-packages/lisp/site-start
/usr/share/xemacs21/site-packages/lisp/site-start
/usr/share/xemacs21/xemacs-packages/lisp/cedet-common/working
/usr/share/xemacs21/xemacs-packages/lisp/semantic/working
/usr/share/xemacs21/xemacs-packages/lisp/cedet-common/sformat
/usr/share/xemacs21/xemacs-packages/lisp/semantic/sformat
/usr/share/xemacs21/mule-packages/lisp/mule-base/ethio-util
/usr/share/xemacs-21.5-b29/lisp/mule/ethio-util
/usr/share/xemacs21/mule-packages/lisp/mule-base/japan-util
/usr/share/xemacs-21.5-b29/lisp/mule/japan-util
/usr/share/xemacs21/mule-packages/lisp/mule-base/korea-util
/usr/share/xemacs-21.5-b29/lisp/mule/korea-util
/usr/share/xemacs21/mule-packages/lisp/mule-base/china-util
/usr/share/xemacs-21.5-b29/lisp/mule/china-util
/usr/share/xemacs21/mule-packages/lisp/mule-base/viet-util
/usr/share/xemacs-21.5-b29/lisp/mule/viet-util
/usr/share/xemacs21/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/share/xemacs-21.5-b29/lisp/regexp-opt
/usr/share/xemacs21/xemacs-packages/lisp/build/build-report
/usr/share/xemacs-21.5-b29/lisp/build-report
/usr/share/xemacs21/mule-packages/lisp/mule-ucs/unicode
/usr/share/xemacs-21.5-b29/lisp/unicode
/usr/share/xemacs21/xemacs-packages/lisp/xemacs-base/easy-mmode
/usr/share/xemacs-21.5-b29/lisp/easy-mmode)

Internationalization Settings:
-------------------------

Environment:

  Value of LC_ALL      : nil
  Value of LC_COLLATE  : C
  Value of LC_CTYPE    : da_DK.UTF-8
  Value of LC_MESSAGES : en_GB.UTF-8
  Value of LC_MONETARY : nil
  Value of LC_NUMERIC  : en_GB.UTF-8
  Value of LC_TIME     : en_GB.UTF-8
  Value of LANG        : en_DK.UTF-8

Lisp locale settings:

  current-language-environment      => "Danish (UTF-8)"
  default-buffer-file-coding-system => utf-8
  default-process-coding-system     => (undecided . utf-8)
  (current-locale)                  => "da_DK.UTF-8"
  keyboard-coding-system            => utf-8
  terminal-coding-system            => utf-8
  (coding-priority-list)            =>
    (utf-8 iso-8-1 utf-16-little-endian-bom utf-16-bom utf-8-bom iso-7
    no-conversion iso-8-2 iso-8-designate iso-lock-shift shift-jis
    big5 utf-16-little-endian utf-16 ucs-4)

Coding system aliases:

  'native                              is aliased to utf-8
  'file-name                           is aliased to utf-8
  'mswindows-multibyte-system-default  is not a coding system alias

Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.16 upstream: 2.112)
(xwem ver: 1.22 upstream: lg@xwem.org--2005/xwem--main--2.1--versionfix-1)
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.14 upstream: lg@xwem.org--2005/xlib--main--2.1--version-0)
(xetla ver: 1.02 upstream: steve@eicq.org--2005/xetla--main--1.1--version-0)
(xemacs-devel ver: 1.79 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.19 upstream: No-Upstream-Ver)
(x-symbol ver: 1.11 upstream: 4.5.1)
(w3 ver: 1.35 upstream: 4.0pre47)
(vm ver: 8.07 upstream: 8.0.12-devo)
(viper ver: 1.65 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.22 upstream: 3.33.12)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.45 upstream: No-Upstream-Ver)
(tramp ver: 1.4 upstream: 2.0.56)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.39 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.96 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.29 upstream: 1.0pre4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.12 upstream: 3.9.5)
(slider ver: 1.16 upstream: 0.3x1)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.24 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.21 upstream: 2.0pre4)
(scheme ver: 1.17 upstream: No-Upstream-Ver)
(sasl ver: 1.16 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.23 upstream: 3.1.2)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.13 upstream: 5.0.0)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.45 upstream: 1.3.2)
(ps-print ver: 1.12 upstream: 6.5.6)
(prog-modes ver: 2.19 upstream: No-Upstream-Ver)
(pgg ver: 1.07 upstream: 0.1)
(perl-modes ver: 1.14 upstream: No-Upstream-Ver)
(pcomplete ver: 1.05 upstream: 1.1.6)
(pcl-cvs ver: 1.68 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.41 upstream: No-Upstream-Ver)
(oo-browser ver: 1.05 upstream: 4.08)
(ocaml ver: 0.06 upstream: 3.06)
(net-utils ver: 1.56 upstream: N/A)
(mmm-mode ver: 1.03 upstream: 0.4.8)
(misc-games ver: 1.22 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.31 upstream: 7.4.2)
(mew ver: 1.19 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.8 upstream: No-Upstream-Ver)
(jde ver: 1.52 upstream: 2.3.5.1)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.34 upstream: 5.12.0)
(igrep ver: 1.16 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.17 upstream: 5.0)
(hm--html-menus ver: 1.24 upstream: 5.9)
(haskell-mode ver: 1.11 upstream: 2.1)
(guided-tour ver: 0.52 upstream: No-Upstream-Ver)
(gnus ver: 1.93 upstream: 5.10.8)
(gnats ver: 1.17 upstream: 3.101)
(general-docs ver: 1.05 upstream: No-Upstream-Ver)
(games ver: 1.18 upstream: 1.04)
(fsf-compat ver: 1.17 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.4 upstream: 1.32)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.17 upstream: 0fc80a3f6bb3bb59f42e9ff83cc8b89bf90fe658)
(escreen ver: 1.01 upstream: 1.16)
(erc ver: 0.22 upstream: Version 5.1.2 Revision: 1.796.2.6)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.13 upstream: 1.0)
(eieio ver: 1.06 upstream: 1.0pre4)
(efs ver: 1.34 upstream: 1.24)
(edt ver: 1.14 upstream: No-Upstream-Ver)
(edit-utils ver: 2.4 upstream: No-Upstream-Ver)
(ediff ver: 1.77 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ede ver: 1.01 upstream: 1.0pre4)
(ecrypto ver: 0.21 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(easypg ver: 1.02 upstream: 0.0.16)
(docbookide ver: 0.08 upstream: 0.1)
(dired ver: 1.19 upstream: 7.16)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(crisp ver: 1.15 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(cogre ver: 1.02 upstream: 0.5)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cedet-common ver: 1.01 upstream: 1.0pre4)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.38 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.32 upstream: 2.35)
(auctex ver: 1.51 upstream: 11.84)
(apel ver: 1.33 upstream: 10.6)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)
(skk ver: 1.24 upstream: 10.62a)
(mule-ucs ver: 1.17 upstream: 0.84)
(mule-base ver: 1.53 upstream: No-Upstream-Ver)
(lookup ver: 1.15 upstream: 1.0)
(locale ver: 1.28 upstream: No-Upstream-Ver)
(leim ver: 1.28 upstream: No-Upstream-Ver)
(latin-unity ver: 1.2 upstream: 1.20)
(latin-euro-standards ver: 1.08 upstream: 1.08)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.16 upstream: 0.9.9)

Installed Modules:
-----------------

Features:
--------

(mail-abbrevs xemacsbug shadow sendmail rfc822 guided-tour
zenirc-autoloads xwem-autoloads xslt-process-autoloads
xslide-autoloads xlib-autoloads xetla-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads
tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads riece-autoloads
reftex-autoloads re-builder-autoloads python-modes-autoloads
psgml-dtds-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads jde-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
ibuffer-autoloads hyperbole-autoloads hm--html-menus-autoloads
haskell-mode-autoloads guided-tour-autoloads gnus-autoloads
gnats-autoloads general-docs-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads escreen-autoloads erc-autoloads emerge-autoloads
elib-autoloads eieio-autoloads efs-autoloads edt-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads ede-autoloads
ecrypto-autoloads ecb-autoloads easypg-autoloads docbookide-autoloads
dired-autoloads dictionary-autoloads debug-autoloads crisp-autoloads
cookie-autoloads cogre-autoloads clearcase-autoloads
cedet-common-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
tex-site auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads
skk-autoloads mule-ucs-autoloads mule-base-autoloads lookup-autoloads
locale-autoloads leim-autoloads latin-unity-autoloads
latin-euro-standards-autoloads egg-its-autoloads edict-autoloads
modules-autoloads mule-autoloads auto-autoloads auto-show fontl-hooks
canna-leim tibetan slovenian czech romanian lao devanagari indian
cyrillic code-cmds gutter-items menubar-items x-menubar mode-motion
mouse behavior itimer auto-save lisp-mode easymenu easy-mmode
iso8859-1 page buff-menu lib-complete loadhist cus-file derived
newcomment rsz-minibuf env text-props fontconfig frame obsolete
cus-start custom widget cl-extra cl cl-19 packages backquote unicode
font-mgr lucid-scrollbars cut-buffer xft-fonts lucid-menubars
athena-dialogs x c-balloon-help tty-frames tty toolbar native-sound
scrollbar unix-processes multicast network-streams subprocesses
modules menu-accelerator-support menubar berkeley-db md5 xemacs xim
mule gutter tiff png gif jpeg xface xpm xbm lisp-float-type
file-coding linux dialog devices debug-xemacs window-system base64)

Recent keystrokes:
-----------------

M-x x e m TAB b u TAB BS BS r TAB TAB TAB BS BS BS 
BS BS BS BS BS BS r e TAB p TAB o TAB r TAB x e TAB 
RET

Recent messages (most recent first):
-----------------------------------

Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Making completion list...
Making completion list...
Loading guided-tour...done
Loading guided-tour...

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta@calypso.tux.org
http://calypso.tux.org/mailman/listinfo/xemacs-beta
History
Date User Action Args
2010-07-07 16:22:17stephensetstatus: new
severity: inconvenience
messages: + msg2184
module: + core code 21.5
priority: normal
platform: + N/A
type: defect
2010-07-07 07:57:12asjocreate