Noah Lev

Results 119 comments of Noah Lev

Is this happening for anyone on Ubuntu 22? I can't upgrade right now, so I'm not able to check if it's an Ubuntu vs Arch issue, a kernel version issue,...

I just setup an arch vm to try to reproduce this, and I still can't. I ran coz on a simple hello-world C file, a simple hello-world Rust crate, and...

When installing from git, are you following the instructions [here](https://github.com/plasma-umass/coz/?tab=readme-ov-file#building-coz-from-source)? Obviously they need to be adapted to work on arch linux, but when I did, it worked fine. I also...

Could you go into lldb/gdb and print a backtrace of the assert failure (lldb preferred because usually gives better backtraces)? This is a bit complicated because `coz` is actually a...

Thank you so much! This indicates a bug in the libelfin dependency (that's what libdwarf++ is). Essentially, it calls `string::front()` on an empty string, which causes an assert failure only...

Ok, can you try applying this PR's patch to your local libelfin clone? https://github.com/plasma-umass/libelfin/pull/2 Make sure to re-`make` and `make install` both libelfin and Coz afterward.

Whoops, sorry about that. It's actually probably simplest to just guard the original `front()` call by a condition checking for an empty string. C++ has some weird version-specific behavior around...

Awesome! Thanks for your help with the debugging.

I'm now getting `ld: warning: no platform load command found in '/path/to/cranelift/output.o', assuming: macOS`. This happens only with the default modern linker, but not the legacy linker. The executable still...

It seems like rustc has implemented a fix for the same issue: rust-lang/rust#111384.