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

Crash on Windows thread '<unnamed>' panicked #45

Open
pavelber opened this issue Oct 23, 2024 · 1 comment
Open

Crash on Windows thread '<unnamed>' panicked #45

pavelber opened this issue Oct 23, 2024 · 1 comment

Comments

@pavelber
Copy link

Installed on Windows, just on start I get:
2024-10-23T09:20:28.099Z INFO engine > Starting password cracking job...
thread '' panicked at C:\Users\javaa.cargo\registry\src\index.crates.io-6f17d22bba15001f\pdf-0.8.1\src\crypt.rs:290:41:
range end index 128 out of range for slice of length 16
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@pavelber pavelber changed the title Crash thread '<unnamed>' panicked a Crash on Windows thread '<unnamed>' panicked Oct 23, 2024
@LennartCode
Copy link

+1 can replicate.

Running pdfrip -n 6 -f "file.pdf" default-query --max-length 9 --min-length 6

Returns the somewhat curious message:

           .___ _____       .__
______   __| _// ____\______|__|_____
\____ \ / __ |\   __\\_  __ \  \____ \
|  |_> > /_/ | |  |   |  | \/  |  |_> >
|   __/\____ | |__|   |__|  |__|   __/
|__|        \/                 |__|    2.0.1

 2024-11-07T14:31:30.517Z INFO  engine > Starting password cracking job...
thread 'thread '<unnamed>thread 'thread '<unnamed>thread '' panicked at thread '<unnamed><unnamed><unnamed>C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pdf-0.8.1\src\crypt.rs<unnamed>' panicked at ' panicked at ' panicked at ' panicked at ' panicked at :C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pdf-0.8.1\src\crypt.rsC:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pdf-0.8.1\src\crypt.rs290C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pdf-0.8.1\src\crypt.rsC:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pdf-0.8.1\src\crypt.rs::41C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pdf-0.8.1\src\crypt.rs::290290::290290::41:
::29041:
range end index 128 out of range for slice of length 16range end index 128 out of range for slice of length 1641::
41

:
41range end index 128 out of range for slice of length 16:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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

No branches or pull requests

3 participants
@pavelber @LennartCode and others