galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

Error library v1.0.109 #452

Open chcamiloam opened 3 years ago

chcamiloam commented 3 years ago

Environment: AWS lambda NodejsVersion: Nodejs10.x New version doesn't work as expected, I'm getting this error.

1: 0x5560bddc1213 node::Abort() [/var/lang/bin/node] 2: 0x5560bddc126f [/var/lang/bin/node] 3: 0x5560be0052e9 v8::Utils::ReportApiFailure(char const, char const) [/var/lang/bin/node] 4: 0x7fd764603bd5 ObjectByteWriterWithPosition::Write(unsigned char const*, unsigned long) [/var/task/node_modules/hummus/binding/hummus.node] 5: 0x7fd7646317c3 ObjectsContext::WriteComment(std::string const&) [/var/task/node_modules/hummus/binding/hummus.node] 6: 0x7fd764612c47 PDFHummus::DocumentContext::WriteHeader(EPDFVersion) [/var/task/node_modules/hummus/binding/hummus.node] 7: 0x7fd7645f3fca PDFWriterDriver::StartPDF(v8::Local, EPDFVersion, LogConfiguration const&, PDFCreationSettings const&) [/var/task/node_modules/hummus/binding/hummus.node] 8: 0x7fd76460507b CreateWriter(v8::FunctionCallbackInfo const&) [/var/task/node_modules/hummus/binding/hummus.node] 9: 0x5560be0b213a [/var/lang/bin/node] 10: 0x5560be0b2fdd v8::internal::Builtin_HandleApiCall(int, v8::internal::Object*, v8::internal::Isolate) [/var/lang/bin/node] 11: 0x204cc2edbe1d

Fixed after return to the previous version v1.0.108

galkahana commented 3 years ago

thanks. sorry for this. used hummus in a new project of mine and found out a whole slew of compilation issues. released a fix...and fucked up things. sorry for that. 110 should sort things out.