Skip to content
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

Runtime panic when attempting to run pdfbooklet on input #2

Closed
lawrencetungsten opened this issue Nov 15, 2021 · 2 comments · Fixed by #3
Closed

Runtime panic when attempting to run pdfbooklet on input #2

lawrencetungsten opened this issue Nov 15, 2021 · 2 comments · Fixed by #3
Assignees

Comments

@lawrencetungsten
Copy link

lawrencetungsten commented Nov 15, 2021

Hi,
I encounter this issue after installing and running the program. please advice.

thread 'main' panicked at 'attempted to leave type `linked_hash_map::Node<std::vec::Vec<u8>, object::Object>` uninitialized, which is invalid', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/linked-hash-map-0.3.0/src/lib.rs:203:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@dbaynard dbaynard changed the title issue Runtime panic when attempting to run pdfbooklet on input Nov 19, 2021
@dbaynard
Copy link
Owner

Hello,

I can reproduce this issue. I’m not doing any maintenance work on this project at the moment, so I can’t offer a fix. I’ll come back to this at some point, but I have no immediate plans to do so.

That said, it would be helpful if you include details in your issue message, beyond what you’ve written.

  1. Which version of the tool are you using?
  2. Which platform are you using? I’m guessing linux, based on the path in the error message. But I don’t know which linux distribution, and which architecture.
  3. How did you install it? From source, or with the release binary? If from source, which versions of the rust toolchain did you use?
  4. What actually caused the issue? If I run pdfbooklet --help I don’t see an issue, but when I try to run pdfbooklet on input then I can reproduce (on macos).

In addition, I’ve edited your comment to use backticks to quote the error message, and added an informative title.

@dbaynard dbaynard added the bug label Nov 19, 2021
@dbaynard dbaynard self-assigned this Nov 19, 2021
@dbaynard
Copy link
Owner

It might relate to contain-rs/linked-hash-map#100 — I’ve just encountered an equivalent error in a completely different tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants