-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling get() method of std.deque causes a segfault. #138
Comments
This problem remains if one modifies the get() function to ignore it's int parameter and always use 0. However, this problem goes away if one then deletes the int parameter. The segmentatino fault itself occurs when entering the function, at what appears to be some prelude code added by the rust compiler which occur before the function begins. I also suspect modifying the function to return nothing might affect the SEGV somehow. |
To be more specific, the problem occurs in code emitted by the call to calculate_sz within fn_prologoue. That call recurses through itself until it reaches the SIZE_param_size case, in which it emits an instruction that when executed causes a segmentation fault for get(). If anyone can explain that code to me I can probably get closer to solving this. |
…yparams in Trans. Together with commit 982dcc2 this... Closes rust-lang#138.
refactor lvalue field projection handling to prepare for fewer `force_allocation`s
Add Illumos support
Literal expression grammar
Closes rust-lang#138 Closes rust-lang#160
Add various fns - Sum/Product traits - recip/to_degrees/to_radians/min/max/clamp/signum/copysign; rust-lang/portable-simd#14 - mul_add: rust-lang/portable-simd#14, fixes rust-lang/portable-simd#102
* Fix release tags Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com>
Other methods of the deque that perform a similar operation do not cause trouble, but this one does.
The text was updated successfully, but these errors were encountered: