X frame initialization always fails, and nothing is printed before
throwing to top level. lisp backtrace:
make-font-instance("*-lucida*-bold-i-*-*-12-*-*-*-m-*-*-*" #<x-device on
"d-fens:0.0" 0x2355> t)
# bind (device name)
try-font-name("*-lucida*-bold-i-*-*-12-*-*-*-m-*-*-*" #<x-device on
"d-fens:0.0" 0x2355>)
# bind (device font)
x-make-font-bold-italic(#<font-instance
"*-lucida*-medium-r-*-*-12-*-*-*-m-*-*-*" on #<x-device on
"d-fens:0.0" 0x2355> 0x2800007 0x2362> #<x-device on
"d-fens:0.0" 0x2355>)
# bind (sp-inst tag-set inst-pair first-valid result func inst-list device sp)
frob-face-property-1(#<font-specifier global=((x) .
"*-lucida*-medium-r-*-*-12-*-*-*-m-*-*-*") 0x236b> #<x-device on
"d-fens:0.0" 0x2355> (((x) .
"*-lucida*-medium-r-*-*-12-*-*-*-m-*-*-*")) x-make-font-bold-italic)
# bind (device)
#<compiled-function (device) "...(13)" [func inst-list sp-arg device-tags
device device-matches-specifier-tag-set-p frob-face-property-1] 5>(#<x-device on
"d-fens:0.0" 0x2355>)
mapcar(#<compiled-function (device) "...(13)" [func inst-list sp-arg
device-tags device device-matches-specifier-tag-set-p frob-face-property-1] 5>
(#<stream-device on "stdio" 0x308> #<x-device on "d-fens:0.0"
0x2355>))
# bind (device func inst-list locale sp-arg)
#<compiled-function (sp-arg locale inst-list func) "...(49)" [sp-arg
device-tags new-result result locale device dfw-device device-matches-specifier-tag-set-p
frob-face-property-1 mapcar #<compiled-function ... "...(13)" ... 5>
device-list nil #<compiled-function ... "...(39)" ... 6>
add-spec-list-to-specifier inst-list func sp] 6>(#<font-specifier global=((x) .
"*-lucida*-medium-r-*-*-12-*-*-*-m-*-*-*") 0x236b> global (((x) .
"*-lucida*-medium-r-*-*-12-*-*-*-m-*-*-*")) x-make-font-bold-italic)
# bind (ms-this-spec ms-specs ms-result ms-maparg ms-locale ms-func ms-specifier)
map-specifier(#<font-specifier global=((x) .
"*-lucida*-medium-r-*-*-12-*-*-*-m-*-*-*") 0x236b> #<compiled-function
(sp-arg locale inst-list func) "...(49)" [sp-arg device-tags new-result result
locale device dfw-device device-matches-specifier-tag-set-p frob-face-property-1 mapcar
#<compiled-function ... "...(13)" ... 5> device-list nil
#<compiled-function ... "...(39)" ... 6> add-spec-list-to-specifier
inst-list func sp] 6> global x-make-font-bold-italic)
# bind (sp temp-sp tags locale device-tags func property face)
frob-face-property(bold-italic font x-make-font-bold-italic (x) global nil)
#<compiled-function nil "...(45)" [tags locale face featurep gtk
frob-face-property font gtk-make-font-bold-italic (gtk) x x-make-font-bold-italic (x)
mswindows mswindows-make-font-bold-italic (mswindows)] 7>()
# bind (inst domain change-it spec-list the-locale standard-face-mapping ws-thunk
tty-thunk frobbed-face unfrobbed-face tags locale face)
frob-face-font-2(bold-italic global nil default bold-italic #<compiled-function nil
"...(23)" [tags locale face featurep tty set-face-highlight-p t
set-face-underline-p] 6> #<compiled-function nil "...(45)" [tags locale
face featurep gtk frob-face-property font gtk-make-font-bold-italic (gtk) x
x-make-font-bold-italic (x) mswindows mswindows-make-font-bold-italic (mswindows)] 7>
(([default] . [italic]) ([bold] . [bold-italic]) ([italic] . [bold-italic]) ([bold-italic]
. t)))
# bind (tags locale face)
make-face-bold-italic(bold-italic global)
init-global-faces()
# (unwind-protect ...)
# (unwind-protect ...)
make-device(x nil)
# bind (display)
make-x-device(nil)
init-x-win()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (unwind-protect ...)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
gdb backtrace:
#0 0x8001986c in longjmp () from /usr/lib/libc.so.1
#1 0x80047938 in siglongjmp () from /usr/lib/libc.so.1
#2 0x080cad4a in Fthrow () at xemacs-21.4/src/eval.c:1400
#3 0x08203468 in x_IO_error_handler (disp=0x82e0804)
at xemacs-21.4/src/device-x.c:1155
#4 0x8030da72 in _XIOError () from /usr/lib/libX11.so
#5 0x8030ba4b in _XWaitForReadable () from /usr/lib/libX11.so
#6 0x8030bf0e in _XRead () from /usr/lib/libX11.so
#7 0x8030c520 in _XReply () from /usr/lib/libX11.so
#8 0x802f7bd0 in _XQueryFont () from /usr/lib/libX11.so
#9 0x802f7a34 in XLoadQueryFont () from /usr/lib/libX11.so
#10 0x0821f9a1 in x_initialize_font_instance (f=0x866ff00, name=140786964,
device=134502688, errb=
{really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42})
at xemacs-21.4/src/objects-x.c:373
`XLoadQueryFont' arg is "*-lucida*-bold-i-*-*-12-*-*-*-m-*-*-*", which
is unlikely to have been used by any previous version.
Installation:
uname -a: SCO_SV host 3.2 2 i386
../xemacs-21.4/configure '--compiler=gcc' '--cflags=-g -O99 -Wall -Wno-switch
-Wpointer-arith -Winline -Wmissing-prototypes -Wshadow' '--prefix=/usr'
'--debug' '--error-checking=all' '--external-widget'
'--with-socks'
XEmacs 21.4.6 "Common Lisp" configured for `i586-pc-sco3.2v5.0.2'.
Compilation / Installation:
Source code location: ../xemacs-21.4
Installation prefix: /usr
Operating system description file: `s/sco5.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O99 -Wall -Wno-switch -Wpointer-arith
-Winline -Wmissing-prototypes -Wshadow
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location:
- X Windows libraries location: /usr/lib
- Xau (X authority) not available.
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
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:
Databases:
Compiling in support for Berkeley database.
Compiling in support for DBM.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for SOCKS.
Compiling in support for dynamic shared object modules.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Show replies by date
It disappears when I rebuild xemacs without Berkeley database. It is
not an xemacs bug.
Somehow linking with shared `-ldb' breaks `select' from system libc.
`select' handles errors incorrectly. Kernel returns `EINTR' to
`select' function, but it does not get to `errno' upon `select'
return. This confuses `_XWaitForReadable' that calls `select'. See
gdb backtrace in <034e3c2b6b7864-gin(a)mo.msk.ru> for what happens
furher.