This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
I found the strange behavior of asynchronous process I/O, which is the
problem latent in the pty stuff, I guess. To reproduce it, M-: (setq
process-connection-type t) and evaluate the following expression:
(loop for i from 0 below 10 do
(let ((process (start-process-shell-command
"test" (current-buffer) "tr 'a' 'b'")))
;; Don't insert the exit status of the process.
(set-process-sentinel process #'ignore)
(process-send-string process "aaaaaaaaaaaaaaa\n")
(process-send-eof process)))
I just expected that only the replaced string (that is
"bbbbbbbbbbbbbbb\n") should be inserted 10 times. However, I saw
"aaaaaaaaaaaaaaa\n" mixed in addition to the process output.
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
If I set process-connection-type to nil and re-evaluate the above
expression, the stray strings are disappeared this time.
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux aquair 2.4.18-pre9 #1 Wed Feb 13 15:12:54 JST 2002 i686 unknown
./configure '--with-mule' '--with-site-lisp'
XEmacs 21.4.6 "Common Lisp" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /opt/tmp/xemacs-21.4.6
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Linking with `-z nocombreloc'.
- Consider configuring with --pdump.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11/include
- X Windows libraries location: /usr/X11/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
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:
Compiling in support for sound (native).
Compiling in support for NAS (network audio system).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
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 "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/usr/local/lib/xemacs/site-lisp/ps-print
/usr/local/lib/xemacs/site-lisp/ps-print/ps-print
/usr/local/lib/xemacs/site-lisp/ps-mule
/usr/local/lib/xemacs/site-lisp/ps-print/ps-mule
/usr/local/lib/xemacs/site-lisp/ps-bdf
/usr/local/lib/xemacs/site-lisp/ps-print/ps-bdf
/usr/local/lib/xemacs/site-lisp/camldebug
/usr/local/lib/xemacs/site-lisp/tuareg/camldebug
/usr/local/lib/xemacs/site-lisp/xbm-thumb
/usr/local/lib/xemacs/site-packages/lisp/lsdb/xbm-thumb
/usr/local/lib/xemacs/site-lisp/deal
/usr/local/lib/xemacs/mule-packages/lisp/chise/deal
/usr/local/lib/xemacs/site-lisp/starttls
/usr/local/lib/xemacs/mule-packages/lisp/flim/starttls
/usr/local/lib/xemacs/mule-packages/lisp/flim/sha1-el
/usr/local/lib/xemacs/mule-packages/lisp/t-gnus/sha1-el
/usr/local/lib/xemacs/mule-packages/lisp/flim/hex-util
/usr/local/lib/xemacs/mule-packages/lisp/t-gnus/hex-util
/usr/local/lib/xemacs/site-lisp/starttls
/usr/local/lib/xemacs/mule-packages/lisp/t-gnus/starttls
/usr/local/lib/xemacs/mule-packages/lisp/t-gnus/utf7
/usr/local/lib/xemacs/mule-packages/lisp/wl/utf7
/usr/local/lib/xemacs/site-lisp/bbdb-wl
/usr/local/lib/xemacs/mule-packages/lisp/wl/bbdb-wl
/usr/local/lib/xemacs/mule-packages/lisp/skk/queue-m
/usr/local/lib/xemacs/xemacs-packages/lisp/elib/queue-m
/usr/local/lib/xemacs/site-lisp/starttls
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/starttls
/usr/local/lib/xemacs/mule-packages/lisp/flim/smtpmail
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/smtpmail
/usr/local/lib/xemacs/mule-packages/lisp/t-gnus/rfc2104
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/rfc2104
/usr/local/lib/xemacs/mule-packages/lisp/t-gnus/pop3
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/pop3
/usr/local/lib/xemacs/mule-packages/lisp/t-gnus/mailheader
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/mailheader
/usr/local/lib/xemacs/site-lisp/rd-mode
/usr/local/lib/xemacs/xemacs-packages/lisp/ruby/rd-mode
/usr/local/lib/xemacs/xemacs-packages/lisp/prog-modes/inf-ruby
/usr/local/lib/xemacs/xemacs-packages/lisp/ruby/inf-ruby
/usr/local/lib/xemacs/xemacs-packages/lisp/prog-modes/ruby-mode
/usr/local/lib/xemacs/xemacs-packages/lisp/ruby/ruby-mode
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/base64
/usr/local/lib/xemacs/xemacs-packages/lisp/w3/base64
/usr/local/lib/xemacs/site-lisp/xml
/usr/local/lib/xemacs/xemacs-packages/lisp/w3/xml
/usr/local/lib/xemacs/mule-packages/lisp/flim/md5
/usr/local/lib/xemacs/xemacs-packages/lisp/w3/md5
/usr/local/lib/xemacs/site-packages/lisp/apel/timezone
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/timezone
/usr/local/lib/xemacs/site-packages/lisp/apel/alist
/usr/local/lib/xemacs-21.4.6/lisp/alist
/usr/local/lib/xemacs/xemacs-packages/lisp/w3/font
/usr/local/lib/xemacs-21.4.6/lisp/font)
Installed XEmacs Packages:
-------------------------
((xslt-process:version 1.06 :type regular)
(xemacs-devel :version 1.43 :type single-file)
(xemacs-base :version 1.61 :type regular)
(viper :version 1.33 :type regular)
(view-process :version 1.11 :type regular)
(vc-cc :version 1.18 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.04 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.4 :type single-file)
(texinfo :version 1.2 :type regular)
(speedbar :version 1.23 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sh-script :version 1.14 :type regular)
(semantic :version 1.12 :type regular)
(scheme :version 1.11 :type regular)
(ruby :version 0.02 :type single-file)
(rmail :version 1.13 :type regular)
(reftex :version 1.25 :type regular)
(psgml :version 1.27 :type regular)
(prog-modes
:version
1
.53
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.6 :type regular)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.24 :type single-file)
(misc-games :version 1.15 :type single-file)
(mh-e :version 1.14 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.44 :type regular)
(jde :version 1.34 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.2 :type regular)
(igrep :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(gnats :version 1.14 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.14 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.03 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.28 :type regular)
(edit-utils :version 1.82 :type single-file)
(ediff :version 1.39 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(cookie :version 1.14 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.19 :type regular)
(c-support :version 1.16 :type single-file)
(bbdb :version 1.2 :type regular)
(auctex :version 1.3 :type regular)
(mule-ucs :version 1.04 :type regular)
(mule-base :version 1.39 :type regular)
(migemo :version 0.01 :type single-file)
(lookup :version 1.1 :type regular)
(locale :version 1.18 :type regular)
(leim :version 1.17 :type regular)
(edict :version 1.13 :type regular)
(big5conv :version 0.01 :type single-file))
Features:
--------
(efs-cu gnus-util time-date parse-time cookie1 footnote message
messagexmas mime-edit eword-encode pgg-parse pccl pccl-20 pgg-def
signature mime-image mime-view mime-conf calist mail-abbrevs nnheader
nnheaderxm mmgnus mmbuffer mmgeneric luna mime eword-decode mel
path-util mime-def mcharset mcs-20 mcs-xm mcs-xmu pcustom std11 poem
poem-xm pces pces-xfc pces-20 broken pces-xm byte-optimize bytecomp
byte-compile poe-xemacs timer overlay poe mail-utils mailheader canlock
xemacsbug shadow sendmail rfc822 font-lock icomplete nnir-theme
semi-theme mu-cite-theme aspell-theme iiimcf-sc cus-face iiimcf iiimp
un-define mule-uni allout outline habbrev ring completer jka-compr
mime-w3m font disp-table mime-setup mail-mime-setup alist pym static
apel-ver product semi-setup semi-def advice advice-preload uniquify
edmacro iswitchb recent-files savehist deal avoid xslt-process-autoloads
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads
viper-autoloads view-process-autoloads vc-cc-autoloads vc-autoloads
tramp-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads speedbar-autoloads sounds-wav-autoloads
sounds-au-autoloads sh-script-autoloads semantic-autoloads
scheme-autoloads ruby-autoloads rmail-autoloads reftex-autoloads
psgml-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mh-e-autoloads mailcrypt-autoloads
mail-lib-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads hm--html-menus-autoloads gnats-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads eshell-autoloads
emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads dired-autoloads
debug-autoloads cookie-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads bbdb-autoloads auctex-autoloads
wl-autoloads gnus-autoloads skk-autoloads skk-setup semi-autoloads
mule-ucs-autoloads mule-base-autoloads mu-autoloads migemo-autoloads
lookup-autoloads locale-autoloads liece-autoloads leim-autoloads
flim-autoloads edict-autoloads chise-autoloads big5conv-autoloads
lsdb-autoloads apel-autoloads lisp-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 slovenian czech romanian ccl mule-help code-cmds
gutter-items menubar-items x-menubar mode-motion mouse itimer auto-save
lisp-mode easymenu iso8859-1 page buff-menu lib-complete cus-file
derived frame text-props obsolete cus-start custom widget cl-extra
mini-cl cl cl-19 packages backquote very-early-lisp file-coding mule
lucid-scrollbars cut-buffer lucid-menubars x c-balloon-help tty-frames
tty toolbar nas-sound native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
berkeley-db dbm md5 xemacs xim gutter tiff png gif jpeg xface xpm xbm
lisp-float-type linux devices window-system base64)
Recent keystrokes:
-----------------
button1 button1up ESC x p BS r e p o TAB m BS r TAB
e m TAB RET
Recent messages (most recent first):
-----------------------------------
Loading efs-cu...done
Fontifying *mail to xemacs-betaï¼ xemacs.org*...
Loading efs-cu...
Loading gnus-util...done
Loading gnus-util...
Loading message...done
Loading eword-encode...done
Loading eword-encode...
Loading byte-optimize...done
Loading byte-optimize...
Loading bytecomp...done
Loading bytecomp...
Loading message...
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Fontifying *scratch*... done.
Loading font-lock...done
Fontifying *scratch*... (syntactically).
Fontifying *scratch*...
Show replies by date