Debian Bug report logs - #1064368
python-xarray: intermittent segfault in test_open_mfdataset_manyfiles[netcdf4-20-True-*-5]

version graph

Package: python3-xarray; Maintainer for python3-xarray is Debian Science Maintainers <[email protected]>; Source for python3-xarray is src:python-xarray (PTS, buildd, popcon).

Reported by: "Rebecca N. Palmer" <[email protected]>

Date: Tue, 20 Feb 2024 21:18:01 UTC

Severity: normal

Found in version python-xarray/2023.12.0-3

Forwarded to https://github.com/pydata/xarray/issues/7079

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Science Maintainers <[email protected]>:
Bug#1064368; Package python3-xarray. (Tue, 20 Feb 2024 21:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Rebecca N. Palmer" <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Science Maintainers <[email protected]>. (Tue, 20 Feb 2024 21:18:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: "Rebecca N. Palmer" <[email protected]>
To: [email protected]
Subject: python-xarray: intermittent segfault in test_open_mfdataset_manyfiles[netcdf4-20-True-*-5]
Date: Tue, 20 Feb 2024 21:13:48 +0000
Package: python3-xarray
Version: 2023.12.0-3

xarray sometimes (~10% of the time) segfaults in 
tests/test_backends.py::test_open_mfdataset_manyfiles, usually 
[netcdf4-20-True-None-5] but sometimes [netcdf4-20-True-5-5].

This has happened in both Python 3.11 and 3.12, and on various 
architectures:
https://ci.debian.net/packages/p/python-xarray/testing/amd64/43068287/
https://ci.debian.net/packages/p/python-xarray/testing/armhf/42545225/
https://ci.debian.net/packages/p/python-xarray/testing/s390x/43076980/
https://ci.debian.net/packages/p/python-xarray/testing/ppc64el/42673240/



Information forwarded to [email protected], Debian Science Maintainers <[email protected]>:
Bug#1064368; Package python3-xarray. (Wed, 21 Feb 2024 19:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Rebecca N. Palmer" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <[email protected]>. (Wed, 21 Feb 2024 19:27:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: "Rebecca N. Palmer" <[email protected]>
To: [email protected]
Subject: Re: Bug#1064368: python-xarray: intermittent segfault in test_open_mfdataset_manyfiles[netcdf4-20-True-*-5]
Date: Wed, 21 Feb 2024 19:08:35 +0000
Control: forwarded -1 https://github.com/pydata/xarray/issues/7079
(actually found independently)

The above upstream report suggests that this is because netcdf-python is 
no longer thread-safe.

The 3 random-autopkgtest-fail bugs (this, #1064326 and #1064370) 
together seem to be more common in pandas 2.  It's possible that some of 
them are actually the same underlying bug.



Set Bug forwarded-to-address to 'https://github.com/pydata/xarray/issues/7079'. Request was from "Rebecca N. Palmer" <[email protected]> to [email protected]. (Wed, 21 Feb 2024 19:27:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 09:17:28 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.