Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
so what's happened a couple of days ago? It is usually an incompatibility among libraries used by the app.
PCLinuxOS is a rolling release.
There have been a number of updates in the past fortnight but I cannot say which or when as I do not use Master PDF EDitor or look at dmesg everyday.
Beyond what dmesg shows, how can I trace the problem?
this is not obviously Qt5, probably something else... You may check the stack trace, if there was a coredump to find out which other libraries may be involved.
And if there was no other idea you need to get back the old libs to run it.
While trying to find the executable to both kwallet and Master PDF Editor to use ldd, I came across some data that may hold a clue as to what is going on.
Code:
[groucho@groucho ~]$ kwalletd5
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-groucho'
Segmentation fault
[groucho@groucho ~]$
I get the very same output with Master PDF Editor:
Code:
[groucho@groucho ~]$ /opt/master-pdf-editor-4/masterpdfeditor4 %f
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-groucho'
Segmentation fault
It seems that XDG_RUNTIME_DIR is not set properly.
I have read some web pages that (?) relate this problem to user privileges, so thinking it could be some permission problem (you never know) and as PCLinuxOS does not have sudo) I tried the same as root:
Code:
[root@groucho groucho]# kwalletd5
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Segmentation fault
[root@groucho groucho]# /opt/master-pdf-editor-4/masterpdfeditor4 %f
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Segmentation fault
Basically, that's a per-user temporary file directory, to use by the XDG (Freedesktop.Org) compatible apps.
In Debian, this variable is normally set by the pam_systemd PAM module, on an interactive login.
PCLinuxOS is a rolling release and does not use systemd so maybe pam_systemd is not involved.
Maybe some PAM module was updated lately?
I cannot make much out of the other link, rather above my head.
Much less seeing about fixing this.
For some unknown reason, my Master PDF Editor will not start.
My setup:
Code:
[groucho@groucho ~]$ uname -a
Linux groucho 4.12.10-pclos1 #1 SMP Wed Aug 30 08:17:56 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux
[groucho@groucho ~]$
Master PDF Editor is v.4.3.61-1pclos2017.
It worked perfectly well up until a couple of days ago.
A terminal with dmesg shows this:
Code:
[groucho@groucho ~]$ dmesg | grep pdfeditor
[ 547.073778] masterpdfeditor[4950]: segfault at 8 ip 00007f03d34496fc sp 00007ffd6343ce10 error 4 in libQt5XcbQpa.so.5.10.0[7f03d3408000+154000]
[groucho@groucho ~]$
Looking in a bit further I see that kwallet is also affected:
Code:
[groucho@groucho ~]$ dmesg | grep segfault
[ 87.452780] kwalletd5[3200]: segfault at 8 ip 00007fb04f1846fc sp 00007ffd9185d590 error 4 in libQt5XcbQpa.so.5.10.0[7fb04f143000+154000]
[ 547.073778] masterpdfeditor[4950]: segfault at 8 ip 00007f03d34496fc sp 00007ffd6343ce10 error 4 in libQt5XcbQpa.so.5.10.0[7f03d3408000+154000]
[groucho@groucho ~]$
I think I may have found the problem and if so, it is Qt related.
I did a search for just error 4 in libQt5XcbQpa.so.5.10.0 and have come across some recent information on the web which would indicate that my issue may be related to both Qt5.10.0 and the fact that I use the XDM Display Manager instead of Gnome.
The only workaround for this is to enable RANDR extension on your X server. You can see which extensions currently are loaded in the output of xdpyinfo command line tool.
I knew RandR was not being loaded and that the workaround was not a feasible option for me:
Code:
[groucho@groucho ~]$ cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 59.758] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 59.758] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 59.790] (WW) Falling back to old probe method for v4l
[ 59.809] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 59.831] (WW) NVIDIA: The Composite and Xinerama extensions are both enabled, which
[ 59.831] (WW) NVIDIA: is an unsupported configuration. The driver will continue
[ 59.831] (WW) NVIDIA: to load, but may behave strangely.
[ 59.831] (WW) NVIDIA: Xinerama is enabled, so RandR has likely been disabled by the
[ 59.831] (WW) NVIDIA: X server.
[ 62.227] (WW) NVIDIA(0): Not registering RandR
[ 62.297] (WW) NVIDIA(1): Not registering RandR
[ 62.425] (WW) NVIDIA(2): Not registering RandR
The distro's maintainers (PCLinuxOS) are aware of the problem with Qt5.
Have to wait for Qt5's next version with the fixed library.
I've found that there a a few other applications besides kwallet and Mastrr PDF Editor that will not start until this gets fixed, which has become rather annoying.
Not having a timeline for the release of Qt5's next version with the fixed library, I was wondering how to go about rolling back to the previous version, the one that did not unhinge up my setup ie: Qt wise.
Is that possible to do with apt-get?
Thanks in advance.
A.
Last edited by Altoid; 12-26-2017 at 03:18 PM.
Reason: Dumb spelling mistakes
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.