You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug report] What is the current behavior?
System prompt Segmentation fault
[Bug report] What is the expected behavior?
Extracting Text Content from PDF Files
[Bug report] Please provide the steps to reproduce and if possible a minimal reproduction code of the problem
podofotxextract 1.pdf
podofo/src/podofo/main/PdfObject.cpp:
PdfDictionary& PdfObject::GetDictionary()
{
DelayedLoad();
return m_Variant.GetDictionary();
}
Please tell us about your environment:
Version/git revision: [0.11.0]
Operating System: Linux (64 bits)
Package manager used: [apt]
[Bug report/Feature request] Other information
The stack information is as follows:
Program received signal SIGSEGV, Segmentation fault.
PoDoFo::PdfObject::GetDictionary (this=0x0) at /podofo/src/podofo/main/PdfObject.cpp:678
678 DelayedLoad();
(gdb) bt
#0 PoDoFo::PdfObject::GetDictionary (this=0x0) at /Oscar01/liujiahao/podofo/src/podofo/main/PdfObject.cpp:678 PoDoFo creates unreadable PDFs when OpenSSL RC4 is not available and PODOFO_HAVE_OPENSSL_NO_RC4 is set #1 0x00007ffff7d777f2 in PoDoFo::PdfFont::TryCreateFromObject (obj=..., font=std::unique_ptrPoDoFo::PdfFont = {...})
at /Oscar01/liujiahao/podofo/src/podofo/main/PdfFontFactory.cpp:106 Remove annotations from PDF files #2 0x00007ffff7d7c130 in PoDoFo::PdfFontManager::GetLoadedFont (this=0x7fffffffe7c0, resources=..., name=...)
at /Oscar01/liujiahao/podofo/src/podofo/main/PdfFontManager.cpp:114 Add support for Unicode combining marks #3 0x00007ffff7df6231 in ExtractionContext::Tf_Operator (this=this@entry=0x7fffffffe018, fontname=..., fontsize=, fontsize@entry=360)
at /Oscar01/liujiahao/podofo/src/podofo/main/PdfPage_TextExtraction.cpp:882 Second digital signature invalidates the first one #4 0x00007ffff7df4883 in PoDoFo::PdfPage::ExtractTextTo (this=, entries=..., pattern=..., params=...)
at /Oscar01/liujiahao/podofo/src/podofo/main/PdfPage_TextExtraction.cpp:282 Fix declaration of operator<< for PoDoFo::PdfString #5 0x00000000004036b1 in Main (args=...) at /Oscar01/liujiahao/podofo/tools/podofotxtextract/podofotxtextract.cpp:40 ColorTest (and maybe others) are broken on aarch64 (aka arm64) #6 0x00000000004040d8 in main (argc=, argv=) at /Oscar01/liujiahao/podofo/tools/private/MainEntryPoint.cpp:35
I'm submitting a Bug report
[Bug report] What is the current behavior?
System prompt Segmentation fault
[Bug report] What is the expected behavior?
Extracting Text Content from PDF Files
[Bug report] Please provide the steps to reproduce and if possible a minimal reproduction code of the problem
podofotxextract 1.pdf
podofo/src/podofo/main/PdfObject.cpp:
PdfDictionary& PdfObject::GetDictionary()
{
DelayedLoad();
return m_Variant.GetDictionary();
}
Please tell us about your environment:
[Bug report/Feature request] Other information
The stack information is as follows:
Program received signal SIGSEGV, Segmentation fault.
PoDoFo::PdfObject::GetDictionary (this=0x0) at /podofo/src/podofo/main/PdfObject.cpp:678
678 DelayedLoad();
(gdb) bt
#0 PoDoFo::PdfObject::GetDictionary (this=0x0) at /Oscar01/liujiahao/podofo/src/podofo/main/PdfObject.cpp:678
PoDoFo creates unreadable PDFs when OpenSSL RC4 is not available and PODOFO_HAVE_OPENSSL_NO_RC4 is set #1 0x00007ffff7d777f2 in PoDoFo::PdfFont::TryCreateFromObject (obj=..., font=std::unique_ptrPoDoFo::PdfFont = {...})
at /Oscar01/liujiahao/podofo/src/podofo/main/PdfFontFactory.cpp:106
Remove annotations from PDF files #2 0x00007ffff7d7c130 in PoDoFo::PdfFontManager::GetLoadedFont (this=0x7fffffffe7c0, resources=..., name=...)
at /Oscar01/liujiahao/podofo/src/podofo/main/PdfFontManager.cpp:114
Add support for Unicode combining marks #3 0x00007ffff7df6231 in ExtractionContext::Tf_Operator (this=this@entry=0x7fffffffe018, fontname=..., fontsize=, fontsize@entry=360)
at /Oscar01/liujiahao/podofo/src/podofo/main/PdfPage_TextExtraction.cpp:882
Second digital signature invalidates the first one #4 0x00007ffff7df4883 in PoDoFo::PdfPage::ExtractTextTo (this=, entries=..., pattern=..., params=...)
at /Oscar01/liujiahao/podofo/src/podofo/main/PdfPage_TextExtraction.cpp:282
Fix declaration of
operator<<
forPoDoFo::PdfString
#5 0x00000000004036b1 in Main (args=...) at /Oscar01/liujiahao/podofo/tools/podofotxtextract/podofotxtextract.cpp:40ColorTest (and maybe others) are broken on aarch64 (aka arm64) #6 0x00000000004040d8 in main (argc=, argv=) at /Oscar01/liujiahao/podofo/tools/private/MainEntryPoint.cpp:35
1.pdf
The text was updated successfully, but these errors were encountered: