Comments (7)
@mxschmitt what about with conda-build=24.3.0
and py-lief<0.14
?
from conda-build.
Fixed in #5348, to be included in the upcoming patch release conda-build 24.5.1
from conda-build.
cc @mbargull
from conda-build.
I can confirm that:
good: py-lief=0.12.3
bad: py-lief=0.14.1
Note: There is no 0.13
on conda.
Quite a large range: lief-project/LIEF@0.12.1...0.14.1
from conda-build.
I got a minimal repro:
curl -O https://nodejs.org/dist/v20.12.0/node-v20.12.0-linux-arm64.tar.xz
tar -xf node-v20.12.0-linux-arm64.tar.xz
python -c 'import lief; binary = lief.parse("node-v20.12.0-linux-arm64/bin/node"); print(str(binary))'
Expected: Some stringified value
Actual: MemoryError: std::bad_alloc
good: py-lief=0.12.3
bad: py-lief=0.14.1
Maybe we should re-think the str()
in get_uniqueness_key
which was added in #5228 - with the good py-lief version it ended up in a 33 MB long string which does not sound ideal.
Should I file it upstream that it now ends up in MemoryError: std::bad_alloc
?
from conda-build.
Update: lief-project/LIEF#1039 (comment)
from conda-build.
Oh, my bad! The change from gh-5228 to use str(file)
is simply wrong; we should just return the filename instead (this is what the previous binary.name
did).
Thanks for the bug report!
I'll put a fix together in a bit.
from conda-build.
Related Issues (20)
- Conda build is stuck with some unrelated build aterfacts. Unable to purge them.
- Limit logging config to CLI
- InvalidSpec error for spec ">=0.4,<0.4.4" in sktime HOT 8
- Deprecate `noarch_python_build_age` MetaData/Config setting
- the MSYS2 prefixes in the cran skeleton are fixed
- setup.py build documentation/implemantation for windows uses deprecated python setup.py install HOT 2
- Improve `cbc.yml` error reporting and validation
- Release 24.5.x
- Undefined environment variables are redefined in build script environment for multi-output builds
- Default Perl variant for cpan skeleton is enforcing a default version in a clean system
- Permissions of `info/*` files are not adjusted
- `meta.yaml` accepts negative build numbers HOT 1
- `conda-build --channel CHANNEL --override-channels` always includes the "default" channel HOT 1
- Publish stable artifacts with checksums during release HOT 2
- Cross compiling with virtual packages HOT 2
- `conda-build` version `24.5.0` assigns values to `frozendict` keys: results in internal errors HOT 3
- BUG: noarch package in multi-output recipe changes CPU architecture mid-build
- add `conda mambabuild` subcommand to aid transitioning away from `boa` HOT 9
- add `git` to the `build` dependencies automatically when `git_rev` or `git_url` is used in `source:`
- Adding conda-build in an environment breaks conda info HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-build.