M0Rf30 / cie-middleware-linux

🪪 Software per l'utilizzo della Carta d'Identità Elettronica Italiana - Accesso ai servizi della PA, firma e verifica di documenti 🇮🇹 Software for the usage of the Italian Electronic Identity Card. Access to PA services, signing and verification of documents
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

Crash on graphical signature (PAdES) using the podofo-vanilla branch #21

Open M0Rf30 opened 2 years ago

M0Rf30 commented 2 years ago

Using the podofo-vanilla branch a crash will occur during the PAdES graphical signature process (without checking the box to append the signature image)

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fbe441740b0, pid=2393655, tid=2393968
#
# JRE version: OpenJDK Runtime Environment (17.0.4+8) (build 17.0.4+8-nixos)
# Java VM: OpenJDK 64-Bit Server VM (17.0.4+8-nixos, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libpodofo.so.0.9.8+0x14e0b0]  PoDoFo::PdfPagesTree::GetTotalNumberOfPages() const+0x0
#

Originally posted by @rnhmjoj in https://github.com/M0Rf30/cie-middleware-linux/issues/8#issuecomment-1236040502

resoli commented 1 year ago

Same here:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff7522f1ef4, pid=57361, tid=57415
#
# JRE version: OpenJDK Runtime Environment (11.0.17+8) (build 11.0.17+8-post-Ubuntu-1ubuntu222.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.17+8-post-Ubuntu-1ubuntu222.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libpodofo.so.0.9.7+0xf0ef4]  PoDoFo::PdfPagesTree::GetTotalNumberOfPages() const+0x4