From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73199: soap-client; soap-invoke-internal is not thread-safe Date: Thu, 12 Sep 2024 16:20:03 +0200 Message-ID: <87cyl9j6ng.fsf@gmx.de> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5747"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alexandru Harsanyi To: 73199@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 12 16:21:14 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sokh8-0001Lh-5N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Sep 2024 16:21:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sokgr-0001Ka-Sl; Thu, 12 Sep 2024 10:20:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sokgp-0001Jz-DL for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 10:20:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sokgp-00051J-4M for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 10:20:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=Iqkn4HcgnSUXANBRBx5kJ9pvZ+Cfw1lQKkNSwCGQGjs=; b=K0QdqFRxFWhA0p8b/xVWATNHZ5ccObCZgn3KydxfXIxS+uZqiV81I8K/G+9/j2EAq3j30RobC0EQy8C7j4oE6XbedDWTASUEDxzqAuxuUogUy6j5VAoySI/pZRv9MLs6zzlzKS+v2u2ALgPzJAGZtlDJ7qHFpFf3l8WNmesQjROCHsWIKYgZ2afydStxsuveYq0afIuaSIdrApupcR1IJuUNl7rRlUVCOPYu1dUtniIvppMSGdZaq1SXfqzaUJZqoKU5YA5RLnUV5c1+E/2/duc/LoruClp2bmlcCn9c14SI6OCEpRqfh/fRmfl9zkglZV29KB9XI/8uyEYHu7eRJA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sokgw-0004nf-If; Thu, 12 Sep 2024 10:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: AlexHarsanyi@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Sep 2024 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73199 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Alexandru Harsanyi Original-Received: via spool by submit@debbugs.gnu.org id=B.172615082318392 (code B ref -1); Thu, 12 Sep 2024 14:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Sep 2024 14:20:23 +0000 Original-Received: from localhost ([127.0.0.1]:41603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sokgI-0004mY-NF for submit@debbugs.gnu.org; Thu, 12 Sep 2024 10:20:23 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sokgG-0004mP-N2 for submit@debbugs.gnu.org; Thu, 12 Sep 2024 10:20:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sokg8-0001FP-BH for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 10:20:12 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sokg6-0004wm-4I for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 10:20:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1726150804; x=1726755604; i=michael.albinus@gmx.de; bh=Iqkn4HcgnSUXANBRBx5kJ9pvZ+Cfw1lQKkNSwCGQGjs=; h=X-UI-Sender-Class:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=cdwrGDEWyIfpNkpHlei5pG+K6cTQYbADOWo0mbWSG36i50nffPMP+vFWWlt3Q7mT RPnoXtuIrMOI//xg32n3+6RIIwrlJSoqmsiSwbuGGM9mnYPDJs9aEdYZDn9xRz4Rc j7H47E4BpXxrOlC5kTCGL9jiDP+bnMx7UKRuhzGP1KddFFkFl6Jg775djtkMqFOgm XWLW6pBFaCLKIGv+6Ck4DRUzvNxIawOXYWjgMre1DkAWcFSSX9OEFlXmN4szc7toH 6PzJ0g1+rvRWCABtJHcTMJ3lHicZD47rfLFtBfjxwYd76AwCuhJfBghhCH79zSLj5 P5WWAbRNbZ+RzIUytQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MqaxU-1sAxsq2wzI-00meuW for ; Thu, 12 Sep 2024 16:20:04 +0200 X-Provags-ID: V03:K1:ZNus5ZSjC+4BN4xZotPLr6oIlt18oJDZEAKgVBbu9iwtIge8QkJ NRpT5ItNEqa94f/C1nWHDALN+V9naAD8ZJ1sTOKjTtfbgud5eDMsKdBSwMU+QrEH42lqjPH xLtaArihXE06QNF8J3mG+Pk4i0ZhZ2P/8M9vQhtKPK1usv+05TpyWsRxG2bEoidIxGmECk8 II3CE/6UW6b5bbkG5Xv7w== UI-OutboundReport: notjunk:1;M01:P0:DJeF/rwcIo4=;1QpkrGpL82DJOCeO4CaNYgQbYBF JUxSiTIDZ34JVCXlCA2ollwh5d8rScrRf4amBlE2Nk7lyQLE55OX3mOcNvnhxeWouKfwzewFt y22oBZ9xfJc5fXRYw1fBg//Y0hBJcjTyIaBAxkO77+ll4C41s/tLWBwtfpyl2yYwRaK/xEKsr /jRQXwVRpxkDjWccW0U0tzLMU5R3AwdsBdnf6fhponIrN/kA5iHOzdi4OiKpl7pVJVMW6a8Uo QqJ+buQ4oQVdQdlfMxYwbQsqI5MY64dR3gpLMmJ5hxrPT02dgFGWTDjKqxQuQAy0ztLX8m00d VxprZVR0yCSW55RrzGEwFv5q9jVGLrmrEi3J0WWA5XwGnKlujxHpgYqAFcU0AXMKRvG1Of7H8 FrLd+RzOpQrE5u8/H72qo1mAlenIZIQMKnRLq1nF93wjwMMOVJo2JxncbW0bhz9r2lLbbuMuy gcmHqSEN1dCRL+SZli8UA4rz54OT5fiF8Sdj5ktR1bQen203xtIPCLgw2/t3SCuQDVHSHN2vH A5cUU93a0bGxKHzsqyLsHM+x1s0DXqzpASJ8wWQHNg1JHVcO763618A9lNgKeh/svI9buuxVI 4Uj8h+lWH8m0BqlBwRbD66xQ7olfsYq2Jr75vGDae4cDZFcV4mZlFUcerB0/6xqMalCXHCvDs GKKSxO/fCGGAHX5Nxdgz3B8nE7RVordxb23FESs8br936MJKdM28/PEuXo1adeTgzjDNEubmN 2oDEn7jJU2QuumDVvHJo/3LpcA9N+/9bqkZGUwLCFzATXbMaI9UfikX2pbzJmiJBF4wB+xhU Received-SPF: pass client-ip=212.227.17.22; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291633 Archived-At: Forward to debbugs From: Michael Albinus Subject: soap-client; soap-invoke-internal is not thread-safe To: Alexandru Harsanyi Date: Thu, 12 Sep 2024 15:57:45 +0200 (19 minutes, 24 seconds ago) In package debbugs, I try to use Emacs Lisp threads when retrieving SOAP data from the debbugs server. However, ocaasionally I run into the error --8<---------------cut here---------------start------------->8--- (error "Attempt to accept output from process debbugs.gnu.org locked to thread #") --8<---------------cut here---------------end--------------->8--- My work around is to advice url-http-create-request --8<---------------cut here---------------start------------->8--- (advice-add 'url-http-create-request :around (lambda (orig-fun) "Set `url-http-attempt-keepalives' to nil." (setq url-http-attempt-keepalives nil) (funcall orig-fun)) '(name debbugs-advice)) --8<---------------cut here---------------end--------------->8--- However, it would be great if soap-invoke-internal could care. Emacs : GNU Emacs 31.0.50 (build 35, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0) of 2024-09-12 Package: soap-client