diff --git a/.changelog/433.bugfix b/.changelog/433.bugfix deleted file mode 100644 index 9a3002ff..00000000 --- a/.changelog/433.bugfix +++ /dev/null @@ -1 +0,0 @@ -If /proc is in unexpected format, try to keep running anyway. This can happen, for example, on very old versions of Linux. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d086e8d..7173957c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,44 +1,50 @@ # Release notes -## Fil 2022.09.3 (2022-09-30) +## 2022.10.0 (2022-10-19) + +### Bugfixes + +- If `/proc` is in unexpected format, try to keep running anyway. This can happen, for example, on very old versions of Linux. ([#433](https://github.com/pythonspeed/filprofiler/issues/433)) + +## 2022.09.3 (2022-09-30) ### Bugfixes - Complex flamegraphs should render faster. ([#427](https://github.com/pythonspeed/filprofiler/issues/427)) -## Fil 2022.09.2 (2022-09-29) +## 2022.09.2 (2022-09-29) ### Bugfixes - Hopefully fixed segfault on macOS, on Python 3.7 and perhaps other versions. ([#412](https://github.com/pythonspeed/filprofiler/issues/412)) -## Fil 2022.09.0 (2022-09-12) +## 2022.09.0 (2022-09-12) ### Features - Added wheels for ARM on Linux (`aarch64`), useful for running native Docker images on ARM Macs. ([#395](https://github.com/pythonspeed/filprofiler/issues/395)) -## Fil 2022.07.0 (2022-07-22) +## 2022.07.0 (2022-07-22) ### Bugfixes - Stopped using `jemalloc` on Linux, for better compatibility with certain libraries. ([#389](https://github.com/pythonspeed/filprofiler/issues/389)) - Speed up rendering of flamegraphs in cases where there are many smaller allocations, by filtering out allocations smaller than 0.2% of total memory. Future releases may re-enable showing smaller allocations if a better fix can be found. ([#390](https://github.com/pythonspeed/filprofiler/issues/390)) -## Fil 2022.06.0 (2022-06-19) +## 2022.06.0 (2022-06-19) ### Features - Added wheels for macOS ARM/Silicon machines. ([#383](https://github.com/pythonspeed/filprofiler/issues/383)) -## Fil 2022.05.0 (2022-05-19) +## 2022.05.0 (2022-05-19) ### Bugfixes - Fix a number of potential deadlock scenarios when writing out reports. ([#374](https://github.com/pythonspeed/filprofiler/issues/374), [#365](https://github.com/pythonspeed/filprofiler/issues/365), [#349](https://github.com/pythonspeed/filprofiler/issues/349)) - Give more accurate message when running in no-browser mode (thanks to Paul-Louis NECH). ([#347](https://github.com/pythonspeed/filprofiler/issues/347)) -## Fil 2022.03.0 (2022-03-27) +## 2022.03.0 (2022-03-27) ### Bugfixes @@ -52,7 +58,7 @@ - Python 3.6 support was dropped. ([#342](https://github.com/pythonspeed/filprofiler/issues/342)) -## Fil 2022.01.1 (2022-01-30) +## 2022.01.1 (2022-01-30) ### Bugfixes @@ -60,7 +66,7 @@ - The jemalloc package used on Linux was unmaintained and old, and broke Conda-Forge builds; switched to a newer one. ([#302](https://github.com/pythonspeed/filprofiler/issues/302)) -## Fil 2022.01.0 (2022-01-26) +## 2022.01.0 (2022-01-26) ### Features @@ -79,7 +85,7 @@ - [#292](https://github.com/pythonspeed/filprofiler/issues/292) -## Fil 2021.12.2 (2021-12-15) +## 2021.12.2 (2021-12-15) ### Bugfixes @@ -87,7 +93,7 @@ - Work on versions of Linux with weird glibc versions. ([#277](https://github.com/pythonspeed/filprofiler/issues/277)) -## Fil 2021.12.1 (2021-12-03) +## 2021.12.1 (2021-12-03) ### Features @@ -95,7 +101,7 @@ - Build 3.10 wheels for macOS too. ([#268](https://github.com/pythonspeed/filprofiler/issues/268)) -## Fil 2021.12.0 (2021-12-03) +## 2021.12.0 (2021-12-03) ### Features @@ -103,7 +109,7 @@ - Added Python 3.10 support. ([#242](https://github.com/pythonspeed/filprofiler/issues/242)) -## Fil 2021.11.1 (2021-11-19) +## 2021.11.1 (2021-11-19) ### Bugfixes @@ -111,7 +117,7 @@ - Added back wheels for macOS Catalina (10.15). ([#253](https://github.com/pythonspeed/filprofiler/issues/253)) -## Fil 2021.11.0 (2021-11-08) +## 2021.11.0 (2021-11-08) ### Bugfixes @@ -119,7 +125,7 @@ - Fixed crashes on macOS Monterey. ([#248](https://github.com/pythonspeed/filprofiler/issues/248)) -## Fil 2021.09.1 (2021-09-27) +## 2021.09.1 (2021-09-27) ### Bugfixes @@ -127,7 +133,7 @@ - SIGUSR2 previously did not actually dump memory. Thanks to @gaspard-quenard for the bug report. ([#237](https://github.com/pythonspeed/filprofiler/issues/237)) -## Fil 2021.9.0 (2021-09-24) +## 2021.9.0 (2021-09-24) ### Bugfixes @@ -135,7 +141,7 @@ - Fix problem on macOS where certain subprocesses (e.g. from Homebrew) would fail to start from Python processes running under Fil. Thanks to @dreid for the bug report. ([#230](https://github.com/pythonspeed/filprofiler/issues/230)) -## Fil 2021.8.0 (2021-08-17) +## 2021.8.0 (2021-08-17) ### Bugfixes @@ -144,7 +150,7 @@ - Fixed potential reentrancy bugs; unclear if this had any user-facing impacts, though. ([#215](https://github.com/pythonspeed/filprofiler/issues/215)) -## Fil 2021.7.1 (2021-07-18) +## 2021.7.1 (2021-07-18) ### Bugfixes @@ -152,7 +158,7 @@ - Fixed segfault on some Linux versions (regression in release 2021.7.0). ([#208](https://github.com/pythonspeed/filprofiler/issues/208)) -## Fil 2021.7.0 (2021-07-12) +## 2021.7.0 (2021-07-12) ### Features @@ -166,7 +172,7 @@ - Emulate Python's module running code more faithfully, to enable profiling things like Apache Beam. ([#202](https://github.com/pythonspeed/filprofiler/issues/202)) -## Fil 2021.5.0 (2021-05-06) +## 2021.5.0 (2021-05-06) ### Bugfixes @@ -174,7 +180,7 @@ - Fixed bug where certain allocations went missing during thread creation and cleanup. ([#179](https://github.com/pythonspeed/filprofiler/issues/179)) -## Fil 2021.4.4 (2021-04-28) +## 2021.4.4 (2021-04-28) ### Bugfixes @@ -182,7 +188,7 @@ - Fixed race condition in threads that resulting in wrong allocation being removed in the tracking code. ([#175](https://github.com/pythonspeed/filprofiler/issues/175)) -## Fil 2021.4.3 (2021-04-15) +## 2021.4.3 (2021-04-15) ### Bugfixes @@ -190,7 +196,7 @@ - **Major bugfix:** mmap() was usually not added correctly on Linux, and when it was, munmap() was ignored. ([#161](https://github.com/pythonspeed/filprofiler/issues/161)) -## Fil 2021.4.2 (2021-04-14) +## 2021.4.2 (2021-04-14) ### Features @@ -205,7 +211,7 @@ - Fixed potential problem with threads noticing profiling is enabled. ([#156](https://github.com/pythonspeed/filprofiler/issues/156)) -## Fil 2021.4.1 (2021-04-08) +## 2021.4.1 (2021-04-08) ### Bugfixes @@ -213,13 +219,13 @@ - Fixed bug where reverse SVG sometimes was generated empty, e.g. if source code used tabs. ([#150](https://github.com/pythonspeed/filprofiler/issues/150)) -## Fil 2021.4.0 (2021-04-01) +## 2021.4.0 (2021-04-01) ### Bugfixes - Fil no longer blows up if checking cgroup memory is not possible, e.g. on CentOS 7. ([#147](https://github.com/pythonspeed/filprofiler/issues/147)) -## Fil 2021.3.0 (2021-03-19) +## 2021.3.0 (2021-03-19) ### Features @@ -231,7 +237,7 @@ - Number of allocations in the profiling results are now limited to 10,000. If there are more than this, they are all quite tiny, so probably less informative, and including massive number of tiny allocations makes report generation (and report display) extremely resource intensive. ([#140](https://github.com/pythonspeed/filprofiler/issues/140)) - The out-of-memory detector should work more reliably on Linux. ([#144](https://github.com/pythonspeed/filprofiler/issues/144)) -## Fil 0.17.0 (2021-03-02) +## 0.17.0 (2021-03-02) ### Features @@ -239,7 +245,7 @@ - Improve error messages when using API in subprocesses, so it's clear it's not (yet) possible. ([#133](https://github.com/pythonspeed/filprofiler/issues/133)) -## Fil 0.16.0 (2021-02-24) +## 0.16.0 (2021-02-24) ### Bugfixes @@ -249,7 +255,7 @@ - Fewer spurious warnings about launching subprocesses. ([#136](https://github.com/pythonspeed/filprofiler/issues/136)) -## Fil 0.15.0 (2021-02-18) +## 0.15.0 (2021-02-18) ### Features @@ -262,7 +268,7 @@ - Fil now works better with subprocessses. It doesn't support memory tracking in subprocesses yet, but it doesn't break them either. ([#117](https://github.com/pythonspeed/filprofiler/issues/117)) -## Fil 0.14.1 (2021-01-15) +## 0.14.1 (2021-01-15) ### Features @@ -275,7 +281,7 @@ - Correctly handle bad data from cgroups about memory limits, fixing erroneous out-of-memory caused by Docker. ([#113](https://github.com/pythonspeed/filprofiler/issues/113)) -## Fil 0.14.0 (2021-01-13) +## 0.14.0 (2021-01-13) ### Features @@ -283,7 +289,7 @@ - Out-of-memory detection should work in many more cases than before. ([#96](https://github.com/pythonspeed/filprofiler/issues/96)) -## Fil 0.13.1 (2020-11-30) +## 0.13.1 (2020-11-30) ### Features @@ -291,7 +297,7 @@ - Fil now supports Python 3.9. ([#83](https://github.com/pythonspeed/filprofiler/issues/83)) -## Fil 0.13.0 (2020-11-27) +## 0.13.0 (2020-11-27) ### Bugfixes @@ -299,7 +305,7 @@ - Fil no longer uses a vast amount of memory to generate the SVG report. ([#102](https://github.com/pythonspeed/filprofiler/issues/102)) -## Fil 0.12.0 (2020-11-21) +## 0.12.0 (2020-11-21) ### Bugfixes @@ -307,7 +313,7 @@ - Fixed bug that would cause crashes when thread-local storage destructors allocated or freed memory. Thanks to @winash12 for reporting the issue. ([#99](https://github.com/pythonspeed/filprofiler/issues/99)) -## Fil 0.11.0 (2020-11-19) +## 0.11.0 (2020-11-19) ### Features @@ -321,7 +327,7 @@ - When running in Jupyter, NumPy/BLOSC/etc. thread pools are only limited to one thread when actually running a Fil profile. This means Fil's Jupyter kernel is even closer to running the way a normal Python 3 kernel would. ([#72](https://github.com/pythonspeed/filprofiler/issues/72)) -## Fil 0.10.0 (2020-08-28) +## 0.10.0 (2020-08-28) ### Features @@ -330,7 +336,7 @@ - Fil can now be installed via Conda-Forge. ([#20](https://github.com/pythonspeed/filprofiler/issues/20)) -## Fil 0.9.0 (2020-08-13) +## 0.9.0 (2020-08-13) ### Features @@ -343,7 +349,7 @@ - Fixed edge case for large allocations, where wrong number of bytes was recorded as freed. ([#66](https://github.com/pythonspeed/filprofiler/issues/66)) -## Fil 0.8.0 (2020-07-24) +## 0.8.0 (2020-07-24) ### Features @@ -354,7 +360,7 @@ Large allocations >2GB will only be accurate to a resoluion of ~1MB, i.e. they might be off by approximately 0.05%. ([#47](https://github.com/pythonspeed/filprofiler/issues/47)) -## Fil 0.7.2 (2020-07-12) +## 0.7.2 (2020-07-12) ### Bugfixes @@ -363,7 +369,7 @@ - Reduced memory overhead of Fil somewhat, specifically when tracking large numbers of small allocations. ([#43](https://github.com/pythonspeed/filprofiler/issues/43)) -## Fil 0.7.1 (2020-07-07) +## 0.7.1 (2020-07-07) ### Bugfixes @@ -371,7 +377,7 @@ - Fix bug that prevented Fil from running on macOS Mojave and older. ([#36](https://github.com/pythonspeed/filprofiler/issues/36)) -## Fil 0.7.0 (2020-07-03) +## 0.7.0 (2020-07-03) ### Features @@ -385,7 +391,7 @@ - [#26](https://github.com/pythonspeed/filprofiler/issues/26) -## Fil 0.6.0 (2020-07-01) +## 0.6.0 (2020-07-01) ### Features @@ -393,7 +399,7 @@ - Anonymous mmap()s are now tracked by Fil. ([#29](https://github.com/pythonspeed/filprofiler/issues/29)) -## Fil 0.5.0 (2020-06-22) +## 0.5.0 (2020-06-22) ### Features @@ -406,7 +412,7 @@ - Running `fil-profile` with no arguments now prints the help. ([#21](https://github.com/pythonspeed/filprofiler/issues/21)) -## Fil 0.4.0 (2020-06-15) +## 0.4.0 (2020-06-15) ### Features @@ -415,7 +421,7 @@ - Generating the report should run faster. -## Fil 0.3.3 (2020-06-10) +## 0.3.3 (2020-06-10) ### Features @@ -428,14 +434,14 @@ - Fix a bug that corrupted the SVGs. -## Fil 0.3.2 (2020-06-04) +## 0.3.2 (2020-06-04) ### Features - Hovering over a frame now shows the relevant details on top, where it's visible. -## Fil 0.3.1 (2020-05-25) +## 0.3.1 (2020-05-25) ### Bugfixes @@ -443,7 +449,7 @@ - Command-line arguments after the script/module now work. To make it easier to implement, changed the code so you do `fil-profile run script.py` instead of `fil-profile script.py`. -## Fil 0.3.0 (2020-05-21) +## 0.3.0 (2020-05-21) ### Features