Comments (1)
My similar backtrace from vulkano-examples triangle example:
0 triangle 0x00000001009ec7da alloc_system::platform::_$LT$impl$u20$alloc..allocator..Alloc$u20$for$u20$$RF$$u27$a$u20$alloc_system..System$GT$::oom::h7ba03423480c6435 + 90 (lib.rs:210)
1 triangle 0x00000001009ec778 _$LT$alloc_system..System$u20$as$u20$alloc..allocator..Alloc$GT$::oom::h1cf7c566a518ba1a + 40 (lib.rs:81)
2 triangle 0x00000001009c535c __rde_oom + 44 (lib.rs:126)
3 triangle 0x00000001009b80d9 _$LT$alloc..heap..Heap$u20$as$u20$alloc..allocator..Alloc$GT$::oom::h3685bc2cb5516d9c + 9 (heap.rs:98)
4 triangle 0x00000001009b80c3 _$LT$alloc..raw_vec..RawVec$LT$T$C$$u20$A$GT$$GT$::reserve::h9f053b2c575fd046 + 339 (raw_vec.rs:557)
5 triangle 0x00000001009b155f _$LT$core..fmt..Write..write_fmt..Adapter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..fmt..Write$GT$::write_str::h1d32baed33c7429b + 31 (mod.rs:214)
6 triangle 0x00000001008f94c2 _$LT$alloc..string..String$u20$as$u20$core..fmt..Display$GT$::fmt::h8e8ee9dc63e63bfb + 50 (string.rs:1836)
7 triangle 0x00000001008fcfd8 _$LT$objc..message..MessageError$u20$as$u20$core..fmt..Display$GT$::fmt::hc4da75ee8325b1eb + 40 (mod.rs:157)
8 triangle 0x00000001009f29c9 core::fmt::write::hef443c0bb15170fe + 601 (mod.rs:1035)
9 triangle 0x00000001009b2234 std::panicking::begin_panic_fmt::hc0d47fefde30b0eb + 116 (panicking.rs:349)
10 triangle 0x00000001008c77fd metal_rs::CoreAnimationLayerRef::set_presents_with_transaction::hbaf562b3f4356cce + 509 (lib.rs:306)
It seems the objc send is failing, returning an undefined MessageError which on display in the panic!() tries to allocate a huge vec. My guess it it's due to SSheldon/rust-objc#62.
from metal-rs.
Related Issues (20)
- Including `metal-rs` on `cargo.toml` results in a compile error due to `cocoa` HOT 1
- trouble with xcode shader debugger locating source code HOT 1
- Question about mesh shaders HOT 3
- Updating version on crates.io HOT 3
- Can't create indirect command buffers
- `new_render_command_encoder` assumes the return value can never be NULL
- MPS Matrix Multiplication HOT 2
- UB in `new_texture` if `newTextureWithDescriptor` fails? HOT 3
- Kernel stops running when I click on another window. HOT 1
- Inconsistent Performance across runs HOT 4
- Discrepency between GPU timing and CPU timing HOT 3
- Example does not support the latest winit HOT 7
- How does one launch a 2D grid of threads using dispatch_threads? HOT 1
- Metal Compiler header file caching HOT 2
- raytracing example bugg HOT 1
- new_library_with_data is broken HOT 1
- Is this crate umaintained? HOT 2
- Raytracing example crash in autorelease
- Dropping InstanceAccelerationStructureDescriptor causes a segfault in autoreleasepool HOT 2
- Missing functions 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 metal-rs.