From nobody Sat Jul 27 06:29:56 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WWF953rZ7z5RVPg for ; Sat, 27 Jul 2024 06:30:01 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 4WWF945Pskz4htS for ; Sat, 27 Jul 2024 06:30:00 +0000 (UTC) (envelope-from xavier@groumpf.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=groumpf.org header.s=dkim header.b=DxbArLsa; dmarc=none; spf=pass (mx1.freebsd.org: domain of xavier@groumpf.org designates 176.31.180.205 as permitted sender) smtp.mailfrom=xavier@groumpf.org Received: from numenor.groumpf.org (freebox-server.groumpf.org [82.64.247.11]) by aragorn.amdh.fr (Postfix) with ESMTP id CE9353E60776 for ; Sat, 27 Jul 2024 08:29:59 +0200 (CEST) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id A5B961CD891 for ; Sat, 27 Jul 2024 08:29:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groumpf.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :content-language:references:from:from:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=dkim; t=1722061797; x=1722925798; bh=c6ySfrDLY5Q47vdI8ZMWTOe8 edyzG8GJ02CdNo8Qq5s=; b=DxbArLsaM+vp2XtoqZu0iVCB112nmO3165hzoKJR hVUwnMSx3Bhmit6Uni6aNZQzymUd/Mboa5RNqENLMBkJz8+wRc5nypSHRn1tbVTK liNsrLOgo/0LtbMooNYkz9+XoCY9QdJ6wNGv0JIirIXyMt1LlCghvXTuPnbc26lA mt02G+9uv81V7bzRjZot7wAMcah4dQ9cy70ROpn9F6KpKbjr+8hwCtcoj42JVMVT Pnefvi6XADdysgHpeMJYFWA56OKI+nK1ue1bwpO9txx4gn/wNe23tu/ve5BNgzss c4MVkthJ9iE4kSwcmGA0nPhZJ4TXz9GmXNIifMPNap55CJg8ftZdTR8E+sHG/6p+ sfUZUNjtxSfADOjVEYdRf8kRNQy6yn265ExOmtmg3tyW5v3DETD30zg+8B7s7qjF M7x/s/ZCQKpOCNbFCqlLUvcj8wtQvoH3rJl6tGvAx9YGKbhOEMfw+thLn++m8J/p wi1jAgxUAUPXdDXiOMc3AE467yUQ9VlalGy/D8esnqCF28YS68HLYCeFYdZ/OtMx weZ+wQhqH8dvOCkP6tnZVyx3/s+dMLbULghKnekyfM59ZumKErhQc8hRIaOAz4bv ZnSp4MhsetAWzc4Z9agpsznoz6GG/Ko9oQiiAg3fko85gVL5rqgRVEd/3qtiLGwZ FIM= Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QD1u-Y5HOWkx for ; Sat, 27 Jul 2024 08:29:57 +0200 (CEST) Received: from [192.168.100.30] (imladris.groumpf.org [192.168.100.30]) by numenor.groumpf.org (Postfix) with ESMTPSA id 228841CD840 for ; Sat, 27 Jul 2024 08:29:57 +0200 (CEST) Message-ID: <8df15fce-14fe-45bf-8662-708463f77fae@groumpf.org> Date: Sat, 27 Jul 2024 08:29:56 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: Certbot crash From: Xavier Humbert To: FreeBSD Ports ML References: <989e4ee2-629e-4616-a092-d183613c6f25@groumpf.org> Content-Language: fr, en-US In-Reply-To: <989e4ee2-629e-4616-a092-d183613c6f25@groumpf.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.38 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.986]; R_SPF_ALLOW(-0.20)[+ip4:176.31.180.205:c]; R_DKIM_ALLOW(-0.20)[groumpf.org:s=dkim]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[groumpf.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[groumpf.org:+] X-Rspamd-Queue-Id: 4WWF945Pskz4htS Le 27/07/2024 08:24, Xavier Humbert a écrit : > Hi, > > I'm always in trouble with my python applications, since I upgraded to > python311. > > certbot crashes : > > [root@numenor ~]# certbot certificates > Objects/typeobject.c:4083: type_dealloc: Assertion "type->tp_flags & > (1UL << 9)" failed > Enable tracemalloc to get the memory block allocation traceback > > object address  : 0x823702688 > object refcount : 0 > object type     : 0x8237251a8 > object type name: type > object repr     : > > Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed > Python runtime state: initialized > > Current thread 0x0000000827806000 (most recent call first): >   File "", line 241 in > _call_with_frames_removed >   File "", line 1233 in > create_module >   File "", line 573 in module_from_spec >   File "", line 676 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File > "/usr/local/lib/python3.11/site-packages/cryptography/exceptions.py", > line 9 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File > "/usr/local/lib/python3.11/site-packages/cryptography/hazmat/bindings/openssl/binding.py", > line 15 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File "/usr/local/lib/python3.11/site-packages/OpenSSL/_util.py", > line 6 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File "/usr/local/lib/python3.11/site-packages/OpenSSL/SSL.py", line > 10 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File "", line 241 in > _call_with_frames_removed >   File "", line 1232 in _handle_fromlist >   File "/usr/local/lib/python3.11/site-packages/OpenSSL/__init__.py", > line 8 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File "/usr/local/lib/python3.11/site-packages/josepy/json_util.py", > line 24 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File "/usr/local/lib/python3.11/site-packages/josepy/__init__.py", > line 40 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File > "/usr/local/lib/python3.11/site-packages/certbot/_internal/main.py", > line 21 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File "", line 241 in > _call_with_frames_removed >   File "", line 1232 in _handle_fromlist >   File "/usr/local/lib/python3.11/site-packages/certbot/main.py", line > 6 in >   File "", line 241 in > _call_with_frames_removed >   File "", line 940 in exec_module >   File "", line 690 in _load_unlocked >   File "", line 1147 in > _find_and_load_unlocked >   File "", line 1176 in _find_and_load >   File "/usr/local/bin/certbot", line 5 in > > Extension modules: _cffi_backend (total: 1) > Abort trap (core dumped) > > Any clue ? > > Thanks, and regards, > > Xavier > In fact all python applications (duplicity for example)  have the same problem. This night, I rebuilded python and all the py311\* stuff Regards, Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr