DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 536KX6Jg1049462 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 536KX6Jg1049462 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=su8H1ZJP X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 659E1385DDDC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1743971584; bh=fgyylPuPmvwPdkEhp4gTLRxCNfh2nMcczsnY0YvEeSk=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=su8H1ZJPewxYBFzMJFDfzUOra1xSeddJD0HUdmsaDM7XszqBsKsljlwlk4PVqv2yN RRq46t9B2HVN+ZwR7E5KC1pZUeIa92ULfuoTW8PaeQsXigTHkBoOAZpUOFCzcoe2Z8 nfwGln0P+XqBr9B38BF7akVyekyNwd7okd5OeCt0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC78C385DDCA ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AC78C385DDCA ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743971560; cv=none; b=PVBREKzTQmwEl9iVb4+qN7QLhkfwZ4ERdBIUCqFvOQ7DUR6ubP2hTjTd0cYByGh6QbgK4XpEb4EkSLQ6NSX7GuK5iZl5ahzHGjwmPS3dKdFqlrbCmZ3R6gqqYEKoLWfAyXRi7+qQai6SxxzBBMob7txWnMhflweSS8SZulwz3cM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743971560; c=relaxed/simple; bh=lgP8W7fZkk2s/u6f8yIIKOcfzClWFeEUGEmHfhrsfmQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:From:To:Subject; b=awnMrP+A4k/5RnUPf1EXXN3SIu/tE/Afa0D1KYd5wxjyTL1+aph3FYC/Rj8J6TEDNA9jy91Q3dGRNMi+pYnNVAtEHx7xX31mbgy6EIOFeA4vd6XOgHY6HJRdOmOlYxCd/zJDrY5qki6FjMT04whCXzE0HdOVBwW9nc9UQuR91zo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC78C385DDCA X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743971559; x=1744576359; h=content-transfer-encoding:subject:to:from:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=QOyZFKFb2ET77U/HMykqZlXCrTdMOiPAovzgbLhVh3k=; b=A0vfLWcTOKe5o39TZ6C/4PEkIuBfBGO5wVetFhoqG5C41yk5VxVfKtGfbNK+FCCCfq 76JklpJ0I/MHs58f9aBv1SB6OMiTELmD8BIwSB2OKUx36+RvnDtCdA0VeVnV7RdtOQsu InoFtQURrXRQ5cAO6/Fp0XwimnemhVZVlIZeeJfnZO9TVaCfvh3imYdpTlU7wjD8zpW3 bmxj9gW1z1uvhaMwOc9KPX+ssB6BZJXJ7Mkj4/ZzpU1xiHdUkyHnQPIr9hJpBLTE6mXY oGfjEXmU5JYLTX1mGmECUdCVniF99eBEWUFX8ycY34OjO8VKx/kGLAfSCngKneBTM3Mm ghTA== X-Gm-Message-State: AOJu0YwvrSJZgwTUKrKeoUcfVodAJu/F4dfJw1FgryarGpj43fsMBH// OTZ6DPkfPImW5psDHDx1Lmi3SemFWtbdhtxIAO4cqFvcMg03WFo7puDscSI/dHVy4CDEutP2pXd vllIv81HBNsYicN6ISnKYaFOQu9DN/nFmL/vfBysH2EuZwuAbkD6TPxt7bvutat9b0zVhavOg46 XHpeenbhSb67bDjPNnkcxI1itqBhtsA85fx/IVr8Pqu1Lro0kO7tDbRoEFYY1CUZL49nRAIA== X-Gm-Gg: ASbGnctq3oBelDjBGvFucpxAHkrfnY0YHRg5voJuf3nrYQNwA0frrir2g5JwUrwNCvQ XiHlbPpoXg3zsvUei+Tb6p6fCwzPLo94+qUAz/zlwDTJ0KocAEoUHKtVUoWeQwaSBGwYIiWG8GU rWUufUuaQFqWr5ZH+3flW8CsADgv/bMYUP8JaCwZPwmavrEp87XM9lsj9ozABYmQwtmTSabITut Y74NfbXHcyObqEEyZ6FamgWDY6lgNlN07cKPt0pQ+ry5xG8RBoMC0SueLF8rnPvqyhd17CmEckQ YWrHhCvmfy4XyKXu6lxqqFqgpq+q358o8xhjX+UROkwJb6z2iv5PgDSNt+gqJNOtqq3NOrMNfYe SeEVA+E949QmbbGs= X-Google-Smtp-Source: AGHT+IEVpvP/wkmmB3jeEtZW0yZ1E2IY0Fme2u2aCrrdSHEL5ZcB0V4Z61scJvBJT2ai1HHX9mCpQQ== X-Received: by 2002:a05:620a:370c:b0:7c5:49b7:237c with SMTP id af79cd13be357-7c77dd7d43amr1003317185a.27.1743971559115; Sun, 06 Apr 2025 13:32:39 -0700 (PDT) Message-ID: <5cbe7341-f1b3-429c-a84a-fafe58408463@umbc.edu> Date: Sun, 6 Apr 2025 16:32:36 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: cygwin AT cygwin DOT com Subject: Python 3.12 testing X-CLOUD-SEC-AV-Sent: true X-CLOUD-SEC-AV-Info: umbc,google_mail,monitor X-Gm-Spam: 0 X-Gm-Phishy: 0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: dwes1--- via Cygwin Reply-To: dwes1 AT umbc DOT edu Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 536KX6Jg1049462 To the Python maintainer and anyone else testing Python 3.12: A few weeks ago, the python developer requested help with evaluating the Python 3.12 release. I downloaded the python312-test package, and worked out that python -m test.test_threading -v failed during the second test in the file, sometimes with an immediate segfault, sometimes by hanging until I tried to attach gdb, which immediately reported an empty stack and a null stack pointer. Adding print calls to the test narrowed the point of failure to some time during thread cleanup, so I ran the test under gdb, adding breakpoints to pthread_exit and pthread::exit, which caught the test before the segfault, and displayed a stack working back to pthread_wrapper, whose caller was set to null.  Stepping through the function eventually reached a call to ExitThread, then the segfault with no reported stack. My current guess is that ExitThread somehow returns, leading to control falling off the end of pthread_wrapper and failing to return.  (This is rather more sensible than my previous guess that Python had somehow managed to call the NULL pointer recursively, and not noticed until gdb took a look at things)  I suppose I could try to compile Cygwin with an error message after ExitThread to see if that prints, but I am otherwise out of ideas. I first checked this around January on a Windows 10 machine from 2016, then on a machine from within the last year that is says it is also Windows 10. I hope this helps -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple