I have Kubuntu 16.04 LTS installed on my system. I installed the recent A21 WPS community edition on my system. It works good in general and it is able to open MS Word, Excel and Powerpoint documents well. Thanks to WPS community and Kingsoft!
I am facing one critical problem: When I try to view slideshow the WPS Presentation software segfaults and closes. I did some preliminary analysis of the crash and here are the details:
1. Backtrace of the crash from GDB gives the following. It seems like it is crashing when trying to open libXext.so system library.
#0 0x00007ffff7de356c in elf_machine_rela (skip_ifunc=0, reloc_addr_arg=0x7fffe94a5ef0, version=0x30, sym=0x7fffe9126280, reloc=0x7fffe914f0e8, map=0xf29790) at ../sysdeps/x86_64/dl-machine.h:301
#1 elf_dynamic_do_Rela (skip_ifunc=0, lazy=<optimized out>, nrelative=<optimized out>, relsize=<optimized out>, reladdr=<optimized out>, map=0xf29790) at do-rel.h:137
#2 _dl_relocate_object (scope=<optimized out>, reloc_mode=reloc_mode@entry=1, consider_profiling=<optimized out>, consider_profiling@entry=0) at dl-reloc.c:258
#3 0x00007ffff7dec681 in dl_open_worker (a=a@entry=0x7fffffffc9c0) at dl-open.c:435
#4 0x00007ffff7de7394 in _dl_catch_error (objname=objname@entry=0x7fffffffc9b0, errstring=errstring@entry=0x7fffffffc9b8, mallocedp=mallocedp@entry=0x7fffffffc9af, operate=operate@entry=0x7ffff7dec300 <dl_open_worker>,
args=args@entry=0x7fffffffc9c0) at dl-error.c:187
#5 0x00007ffff7debbd9 in _dl_open (file=0x59a92c8 "libXext.so", mode=-
2147483647, caller_dlopen=0x7ffff3ae2f5d, nsid=-2, argc=<optimized out>, argv=<optimized out>, env=0x7fffffffddb0) at dl-open.c:660
#6 0x00007fffefb4bf09 in dlopen_doit (a=a@entry=0x7fffffffcbf0) at dlopen.c:66
#7 0x00007ffff7de7394 in _dl_catch_error (objname=0xbc0c20, errstring=0xbc0c28, mallocedp=0xbc0c18, operate=0x7fffefb4beb0 <dlopen_doit>, args=0x7fffffffcbf0) at dl-error.c:187
#8 0x00007fffefb4c571 in _dlerror_run (operate=operate@entry=0x7fffefb4beb0 <dlopen_doit>, args=args@entry=0x7fffffffcbf0) at dlerror.c:163
#9 0x00007fffefb4bfa1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#10 0x00007ffff3ae2f5d in ?? () from /opt/kingsoft/wps-office/office6/libQtCore.so.4
#11 0x00007ffff3ae1374 in QLibrary::load() () from /opt/kingsoft/wps-office/office6/libQtCore.so.4
#12 0x00007ffff26f0d6d in ?? () from /opt/kingsoft/wps-office/office6/libwppcore.so
#13 0x00007ffff26e413a in ?? () from /opt/kingsoft/wps-office/office6/libwppcore.so
#14 0x00007ffff2afc588 in ?? () from /opt/kingsoft/wps-office/office6/libwppcore.so
#15 0x00007ffff25f0d0d in ?? () from /opt/kingsoft/wps-office/office6/libwppcore.so
#16 0x000000000069f066 in ?? ()
#17 0x00000000004bc713 in _start ()
2. Strace gave the following information. It seems like it is trying to access the correct library but before mmap() could complete it is crashing.
.
.
.
.
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 20
fstat(20, {st_mode=S_IFREG|0644, st_size=326758, ...}) = 0
mmap(NULL, 326758, PROT_READ, MAP_PRIVATE, 20, 0) = 0x7fad2929b000
close(20) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXext.so", O_RDONLY|O_CLOEXEC) = 20
read(20, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2205\0\0\0\0\0\0"..., 832) = 832
fstat(20, {st_mode=S_IFREG|0644, st_size=73640, ...}) = 0
close(20) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x38} ---
Thanks in advance.