Cannot save PDF (Exited from signal: SIGSEGV)
See original GitHub issueI am using hummus-recipe in a Meteor app to mark some PDF’s but some PDF’s are failing. The pdfs are also made using hummus-recipe and the ones that are failing are specifically the ones that are made only by adding images to a pdf. When i try to mark those i get Exited from signal: SIGSEGV. I can provide you with an example PDF in private since it contains some personal information. This is the code i use to mark the PDF’s:
const pdfDoc = new HummusRecipe(pdfPath, pdfPath);
console.log('marking pdf')
pdfDoc
.editPage(1)
.text(`Anlage K${k}`, 375, 35, {
color: '#000000',
fontSize: 24,
bold: true,
align: 'center center',
textBox: {
width: 162,
minHeight: 32,
lineHeight: 18,
textAlign: 'center center',
padding: [5, 15],
style: {
lineWidth: 5,
stroke: '#020202'
}
}
})
.endPage()
.endPDF(() => appendPage(pdfPath));
} catch (err) {
console.log(`didnt append K${k}}`)
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Segmentation fault. I can not open Acrobat DC cras...
I was not able to open Acrobat DC. It crashes right away. Process: AdobeAcrobat [34338] Path: /Applications/Adobe Acrobat DC/Adobe ...
Read more >Closing Electron Window printing the PDF causes SIGSEGV ...
I open a new Window with WebView that contains PDF, initiate printing. Printing works fine. But when I close the window after printing,...
Read more >Android Fatal signal 11 (SIGSEGV) at 0x636f7d89 (code=1 ...
I had the issue when I was creating a PDF using Android's PDF APIs and I accidentally used the canvas.save ...
Read more >Error :”Received signal SIGSEGV.” - Ansys Learning Forum
Hello there,. I'm running a case of condensation. For this case, I have run the simulations without any UDF (default lee model), it...
Read more >Exited from signal: SIGSEGV - help - Meteor forums
Hello! Company which i work for have bought system, and one part of system is running on meteor. Problem is that meteor versions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @MikeAwie , You are right about the bug. https://github.com/chunyenHuang/hummusRecipe/blob/631ce3872e00369ee9afba922c636fff47ce85c6/lib/info.js#L28 It can not parse the info from the source file. I will make a fix soon.
Hi, this issue has been resolved by Gal in HummusJS. I have also updated the HummusRecipe and put the info function back. Please update your package to
hummus-recipe@1.7.4