Summary: | app-office/wps-office-10.1.0.5503_alpha20_p2 fails to start on hardened (all components) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gerold Schellstede <gentoo> |
Component: | Current packages | Assignee: | Pacho Ramos <pacho> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | hardened, jstein |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gerold Schellstede
2016-04-21 14:22:16 UTC
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. |