Document Server version:7.5.1
Type of installation of the Document Server (docker, deb/rpm, exe)
OS:docker
Browser version:119
1.issues
This error is not limited to the Docker version; the official website’s SASS version also encounters the same issue.
Here is the error message
[2023-12-08T05:40:05.391] [INFO] [localhost] [172.17.0.1000-_____-__________________________2___2_.docx1702014003692] [uid-1] nodeJS - Start Task
[2023-12-08T05:40:05.741] [DEBUG] [localhost] [172.17.0.1000-_____-__________________________2___2_.docx1702014003692] [uid-1] nodeJS - downloadFile complete filesize=39824639 sha256=fa6ec5a4e232350f785160893800eec309c553ab269345199180864e909a5188
[2023-12-08T05:40:10.463] [ERROR] [localhost] [172.17.0.1000-_____-__________________________2___2_.docx1702014003692] [uid-1] nodeJS - stdout:
[2023-12-08T05:40:10.463] [ERROR] [localhost] [172.17.0.1000-_____-__________________________2___2_.docx1702014003692] [uid-1] nodeJS - stderr:
[2023-12-08T05:40:10.463] [ERROR] [localhost] [172.17.0.1000-_____-__________________________2___2_.docx1702014003692] [uid-1] nodeJS - ExitCode (code=0;signal=SIGSEGV;error:-80)
[2023-12-08T05:40:10.463] [DEBUG] [localhost] [172.17.0.1000-_____-__________________________2___2_.docx1702014003692] [uid-1] nodeJS - output (data={"ctx":{"tenant":"localhost","docId":"172.17.0.1000-_____-__________________________2___2_.docx1702014003692","userId":"uid-1"},"cmd":{"withAuthorization":true,"wopiParams":null,"c":"open","id":"172.17.0.1000-_____-__________________________2___2_.docx1702014003692","userid":"uid-1","format":"docx","url":"http://192.168.10.6:9001/example/download?fileName=xxxx.docx&useraddress=172.17.0.1","title":"xxxxx.docx","outputformat":8193,"outputpath":"Editor.bin","embeddedfonts":false,"status_info":-80,"lcid":9,"nobase64":true,"convertToOrigin":".pdf.xps.oxps.djvu"}})
I debugged and found that it is an issue with the ‘convert’ module in the Node backend. I suspect the key problematic code is as follows.
let spawnAsyncPromise = spawnAsync(processPath, childArgs, spawnOptions);
childRes = spawnAsyncPromise.child;
let waitMS = task.getVisibilityTimeout() * 1000 - (new Date().getTime() - getTaskTime.getTime());
timeoutId = setTimeout(function() {
isTimeout = true;
timeoutId = undefined;
//close stdio streams to enable emit 'close' event even if HtmlFileInternal is hung-up
childRes.stdin.end();
childRes.stdout.destroy();
childRes.stderr.destroy();
childRes.kill();
}, waitMS);
childRes = yield spawnAsyncPromise;
It seems to be an issue with the ‘x2t’ module in the C++ program.
Let’s discussing the file internally on the forum and send it to you, just like last time.
Looking forward to your reply. Thank you!
2.The temporary solution
My current temporary solution is to manually convert it to Word 97-2003 version using Microsoft Word, which resolves the issue.