Skip to content

bug: Core dump in parsing bad PDF? #7122

@cab938

Description

@cab938

Version: 0.7.4

Describe the Bug

I attach multiple PDFs to a conversation and submit them with a text prompt using Qwen3-next. The Jan UI closes, and the error on the CLI is:

[2025-12-05][20:08:18][tauri_plugin_rag::commands][INFO] Parsing document: MY_FILENAME_AND_PATH.pdf (type: pdf)

thread 'tokio-runtime-worker' (3375451) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/pdf-extract-0.7.12/src/lib.rs:203:30:
X1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)

Steps to Reproduce

  1. As above, sadly I can't share the PDF file as it is sensitive

Screenshots / Logs

Operating System

  • MacOS
  • Windows
  • Linux

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions