Comments (2)
I encounter BAD ACCESS when using a struct that has this structure. When dropping, it will try to access a freed footer pointer of the RawVec, which causes BAD ACCESS.
Do you have a reproducible example?
If this struct should not be allowed, I think it's better to mention it in the doc.
A program that doesn't use unsafe
shouldn't be able to cause UB, no matter what the docs say. A bug should be fixed and not be documented.
from bumpalo.
Sorry, it turns out is a bug on my side.
from bumpalo.
Related Issues (20)
- Request to yank bumpalo v3.12.1 HOT 1
- Implement `std::io::Write` for `Vec<'bump, u8>` HOT 1
- Add a `bumpalo::collections::ThinSlice` type HOT 1
- Memory leak may happen after calling `Bump::dealloc`. HOT 2
- `Box::pin_in` violates pin's drop guarantee HOT 1
- `allocator_api` tests failing HOT 2
- Remove a branch from `try_alloc_layout`? HOT 3
- Improve performance of `extend_from_slice` where `T: Copy` HOT 4
- Ability to create Bump from pre-existing memory allocation? HOT 9
- MSRV disagrees between Cargo.toml and CHANGELOG.md HOT 2
- Minimum alignment HOT 3
- Analysis of Bump Allocator Performance HOT 3
- `Bump` not respecting allocation limit set HOT 4
- Execution of test cases at a particular compilation optimization level appears to be stack overflow
- Miri error with `allocator_api` and `Box`-pointer roundtrips
- Please consider relaxing the MSRV of this crate HOT 1
- `alloc` should require `T: !Drop` or be `unsafe` HOT 6
- Appending to bumpalo::collections::Vec<'a, T> from regular Vec the most optimized way HOT 2
- Potential Security Vulnerabilities in the Crate: Use After Free and Heap Buffer Overflow HOT 1
- Add `Vec32` HOT 2
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 bumpalo.