From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hin-Tak Leung Newsgroups: gmane.emacs.bugs Subject: bug#25203: 25.1; crash during message, infinite recursion Date: Thu, 15 Dec 2016 00:04:53 +0000 Message-ID: <20161215000453.17313-1-htl10@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1481768384 16842 195.159.176.226 (15 Dec 2016 02:19:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2016 02:19:44 +0000 (UTC) Cc: Hin-Tak Leung To: 25203@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 15 03:19:39 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHLdy-0003HH-1w for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Dec 2016 03:19:38 +0100 Original-Received: from localhost ([::1]:51688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHLe2-0004eh-BE for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Dec 2016 21:19:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHKL8-0007Pf-7I for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 19:56:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHKL5-0005jf-1d for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 19:56:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHKL4-0005jV-Tb for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 19:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cHKL4-0007QO-HI for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 19:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hin-Tak Leung Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2016 00:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25203 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148176334528506 (code B ref -1); Thu, 15 Dec 2016 00:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Dec 2016 00:55:45 +0000 Original-Received: from localhost ([127.0.0.1]:42212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHKKm-0007Ph-EH for submit@debbugs.gnu.org; Wed, 14 Dec 2016 19:55:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHJZB-00061N-P5 for submit@debbugs.gnu.org; Wed, 14 Dec 2016 19:06:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHJZ4-00046a-V8 for submit@debbugs.gnu.org; Wed, 14 Dec 2016 19:06:28 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHJZ4-00046W-Rq for submit@debbugs.gnu.org; Wed, 14 Dec 2016 19:06:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHJZ3-0007Q1-0Z for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 19:06:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHJYz-00045T-Oa for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 19:06:25 -0500 Original-Received: from mail-wj0-f195.google.com ([209.85.210.195]:35763) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHJYz-0003zd-EG for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 19:06:21 -0500 Original-Received: by mail-wj0-f195.google.com with SMTP id he10so7319404wjc.2 for ; Wed, 14 Dec 2016 16:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=awfw23ABmBGeVk+5yfl7t4P790OQmuGXQLmnnuVVIJ0=; b=F3FhDcfPhbhcmmNX7TM7fV30MvfYYFSgTJ6K/WYqhRqzCEwZlVwxn5guVHzlW9RfJP Df0saaErukccH3d4vz8hYaBUtzDHhZMXVIfg2pcYaiDwK0uGbnxCkKgo/6lYuORgu+k2 PHTwsXChs2WYtU+vHpcone5cQO30awuEkwoVBWw4ADEEEr3aAG4iVdNiKKeNF/XleeJt HAFg8M+3Ldt2yPiohoEfMgeKDXTtHaPch+W4enpcu97biSaDEiNNP/ICvaWdgpS3x/1K uRrYmqVOPZdbd2I3felwQL+pDPMinF3LME7DEt3fxZBFS8GKCtiKEj+lzHbfOpLerSpp qG0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=awfw23ABmBGeVk+5yfl7t4P790OQmuGXQLmnnuVVIJ0=; b=sJ/tKDKdbwZjOABYNDsjg/iKnsI9hIXYuUnRQv4Dx9i1qXHAIB5yqjRuLxAYP/+YKR ZJUZ2AtSI+HTW7B1Q1SwCh+nJE+ROqxHeyUuA/lw3J7FZC20GU51jnGIwDQkDR4Spm7M YMSClBWarvIfSEhUSA4tEhSxu2kXPAeAvV5Ce4DboaU+clZ0EgNmfTXpvHRaLU1dq8Mh 93fBpG2vcUbqft1X1BAC4ZHuJTTgeylk3KcNsrYYH4T59NkYhS3j6YCOpZ4ohNfZhxje a7MoKIMg1ok5fGv6228jlul8oDs7E6RY2mz8l2EokZ6ksNLzytW1Yiib6NjwvSbA+MVM uVvg== X-Gm-Message-State: AKaTC01YdgJI2zT9dDXdf3DbXSyQy7QeTSFYikcCS+vw82V2tFJY9dsWgRPv0v8IOkSyvQ== X-Received: by 10.194.203.5 with SMTP id km5mr35937020wjc.230.1481760297340; Wed, 14 Dec 2016 16:04:57 -0800 (PST) Original-Received: from localhost.localdomain (cpc92322-cmbg19-2-0-cust918.5-4.cable.virginm.net. [86.26.35.151]) by smtp.gmail.com with ESMTPSA id e5sm9860614wma.12.2016.12.14.16.04.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Dec 2016 16:04:56 -0800 (PST) X-Google-Original-From: Hin-Tak Leung X-Mailer: git-send-email 2.9.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 14 Dec 2016 19:55:42 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127044 Archived-At: emacs -Q -batch -l cjk-enc.el -f batch-force-cjk-write-file Big5.tex where cjk-enc.el is a slight enhancement of "cjk/utils/lisp/emacs/cjk-enc.el" from http://cjk.ffii.org , with diff --git a/emacs/cjk-enc.el b/emacs/cjk-enc.el index c8e6706..096ade7 100644 --- a/emacs/cjk-enc.el +++ b/emacs/cjk-enc.el @@ -881,7 +881,8 @@ (setq last-pos (point)) (message "Converting: %2d%%" (/ (* 100 (point)) (point-max))))) - + (message "temp-buf is %s..." (buffer-name temp-buf)) + (message "work-buf is %s..." (buffer-name work-buf)) ;; Advance to the next character and loop. (forward-char 1)) and Big5.tex is cjk/examples/Big5.tex (gdb) bt #0 0x00007f6ecfe1e48f in raise (sig=) at ../sysdeps/unix/sysv/linux/raise.c:58 #1 0x00000000004f1174 in terminate_due_to_signal () #2 0x000000000050945e in () #3 0x0000000000509689 in () #4 0x00000000005096ef in handle_sigsegv () #5 0x00007f6ecfe1e5c0 in () at /lib64/libpthread.so.0 #6 0x000000000048c2d5 in consume_chars () #7 0x0000000000495fe9 in encode_coding () #8 0x000000000049c775 in encode_coding_object () #9 0x000000000049d7c8 in code_convert_string () #10 0x0000000000431ad5 in message_to_stderr () #11 0x000000000045657c in message3 () #12 0x000000000055ee5c in Fmessage () #13 0x00000000005651e0 in eval_sub () #14 0x00000000005681cd in Flet () #15 0x0000000000565014 in eval_sub () #16 0x00000000005682fd in Fwhile () #17 0x0000000000565014 in eval_sub () #18 0x00000000005681cd in Flet () #19 0x0000000000565014 in eval_sub () #20 0x00000000005681cd in Flet () #21 0x0000000000565014 in eval_sub () #22 0x00000000005657bd in funcall_lambda () #23 0x0000000000565a4b in Ffuncall () #24 0x0000000000564516 in internal_condition_case_n () #25 0x000000000042efc8 in safe.call () #26 0x000000000043b97c in safe_call () #27 0x000000000049c27e in encode_coding_object () ---Type to continue, or q to quit--- #28 0x000000000049d7c8 in code_convert_string () #29 0x0000000000431ad5 in message_to_stderr () #30 0x000000000045657c in message3 () ... repeats at a cycle of 19 ... #923 0x000000000045657c in message3 () ---Type to continue, or q to quit--- #924 0x000000000055ee5c in Fmessage () #925 0x00000000005651e0 in eval_sub () #926 0x00000000005681cd in Flet () #927 0x0000000000565014 in eval_sub () #928 0x00000000005682fd in Fwhile () #929 0x0000000000565014 in eval_sub () #930 0x00000000005681cd in Flet () #931 0x0000000000565014 in eval_sub () #932 0x00000000005681cd in Flet () #933 0x0000000000565014 in eval_sub () #934 0x00000000005657bd in funcall_lambda () #935 0x0000000000565a4b in Ffuncall () #936 0x0000000000564516 in internal_condition_case_n () #937 0x000000000042efc8 in safe.call () #938 0x000000000043b97c in safe_call () #939 0x000000000049c27e in encode_coding_object () #940 0x00000000005205fa in e_write () #941 0x000000000052766b in write_region () #942 0x00000000005283ef in Fwrite_region () #943 0x000000000056503d in eval_sub () #944 0x00000000005681cd in Flet () #945 0x0000000000565014 in eval_sub () #946 0x000000000056535d in Fprogn () #947 0x000000000055efc7 in Fsave_excursion () #948 0x0000000000565014 in eval_sub () #949 0x00000000005681cd in Flet () #950 0x0000000000565014 in eval_sub () #951 0x00000000005657bd in funcall_lambda () ---Type to continue, or q to quit--- #952 0x0000000000564ac8 in apply_lambda () #953 0x0000000000564e2a in eval_sub () #954 0x0000000000565014 in eval_sub () #955 0x00000000005653a5 in Fif () #956 0x0000000000565014 in eval_sub () #957 0x00000000005653a5 in Fif () #958 0x0000000000565014 in eval_sub () #959 0x00000000005681cd in Flet () #960 0x0000000000565014 in eval_sub () #961 0x00000000005682fd in Fwhile () #962 0x0000000000565014 in eval_sub () #963 0x00000000005657bd in funcall_lambda () #964 0x0000000000564ac8 in apply_lambda () #965 0x0000000000564e2a in eval_sub () #966 0x00000000005657bd in funcall_lambda () #967 0x0000000000565a4b in Ffuncall () #968 0x000000000059ad23 in exec_byte_code () #969 0x0000000000565a4b in Ffuncall () #970 0x000000000059ad23 in exec_byte_code () #971 0x0000000000565a4b in Ffuncall () #972 0x000000000059ad23 in exec_byte_code () #973 0x0000000000564ac8 in apply_lambda () #974 0x0000000000564e2a in eval_sub () #975 0x00000000005686fc in Feval () #976 0x0000000000564362 in internal_condition_case () #977 0x00000000004f3d70 in top_level_1 () #978 0x0000000000564303 in internal_catch () #979 0x00000000004f15bd in command_loop () ---Type to continue, or q to quit--- #980 0x00000000004f5dd7 in recursive_edit_1 () #981 0x00000000004f6128 in Frecursive_edit () #982 0x0000000000419d52 in main () In GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.1) of 2016-10-12 built on buildvm-18.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11900000 System Description: Fedora release 25 (Twenty Five) Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LANG: C locale-coding-system: nil Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /usr/share/emacs/site-lisp/site-start.d/ess-init.el (source)... Finding all versions of R on your system... Sorry, no version of R could be found on your system. Loading /usr/share/emacs/site-lisp/site-start.d/ess-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/git-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/lilypond-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/mercurial-site-start.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/systemtap-init.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/site-lisp/lilypond-init hides /usr/share/emacs/site-lisp/site-start.d/lilypond-init Features: (shadow sort mail-extr emacsbug message idna dired rfc822 mml mml-sec epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils ido seq ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-dde ess-sp3-d ess-julia julia-mode ert pp find-func ewoc debug ess-r-d ess-r-syntax ess-r-completion ess-roxy essddr hideshow ess-help ess-r-package ess-s-l ess ess-inf ess-tracebug compile tramp tramp-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util mm-util help-fns help-mode mail-prsvr password-cache tramp-loaddefs cl-macs trampver ucs-normalize shell pcomplete comint ansi-color ring format-spec advice ess-mode ess-noweb-mode ess-utils ess-generics cl gv cl-loaddefs pcase cl-lib ess-custom executable easymenu ess-compat ess-site time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 260299 10067) (symbols 48 27442 0) (miscs 40 105 141) (strings 32 40868 7895) (string-bytes 1 1149641) (vectors 16 41418) (vector-slots 8 760116 3898) (floats 8 296 105) (intervals 56 326 108) (buffers 976 19))