================================================================
Dear Bug Team!
When I try and select a C function by typing ^SPACE to mark the
beginning and meta-W at the end, xemacs locks up and does not
recover. If I kill xemacs I get the following output:
Lisp backtrace follows:
own-selection-internal(CLIPBOARD "int ipnx_wait_for_tcp_connection()\n{\n int
new_sock;\n struct sockaddr_in addr;\n int addr_len =
sizeof(struct sockaddr);\n static int on = 1;\n static int off = 0;\n char
a_ip_addr[INET_ADDR_LEN];\n\n if (!ipnx_xsendx_socket_valid) {\n
printdbg(\"ipnx_wait_for_tcp_connection: server socket \"\n \"not
initialized\\n\");\n return FAILURE;\n }\n\n new_sock =
accept(ipnx_xsendx_socket, &addr, &addr_len);\n if (new_sock < 0) {\n
printdbg(\"ipnx_wait_for_tcp_connection: cannot accept new connection\\n\");\n
return FAILURE;\n }\n\n /* Turn on keepalive */\n setsockopt(new_sock,
SOL_SOCKET, SO_KEEPALIVE, (char *)&on, sizeof(on));\n\n /* Turn offdelays */\n
setsockopt(new_sock, IPPROTO_TCP, TCP_NODELAY, (char *)&on, sizeof(on));\n\n /*
Make close respond immediately */\n setsockopt(new_sock, SOL_SOCKET, SO_LINGER, (char
*)&off, sizeof(of!
f));\n\n memset(a_ip_addr, 0, sizeof(a_ip_addr));\n\n inet_ntoa_b(addr.sin_addr,
a_ip_addr);\n\n memset(&ipnx_remote_socket, 0, \n
sizeof(ipnx_msg_socket_info_t));\n ipnx_remote_socket.socket = new_sock;\n
ipnx_remote_socket.enabled=1;\n ipnx_remote_socket.up=1;\n\n
printdbg(\"ipnx_wait_for_tcp_connection: accepted connection from %s\\n\",\n
a_ip_addr);\n\n return SUCCESS;\n}\n" nil nil)
# bind (zmacs-region-stays data-type how-to-add type data)
own-selection("int ipnx_wait_for_tcp_connection()\n{\n int new_sock;\n
struct sockaddr_in addr;\n int addr_len = sizeof(struct sockaddr);\n
static int on = 1;\n static int off = 0;\n char
a_ip_addr[INET_ADDR_LEN];\n\n if (!ipnx_xsendx_socket_valid) {\n
printdbg(\"ipnx_wait_for_tcp_connection: server socket \"\n
\"not initialized\\n\");\n return FAILURE;\n }\n\n new_sock =
accept(ipnx_xsendx_socket, &addr, &addr_len);\n if (new_sock < 0) {\n
printdbg(\"ipnx_wait_for_tcp_connection: cannot accept new connection\\n\");\n
return FAILURE;\n }\n\n /* Turn on keepalive */\n setsockopt(new_sock,
SOL_SOCKET, SO_KEEPALIVE, (char *)&on, sizeof(on));\n\n /* Turn off delays */\n
setsockopt(new_sock, IPPROTO_TCP, TCP_NODELAY, (char *)&on, sizeof(on));\n\n /*
Make close respond immediately */\n setsockopt(new_sock, SOL_SOCKET, SO_LINGER, (char
*)&off, sizeof(off));!
\n\n memset(a_ip_addr, 0, sizeof(a_ip_addr));\n\n inet_ntoa_b(addr.sin_addr,
a_ip_addr);\n\n memset(&ipnx_remote_socket, 0, \n
sizeof(ipnx_msg_socket_info_t));\n ipnx_remote_socket.socket = new_sock;\n
ipnx_remote_socket.enabled=1;\n ipnx_remote_socket.up=1;\n\n
printdbg(\"ipnx_wait_for_tcp_connection: accepted connection from %s\\n\",\n
a_ip_addr);\n\n return SUCCESS;\n}\n" CLIPBOARD)
# bind (push string)
own-clipboard("int ipnx_wait_for_tcp_connection()\n{\n int new_sock;\n
struct sockaddr_in addr;\n int addr_len = sizeof(struct sockaddr);\n
static int on = 1;\n static int off = 0;\n char
a_ip_addr[INET_ADDR_LEN];\n\n if (!ipnx_xsendx_socket_valid) {\n
printdbg(\"ipnx_wait_for_tcp_connection: server socket \"\n
\"not initialized\\n\");\n return FAILURE;\n }\n\n new_sock =
accept(ipnx_xsendx_socket, &addr, &addr_len);\n if (new_sock < 0) {\n
printdbg(\"ipnx_wait_for_tcp_connection: cannot accept new connection\\n\");\n
return FAILURE;\n }\n\n /* Turn on keepalive */\n setsockopt(new_sock,
SOL_SOCKET, SO_KEEPALIVE, (char *)&on, sizeof(on));\n\n /* Turn off delays */\n
setsockopt(new_sock, IPPROTO_TCP, TCP_NODELAY, (char *)&on, sizeof(on));\n\n /*
Make close respond immediately */\n setsockopt(new_sock, SOL_SOCKET, SO_LINGER, (char
*)&off, sizeof(off));!
\n\n memset(a_ip_addr, 0, sizeof(a_ip_addr));\n\n inet_ntoa_b(addr.sin_addr,
a_ip_addr);\n\n memset(&ipnx_remote_socket, 0, \n
sizeof(ipnx_msg_socket_info_t));\n ipnx_remote_socket.socket = new_sock;\n
ipnx_remote_socket.enabled=1;\n ipnx_remote_socket.up=1;\n\n
printdbg(\"ipnx_wait_for_tcp_connection: accepted connection from %s\\n\",\n
a_ip_addr);\n\n return SUCCESS;\n}\n" t)
# bind (replace string)
kill-new("int ipnx_wait_for_tcp_connection()\n{\n int new_sock;\n
struct sockaddr_in addr;\n int addr_len = sizeof(struct sockaddr);\n
static int on = 1;\n static int off = 0;\n char
a_ip_addr[INET_ADDR_LEN];\n\n if (!ipnx_xsendx_socket_valid) {\n
printdbg(\"ipnx_wait_for_tcp_connection: server socket \"\n
\"not initialized\\n\");\n return FAILURE;\n }\n\n new_sock =
accept(ipnx_xsendx_socket, &addr, &addr_len);\n if (new_sock < 0) {\n
printdbg(\"ipnx_wait_for_tcp_connection: cannot accept new connection\\n\");\n
return FAILURE;\n }\n\n /* Turn on keepalive */\n setsockopt(new_sock,
SOL_SOCKET, SO_KEEPALIVE, (char *)&on, sizeof(on));\n\n /* Turn off delays */\n
setsockopt(new_sock, IPPROTO_TCP, TCP_NODELAY, (char *)&on, sizeof(on));\n\n /*
Make close respond immediately */\n setsockopt(new_sock, SOL_SOCKET, SO_LINGER, (char
*)&off, sizeof(off));\n\n !
memset(a_ip_addr, 0, sizeof(a_ip_addr));\n\ninet_ntoa_b(addr.sin_addr, a_ip_addr);\n\n
memset(&ipnx_remote_socket, 0, \n sizeof(ipnx_msg_socket_info_t));\n
ipnx_remote_socket.socket = new_sock;\n ipnx_remote_socket.enabled=1;\n
ipnx_remote_socket.up=1;\n\n printdbg(\"ipnx_wait_for_tcp_connection: accepted
connection from %s\\n\",\n a_ip_addr);\n\n return SUCCESS;\n}\n")
# bind (end start)
copy-region-as-kill(7839 9177)
# bind (end start)
kill-ring-save(7839 9177)
# bind (command-debug-status)
call-interactively(kill-ring-save)
# (condition-case ... . error)
# (catch top-level ...)
This problem happens every time I repeat this operation. All
installed packages are up to date as of today.
-Aaron
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS starbug 5.8 Generic_108528-22 sun4u sparc SUNW,Sun-Blade-100
./configure '--site-prefixes=/tools/freeware/gnusupport:/tools/freeware/gcc3.4'
'--site-runtime-libraries=/tools/freeware/gnusupport/lib:/tools/freeware/gcc3.4/lib'
'--with-gcc' '--prefix=/tools/freeware/xemacs' '--with-athena=xpm'
'--with-xpm' '--with-sparcworks' '--with-cde'
'--with-sound=native' '--with-widgets=lucid' '--without-dragndrop'
'--with-gif=no' '--without-tiff' '--without-xface'
'--without-gpm' '--without-postgresql' '--without-ldap'
'--with-site-lisp=yes' '--with-site-modules=yes'
XEmacs 21.4.16 "Corporate Culture" configured for `sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /tools/freeware/xemacs/archive/xemacs-21.4.16
Installation prefix: /tools/freeware/xemacs
Additional prefixes: /tools/freeware/gnusupport /tools/freeware/gcc3.4
Runtime library search path:
/tools/freeware/gnusupport/lib:/tools/freeware/gcc3.4/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -O2 -g
Compiler version: gcc (GCC) 3.4.3
Compiler specs file:
/tools/freeware/gcc3.4/lib/gcc/sparc-sun-solaris2.8/3.4.3/specs
Relocating allocator for buffers: yes
GNU version of malloc: yes
Linking with `-z nocombreloc'.
- Consider configuring with --pdump.
libc: SUNWcsl 11.8.0,REV=2000.01.08.18.12
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/openwin/include
- X Windows libraries location: /usr/openwin/lib
- Handling WM_COMMAND properly.
Compiling in support for Motif.
*WARNING* Many versions of Motif are buggy, requiring workarounds.
You are likely to experience slow redisplay.
You may need to install vendor patches to Motif.
See PROBLEMS for more information.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for XPM images.
WARNING: -----------------------------------------------------------
WARNING: Compiling without PNG image support.
Reason: PNG library version and header file don't match!
WARNING: You should strongly consider installing the PNG libraries.
WARNING: Otherwise certain images and glyphs may not display.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
Compiling in support for JPEG images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for GNU 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 ToolTalk.
Compiling in support for Sun WorkShop.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/tools/freeware/xemacs/lib/xemacs/xemacs-packages/lisp/build/build-report
/tools/freeware/xemacs/lib/xemacs-21.4.16/lisp/build-report)
Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.15 upstream: 2.112)
(xwem ver: 1.19 upstream: lg(a)xwem.org--2004/xwem--main--2.0--version-0)
(xslt-process ver: 1.11 upstream: regular)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.13 upstream: lg(a)xwem.org--2004/xlib--main--2.0--version-0)
(xemacs-devel ver: 1.7 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.94 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.3 upstream: 4.0pre47)
(vm ver: 7.18 upstream: 7.17)
(viper ver: 1.37 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.19 upstream: 3.32.20)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.4 upstream: No-Upstream-Ver)
(tramp ver: 1.22 upstream: 2.0.47)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.37 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.82 upstream: No-Upstream-Ver)
(texinfo ver: 1.28 upstream: No-Upstream-Ver)
(supercite ver: 1.2 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.27 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.11 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.17 upstream: No-Upstream-Ver)
(sh-script ver: 1.18 upstream: 2.0e)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.19 upstream: 1.4.2)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.15 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.17 upstream: 1.0.6)
(reftex ver: 1.34 upstream: 4.21)
(python-modes ver: 1.06 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.43 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.01 upstream: No-Upstream-Ver)
(pgg ver: 1.05 upstream: 0.1)
(perl-modes ver: 1.06 upstream: No-Upstream-Ver)
(pcomplete ver: 1.03 upstream: 1.1.6)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.26 upstream: No-Upstream-Ver)
(os-utils ver: 1.35 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.44 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.28 upstream: 7.4.2)
(mew ver: 1.18 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.7 upstream: No-Upstream-Ver)
(liece ver: 1.13 upstream: 1.4.9)
(jde ver: 1.46 upstream: regular)
(ispell ver: 1.29 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.13 upstream: 2.111)
(idlwave ver: 1.31 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.07 upstream: 1.45)
(gnus ver: 1.82 upstream: 5.10.6)
(gnats ver: 1.16 upstream: 3.101)
(general-docs ver: 1.03 upstream: No-Upstream-Ver)
(games ver: 1.15 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.04 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.15 upstream: No-Upstream-Ver)
(ess ver: 1.12 upstream: 5.2.3)
(eshell ver: 1.08 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(erc ver: 0.12 upstream: Version 4.0 Revision: 1.675)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.19 upstream: No-Upstream-Ver)
(ediff ver: 1.5 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.19 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.16 upstream: 7.12)
(dictionary ver: 1.15 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.14 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.09 upstream: /main/laptop/156)
(cc-mode ver: 1.43 upstream: 5.30.9)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.2 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.25 upstream: 2.34)
(auctex ver: 1.42 upstream: 11.53)
(apel ver: 1.27 upstream: 10.2)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)
Installed Modules:
-----------------
Features:
--------
(view-less view ehelp electric mail-abbrevs xemacsbug shadow sendmail
rfc822 cc-mode cc-fonts cc-menus cc-cmds efs-cu cc-styles cc-align
cc-engine cc-vars cc-defs regexp-opt func-menu crypt crypt++ paren
blink-paren font-lock ediff-merg ediff-diff ediff-tbar ediff-wind
ediff-help ediff-util ediff-mult ediff-init cus-face ediff vc ring
vc-hooks tq timer zenirc-autoloads xwem-autoloads
xslt-process-autoloads xslide-autoloads xlib-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
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 liece-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads ibuffer-autoloads
hyperbole-autoloads hm--html-menus-autoloads haskell-mode-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
ess-autoloads eshell-autoloads escreen-autoloads erc-autoloads
emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads docbookide-autoloads dired-autoloads
dictionary-autoloads debug-autoloads crisp-autoloads cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads
lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 gutter-items
menubar-items x-menubar mode-motion mouse itimer auto-save lisp-mode
easymenu iso8859-1 page buff-menu lib-complete help-nomule cus-file
derived frame text-props obsolete cus-start custom widget cl-extra
mini-cl cl cl-19 packages backquote very-early-lisp sparcworks
tooltalk lucid-scrollbars cut-buffer lucid-menubars motif-dialogs x
c-balloon-help tty-frames tty toolbar native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar dbm md5 xemacs gutter jpeg xpm xbm
lisp-float-type usg-unix-v dialog devices window-system base64)
Recent keystrokes:
-----------------
C-x 2 misc-user x e m a c s SPC l o c k s SPC u p SPC
w h e n SPC s e l e c t i n g SPC t e x t RET button1
button1up down RET up up up button1 button1up button1
button1up button1 button1up down r C-v prior C-_ misc-user
C-x k RET C-x k RET misc-user
Recent messages (most recent first):
-----------------------------------
No further undo information
Type M-x mail-send-and-exit to send the bug report, C-x k to cancel.
Buffer is read-only
<<< Press Space to bury the help buffer, Press r to retain it >>>
space = page forward; b = page back; h = help; q = quit.
Loading view-less...done
Loading view-less...
Loading ehelp...done
Loading ehelp...
Loading xemacsbug...done
Loading xemacsbug...
Loading cc-mode...done
Loading cc-mode...
sendmsg_tcp.c has auto save data; consider M-x recover-file
Loading efs-cu...done
Loading efs-cu...
Paren mode is sexp
Loading cc-styles...done
Loading cc-styles...
Paren mode is sexp