-
Notifications
You must be signed in to change notification settings - Fork 39
SIGSEGV (0xb) - libgs.so #37
Comments
Hi, It seems to be related to your Ghostscript installation. Regards, |
Hello, I have the same problem, using the example code from Ghost4J project home page. My program crashes with the following message. If needed I can provide more stacktrace output.
Any help would be appreciated. Luc |
We are going to need more info on this in order to reproduce, which OS (the version matters) and which GS are you using? How are you running the code from the first comment? |
Here is a Maven project. (testGS.zip)
The problem is similar on both systems. |
Hey there, i am about to run your code, please upload fichier.ps, thanks. |
Hey :)
|
There is alot of stuff wrong with your project, but since they are related to maven and java standards, i am going to skip that.
As you can see in the log fichierOK.ps is beeing converted just fine, but as assumed fichierKO.ps is not:
So i am assuming your .ps file is broken, it has more then 7K lines in it, never the less, i was not able to find a way to validate postscript files, so what i did is to basically try to convert it using gs natively
Here the output converting the fichierKO.ps file using gs natively:
@zippy1978 gs is not crashing, though the ps file is corrupt we should find a way in catching this fatal error. Should this be further investigated or do you have enough information for now? P.s.: results and jvm crash log are inside the zip file. cheers |
Thank you for your participation. The solution I have adopted (also in first zip 'testGS.zip') is:
I also think it will be that the JVM does not crashing during the run. |
You are welcome.
|
Hey, |
Hi, Could you tell me which version of Ghost4J is used for your test ? For the native GS API / Java interaction, Ghost4J uses JNA. when a crash like this occurs, it's probably due to JNA. The master branch uses a more recent version of JNA, did you use this one (1.0.1-SNAPSHOT) or the 1.0.0 version ? Regards |
Hi there! This error can be reproduced using GS Version 9 and Ghost4J Version 1.0.0 as you can see in this example project created: testGhost4jIssue37.zip |
Hello everyone, I did a test today.
But the JVM is not crashed. The exception thrown is this issue may be closed. Luc |
using the following code:
Causing a SIGSEGV (0xb) error
any suggestions as to why this may be?
Thanks
The text was updated successfully, but these errors were encountered: