Access violations and crashes in docling-parse
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- backend, computer-graphics
Research direction
Start with the attached docling_crash.py and synthetic PDF to reproduce the Windows crash, then trace the failing path in the native PDF parser reported as pdf_parsers.cp313-win_amd64.pyd. Confirm what triggers the access violation and whether it reproduces outside the reporter’s environment; done means the crash is fixed and the reproducer completes without crashing.
Written by the indexing model from the issue text.
Description
This comes from running the main docling package on a bunch of pdfs to convert them to markdown, where the script I use would randomly exit showing no errors on the terminal. The windows event log shows the following entries:
Time: 2026-11-17T10:43:04.2282494+01:00
Event ID: 1000
Faulting application name: python.exe, version: 3.13.11150.1013, time stamp: 0x693308ab
Faulting module name: pdf_parsers.cp313-win_amd64.pyd, version: 0.0.0.0, time stamp: 0x6af6d89f
Exception code: 0xc0000005
Fault offset: 0x000000000083ec97
Faulting process id: 0x7EFC
Faulting application start time: 0x1DD7677B76564F5
Faulting application path: C:\..\AppData\Local\Python\pythoncore-3.13-64\python.exe
Faulting module path: C:\..\Documents\nexus-dev\.model_test_venv\Lib\site-packages\docling_parse\pdf_parsers.cp313-win_amd64.pyd
Report Id: a7edd003-9c6b-4a06-8b5f-22c653e01183
Faulting package full name:
Faulting package-relative application ID:
Time: 2026-11-17T10:43:41.2754706+01:00
Event ID: 1000
Faulting application name: python.exe, version: 3.13.11150.1013, time stamp: 0x693308ab
Faulting module name: pdf_parsers.cp313-win_amd64.pyd, version: 0.0.0.0, time stamp: 0x6af6d89f
Exception code: 0xc0000005
Fault offset: 0x000000000083ec97
Faulting process id: 0x7EFC
Faulting application start time: 0x1DD7677B76564F5
Faulting application path: C:\..\AppData\Local\Python\pythoncore-3.13-64\python.exe
Faulting module path: C:\..\Documents\nexus-dev\.model_test_venv\Lib\site-packages\docling_parse\pdf_parsers.cp313-win_amd64.pyd
Report Id: 024d728a-89a9-4ea7-a28a-db744204e13b
Faulting package full name:
Faulting package-relative application ID:
Time: 2026-11-17T10:43:47.6067310+01:00
Event ID: 1000
Faulting application name: python.exe, version: 3.13.11150.1013, time stamp: 0x693308ab
Faulting module name: pdf_parsers.cp313-win_amd64.pyd, version: 0.0.0.0, time stamp: 0x6af6d89f
Exception code: 0xc0000005
Fault offset: 0x000000000083ec97
Faulting process id: 0x7EFC
Faulting application start time: 0x1DD7677B76564F5
Faulting application path: C:\..\AppData\Local\Python\pythoncore-3.13-64\python.exe
Faulting module path: C:\..\Documents\nexus-dev\.model_test_venv\Lib\site-packages\docling_parse\pdf_parsers.cp313-win_amd64.pyd
Report Id: e376e04c-141e-4f6b-9a0d-0c0647ef5f67
Faulting package full name:
Faulting package-relative application ID:
Time: 2026-11-17T10:43:54.3743934+01:00
Event ID: 1000
Faulting application name: python.exe, version: 3.13.11150.1013, time stamp: 0x693308ab
Faulting module name: pdf_parsers.cp313-win_amd64.pyd, version: 0.0.0.0, time stamp: 0x6af6d89f
Exception code: 0xc0000005
Fault offset: 0x000000000083ec97
Faulting process id: 0x7EFC
Faulting application start time: 0x1DD7677B76564F5
Faulting application path: C:\..\AppData\Local\Python\pythoncore-3.13-64\python.exe
Faulting module path: C:\..\Documents\nexus-dev\.model_test_venv\Lib\site-packages\docling_parse\pdf_parsers.cp313-win_amd64.pyd
Report Id: 1b993a98-ab2f-4e5e-9bc0-bc5cdc61cd8f
Faulting package full name:
Faulting package-relative application ID:
Time: 2026-11-17T10:46:47.4367109+01:00
Event ID: 1000
Faulting application name: python.exe, version: 3.13.11150.1013, time stamp: 0x693308ab
Faulting module name: pdf_parsers.cp313-win_amd64.pyd, version: 0.0.0.0, time stamp: 0x6af6d89f
Exception code: 0xc0000005
Fault offset: 0x000000000083ec97
Faulting process id: 0x7EFC
Faulting application start time: 0x1DD7677B76564F5
Faulting application path: C:\..\AppData\Local\Python\pythoncore-3.13-64\python.exe
Faulting module path: C:\..\Documents\nexus-dev\.model_test_venv\Lib\site-packages\docling_parse\pdf_parsers.cp313-win_amd64.pyd
Report Id: 07227a97-1399-4be5-8ee0-eea7a74034f5
Faulting package full name:
Faulting package-relative application ID:
Time: 2026-11-17T10:47:58.1747821+01:00
Event ID: 1000
Faulting application name: python.exe, version: 3.13.11150.1013, time stamp: 0x693308ab
Faulting module name: ntdll.dll, version: 10.0.26100.9711, time stamp: 0x5fd39a05
Exception code: 0xc0000374
Fault offset: 0x0000000000118095
Faulting process id: 0x7EFC
Faulting application start time: 0x1DD7677B76564F5
Faulting application path: C:\..\AppData\Local\Python\pythoncore-3.13-64\python.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 5409af03-2567-4a86-a30a-7e6518cd8818
Faulting package full name:
Faulting package-relative application ID:
Codex was able to reproduce the crash inside its sandbox with a simple pdf file and script, although not in the standard windows terminal. I'm attaching those nonetheless in case they help.
docling_crash.py
docling-crash-synthetic.pdf
Environment:
Windows 11, build 26100
Python 3.13.11, x64
docling 2.150.1
docling-parse 7.26.0
docling-core 2.107.1
docling-ibm-models 4.0.4
rapidocr 3.9.1
pypdfium2 5.8.0
torch 2.11.0+cu126
transformers 5.8.1
- Dominant language
- C++
- Stars
- 352
- Forks
- 99
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 37
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docling-project/docling-parse
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
docling-project/docling-parse#448 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 74/100
docling-project/docling-parse#492 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
docling-project/docling-parse#487 ·
Maintainers usually reply within 1 day
-
7.25.0 splits letter-spaced CJK runs of two to four characters into one word per character (`股本重組` -> `股 本 重 組`): `infer_unspaced_gap_profile()` needs four gaps before it sees trackingPossibly taken @jjohnnystwsss claimed this 4 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 55/100
docling-project/docling-parse#483 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
docling-project/docling-parse#482 ·
Maintainers usually reply within 1 day
All issues in docling-project/docling-parse
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 2 days
-
Missing repro Platform: Android
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/react-native-reanimated#11554 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Niko1221/Strata#7211 · 3 comments ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
sleepyviper1213/redis#52 ·