Skip to content

The dev/cmp bench command panics #89

@nico-abram

Description

@nico-abram

After patching the dead bitbucket link for thingy-floor0.ogg to http://achurch.org/hg/libnogg/raw-file/tip/tests/data/thingy-floor0.ogg in /dev/cmp/src/lib.rs, it panics within vorbis-rs when running cargo run --release -- bench:

thread 'main' panicked at 'attempted to zero-initialize type `vorbisfile_sys::ov_callbacks`, which is invalid', C:\Users\Nick\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\mem\mod.rs:623:9

I opened tomaka/vorbis-rs#19, and opened a PR into vorbisfile-sys. If that gets merged, then a simple change in vorbis-rs should fix this specific panic, however the master branch for vorbis-rs also has other issues (I was also unable to compile it on windows, ran into a missing pthread.h C compiler error, but that could be because of a mistake on my part) , and I'm not entirely sure if the library is still maintained (Even if vorbis-rs is still maintained the link error also involves vorbis-encoder which looks unmaintained to me)

I'm not sure what a good path forward would be

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions