-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipeline 2 jhyphen crashes #779
Comments
Hi @PaulRambags , If it is possible, in the pipeline home directory, can you look at the |
@bertfrees reported that you still encountered the issue with the fix we added in last august in org.daisy.bindings.jhyphen-1.0.3 (sorry about that) Can you provide additionnal information / updates on the pipeline version tested, and if it is tested through the DAISY pipeline app or through the pipeline-assembly (and if it is the latter, which commit / tag is targeted for the pipeline-assembly build) ? |
Hi Nicolas,
org.daisy.bindings.jhyphen-1.0.3.jar
org.daisy.pipeline.modules.braille.libhyphen-utils-3.2.1-windows.jar
org.daisy.pipeline.modules.braille.libhyphen-utils-3.4.0.jar
Greetings,
Paul Rambags
|
After a lot of debugging I have localised a bug in libhyphen that was causing crashes on Windows on my end. By adding a workaround in jhyphen, I managed to fix the issue. The bug is on this line: char * nhy = (char *) strstr(word, nh);
|
Expected Behavior
I expect the Pipeline 2 with our Dedicon module to run without crashing.
Actual Behavior
The Pipeline 2 crashes. Sometimes there is a stack trace in
daisy-pipeline.log
. Also sometimes the JVM generates an exception report because of anEXCEPTION_ACCESS_VIOLATION
which has a stack trace. Often the Pipeline just stops working without any stack trace. When I inspect the stack trace, the problem seems to be injhyphen
. Whether the pipeline crashes depends on various aspects: The version of the JVM that is used, the input (the DTBook), and how long the Pipeline has already been running / how many books it has processed since the last restart.Steps to Reproduce
Provide a list of steps taken to reproduce the problem.
pipeline-assembly
commited3ac2d
(‘Release Notes of 1.14.14’) to create a version with our Dedicon module. To include this module, add the following inpom.xml
at line 2519:<artifactItem><groupId>nl.dedicon.pipeline</groupId><artifactId>braille-module</artifactId><version>2.0.1</version></artifactItem>
make.exe zip-win
in a command prompt. This will create aassembly-1.14.15-SNAPSHOT-win.zip
file in thetarget
folder.daisy-pipeline
folder.pipeline2.bat
in thebin
subfolder to start the Pipeline.dp2.exe dedicon:dtbook-to-pef --source {source.xml} --output {target-folder}
in thecli
subfolder.Details
Crashes started to occur more frequently after I added the following in the style sheet:
Environment
Logs
https://gist.github.com/PaulRambags/e9e0b00638a026735a48d101d93a76c2
The text was updated successfully, but these errors were encountered: