Bug 1624941 - F29 glibc incompatible with WPS office
Summary: F29 glibc incompatible with WPS office
Keywords:
Status: CLOSED DUPLICATE of bug 1395758
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 29
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-03 16:16 UTC by Edward O
Modified: 2019-10-08 13:57 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-10-08 13:57:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 20839 0 None None None 2019-10-08 13:57:51 UTC

Description Edward O 2018-09-03 16:16:47 UTC
Description of problem:

WPS office crashes during start after upgrade from F28 to F29.

Version-Release number of selected component (if applicable):
glibc-2.28-9.fc29.x86_64
wps-office-10.1.0.5707-1.a21.x86_64

How reproducible:
always

Steps to Reproduce:
1. start WPS, e.g. /bin/et or /opt/kingsoft/wps-office/office6/et

Actual results:
/bin/et: line 38: 31323 Segmentation fault      (core dumped) ${gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "$@"
app displays splash screen then quits.

gdb says error occurs at: #8 dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2

Expected results:
app starts

Additional info:
This is a closed-source app publishing community-supported RPMs. I opened a bug report upstream but I believe glibc 2.28-9 should be backward-binary-compatible with app linked against 2.2.5?

Full backtrace FYI:

#0  0x00007ffff7fde4fd in _dl_relocate_object () at /lib64/ld-linux-x86-64.so.2
#1  0x00007ffff7fe5cbd in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff03aef97 in _dl_catch_exception () at /lib64/libc.so.6
#3  0x00007ffff7fe566e in _dl_open () at /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff089639a in dlopen_doit () at /lib64/libdl.so.2
#5  0x00007ffff03aef97 in _dl_catch_exception () at /lib64/libc.so.6
#6  0x00007ffff03af033 in _dl_catch_error () at /lib64/libc.so.6
#7  0x00007ffff0896af9 in _dlerror_run () at /lib64/libdl.so.2
#8  0x00007ffff089643a in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#9  0x00007ffff10d7e4d in  () at /opt/kingsoft/wps-office/office6/libQtCore.so.4
#10 0x00007ffff10d6264 in QLibrary::load() () at /opt/kingsoft/wps-office/office6/libQtCore.so.4
#11 0x00007fffefbb3308 in  () at /opt/kingsoft/wps-office/office6/libQtDBus.so.4
#12 0x00007fffefb6799c in QDBusConnection::connectToBus(QDBusConnection::BusType, QString const&) ()
    at /opt/kingsoft/wps-office/office6/libQtDBus.so.4
#13 0x00007fffefb6b745 in  () at /opt/kingsoft/wps-office/office6/libQtDBus.so.4
#14 0x00007fffefb6a521 in QDBusConnection::sessionBus() () at /opt/kingsoft/wps-office/office6/libQtDBus.so.4
#15 0x00007fffe0ac6ce7 in  () at /opt/kingsoft/wps-office/office6/./libkglobalmenu.so
#16 0x00007fffe0ac6b33 in  () at /opt/kingsoft/wps-office/office6/./libkglobalmenu.so
#17 0x00007fffe0ac576b in  () at /opt/kingsoft/wps-office/office6/./libkglobalmenu.so
#18 0x00007ffff10fcfbd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
    at /opt/kingsoft/wps-office/office6/libQtCore.so.4
#19 0x00007ffff2db34fc in KMainWindow::setMenuBar(KDragMenuBar*) () at /opt/kingsoft/wps-office/office6/libkso.so
#20 0x00007ffff3020c49 in KxMainWindow::setMenuBar(KDragMenuBar*) () at /opt/kingsoft/wps-office/office6/libkso.so
#21 0x00007ffff2db3384 in KMainWindow::ensureMenuBarLoad() const () at /opt/kingsoft/wps-office/office6/libkso.so
#22 0x00007ffff2db3521 in KMainWindow::menuBar() const () at /opt/kingsoft/wps-office/office6/libkso.so
#23 0x00007ffff302469f in KxMainWindow::endPolishXml(KMainWindow*) () at /opt/kingsoft/wps-office/office6/libkso.so
#24 0x0000000000867bc7 in  ()
#25 0x00007ffff2db6927 in KMainWindow::polishXml(KMainWindow*) () at /opt/kingsoft/wps-office/office6/libkso.so
#26 0x00007ffff2f8df42 in KxApplication::addMainWindowNotify(IKMainWindow*, ksoNotify*) ()
    at /opt/kingsoft/wps-office/office6/libkso.so
#27 0x00007ffff2f8e0e3 in non-virtual thunk to KxApplication::addMainWindowNotify(IKMainWindow*, ksoNotify*) ()
    at /opt/kingsoft/wps-office/office6/libkso.so
#28 0x00007ffff2dd9786 in KCollectionCoreNotify::OnCoreNotify(ksoNotify*) ()
    at /opt/kingsoft/wps-office/office6/libkso.so
#29 0x00007ffff5a932a8 in  () at /opt/kingsoft/wps-office/office6/libapplogic.so
#30 0x00007ffff5b5a8e6 in  () at /opt/kingsoft/wps-office/office6/libapplogic.so
#31 0x00007ffff5bdb103 in  () at /opt/kingsoft/wps-office/office6/libapplogic.so
#32 0x00000000008a947a in  ()
#33 0x00000000008a9cf3 in  ()
#34 0x00007ffff0299413 in __libc_start_main () at /lib64/libc.so.6
#35 0x00000000004e5471 in _start ()

Comment 1 Florian Weimer 2018-09-03 16:21:38 UTC
Please generate a backtrace after installing glibc debugging information using “dnf debuginfo-install glibc”.  Thanks.

Comment 2 Edward O 2018-09-08 19:12:27 UTC
Hello,

Hopefully this  is better:

#9  0x00007ffff0896af9 in _dlerror_run (operate=operate@entry=0x7ffff0896340 <dlopen_doit>, args=args@entry=0x7fffffffceb0) at dlerror.c:163
#10 0x00007ffff089643a in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87

-- Full stack:

#0  0x00007ffff7fde4fd in elf_machine_rela
    (skip_ifunc=0, reloc_addr_arg=0x7fffded1ef48, version=0x30, sym=0x7fffdeb71f30, reloc=0x7fffdeb9b898, map=0x117f250)
    at ../sysdeps/x86_64/dl-machine.h:308
#1  0x00007ffff7fde4fd in elf_dynamic_do_Rela
    (skip_ifunc=0, lazy=<optimized out>, nrelative=<optimized out>, relsize=<optimized out>, reladdr=<optimized out>, map=0x117f250) at do-rel.h:137
#2  0x00007ffff7fde4fd in _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  0x00007ffff7fe5cbd in dl_open_worker (a=a@entry=0x7fffffffcc90) at dl-open.c:366
#4  0x00007ffff03aef97 in __GI__dl_catch_exception (exception=<optimized out>, operate=<optimized out>, args=<optimized out>)
    at dl-error-skeleton.c:196
#5  0x00007ffff7fe566e in _dl_open
    (file=0x147f0b8 "libdbus-1.so.3", mode=-2147483647, caller_dlopen=0x7ffff10d7e4d, nsid=<optimized out>, argc=1, argv=0x7fffffffdbf8, env=0x1089490) at dl-open.c:588
#6  0x00007ffff089639a in dlopen_doit (a=a@entry=0x7fffffffceb0) at dlopen.c:66
#7  0x00007ffff03aef97 in __GI__dl_catch_exception (exception=exception@entry=0x7fffffffce50, operate=<optimized out>, args=<optimized out>)
    at dl-error-skeleton.c:196
#8  0x00007ffff03af033 in __GI__dl_catch_error
    (objname=0xdffd60, errstring=0xdffd68, mallocedp=0xdffd58, operate=<optimized out>, args=<optimized out>) at dl-error-skeleton.c:215
#9  0x00007ffff0896af9 in _dlerror_run (operate=operate@entry=0x7ffff0896340 <dlopen_doit>, args=args@entry=0x7fffffffceb0) at dlerror.c:163
#10 0x00007ffff089643a in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#11 0x00007ffff10d7e4d in  () at /opt/kingsoft/wps-office/office6/libQtCore.so.4
#12 0x00007ffff10d6264 in QLibrary::load() () at /opt/kingsoft/wps-office/office6/libQtCore.so.4
#13 0x00007fffefbb3308 in  () at /opt/kingsoft/wps-office/office6/libQtDBus.so.4
#14 0x00007fffefb6799c in QDBusConnection::connectToBus(QDBusConnection::BusType, QString const&) ()
    at /opt/kingsoft/wps-office/office6/libQtDBus.so.4
#15 0x00007fffefb6b745 in  () at /opt/kingsoft/wps-office/office6/libQtDBus.so.4
#16 0x00007fffefb6a521 in QDBusConnection::sessionBus() () at /opt/kingsoft/wps-office/office6/libQtDBus.so.4
#17 0x00007fffe0ac6ce7 in  () at /opt/kingsoft/wps-office/office6/./libkglobalmenu.so
#18 0x00007fffe0ac6b33 in  () at /opt/kingsoft/wps-office/office6/./libkglobalmenu.so
#19 0x00007fffe0ac576b in  () at /opt/kingsoft/wps-office/office6/./libkglobalmenu.so
#20 0x00007ffff10fcfbd in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /opt/kingsoft/wps-office/office6/libQtCore.so.4
#21 0x00007ffff2db34fc in KMainWindow::setMenuBar(KDragMenuBar*) () at /opt/kingsoft/wps-office/office6/libkso.so
#22 0x00007ffff3020c49 in KxMainWindow::setMenuBar(KDragMenuBar*) () at /opt/kingsoft/wps-office/office6/libkso.so
#23 0x00007ffff2db3384 in KMainWindow::ensureMenuBarLoad() const () at /opt/kingsoft/wps-office/office6/libkso.so
#24 0x00007ffff2db3521 in KMainWindow::menuBar() const () at /opt/kingsoft/wps-office/office6/libkso.so
#25 0x00007ffff302469f in KxMainWindow::endPolishXml(KMainWindow*) () at /opt/kingsoft/wps-office/office6/libkso.so
#26 0x0000000000867bc7 in  ()
#27 0x00007ffff2db6927 in KMainWindow::polishXml(KMainWindow*) () at /opt/kingsoft/wps-office/office6/libkso.so
#28 0x00007ffff2f8df42 in KxApplication::addMainWindowNotify(IKMainWindow*, ksoNotify*) () at /opt/kingsoft/wps-office/office6/libkso.so
#29 0x00007ffff2f8e0e3 in non-virtual thunk to KxApplication::addMainWindowNotify(IKMainWindow*, ksoNotify*) ()
    at /opt/kingsoft/wps-office/office6/libkso.so
#30 0x00007ffff2dd9786 in KCollectionCoreNotify::OnCoreNotify(ksoNotify*) () at /opt/kingsoft/wps-office/office6/libkso.so
#31 0x00007ffff5a932a8 in  () at /opt/kingsoft/wps-office/office6/libapplogic.so

Comment 3 Carlos O'Donell 2019-10-08 13:57:52 UTC
This looks exactly like the case of "incomplete rollback on dlopen failure" scenario we are already working on upstream. Once we fix this you'll get a better error message about which library is missing instead of a crash. However, I will note that it is still a configuration problem with your system and WPS.

Closing as duplicate of 1395758. We are tracking this upstream. It is not a Fedora issue.

*** This bug has been marked as a duplicate of bug 1395758 ***


Note You need to log in before you can comment on or make changes to this bug.