question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot save PDF (Exited from signal: SIGSEGV)

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
chunyenHuangcommented, Jun 19, 2018

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.

0reactions
chunyenHuangcommented, Aug 12, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found