Hello, recently I installed WPS-Office, but all of its components fail to start. To get some hints I started them trough the xfce-terminal. Here all components (wpp, et, wps) shows the same failure: /usr/bin/et: line 38: 13111 Segmentation fault ${gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "$@" If one tries again, the only thing which changes is the 5digits number after "line 38:". Eventually it is worth to mention that I am on hardened (hardened-kernel and toolchain with PaX, but not SeLinux or something like that), but googeling shows that there are also users on other distros with this problem. Thanks in advance Gerold
I tried to reproduce the reported bug. And got === * QA Notice: The following files contain writable and executable sections * Files with such sections will not work properly (or at all!) on some * architectures/operating systems. A bug should be filed at * http://bugs.gentoo.org/ to make sure the issue is fixed. * For more information, see: * * https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart * * Please include the following list of files in your report: * Note: Bugs should be filed for the respective maintainers * of the package in question and not hardened@g.o. * RWX --- --- opt/kingsoft/wps-office/office6/libfqtesdk.so === I am not sure, if this leads to the same source of trouble, or should be filed in a new bug. Most likely the problems come from upstream and should be solved there instead of the ebuild. If you are user of wps, could you try to collect more information? Does the older ebuild work for you? Please attach the complete build info and logfiles.
It works fine for me on a non-hardened system
@Jonas Stein You were right: The bug seems to be hardened-related. dmesg shows [ 2363.669154] wpp[7453]: segfault at bbadbeef ip 000074c6933cf5ae sp 0000764c7da31ab0 error 6 in libQtWebKit.so.4.9.3[74c69222e000+19a7000] [ 2415.831310] wps[7484]: segfault at bbadbeef ip 00006508532eb5ae sp 0000711cad7f9f20 error 6 in libQtWebKit.so.4.9.3[65085214a000+19a7000] [ 2630.808972] et[7751]: segfault at bbadbeef ip 00006d6d1de1d5ae sp 000078226497d260 error 6 in libQtWebKit.so.4.9.3[6d6d1cc7c000+19a7000]
@hardened, I am not sure how to handle this problem with hardened :/ (and not, we cannot use system qt libs because it relies on some features from the wps version)
(In reply to Pacho Ramos from comment #4) > @hardened, I am not sure how to handle this problem with hardened :/ (and > not, we cannot use system qt libs because it relies on some features from > the wps version) I think the wps version is compile with jit as we disable it. libfqtesdk.so most likliy have some asm files that missing gnu stack fix. Do pax mark the bins with m fix it?
What do you mean with the "bins" #paxctl-ng -v /usr/bin/wps wps: ELF ERROR: elf_kind() fail: this is not an elf file. PT_PAX : not found XATTR_PAX : not found and "#paxctl-ng -m /usr/bin/wps" does not help.