Comments (2)
When running the test suite inside gdb
using gdb --args python3 -m pytest tests/
, in case of a segmentation fault, the top of the backtrace always looked like this:
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007ffff16c6300 in ?? () from /usr/lib64/python3.10/lib-dynload/_ctypes.cpython-310-x86_64-linux-gnu.so
(gdb) bt
#0 0x00007ffff16c6300 in ?? () from /usr/lib64/python3.10/lib-dynload/_ctypes.cpython-310-x86_64-linux-gnu.so
#1 0x00007ffff0699cfa in CPDFSDK_FormFillEnvironment::~CPDFSDK_FormFillEnvironment() () from /home/me/projects/pypdfium2/src/pypdfium2/pdfium
#2 0x00007ffff06b4353 in FPDFDOC_ExitFormFillEnvironment () from /home/me/projects/pypdfium2/src/pypdfium2/pdfium
This makes me suspect it might have had something to do with form filling.
Anyway, it looks like I can't reproduce it since 33f7966 anymore.
from pypdfium2.
Ok, it really is related to forms, see 2b1ddbd
from pypdfium2.
Related Issues (20)
- Better instructions / support for offline building HOT 21
- sourcebuild broken (version detection)
- `image.get_pos()` returns wrong values for images nested in Form XObjects HOT 6
- conda_raw: handle rebuild of same version, prevent scheduled release if not updated
- Library not available: "Cannot close object, library is destroyed..." HOT 4
- conda: consider reading pdfium-binaries version from system?
- Installation failures within a Docker container, problem with ctypesgen? HOT 3
- Parsing special characters leading to inconsistency among different machines HOT 6
- musl binary size concerns
- pdfium fails to load in PHP on Almalinux 8.9 (PartitionAlloc check failure) HOT 8
- Buffer size mismatch when calling `get_text_range` HOT 13
- page.set_rotation() Over Rotating Some Pages
- page.render function returns an unexpected image HOT 7
- PdfDocument.get_page is non-thread-safe HOT 1
- Got different result of "pdfium_page.render()" on MacOS and Linux HOT 1
- Extracting text with special characters HOT 7
- expose more details in PdfiumError HOT 3
- Weird "PDFium: Data format error" when using pypdfium2 in Celery task. HOT 6
- The render func does not render form fields. HOT 4
- pypdfium2 on S390x (ubuntu22.04) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypdfium2.