From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#31742: 26.1.50; excorporate.elc byte-compiled in Emacs 25.x fails in Emacs 26.1 Date: Wed, 06 Jun 2018 21:07:21 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1528333572 10066 195.159.176.226 (7 Jun 2018 01:06:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Jun 2018 01:06:12 +0000 (UTC) To: 31742@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 07 03:06:08 2018 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 1fQjNP-0002Rz-O1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jun 2018 03:06:08 +0200 Original-Received: from localhost ([::1]:55242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQjPU-0006Pb-RH for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jun 2018 21:08:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQjPK-0006PF-Rk for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 21:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQjPH-0008MT-8P for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 21:08:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQjPG-0008M0-W5 for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 21:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fQjPG-0002JY-Hf for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 21:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jun 2018 01:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31742 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.15283336588864 (code B ref -1); Thu, 07 Jun 2018 01:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Jun 2018 01:07:38 +0000 Original-Received: from localhost ([127.0.0.1]:37254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQjOr-0002It-Rx for submit@debbugs.gnu.org; Wed, 06 Jun 2018 21:07:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQjOp-0002Ih-Go for submit@debbugs.gnu.org; Wed, 06 Jun 2018 21:07:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQjOj-00089r-2S for submit@debbugs.gnu.org; Wed, 06 Jun 2018 21:07:30 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45669) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQjOi-00089j-UU for submit@debbugs.gnu.org; Wed, 06 Jun 2018 21:07:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQjOh-0006MI-Lm for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 21:07:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQjOe-00087k-GR for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 21:07:27 -0400 Original-Received: from mail-it0-x229.google.com ([2607:f8b0:4001:c0b::229]:54553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQjOe-00087J-8w for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 21:07:24 -0400 Original-Received: by mail-it0-x229.google.com with SMTP id 76-v6so10685446itx.4 for ; Wed, 06 Jun 2018 18:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=sMUulrIYicxtHVFp7zy9cAzylmrBboWqsKZ3D6zwcGA=; b=vZwZ0ImePiWBr9zwut7hn2mZ2IJUshzn40rwIPGAti9OZIfgxpyeUisbDNg9bCpfxE OU0j7GNZBD+9218epoLbuTS8S3BeI6WryN3pPJzC7lww0lvhSg9NIDrzhJwAa4dkaCWR nDd5hc+L+tSnlzI+f75vgXu+zTiK4KAbeB1W7rbhsrRGa8A65fZdAK7g6OnyBfR8Ot9r 5x7SO3c8wcXUuP9O89QQPtiba+uMfTpr56Cw9Sf9RWokyNpiUoeArXe4ZEItNjzeWX+T oUOheK/BJEijIK/4QZdGa9vC7Hs38Hj2293fN5LpXysH8/aJIA/aTbiMQnEN9M42vDAN D3rA== 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=sMUulrIYicxtHVFp7zy9cAzylmrBboWqsKZ3D6zwcGA=; b=BfwBiFA+xoV1yeNLzV8jao2sDUbo6m2Q+8SkPyP2twDoUiOWfYIM8s5vbg/1+P+XwC dagC/gu1MrEPjTh9DL8X9OwFkwWuMMZVZMxGBQ7nPwV8LznAxrsh19tckiopro7e44Mo tjn0dG7U/IjvmWAoSNW8RdBO3Pxw8Afjqw6qqj/UOaf0DD+d7+FFo+gIRIh7kXUKcAnV cNd5SoPVbL/JpB+83DgBueipDTTo0YoK/Srx+N3NyHPA1HluYv5Xh3IXiDqdUTDmQpkS CDumuX6R1pwOUyzfbfFd4uPdTphO3qqTJ3CvjobEULAwfo/KdrxHomH2AF0S2AyMziya Uibw== X-Gm-Message-State: APt69E0y4OB+npGYfQADF4EPQb81RYh8e31xea3yQM2qZEjmx55NXftg yLBp+3eUdEeCa5sSfAWx+eAOq4zg X-Google-Smtp-Source: ADUXVKIK1oNbgBhQCk35/Z5DGEjZGRAtNewvrfak+NrqsfQtyhFu/yQkXUI1Injmx0d1hlwsvbCV4g== X-Received: by 2002:a24:de0b:: with SMTP id d11-v6mr162071itg.5.1528333643013; Wed, 06 Jun 2018 18:07:23 -0700 (PDT) Original-Received: from hp-dv5t (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id k130-v6sm186362itb.0.2018.06.06.18.07.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 18:07:22 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:147115 Archived-At: --=-=-= Content-Type: text/plain Hi, An Excorporate user reported an issue when running on Emacs 26.1 that didn't happen in Emacs 25.3. The error message, when trying to retrieve calendar items on a given day is: soap-find-operation: Wrong type argument: soap-binding, ("http://schemas.microsoft.com/exchange/services/2006/messages" . "ExchangeServiceBinding") The simplest workaround is: M-x package-reinstall RET excorporate RET I narrowed the cause down to what seems to be an incompatibility between 25.x bytecode and 26.1. This issue only happens when excorporate.elc has been byte compiled in Emacs 25.x (the .x doesn't seem to matter; I replicated it on Emacs 25.1) and is then run in Emacs 26.1. It doesn't happen with a fresh package install on 25.x or 26.1. When in the failure state, if I re-eval this function: (defun exco--bind-wsdl (wsdl service-url port-name target-namespace binding-name) "Create a WSDL binding. Create a binding port for WSDL from SERVICE-URL, PORT-NAME, TARGET-NAMESPACE and BINDING-NAME." (let* ((namespace (soap-wsdl-find-namespace target-namespace wsdl)) (port (make-soap-port :name port-name :binding (cons target-namespace binding-name) :service-url service-url))) (soap-namespace-put port namespace) (push port (soap-wsdl-ports wsdl)) (soap-resolve-references port wsdl) wsdl)) everything works. In terms higher level functionality, it seems like the call to soap-resolve-references has no effect. I'm attaching the 25.1 and 26.1 bytecode for this function, disassembled. Maybe someone can identify what's wrong or suggest next steps? Thank you, Thomas --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=exco--bind-wsdl-dump-25.1.txt byte code for exco--bind-wsdl: doc: Create a WSDL binding. ... args: (arg1 arg2 arg3 arg4 arg5) 0 constant soap-wsdl-find-namespace 1 stack-ref 2 2 stack-ref 6 4 call 2 5 constant vector 6 constant cl-struct-soap-port 7 stack-ref 5 8 constant nil 9 stack-ref 8 11 stack-ref 7 13 stack-ref 7 15 cons 16 call 5 17 constant soap-namespace-put 18 stack-ref 1 19 stack-ref 3 20 call 2 21 discard 22 stack-ref 6 24 constant 0 25 aref 26 varref cl-struct-soap-wsdl-tags 27 memq 28 goto-if-not-nil 1 31 constant signal 32 constant wrong-type-argument 33 constant soap-wsdl 34 stack-ref 9 36 list2 37 call 2 38 discard 39:1 stack-ref 6 41 dup 42 constant 4 43 stack-ref 3 44 stack-ref 3 45 constant 4 46 aref 47 cons 48 aset 49 discardN 2 51 constant soap-resolve-references 52 stack-ref 1 53 stack-ref 8 55 call 2 56 discard 57 stack-ref 6 59 return --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=exco--bind-wsdl-dump-26.1.txt byte code for exco--bind-wsdl: doc: Create a WSDL binding. ... args: (arg1 arg2 arg3 arg4 arg5) 0 constant soap-wsdl-find-namespace 1 stack-ref 2 2 stack-ref 6 4 call 2 5 constant record 6 constant soap-port 7 stack-ref 5 8 constant nil 9 stack-ref 8 11 stack-ref 7 13 stack-ref 7 15 cons 16 call 5 17 constant soap-namespace-put 18 stack-ref 1 19 stack-ref 3 20 call 2 21 discard 22 constant type-of 23 stack-ref 7 25 call 1 26 varref cl-struct-soap-wsdl-tags 27 memq 28 goto-if-not-nil 1 31 constant signal 32 constant wrong-type-argument 33 constant soap-wsdl 34 stack-ref 9 36 list2 37 call 2 38 discard 39:1 stack-ref 6 41 dup 42 constant 4 43 stack-ref 3 44 stack-ref 3 45 constant 4 46 aref 47 cons 48 aset 49 discardN 2 51 constant soap-resolve-references 52 stack-ref 1 53 stack-ref 8 55 call 2 56 discard 57 stack-ref 6 59 return --=-=-=--