From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 05:01:28 2017 Received: (at submit) by debbugs.gnu.org; 10 Mar 2017 10:01:29 +0000 Received: from localhost ([127.0.0.1]:48502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmHMW-0008Pu-MY for submit@debbugs.gnu.org; Fri, 10 Mar 2017 05:01:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmHMV-0008Pj-8S for submit@debbugs.gnu.org; Fri, 10 Mar 2017 05:01:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmHMK-0002xF-MP for submit@debbugs.gnu.org; Fri, 10 Mar 2017 05:01:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53377) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmHMK-0002ww-Jr for submit@debbugs.gnu.org; Fri, 10 Mar 2017 05:01:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmHMJ-0006aN-1d for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 05:01:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmHMG-0002sj-G3 for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 05:01:15 -0500 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:35563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmHMG-0002rl-9r for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 05:01:12 -0500 Received: by mail-pf0-x230.google.com with SMTP id j5so40243158pfb.2 for ; Fri, 10 Mar 2017 02:01:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=ThiJ+FGD04KS2aw8Ua+zoJ2UsU8mPlAE+mY6e20+wV4=; b=elju7DunwaxXYctLV53lxAmIU3AkC6jY02jH8ZRyqdvVHyengo78YZDapWpYh/Xj+v apewGYULeB5gf4A+BdZkibZ5rYey66LCZWCzJGJ3+PopqIWIhDW0Ln5AM/png/Ut/xan pWQj8jo36M338AhPQ7oGw4a5irGMK/IRmvike9zPkEfVbZN6oE73/yCV2ejLFk3DfW6b kQ8AoCGsP+RzsCfLQmfHqm4PcMNZ6EwnOR0fT/Uyx9XnoPKdcITbn5VzqiwXagIr68m+ zsb7EN1yhfniFPxEDPYktA1u9QMiucW/kDZ9KhiBZc8xj80tY0/B9jEVMtlvGwrZ1UyO Gm2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=ThiJ+FGD04KS2aw8Ua+zoJ2UsU8mPlAE+mY6e20+wV4=; b=jmtkigAP9Tav8w9yemUqFFwMAKmS03rkg/kjkKrEVx2XbZ08R5I6MIZSzUU8mhbWAC FocZir+s5KTfBntEMVR+j0rwj/Ygx//uqe2/ijzoDA8jzC21p3yj02Hw1DRLpFCysZ9N C87fQ/M3pZjHAot/RFKFhUFpCsnKCF6zVozavh1a+r3LgQ1Ak5zSJy+MoOvASO+ZCiNd JtmFFkTP12JdlS7dFRVBO98vTSkptClXxPb/iHJthnnE9NJu2+bagFMCO7khWXisamYL RlDAlGkiQ9aXoLN5t7nCh7zlNHofLheMhxnikXNQ/B5qhLeSNXFSV4OPYC/VilvPyhHz Eftw== X-Gm-Message-State: AMke39no97m5MeWH0X797ChANxOJXmZYM3e8URc48zFsaHsbkxkPUElVYQJZdkhIyddxpA== X-Received: by 10.84.233.206 with SMTP id m14mr24318932pln.153.1489140069580; Fri, 10 Mar 2017 02:01:09 -0800 (PST) Received: from Zeuss-MacBook-Air.local ([139.59.241.182]) by smtp.gmail.com with ESMTPSA id e7sm17759980pgp.2.2017.03.10.02.01.07 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Mar 2017 02:01:08 -0800 (PST) From: Leo Liu To: bug-gnu-emacs@gnu.org Subject: 26.0.50; emacs crash by cl-caff2 X-Debbugs-CC: Date: Fri, 10 Mar 2017 18:01:04 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 1. Compile the following t.el file: (require 'cl-lib) (put 's 'buf "abcd") (cl-callf2 cl-concatenate 'string (get 's 'buf) "efg") (provide 't) 2. Load the compiled t.elc file Crash on centos7: Fatal error 11: Segmentation fault Backtrace: emacs[0x80e40be] emacs[0x80ccbfd] emacs[0x80e2c67] emacs[0x80e2ebe] emacs[0x80e2ee6] [0xf77e0410] emacs[0x813a17a] emacs[0x816bffe] emacs[0x816ddc7] emacs[0x8139908] emacs[0x815afc8] emacs[0x815b42e] emacs[0x813b1f4] emacs[0x813a2ac] emacs[0x816bffe] emacs[0x8139ebb] emacs[0x813a22b] emacs[0x816bffe] emacs[0x8139ebb] emacs[0x813a22b] emacs[0x816bffe] emacs[0x8139ebb] emacs[0x813a22b] emacs[0x81364fb] emacs[0x813a2ac] emacs[0x8136e9f] emacs[0x813a2ac] emacs[0x816bffe] emacs[0x8139fdd] emacs[0x813a22b] emacs[0x813a387] emacs[0x80d9b72] emacs[0x8138afe] emacs[0x80ccfa4] emacs[0x8138abb] emacs[0x80ccf61] emacs[0x80d116e] emacs[0x80d146c] emacs[0x804cc03] /lib/libc.so.6(__libc_start_main+0xf3)[0xf75869a3] emacs[0x804db03] ... Segmentation fault From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 13:03:12 2017 Received: (at control) by debbugs.gnu.org; 10 Mar 2017 18:03:12 +0000 Received: from localhost ([127.0.0.1]:49934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmOsh-0007Fw-Te for submit@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmOsg-0007Fl-JM for control@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmOsa-00078T-Va for control@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmOsa-00078N-Sa for control@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:04 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cmOsa-0000op-KT for control@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:04 -0500 Subject: control message for bug 26047 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 10 Mar 2017 13:03:04 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 26047 confirmed From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 13:03:19 2017 Received: (at control) by debbugs.gnu.org; 10 Mar 2017 18:03:19 +0000 Received: from localhost ([127.0.0.1]:49937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmOsp-0007GL-4d for submit@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmOsn-0007G4-HQ for control@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmOse-00079R-Tb for control@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmOse-00079N-R3 for control@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:08 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cmOse-0000xY-Iu for control@debbugs.gnu.org; Fri, 10 Mar 2017 13:03:08 -0500 Subject: control message for bug 24655 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 10 Mar 2017 13:03:08 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 24655 by 26047 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 15:57:07 2017 Received: (at 26047) by debbugs.gnu.org; 10 Mar 2017 20:57:07 +0000 Received: from localhost ([127.0.0.1]:50034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmRb1-0001Tf-2z for submit@debbugs.gnu.org; Fri, 10 Mar 2017 15:57:07 -0500 Received: from gateway-a.fh-trier.de ([143.93.54.181]:53924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmRay-0001TA-UR for 26047@debbugs.gnu.org; Fri, 10 Mar 2017 15:57:06 -0500 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdeea.dynamic.kabel-deutschland.de [95.91.222.234]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 113AD179B2BD; Fri, 10 Mar 2017 21:56:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1489179406; bh=gFimFH5AV/6Qn1tedXqJm6bfAis=; h=From:To:Cc:Subject:References:Date:Message-ID:MIME-Version: Content-Type; b=qXjtq8chwL6lMW6kPXoseQWAaPipyj/r25C5tLgXVg/+EBRAy2ugF/mLSvGvMXOka 0lRRI7ru2HsQ4DAzrCH7cIZ56dlD5EqD9jn7X+nSJNAVZs/O/cQHqzWbC4JL5r+7fF 4+1WIKm0kDjhtrEsRikdKSnK8vbWepvumZTJOBC4= From: Andreas Politz To: Leo Liu Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 References: Date: Fri, 10 Mar 2017 21:56:45 +0100 Message-ID: <87wpbwyho2.fsf@luca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Below is a slightly simpler test-case and a full back-trace. Looks like the function byte-compile-inline-expand, which is the value of cl-concatenate's byte-optimizer property, creates bad byte-code; because this bug does not occur after setting this property to nil. #+BEGIN_SRC emacs-lisp (require 'cl-lib) (cl-concatenate 'string "abcd" "efg") (provide 'foo) #+END_SRC Save this to foo.el, byte-compile it and start emacs like this $ emacs -Q -l foo.elc Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. Ffuncall (nargs=2, args=) at eval.c:2761 (gdb) bt #0 Ffuncall (nargs=2, args=) at eval.c:2761 #1 exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=) at bytecode.c:641 #2 Fbyte_code (bytestr=..., vector=..., maxdepth=...) at bytecode.c:321 #3 eval_sub (form=...) at eval.c:2247 #4 readevalloop (readcharfun=..., stream=, sourcename=..., printflag=false, unibyte=..., readfun=..., start=..., end=...) at lread.c:1927 #5 Fload (file=..., noerror=..., nomessage=..., nosuffix=..., must_suffix=...) at lread.c:1332 #6 funcall_subr (subr=, numargs=4, args=) at eval.c:2852 #7 Ffuncall (nargs=5, args=) at eval.c:2765 #8 exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=) at bytecode.c:641 #9 funcall_lambda (fun=..., nargs=1, arg_vector=) at eval.c:2965 #10 apply_lambda (fun=..., args=..., count=37) at eval.c:2902 #11 eval_sub (form=...) at eval.c:2286 #12 readevalloop_eager_expand_eval (val=..., macroexpand=...) at lread.c:1757 #13 readevalloop (readcharfun=..., stream=, sourcename=..., printflag=false, unibyte=..., readfun=..., start=..., end=...) at lread.c:1925 #14 Feval_buffer (buffer=..., printflag=..., filename=..., unibyte=..., do_allow_print=...) at lread.c:1991 #15 funcall_subr (subr=, numargs=5, args=) at eval.c:2852 #16 Ffuncall (nargs=6, args=) at eval.c:2765 #17 exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=) at bytecode.c:641 #18 funcall_lambda (fun=..., nargs=4, arg_vector=) at eval.c:3043 #19 Ffuncall (nargs=5, args=) at eval.c:2767 #20 call4 (fn=..., arg1=..., arg2=..., arg3=..., arg4=...) at eval.c:2652 #21 Fload (file=..., noerror=..., nomessage=..., nosuffix=..., must_suffix=...) at lread.c:1276 #22 funcall_subr (subr=, numargs=3, args=) at eval.c:2852 #23 Ffuncall (nargs=4, args=) at eval.c:2765 #24 exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=) at bytecode.c:641 #25 funcall_lambda (fun=..., nargs=1, arg_vector=) at eval.c:2965 #26 Ffuncall (nargs=2, args=) at eval.c:2767 #27 exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=) at bytecode.c:641 #28 funcall_lambda (fun=..., nargs=0, arg_vector=) at eval.c:2965 #29 Ffuncall (nargs=1, args=) at eval.c:2767 #30 exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=0, args=) at bytecode.c:641 #31 funcall_lambda (fun=..., nargs=0, arg_vector=) at eval.c:2965 #32 apply_lambda (fun=..., args=..., count=4) at eval.c:2902 #33 eval_sub (form=...) at eval.c:2286 #34 Feval (form=..., lexical=...) at eval.c:2063 #35 top_level_2 () at keyboard.c:1121 #36 internal_condition_case (bfun=, handlers=..., hfun=) at eval.c:1324 #37 top_level_1 (ignore=...) at keyboard.c:1129 #38 internal_catch (tag=..., func=, arg=...) at eval.c:1091 #39 command_loop () at keyboard.c:1090 #40 recursive_edit_1 () at keyboard.c:697 #41 Frecursive_edit () at keyboard.c:768 #42 main (argc=4, argv=) at emacs.c:1688 Lisp Backtrace: Cannot access memory at address 0x800000dd5608 (gdb) pp args[0] # (gdb) pp args[1] # -ap From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 14 14:08:22 2017 Received: (at 26047) by debbugs.gnu.org; 14 Mar 2017 18:08:22 +0000 Received: from localhost ([127.0.0.1]:55919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnqrt-0000HL-Td for submit@debbugs.gnu.org; Tue, 14 Mar 2017 14:08:22 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:40780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnqrr-0000H7-ET for 26047@debbugs.gnu.org; Tue, 14 Mar 2017 14:08:20 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 520E2179AC28; Tue, 14 Mar 2017 19:07:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1489514879; bh=Gc1CelNWBLzqM2MFa9oy9tpoJVE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=oVcmuAgVJuI6Mm9U7KbSgFyvZr1tZw5W8ZSJZASjKVE5BGoRsRpcm4Op0+qF0W1Eo zcD0SwQLYX5gvW+PZtfTcbw1llye+x5g+17AuYuwO2IF3RWA9fjL/geLkE5U6DIwsd wmtVyGDMQHl9K7yQBXxvpmwm8GW8X1haPYC1pxL8= From: Andreas Politz To: Leo Liu Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 References: <87wpbwyho2.fsf@luca> Date: Tue, 14 Mar 2017 19:07:58 +0100 In-Reply-To: <87wpbwyho2.fsf@luca> (Andreas Politz's message of "Fri, 10 Mar 2017 21:56:45 +0100") Message-ID: <87pohju3y9.fsf@luca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org, vibhavp@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Using git bisect, I narrowed the cause of this down to the following list of commits, all of which deal with handling byte-code and have a single author. ---- commit 19cb3985a3795539b51d70625904e95a6e581eef Author: Vibhav Pant Date: Thu Jan 26 01:00:41 2017 +0530 * lisp/emacs-lisp/bytecomp.el:Use correct size for switch jump-table commit 4e6140b28324a9a63d54084c920206d00aed094e Author: Vibhav Pant Date: Thu Jan 26 01:02:16 2017 +0530 * lisp/emacs-lisp/disass.el: Display jump tables for switch. commit c52a9b6ddd9166571e6bc8bb9426b0267874f9fa Author: Vibhav Pant Date: Thu Jan 26 00:58:36 2017 +0530 * lisp/emacs-lisp/bytecomp.el: Simplify b-c-cond-valid-obj2-p commit 6a82d19db18f8480342cc4c1a0ad76c75df41941 Author: Vibhav Pant Date: Thu Jan 26 14:28:23 2017 +0530 * lisp/emacs-lisp/disass.el: Fix spacing while showing jump tables commit 8189b97e5ca12aff8ea34617431a868010643b5b Author: Vibhav Pant Date: Thu Jan 26 00:57:10 2017 +0530 * lisp/emacs-lisp/bytecomp.el: Fix byte-switch codegen with symbols. commit 0d3c57dcf3187864c0b6fd6115ee80ad33faf553 Author: Vibhav Pant Date: Thu Jan 26 00:54:59 2017 +0530 * lisp/emacs-lisp/byte-opt.el: Add support for decompiling switch * lisp/emacs-lisp/byte-opt.el: (byte-decompile-bytecode-1) When the constant encountered precedes a byte-switch op, replace all the addresses in the jump table with tags. commit a7e4870f165e9fd36d5cfcabb19b215b94373602 Author: Vibhav Pant Date: Thu Jan 26 14:31:16 2017 +0530 * lisp/emacs-lisp/bytecomp.el: Use correct function to push nil * lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-jump-table) Use byte-compile-constant instead of byte-compile-form to push nil. commit 23a130ee0d61fc39cee157921679809017a02b39 Author: Vibhav Pant Date: Sat Jan 21 11:37:20 2017 +0530 * lisp/emacs-lisp/bytecomp.el: Remove unused debugging statements. commit 25d38a06eceb0853190a2d9acf53d85686f524bd Author: Vibhav Pant Date: Thu Jan 26 23:03:02 2017 +0530 * lisp/emacs-lisp/bytecomp.el:(bc-cond-jump-table-info)add docstring commit bf7f7c0d82a56ed1b76358657e74ca2833b19fe2 Merge: 25d38a06ec 9c4dfdd1af Author: Vibhav Pant Date: Mon Jan 30 18:35:43 2017 +0530 Merge remote-tracking branch 'origin/master' into feature/byte-switch commit fbe6b90b0ced594cf74d5fd0dc9a32666f0d7d38 Author: Vibhav Pant Date: Thu Jan 19 23:13:53 2017 +0530 * lisp/emacs-lisp/bytecomp.el: Fix errors with matching quoted forms * lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-jump-table-info) eval obj2 to avoid quoted forms being stored as is. commit 5f3379b33866ff7dc16856b6c29712eae860af0e Author: Vibhav Pant Date: Thu Jan 19 23:13:13 2017 +0530 lisp/emacs-lisp/bytecomp.el: Use byte-switch only for quoted symbols commit f441451658ecb8d0d8ba386d9fd3eebf3b17d549 Author: Vibhav Pant Date: Mon Jan 30 19:22:09 2017 +0530 * lisp/emacs-lisp/bytecomp.el: Create jump tables with :purecopy t commit 46193d5209780d21b848374d8c377fb6c8896d1b Author: Vibhav Pant Date: Thu Jan 19 23:12:09 2017 +0530 * lisp/emacs-lisp/bytecomp.el: Add default-case for last cond clause. * lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-jump-table) Add default-case for last cond clause. commit bfa88520136dd6b187ba101e6db5a5f8f0d5e874 Author: Vibhav Pant Date: Wed Feb 1 18:15:59 2017 +0530 Use maphash instead of cl-loop. * lisp/emacs-lisp/bytecomp.el: (byte-compile-lapcode) Use maphash instead of cl-loop commit 522f16dac945eee351cefb066af40f0d1a683f38 Author: Vibhav Pant Date: Thu Jan 19 18:35:46 2017 +0530 Add type checking for Bswitch, when enabled at compile time. * src/bytecode.c: (exec_byte_code) If BYTE_CODE_SAFE is enabled at compile time, use CHECK_TYPE to verify that the jump table is a hash table. commit de456d1e4a1d7e34be6d040e0d8a04c42b14e62e Author: Vibhav Pant Date: Fri Feb 3 23:23:28 2017 +0530 Revert "Use maphash instead of cl-loop." This reverts commit bfa88520136dd6b187ba101e6db5a5f8f0d5e874. commit 1fcbd352f8116aca1ecdb62e84f3d86b89bc446f Author: Vibhav Pant Date: Thu Jan 19 18:02:40 2017 +0530 Use byte-switch for all symbols. * lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-valid-obj2-p) Return t for all symbols (instead for just keywords) commit 44c95c58b26b7b9d75965a83930ec3d77ffae28f Author: Vibhav Pant Date: Sun Feb 5 15:37:43 2017 +0530 bytecomp.el: Don't store non-keyword symbols in jump-tables. * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-valid-obj2-p) return nil when OBJ is a non-keyword symbol (i.e a variable), as the jump table can only be used when comparing variables with constant values. commit 086c4eaf9d4ecc5074088115fa01c0b2fb061246 Author: Vibhav Pant Date: Wed Jan 18 22:40:50 2017 +0530 * src/bytecode.c: (exec_byte_code) Use hash_lookup for Bswitch Fgethash type checks the provided table object, which is unnecessary for compiled bytecode. commit 84eef501554324b22c7a838aabed77aa79315121 Author: Vibhav Pant Date: Sun Feb 5 18:49:24 2017 +0530 byte-opt.el: Replace jump tables while decompiling correctly. * lisp/emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Don't make a copy of the constant vector, as it isn't used with the decompiled lapcode. Make sure that the correct lapcode pair/list is being modified while replacing the jump table. commit 37956463d67795819fe7d8fe02d6249388364783 Merge: 309b46420e fd6b829d91 Author: Vibhav Pant Date: Mon Jan 16 19:49:24 2017 +0530 update branch commit fea1ad36a0f7b1538984ab0f077095a53c570aa4 Author: Vibhav Pant Date: Sun Feb 5 18:55:45 2017 +0530 ; * byte-opt.el (byte-decompile-bytecode-1): Add more documentation. commit 309b46420e83826ed1e0b947f98a47e8525e3c36 Author: Vibhav Pant Date: Sun Jan 15 21:38:31 2017 +0530 * lisp/emacs-lisp/byte-opt.el: Optimize how tags are checked for use. * byte-opt.el: (byte-optimize-lapcode): Return nil instantly on finding the tag in a jump table. commit cadb044fc2e69266308cdcabe6181be0f624b484 Author: Vibhav Pant Date: Sun Feb 5 19:23:53 2017 +0530 bytecomp.el: Inline lapcode containing `byte-switch' correctly. * lisp/emacs-lisp/bytecomp.el (byte-compile-inline-lapcode): Restore value of byte-compile-depth after emitting a jump to a tag in a jump table, or default/done tags. Set the depth of final tags for byte-switch to nil after emitting any jumps to them. commit 490fc5a5029c0d8e527a0c7f423ba83fd6afda60 Author: Vibhav Pant Date: Sun Feb 5 21:48:27 2017 +0530 ; bytecomp.el (-inline-lapcode): Fix incorrect parenthesis, refactor commit 8c0f326ea237e8acd03c51c1b3a44d237c044562 Author: Vibhav Pant Date: Sun Jan 15 19:36:26 2017 +0530 * lisp/emacs-lisp/bytecomp.el: Add documentation, remove code duplication commit 382f6603ad4ba2a69b3961bdc68580ce77d222f9 Author: Vibhav Pant Date: Sun Feb 5 21:51:05 2017 +0530 ; Fix typo. * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-jump-table-info): Fix typo in docstring. commit 88549ec38e9bb30e338a9985d0de4e6263b40fb7 Author: Vibhav Pant Date: Sun Jan 15 01:26:04 2017 +0530 Add new 'switch' byte-code. 'switch' takes two arguments from the stack: the variable to test, and a jump table (implemented as a hash-table with the appropriate :test function). By looking up the value of the variable in the hash table, the interpreter can jump to the label pointed to by the value, if any. This implementation can only be used for `cond' forms of the type `(cond ((test x 'foo) 'bar) ...)`, such that the function `test` and variable `x` is same for all clauses. * lisp/emacs-lisp/bytecomp.el: * Add (byte-compile-cond-valid-obj2-p), (byte-compile-cond-vars), (byte-compile-cond-jump-table-info), (byte-compile-jump-table-add-tag), (byte-compile-cond-jump-table), byte-compile-jump-tables. * Add defcustom `byte-compile-cond-use-jump-table'. * (byte-compile-cond): Use them. * (byte-compile-lapcode): Patch tags present in jump tables, if any. * lisp/emacs-lisp//byte-opt.el: (byte-optimize-lapcode): Add checks to some peephole optimizations to prevent them from messing up any code involving `byte-switch`. * src/bytecode.c: (exec_byte_code): Add bytecode Bswitch. commit 74a3423b0b92b80d84f6de62d1f2d61c21e4bd90 Author: Vibhav Pant Date: Sun Feb 5 22:10:22 2017 +0530 * byte-opt.el (byte-decompile-bytecode-1): Use eq instead of =. ---- -ap From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 14 14:19:13 2017 Received: (at 26047) by debbugs.gnu.org; 14 Mar 2017 18:19:13 +0000 Received: from localhost ([127.0.0.1]:55929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnr2O-0000XR-NK for submit@debbugs.gnu.org; Tue, 14 Mar 2017 14:19:13 -0400 Received: from mail-yw0-f178.google.com ([209.85.161.178]:33635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnr2M-0000XF-PA for 26047@debbugs.gnu.org; Tue, 14 Mar 2017 14:19:11 -0400 Received: by mail-yw0-f178.google.com with SMTP id v76so84693929ywg.0 for <26047@debbugs.gnu.org>; Tue, 14 Mar 2017 11:19:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=I+oUiPua8m/8BHg+zAcqmlHZW4U+E86teapPK7ot7EM=; b=FZadIuY994ppktSPS/9w9l3dNUgJHc2KLanfvN66NcrFAtrnjDJnEMWby5KnnZQHjC mPfDEdB5q2v7lHqltcK4V3thdGo26JALzq6fmgAZKphrzEiQ2aTbnTt/c8x/03R0S3dc liRVBg6T8pKu1AM14HrKPhePMXv5+SdloLHo9nMQkhPJPPvBhENP1LZrrJFSN7JYG0y6 /jv4Lprw5SBt4quzm9uAtSgjOlDjKPWb/s5MUQ9PVLo9uIFgyuqUWBjvlu8+TVdQOEz+ gPuILuXV2GfCrRJMwtqfCjJkPDhyXRe0SBvv2ipKoNTORVVchao5l+RYXqByHeMM8eAY VdNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=I+oUiPua8m/8BHg+zAcqmlHZW4U+E86teapPK7ot7EM=; b=aLoBnrLYQT5wGyOX6u3wRzhNDcLMO/wtHLHO+lpWPePRWC2QxbrouTBJYyop8akayD Qvr2mqlZnezpJ9J5I+5pFXii9R2uTbLeXXF1fjeBSiw5Pqot6ExudP3AuM9Idr6RZHjM hNitK8p/UeHAo5jFy9Y+95dTgxHOJafoec2XxsIlP3s9uXbPNA5hmRha6532g0K/3z6N uo5efddY7dAySXV5WMZz88VN4fWCSGXE30UW8vDMBLBkfgnpios85DOnycT3+cnZLHD2 srmjVzu0SV1F7Gyrt2ZQ94I3jKYuq0gj37zAUbMn7bl6I44N4o2JvvgzQIDjVZq3KZPs BnCQ== X-Gm-Message-State: AMke39nyzU5koi9ISlsq1IeqGrzU+JHtYn60yrm4EEQe5muT4ru8VwDn6YhH/iF+4qA4+GDUdKG/14/s+DRRYA== X-Received: by 10.129.174.81 with SMTP id g17mr25673977ywk.25.1489515544877; Tue, 14 Mar 2017 11:19:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.37.3 with HTTP; Tue, 14 Mar 2017 11:18:44 -0700 (PDT) In-Reply-To: <87pohju3y9.fsf@luca> References: <87wpbwyho2.fsf@luca> <87pohju3y9.fsf@luca> From: Vibhav Pant Date: Tue, 14 Mar 2017 23:48:44 +0530 Message-ID: Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 To: Andreas Politz Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Yes, I've been investigating for some time. For now, a workaround would be to set byte-compile-cond-use-jump-table to nil before compiling. Thanks, Vibhav On Tue, Mar 14, 2017 at 11:37 PM, Andreas Politz wrote: > > Using git bisect, I narrowed the cause of this down to the following > list of commits, all of which deal with handling byte-code and have a > single author. > > ---- > commit 19cb3985a3795539b51d70625904e95a6e581eef > Author: Vibhav Pant > Date: Thu Jan 26 01:00:41 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el:Use correct size for switch jump-table > commit 4e6140b28324a9a63d54084c920206d00aed094e > Author: Vibhav Pant > Date: Thu Jan 26 01:02:16 2017 +0530 > > * lisp/emacs-lisp/disass.el: Display jump tables for switch. > commit c52a9b6ddd9166571e6bc8bb9426b0267874f9fa > Author: Vibhav Pant > Date: Thu Jan 26 00:58:36 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el: Simplify b-c-cond-valid-obj2-p > commit 6a82d19db18f8480342cc4c1a0ad76c75df41941 > Author: Vibhav Pant > Date: Thu Jan 26 14:28:23 2017 +0530 > > * lisp/emacs-lisp/disass.el: Fix spacing while showing jump tables > commit 8189b97e5ca12aff8ea34617431a868010643b5b > Author: Vibhav Pant > Date: Thu Jan 26 00:57:10 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el: Fix byte-switch codegen with symbols. > commit 0d3c57dcf3187864c0b6fd6115ee80ad33faf553 > Author: Vibhav Pant > Date: Thu Jan 26 00:54:59 2017 +0530 > > * lisp/emacs-lisp/byte-opt.el: Add support for decompiling switch > > * lisp/emacs-lisp/byte-opt.el: (byte-decompile-bytecode-1) When the > constant encountered precedes a byte-switch op, replace all the > addresses in the jump table with tags. > commit a7e4870f165e9fd36d5cfcabb19b215b94373602 > Author: Vibhav Pant > Date: Thu Jan 26 14:31:16 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el: Use correct function to push nil > > * lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-jump-table) Use > byte-compile-constant instead of byte-compile-form to push nil. > commit 23a130ee0d61fc39cee157921679809017a02b39 > Author: Vibhav Pant > Date: Sat Jan 21 11:37:20 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el: Remove unused debugging statements. > commit 25d38a06eceb0853190a2d9acf53d85686f524bd > Author: Vibhav Pant > Date: Thu Jan 26 23:03:02 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el:(bc-cond-jump-table-info)add docstring > commit bf7f7c0d82a56ed1b76358657e74ca2833b19fe2 > Merge: 25d38a06ec 9c4dfdd1af > Author: Vibhav Pant > Date: Mon Jan 30 18:35:43 2017 +0530 > > Merge remote-tracking branch 'origin/master' into feature/byte-switch > commit fbe6b90b0ced594cf74d5fd0dc9a32666f0d7d38 > Author: Vibhav Pant > Date: Thu Jan 19 23:13:53 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el: Fix errors with matching quoted forms > > * lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-jump-table-info) > eval obj2 to avoid quoted forms being stored as is. > commit 5f3379b33866ff7dc16856b6c29712eae860af0e > Author: Vibhav Pant > Date: Thu Jan 19 23:13:13 2017 +0530 > > lisp/emacs-lisp/bytecomp.el: Use byte-switch only for quoted symbols > commit f441451658ecb8d0d8ba386d9fd3eebf3b17d549 > Author: Vibhav Pant > Date: Mon Jan 30 19:22:09 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el: Create jump tables with :purecopy t > commit 46193d5209780d21b848374d8c377fb6c8896d1b > Author: Vibhav Pant > Date: Thu Jan 19 23:12:09 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el: Add default-case for last cond clause. > > * lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-jump-table) Add > default-case for last cond clause. > commit bfa88520136dd6b187ba101e6db5a5f8f0d5e874 > Author: Vibhav Pant > Date: Wed Feb 1 18:15:59 2017 +0530 > > Use maphash instead of cl-loop. > > * lisp/emacs-lisp/bytecomp.el: (byte-compile-lapcode) Use maphash > instead of cl-loop > commit 522f16dac945eee351cefb066af40f0d1a683f38 > Author: Vibhav Pant > Date: Thu Jan 19 18:35:46 2017 +0530 > > Add type checking for Bswitch, when enabled at compile time. > > * src/bytecode.c: (exec_byte_code) If BYTE_CODE_SAFE is enabled at > compile time, use CHECK_TYPE to verify that the jump table is a hash table. > commit de456d1e4a1d7e34be6d040e0d8a04c42b14e62e > Author: Vibhav Pant > Date: Fri Feb 3 23:23:28 2017 +0530 > > Revert "Use maphash instead of cl-loop." > > This reverts commit bfa88520136dd6b187ba101e6db5a5f8f0d5e874. > commit 1fcbd352f8116aca1ecdb62e84f3d86b89bc446f > Author: Vibhav Pant > Date: Thu Jan 19 18:02:40 2017 +0530 > > Use byte-switch for all symbols. > > * lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-valid-obj2-p) Return > t for all symbols (instead for just keywords) > commit 44c95c58b26b7b9d75965a83930ec3d77ffae28f > Author: Vibhav Pant > Date: Sun Feb 5 15:37:43 2017 +0530 > > bytecomp.el: Don't store non-keyword symbols in jump-tables. > > * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-valid-obj2-p) return > nil when OBJ is a non-keyword symbol (i.e a variable), as the jump > table can only be used when comparing variables with constant values. > commit 086c4eaf9d4ecc5074088115fa01c0b2fb061246 > Author: Vibhav Pant > Date: Wed Jan 18 22:40:50 2017 +0530 > > * src/bytecode.c: (exec_byte_code) Use hash_lookup for Bswitch > > Fgethash type checks the provided table object, which is unnecessary > for compiled bytecode. > commit 84eef501554324b22c7a838aabed77aa79315121 > Author: Vibhav Pant > Date: Sun Feb 5 18:49:24 2017 +0530 > > byte-opt.el: Replace jump tables while decompiling correctly. > > * lisp/emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): > Don't make a copy of the constant vector, as it isn't used with > the decompiled lapcode. > Make sure that the correct lapcode pair/list is being modified while > replacing the jump table. > commit 37956463d67795819fe7d8fe02d6249388364783 > Merge: 309b46420e fd6b829d91 > Author: Vibhav Pant > Date: Mon Jan 16 19:49:24 2017 +0530 > > update branch > commit fea1ad36a0f7b1538984ab0f077095a53c570aa4 > Author: Vibhav Pant > Date: Sun Feb 5 18:55:45 2017 +0530 > > ; * byte-opt.el (byte-decompile-bytecode-1): Add more documentation. > commit 309b46420e83826ed1e0b947f98a47e8525e3c36 > Author: Vibhav Pant > Date: Sun Jan 15 21:38:31 2017 +0530 > > * lisp/emacs-lisp/byte-opt.el: Optimize how tags are checked for use. > > * byte-opt.el: (byte-optimize-lapcode): Return nil instantly on > finding the tag in a jump table. > commit cadb044fc2e69266308cdcabe6181be0f624b484 > Author: Vibhav Pant > Date: Sun Feb 5 19:23:53 2017 +0530 > > bytecomp.el: Inline lapcode containing `byte-switch' correctly. > > * lisp/emacs-lisp/bytecomp.el (byte-compile-inline-lapcode): > Restore value of byte-compile-depth after emitting a jump to a tag > in a jump table, or default/done tags. > Set the depth of final tags for byte-switch to nil after emitting > any jumps to them. > commit 490fc5a5029c0d8e527a0c7f423ba83fd6afda60 > Author: Vibhav Pant > Date: Sun Feb 5 21:48:27 2017 +0530 > > ; bytecomp.el (-inline-lapcode): Fix incorrect parenthesis, refactor > commit 8c0f326ea237e8acd03c51c1b3a44d237c044562 > Author: Vibhav Pant > Date: Sun Jan 15 19:36:26 2017 +0530 > > * lisp/emacs-lisp/bytecomp.el: Add documentation, remove code duplication > commit 382f6603ad4ba2a69b3961bdc68580ce77d222f9 > Author: Vibhav Pant > Date: Sun Feb 5 21:51:05 2017 +0530 > > ; Fix typo. > > * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-jump-table-info): Fix > typo in docstring. > commit 88549ec38e9bb30e338a9985d0de4e6263b40fb7 > Author: Vibhav Pant > Date: Sun Jan 15 01:26:04 2017 +0530 > > Add new 'switch' byte-code. > > 'switch' takes two arguments from the stack: the variable to test, and > a jump table (implemented as a hash-table with the appropriate :test > function). By looking up the value of the variable in the hash table, > the interpreter can jump to the label pointed to by the value, if any. > This implementation can only be used for `cond' forms of the type > `(cond ((test x 'foo) 'bar) ...)`, such that the function `test` and > variable `x` is same for all clauses. > > * lisp/emacs-lisp/bytecomp.el: > > * Add (byte-compile-cond-valid-obj2-p), (byte-compile-cond-vars), > (byte-compile-cond-jump-table-info), (byte-compile-jump-table-add-tag), > (byte-compile-cond-jump-table), byte-compile-jump-tables. > > * Add defcustom `byte-compile-cond-use-jump-table'. > > * (byte-compile-cond): Use them. > > * (byte-compile-lapcode): Patch tags present in jump tables, if any. > > * lisp/emacs-lisp//byte-opt.el: (byte-optimize-lapcode): Add checks to > some peephole optimizations to prevent them from messing up any code > involving `byte-switch`. > > * src/bytecode.c: (exec_byte_code): Add bytecode Bswitch. > commit 74a3423b0b92b80d84f6de62d1f2d61c21e4bd90 > Author: Vibhav Pant > Date: Sun Feb 5 22:10:22 2017 +0530 > > * byte-opt.el (byte-decompile-bytecode-1): Use eq instead of =. > > ---- > -ap -- Vibhav Pant vibhavp@gmail.com From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 14 14:42:35 2017 Received: (at 26047) by debbugs.gnu.org; 14 Mar 2017 18:42:35 +0000 Received: from localhost ([127.0.0.1]:55951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnrP0-00015z-Ss for submit@debbugs.gnu.org; Tue, 14 Mar 2017 14:42:35 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:41689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnrOy-00015j-LA for 26047@debbugs.gnu.org; Tue, 14 Mar 2017 14:42:33 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 7D273179ACCA; Tue, 14 Mar 2017 19:42:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1489516933; bh=KFSd86yVtZirJIRxKM6/UUlG4UQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=C+pcV1a+v1Bmswg9JiuB8Z/F0BwxV3L40QPxiI4TCt6OexbwXMwRXse8ujadKdbFu yjjY7gT3Wy9NlbAt4Ld/aXB9usv24i+/MNdq7Jg5OVoIGL6mgLmS8hKVvk19OzUZMp 7d5C/E0z5moIe+NzxG1JiO1rX4GxwJx6i4uspkCE= From: Andreas Politz To: Vibhav Pant Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 References: <87wpbwyho2.fsf@luca> <87pohju3y9.fsf@luca> Date: Tue, 14 Mar 2017 19:42:13 +0100 In-Reply-To: (Vibhav Pant's message of "Tue, 14 Mar 2017 23:48:44 +0530") Message-ID: <877f3ru2d6.fsf@luca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Vibhav Pant writes: > Yes, I've been investigating for some time. OK, thank you. -ap From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 15:45:32 2017 Received: (at 26047) by debbugs.gnu.org; 16 Mar 2017 19:45:32 +0000 Received: from localhost ([127.0.0.1]:59283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cobL2-0001si-7X for submit@debbugs.gnu.org; Thu, 16 Mar 2017 15:45:32 -0400 Received: from mail-yw0-f173.google.com ([209.85.161.173]:35154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cobL0-0001sU-2G for 26047@debbugs.gnu.org; Thu, 16 Mar 2017 15:45:30 -0400 Received: by mail-yw0-f173.google.com with SMTP id v198so40156546ywc.2 for <26047@debbugs.gnu.org>; Thu, 16 Mar 2017 12:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/Ug1NFHw+F+v98mW6veb4gvuWg/VUh58zlmdIx+HnfM=; b=DeX+lvLv6yM/Q2PXoZGf5DrWc2U1klQGLAnl15u1PFrstPQkWGI2sP3e8/tBJ9vq+P WPMPAqBvH8bdZQPoEtFUr3tcpNpAeDDEZRXtDLMlW4U2hWiLuDkSyj9DjJiEA5AFSaxg yhiDSm8JcUjb+KmNUAtSzy/YEIujbfzaKm13Fce5cSvs0hYoXNS6pXctLia3Onnfu9AP RB9nFVGLZ95c/F/CSjF4F2lEa3bggM0naBahZ4eF7+2CrqG3Ph2P0pP86FcXNciGBcZm 5wgY08OCuUcaWPh6ZK234LBgFOr8nYPbgPhZ5LDgRXDlcpC+V+5MPS+P4kh7kJf++WcD ce3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/Ug1NFHw+F+v98mW6veb4gvuWg/VUh58zlmdIx+HnfM=; b=gEVD+uQu2X6bPBfbkNX7T6oC6OMLJ9M/9FV5w+Nri01SCBKX4vxJTjMXvSEz0vVRbS MIhQehjUJQrWY/GhHcuaUdW+velC8bLdHUlk2ZvnJQP0GwvwlZlEalVXW4HOQLbWMgBP 3Qf44oopp8GtSaxSTkkaxBpj3clG00dcV20GjvzAoOqCjJ+M5BiMKvuwc1RRE2PPyOVL JnCf0fOF2VXBYNcjQaO3Q4BjqpXmHK/68/xScIvojYNIxwcLvVlX1ETAM11106n77ans DeRy0BjJN7WhFFR3F2mcsIbk3Ix7yEoB3Y//GpgV/UOmREtJFINYqdNHRQ8g7ZwHSaAm qd7Q== X-Gm-Message-State: AFeK/H11un30dXkMS3GX0bLxYNtuUJrv1etZeIuiSvdTniyBsdW3TeQrCdAS0m5s7YT8xSKjPW+cvcErJ3m9YQ== X-Received: by 10.13.224.4 with SMTP id j4mr8768360ywe.139.1489693524374; Thu, 16 Mar 2017 12:45:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.37.3 with HTTP; Thu, 16 Mar 2017 12:45:03 -0700 (PDT) In-Reply-To: <877f3ru2d6.fsf@luca> References: <87wpbwyho2.fsf@luca> <87pohju3y9.fsf@luca> <877f3ru2d6.fsf@luca> From: Vibhav Pant Date: Fri, 17 Mar 2017 01:15:03 +0530 Message-ID: Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 To: Andreas Politz Content-Type: multipart/mixed; boundary=94eb2c07d0b45891db054ade4d6f X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --94eb2c07d0b45891db054ade4d6f Content-Type: text/plain; charset=UTF-8 Could you apply this patch, and see if the issue is fixed? Thanks, Vibhav On Wed, Mar 15, 2017 at 12:12 AM, Andreas Politz wrote: > Vibhav Pant writes: > >> Yes, I've been investigating for some time. > > OK, thank you. > > -ap -- Vibhav Pant vibhavp@gmail.com --94eb2c07d0b45891db054ade4d6f Content-Type: text/x-patch; charset=US-ASCII; name="fix-inline.patch" Content-Disposition: attachment; filename="fix-inline.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j0ct2ljd0 ZGlmZiAtLWdpdCBhL2xpc3AvZW1hY3MtbGlzcC9ieXRlY29tcC5lbCBiL2xpc3AvZW1hY3MtbGlz cC9ieXRlY29tcC5lbAppbmRleCA3Y2JlZjhlNDM0Li5kYTBhMjRjNjE0IDEwMDY0NAotLS0gYS9s aXNwL2VtYWNzLWxpc3AvYnl0ZWNvbXAuZWwKKysrIGIvbGlzcC9lbWFjcy1saXNwL2J5dGVjb21w LmVsCkBAIC0zMTQwLDcgKzMxNDAsNyBAQCBieXRlLWNvbXBpbGUtaW5saW5lLWxhcGNvZGUKICAg OzsgbGV4aWNhbC1iaW5kaW5nLCBidXQgaXQncyBub3QgdHJ1ZSBpbiBnZW5lcmFsLCBhbmQgaXQn cyBub3QgdHJ1ZSBmb3IKICAgOzsgY29kZSBvdXRwdXQgYnkgYnl0ZWNvbXAuZWwgd2l0aCBsZXhp Y2FsLWJpbmRpbmcuCiAgIDs7IFdlIGFsc28gcmVzdG9yZSB0aGUgdmFsdWUgb2YgYGJ5dGUtY29t cGlsZS1kZXB0aCcgYW5kIHJlbW92ZSBUQUcgZGVwdGhzCi0gIDs7IGFjY29yZGluZ2x5IHdoZW4g aW5saW5pbmcgbGFwY29kZSBjb250YWluaW5nIGxhcC1jb2RlLCBleGFjdGx5IGFzCisgIDs7IGFj Y29yZGluZ2x5IHdoZW4gaW5saW5pbmcgbGFwY29kZSB3aGljaCB1c2VzIGBieXRlLXN3aXRjaCcs IGV4YWN0bHkgYXMKICAgOzsgZG9jdW1lbnRlZCBpbiBgYnl0ZS1jb21waWxlLWNvbmQtanVtcC10 YWJsZScuCiAgIChsZXQgKChlbmR0YWcgKGJ5dGUtY29tcGlsZS1tYWtlLXRhZykpCiAgICAgICAg IGxhc3QtanVtcC10YWcgOzsgbGFzdCBUQUcgd2UgaGF2ZSBqdW1wZWQgdG8KQEAgLTMxNDgsMjIg KzMxNDgsMjcgQEAgYnl0ZS1jb21waWxlLWlubGluZS1sYXBjb2RlCiAgICAgICAgIGxhc3QtY29u c3RhbnQgOzsgdmFsdWUgb2YgdGhlIGxhc3QgY29uc3RhbnQgZW5jb3VudGVyZWQKICAgICAgICAg bGFzdC1zd2l0Y2ggOzsgd2hldGhlciB0aGUgbGFzdCBvcCBlbmNvdW50ZXJlZCB3YXMgYnl0ZS1z d2l0Y2gKICAgICAgICAgc3dpdGNoLXRhZ3MgOzsgYSBsaXN0IG9mIHRhZ3MgdGhhdCBieXRlLXN3 aXRjaCBjb3VsZCBqdW1wIHRvCisgICAgICAgIGxhc3QtdGFnIDs7IGxhc3QgVEFHIHRoYXQgd2Ug aGF2ZSBvdXRwdXQKKyAgICAgICAgcmVzdG9yZS1kZXB0aCA7OyBpZiBub24tbmlsLCBgYnl0ZS1j b21waWxlLWRlcHRoJyBpcyBzZXQgdG8gYGxhc3QtZGVwdGgnCiAgICAgICAgIDs7IGEgbGlzdCBv ZiB0YWdzIGJ5dGUtc3dpdGNoIHdpbGwganVtcCB0bywgaWYgdGhlIHZhbHVlIGRvZXNuJ3QKICAg ICAgICAgOzsgbWF0Y2ggYW55IGVudHJ5IGluIHRoZSBoYXNoIHRhYmxlCiAgICAgICAgIHN3aXRj aC1kZWZhdWx0LXRhZ3MpCiAgICAgKGRvbGlzdCAob3AgbGFwKQogICAgICAgKGNvbmQKICAgICAg ICAoKGVxIChjYXIgb3ApICdUQUcpCi0gICAgICAgICh3aGVuIChvciAobWVtYmVyIG9wIHN3aXRj aC10YWdzKSAobWVtYmVyIG9wIHN3aXRjaC1kZWZhdWx0LXRhZ3MpKQorICAgICAgICAod2hlbiAo b3IgcmVzdG9yZS1kZXB0aAorICAgICAgICAgICAgICAgICAgKG1lbWJlciBvcCBzd2l0Y2gtdGFn cykKKyAgICAgICAgICAgICAgICAgIChtZW1iZXIgb3Agc3dpdGNoLWRlZmF1bHQtdGFncykpCiAg ICAgICAgICAgOzsgVGhpcyBUQUcgaXMgdXNlZCBpbiBhIGp1bXAgdGFibGUsIHRoaXMgbWVhbnMg dGhlIGxhc3QgZ290bwogICAgICAgICAgIDs7IHdhcyB0byBhIGRvbmUvZGVmYXVsdCBUQUcsIGFu ZCB0aHVzIGl0J3MgY2RkciBzaG91bGQgYmUgc2V0IHRvIG5pbC4KICAgICAgICAgICAod2hlbiBs YXN0LWp1bXAtdGFnCiAgICAgICAgICAgICAoc2V0Y2RyIChjZHIgbGFzdC1qdW1wLXRhZykgbmls KSkKICAgICAgICAgICA7OyBBbHNvLCByZXN0b3JlIHRoZSB2YWx1ZSBvZiBgYnl0ZS1jb21waWxl LWRlcHRoJyB0byB3aGF0IGl0IHdhcwotICAgICAgICAgIDs7IGJlZm9yZSB0aGUgbGFzdCBnb3Rv LgorICAgICAgICAgIDs7IGJlZm9yZSB0aGUgbGFzdCBnb3RvL3JldHVybi4KICAgICAgICAgICAo c2V0cSBieXRlLWNvbXBpbGUtZGVwdGggbGFzdC1kZXB0aAotICAgICAgICAgICAgICAgIGxhc3Qt anVtcC10YWcgbmlsKSkKLSAgICAgICAgKGJ5dGUtY29tcGlsZS1vdXQtdGFnIG9wKSkKKyAgICAg ICAgICAgICAgICBsYXN0LWp1bXAtdGFnIG5pbAorICAgICAgICAgICAgICAgIHJlc3RvcmUtZGVw dGggbmlsKSkKKyAgICAgICAgKGJ5dGUtY29tcGlsZS1vdXQtdGFnIChzZXRxIGxhc3QtdGFnIG9w KSkpCiAgICAgICAgKChtZW1xIChjYXIgb3ApIGJ5dGUtZ290by1vcHMpCiAgICAgICAgIChzZXRx IGxhc3QtZGVwdGggYnl0ZS1jb21waWxlLWRlcHRoCiAgICAgICAgICAgICAgIGxhc3QtanVtcC10 YWcgKGNkciBvcCkpCkBAIC0zMTc2LDcgKzMxODEsMTUgQEAgYnl0ZS1jb21waWxlLWlubGluZS1s YXBjb2RlCiAgICAgICAgICAgKHNldHEgYnl0ZS1jb21waWxlLWRlcHRoIGxhc3QtZGVwdGgKICAg ICAgICAgICAgICAgICBsYXN0LXN3aXRjaCBuaWwpKSkKICAgICAgICAoKGVxIChjYXIgb3ApICdi eXRlLXJldHVybikKLSAgICAgICAgKGJ5dGUtY29tcGlsZS1kaXNjYXJkICgtIGJ5dGUtY29tcGls ZS1kZXB0aCBlbmQtZGVwdGgpIHQpCisgICAgICAgIDs7IHRoZSBieXRlIG9wdGltaXplciByZXBs YWNlcyBzb21lIGdvdG8ncyB3aXRoIHJldHVybnMsCisgICAgICAgIDs7IHdlIGNoZWNrIHdoZXRo ZXIgdGhlIGdvdG8gcmVwbGFjZWQgd2FzIGEganVtcCB0byBhCisgICAgICAgIDs7IHN3aXRjaCBE T05FVEFHLCBhbmQgc2V0IGByZXN0b3JlLWRlcHRoJyBhbmQKKyAgICAgICAgOzsgYGxhc3QtZGVw dGgnIGFjY29yZGluZ2x5CisgICAgICAgIChpZiAobWVtYmVyIGxhc3QtdGFnIHN3aXRjaC10YWdz KQorICAgICAgICAgICAgKHByb2duIChzZXRxIGxhc3QtZGVwdGggYnl0ZS1jb21waWxlLWRlcHRo CisgICAgICAgICAgICAgICAgICAgICAgICAgcmVzdG9yZS1kZXB0aCB0KQorICAgICAgICAgICAg ICAgICAgIChieXRlLWNvbXBpbGUtZGlzY2FyZCAxIHQpKQorICAgICAgICAgIChieXRlLWNvbXBp bGUtZGlzY2FyZCAoLSBieXRlLWNvbXBpbGUtZGVwdGggZW5kLWRlcHRoKSB0KSkKICAgICAgICAg KGJ5dGUtY29tcGlsZS1nb3RvICdieXRlLWdvdG8gZW5kdGFnKSkKICAgICAgICAodAogICAgICAg ICAod2hlbiAoZXEgKGNhciBvcCkgJ2J5dGUtc3dpdGNoKQpAQCAtNDAzMSw2ICs0MDQ0LDcgQEAg Ynl0ZS1jb21waWxlLWNvbmQtanVtcC10YWJsZS1pbmZvCiBUaGUgY29uZGl0aW9uIGZvciBlYWNo IGNsYXVzZSBpcyBvZiB0aGUgZm9ybSAoVEVTVCBWQVIgVkFMVUUpLgogVkFSIGlzIGEgdmFyaWFi bGUuCiBURVNUIGFuZCBWQVIgYXJlIHRoZSBzYW1lIHRocm91Z2hvdXQgYWxsIGNvbmRpdGlvbnMu CitURVNUIGlzIGVpdGhlciBlcSwgZXFsIG9yIGVxdWFsLgogVkFMVUUgc2F0aXNmaWVzIGBtYWNy b2V4cC1jb25zdC1wJy4KIAogUmV0dXJuIGEgbGlzdCBvZiB0aGUgZm9ybSAoKFRFU1QgLiBWQVIp ICAoKFZBTFVFIEJPRFkpIC4uLikpIgpAQCAtNDA4Miw3ICs0MDk2LDcgQEAgYnl0ZS1jb21waWxl LWNvbmQtanVtcC10YWJsZQogICAgICAgICAgICAgZG9uZXRhZyAoYnl0ZS1jb21waWxlLW1ha2Ut dGFnKSkKICAgICAgIDs7IFRoZSBzdHJ1Y3R1cmUgb2YgYnl0ZS1zd2l0Y2ggY29kZToKICAgICAg IDs7Ci0gICAgICA7OyB2YXJyZWYgdmFyCisgICAgICA7OyB2YXJyZWYgdmFyL3N0YWNrLXJlZiA8 bj4KICAgICAgIDs7IGNvbnN0YW50ICNzKGhhc2gtdGFibGUgcHVyZWNvcHkgdCBkYXRhICh2YWwx IChUQUcxKSB2YWwyIChUQUcyKSkpCiAgICAgICA7OyBzd2l0Y2gKICAgICAgIDs7IGdvdG8gREVG QVVMVC1UQUcKQEAgLTQwOTIsOSArNDEwNiw5IEBAIGJ5dGUtY29tcGlsZS1jb25kLWp1bXAtdGFi bGUKICAgICAgIDs7IFRBRzIKICAgICAgIDs7IDxjbGF1c2UgYm9keT4KICAgICAgIDs7IGdvdG8g RE9ORVRBRwotICAgICAgOzsgREVGQVVMVC1UQUcKKyAgICAgIDs7IERFRkFVTFQtVEFHOgogICAg ICAgOzsgPGJvZHkgZm9yIGB0JyBjbGF1c2UsIGlmIGFueSAoZWxzZSBgY29uc3RhbnQgbmlsJyk+ Ci0gICAgICA7OyBET05FVEFHCisgICAgICA7OyBET05FVEFHOgogCiAgICAgICAoYnl0ZS1jb21w aWxlLXZhcmlhYmxlLXJlZiB2YXIpCiAgICAgICAoYnl0ZS1jb21waWxlLXB1c2gtY29uc3RhbnQg anVtcC10YWJsZSkKQEAgLTQxMTQsNiArNDEyOCw4IEBAIGJ5dGUtY29tcGlsZS1jb25kLWp1bXAt dGFibGUKICAgICAgICAgICAgICAgY2FzZXMgKGJ1dGxhc3QgY2FzZXMgMSkpKQogCiAgICAgICAo ZG9saXN0IChjYXNlIGNhc2VzKQorICAgICAgICA7OyBUT0RPOiBQZXJoYXBzIHVzZSBhIG5ldyB0 YWcgdHlwZSAoU1dJVENILVRBRykgZm9yIHRoaXMsIHNvIHdlIGNhbgorICAgICAgICA7OyByZWNv Z25pemUgYW5kIGRlYWwgd2l0aCBzd2l0Y2ggYnl0ZWNvZGUvbGFwY29kZSBtb3JlIGVhc2lseS4K ICAgICAgICAgKHNldHEgdGFnIChieXRlLWNvbXBpbGUtbWFrZS10YWcpCiAgICAgICAgICAgICAg IHRlc3Qtb2JqIChudGggMCBjYXNlKQogICAgICAgICAgICAgICBib2R5IChudGggMSBjYXNlKSkK --94eb2c07d0b45891db054ade4d6f-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 06:17:52 2017 Received: (at 26047) by debbugs.gnu.org; 17 Mar 2017 10:17:52 +0000 Received: from localhost ([127.0.0.1]:59650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cooxE-00006v-D4 for submit@debbugs.gnu.org; Fri, 17 Mar 2017 06:17:52 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:35021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cooxC-00006b-4h for 26047@debbugs.gnu.org; Fri, 17 Mar 2017 06:17:50 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id CD9A1179ACFC; Fri, 17 Mar 2017 11:17:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1489745850; bh=u9gMXLd4CDF/EGwoEy8NLvd4X/U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=MrWyCcYF7E0Hl5SA1E2S8M9NSsc9lP/SuVrWeSH8mWIjwhqNMCBMhOXI+fs6RAN2D AGGEjqyBH9HgLswQZuJ17I2qkS61ZK8UWDygxivFQzosoAoybfr6qYNZjCWgVJG+gC nAHp7zFXojLeGsZLryrqRlGIk0uI4urhDxzH//aM= From: Andreas Politz To: Vibhav Pant Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 References: <87wpbwyho2.fsf@luca> <87pohju3y9.fsf@luca> <877f3ru2d6.fsf@luca> Date: Fri, 17 Mar 2017 11:17:29 +0100 In-Reply-To: (Vibhav Pant's message of "Fri, 17 Mar 2017 01:15:03 +0530") Message-ID: <87inn88ax2.fsf@luca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Vibhav Pant writes: > Could you apply this patch, and see if the issue is fixed? I'm afraid not. Debugger entered--Lisp error: (void-function s) s(buf string "abcdefg") byte-code("\300\301!\210\302\303\304\305#\210\302\303\304\306\303\304N\307D.\310\267\2027.\311\312.\"\262.\202=.\311\313.\"\262.\202=.\311\314\211.\315\"\"\262.\202=.\316\317.\"\266\205#\210\320\321!\207" [require cl-lib put s buf "abcd" string "efg" #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (vector 25 string 34 list 43)) apply vconcat concat append (nil) error "Not a sequence type name: %S" provide byte-code-bug] 12) -ap From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 07:39:54 2017 Received: (at 26047) by debbugs.gnu.org; 17 Mar 2017 11:39:54 +0000 Received: from localhost ([127.0.0.1]:59734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coqEb-0003yn-VT for submit@debbugs.gnu.org; Fri, 17 Mar 2017 07:39:54 -0400 Received: from mail-yw0-f179.google.com ([209.85.161.179]:36013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coqEZ-0003ya-Os for 26047@debbugs.gnu.org; Fri, 17 Mar 2017 07:39:52 -0400 Received: by mail-yw0-f179.google.com with SMTP id o4so51197315ywd.3 for <26047@debbugs.gnu.org>; Fri, 17 Mar 2017 04:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=I2fCs5rbwYErs00dgKVI5hEsjQWxstunL/QL2CR1pp4=; b=kos5fIDmRqvqjLRRRe8sDUq4hV6W7WUwNea5EWh2qJKQuJbeA9t833mIbWuDzYFJAd 2CR1ION9C7GlJh8cxR2PXukiUWv36kXYPfsVDCTivxGaL1UQLN/B5BEOmIx7c3kruVRm CQtcaEF83so9R3duLm4Mlnum2dt4GexOUkFOxCYVYVn2/VYDPxsQ5mSFFB3ujhIV3kRE NaJdTQM6KXkNaTU0Mx6i3zf11hA/+xIqU9RxOT3DTBUdbgINtGoZ2WD3GCD0b5UYmiK5 8R2O8Uh3IIIkTKw72IqCmEngdh64qm6L1ODa7I0mp4tcMHzZtV0Y4Iu0UMitFJBSsW35 1gBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=I2fCs5rbwYErs00dgKVI5hEsjQWxstunL/QL2CR1pp4=; b=p6Pm40WRn537GZAh8VBMo1oyn590GDMu6je/1kWaDTZU+9y4mRW8BDyOVOJ+s5wOmS CILBuuifiRDd3IEW/9bV1qQHvnnAiERxgIG15EwhDD9N7NRztGJq3ag7pqOT911k0eYO bYRrb9j7t6EuuUwK/LhYjLXg7erG1TOziW/obo/YLvHFE+5IxtSPcTYlpzrm2QJSXsuu zDJtMP59zckDLXB1ERKfjHy9SQrUE8Gd149S0T1Whd6whdzIp2BQSP/wPdo1iH9kvApV Ho0Onr1pZpfJ3IESVMXBlBr4YOitowpJo/MO9XWkUARhvxMt2pbkIELMPjNzcoYl7luA s9Qg== X-Gm-Message-State: AFeK/H3GopjSO84Re6xpEPSzGV2nmDZqOnSFlwW1CI2cSktaG/aB1r+fuBqg1e28COMA6USGrBIVcJfAt04OnQ== X-Received: by 10.37.197.207 with SMTP id v198mr6851352ybe.33.1489750785925; Fri, 17 Mar 2017 04:39:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.37.3 with HTTP; Fri, 17 Mar 2017 04:39:25 -0700 (PDT) In-Reply-To: <87inn88ax2.fsf@luca> References: <87wpbwyho2.fsf@luca> <87pohju3y9.fsf@luca> <877f3ru2d6.fsf@luca> <87inn88ax2.fsf@luca> From: Vibhav Pant Date: Fri, 17 Mar 2017 17:09:25 +0530 Message-ID: Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 To: Andreas Politz Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) This is possibly to do with byte-compile-inline-lapcode inlining some byte-switch lapcode incorrectly. I'll send another patch as soon as I rewrite it. Thanks, Vibhav On Fri, Mar 17, 2017 at 3:47 PM, Andreas Politz wrote: > Vibhav Pant writes: > >> Could you apply this patch, and see if the issue is fixed? > > I'm afraid not. > > Debugger entered--Lisp error: (void-function s) > s(buf string "abcdefg") > byte-code("\300\301!\210\302\303\304\305#\210\302\303\304\306\303\304N\= 307D.\310\267\2027.\311\312.\"\262.\202=3D.\311\313.\"\262.\202=3D.\311\314= \211.\315\"\"\262.\202=3D.\316\317.\"\266\205#\210\320\321!\207" [require c= l-lib put s buf "abcd" string "efg" #s(hash-table size 3 test eq rehash-siz= e 1.5 rehash-threshold 0.8125 purecopy t data (vector 25 string 34 list 43)= ) apply vconcat concat append (nil) error "Not a sequence type name: %S" pr= ovide byte-code-bug] 12) > > -ap --=20 Vibhav Pant vibhavp@gmail.com From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 11:45:18 2017 Received: (at 26047) by debbugs.gnu.org; 17 Mar 2017 15:45:18 +0000 Received: from localhost ([127.0.0.1]:32781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cou46-00023z-Le for submit@debbugs.gnu.org; Fri, 17 Mar 2017 11:45:18 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:54148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cou44-00023i-I8 for 26047@debbugs.gnu.org; Fri, 17 Mar 2017 11:45:17 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 8E812179B2CA; Fri, 17 Mar 2017 16:44:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1489765496; bh=GZ2DKmHMqmiQ/wvhVbuRjf+9q9E=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=NkEkGNEtw9SlQsIok3MG10sNlHDaJ8GllNZxJkDKuWlQIMW6rvMExp8vcCJH4EtoL jV0pq9uErshx1loLJPOjW5UGTQieJAVyEwEPx815lFafss1LF6yL4Ahe4bKp3j2rUO cNg+KUiMPzh72pkupQT4NoC5WOEnV1gCVA940D2g= From: Andreas Politz To: Vibhav Pant Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 References: <87wpbwyho2.fsf@luca> <87pohju3y9.fsf@luca> <877f3ru2d6.fsf@luca> <87inn88ax2.fsf@luca> Date: Fri, 17 Mar 2017 16:44:56 +0100 In-Reply-To: (Vibhav Pant's message of "Fri, 17 Mar 2017 17:09:25 +0530") Message-ID: <87a88j9abr.fsf@luca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Here is a test case. (ert-deftest byte-code-optimzier-1 () (let* ((el-file (make-temp-file "test" nil ".el")) (elc-file (concat (file-name-sans-extension el-file) ".elc"))) (unwind-protect (let ((byte-compile-warnings t)) (with-temp-file el-file (dolist (form '((require 'cl-lib) (put 's 'buf "abcd") (cl-callf2 cl-concatenate 'string (get 's 'buf) "efg") (provide 't))) (insert (prin1-to-string form)) (insert "\n"))) (byte-compile-file el-file) (should (progn (load-file elc-file) t))) (when (file-exists-p el-file) (delete-file el-file)) (when (file-exists-p elc-file) (delete-file elc-file))))) -ap From debbugs-submit-bounces@debbugs.gnu.org Wed May 17 23:18:26 2017 Received: (at 26047) by debbugs.gnu.org; 18 May 2017 03:18:27 +0000 Received: from localhost ([127.0.0.1]:51607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBBxK-0007qn-Mb for submit@debbugs.gnu.org; Wed, 17 May 2017 23:18:26 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:33676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBBxI-0007qV-8e; Wed, 17 May 2017 23:18:24 -0400 Received: by mail-it0-f65.google.com with SMTP id l145so3494751ita.0; Wed, 17 May 2017 20:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=B0mEQ++XWxZm7r96+ON6L9dTPloMNf0fMVl3jUgTH1w=; b=MjKerH2tMhyRvxDbUWUyOtm52B1SUmua39eGSDpLxdHbx26kVIB1YuYtQZr/cBKRAh w4mWKhMDYqWnwNnL5EHwgMdudAK2Os1EDw5sNkFwW+bp6NGSZ/W7CCH9Sn/e7huytnYt qIVPflXQWR4car8skuKoxqg2NJHOnCNmCd4tEMGYAzK3tPLi6XfqB8LzJCxX6T7fEWzT 5c6HjjvdQzwAvhYhgShoD3pMxGrwo/MO/BFuSQF5PbFcGrgiTxKdwnCb/JHd5ORirZTv 8131nkQl4RaZ+YdaJIqBxHbOfhI7DZSAnKKeVRhI+YNR/mqbF8p2ATYg5fuUVegIPOgV Qkbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=B0mEQ++XWxZm7r96+ON6L9dTPloMNf0fMVl3jUgTH1w=; b=aTvvwOW119FZPAxeEuFNzjsl1Vw6TH49vIqdSArwPd2+MG6lMFeTYw3KrSHt76cIYM ppUFqMrGqG7KLwjXHKE9ntikaTaLcrCV+lm6lpl+jrXUSmqNItYxYIMkSwuR7C0vS4j7 y++YEt8UwRnFy0caU+JgoyKMuFsONTwGOWZ/natzyZPAeuTSADs+b81+AD8BlPt3yi9C t5Q/Pzs5wSbGfE2JeTIw851uvnSJcJYn9NkJmt/PkrJx2cvi47SeJ4DSYiPQyjif72H4 mla2VfsUMvX+ovPSo5Ngqo+ZwUwyKZ9ZikKN4TdzLKBkrK01rhqRiXliZpY20hOWSduK tgKw== X-Gm-Message-State: AODbwcAe0jPg/KgP0i748W9s9XZ3oQYFWOO1y9s5FloDSuDUgT4W+IRm LDz5n3k036RlZQ== X-Received: by 10.36.99.77 with SMTP id j74mr2546800itc.116.1495077498659; Wed, 17 May 2017 20:18:18 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id i73sm1236724ioi.55.2017.05.17.20.18.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 May 2017 20:18:17 -0700 (PDT) From: npostavs@users.sourceforge.net To: Andreas Politz Subject: Re: bug#26047: 26.0.50; emacs crash by cl-caff2 References: <87wpbwyho2.fsf@luca> <87pohju3y9.fsf@luca> <877f3ru2d6.fsf@luca> <87inn88ax2.fsf@luca> <87a88j9abr.fsf@luca> Date: Wed, 17 May 2017 23:19:53 -0400 In-Reply-To: <87a88j9abr.fsf@luca> (Andreas Politz's message of "Fri, 17 Mar 2017 16:44:56 +0100") Message-ID: <87h90ij1gm.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 26047 Cc: 26047@debbugs.gnu.org, Leo Liu , Vibhav Pant X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) tags 26047 fixed close 26047 quit Andreas Politz writes: > Here is a test case. > > (ert-deftest byte-code-optimzier-1 () > (let* ((el-file (make-temp-file "test" nil ".el")) > (elc-file (concat (file-name-sans-extension el-file) ".elc"))) > (unwind-protect > (let ((byte-compile-warnings t)) > (with-temp-file el-file > (dolist (form '((require 'cl-lib) > (put 's 'buf "abcd") > (cl-callf2 cl-concatenate 'string (get 's 'buf) "efg") > (provide 't))) > (insert (prin1-to-string form)) > (insert "\n"))) > (byte-compile-file el-file) > (should (progn (load-file elc-file) t))) > (when (file-exists-p el-file) > (delete-file el-file)) > (when (file-exists-p elc-file) > (delete-file elc-file))))) > > -ap This seems to be fixed now, I guess by [1: b389379c87]. [1: b389379c87]: 2017-04-20 21:23:08 +0530 bytecomp: Don't inline functions that use byte-switch (Bug#26518) http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b389379c87481b6bc647ceb4d323f861281cad72 From unknown Sat Jun 21 12:28:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Jun 2017 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator