You are not logged in.
Hello everyone!
I've been playing with arch quite a long time and I have a problem with the acroread package, which I installed from the AUR.
Adobe Reader will never start and this is the output I get:
$ acroread
dirname: missing operand
Try 'dirname --help' for more information.
Segmentation fault (core dumped)I did run strace and the output I got (last few lines) is:
access("/etc/gtk-2.0/gtkrc.en_US", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/gtk-2.0/gtkrc.en", F_OK) = -1 ENOENT (No such file or directory)
lstat64("/home/errikos/.gtkrc-2.0", 0xfffffffffff5e7f4) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtkrc-2.0.en_US", F_OK) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtkrc-2.0.en", F_OK) = -1 ENOENT (No such file or directory)
lstat64("/home/errikos/.gtkrc-2.0-kde4", {st_mode=S_IFREG|0644, st_size=328, ...}) = 0
open("/home/errikos/.gtkrc-2.0-kde4", O_RDONLY|O_LARGEFILE) = 5
read(5, "# This file was written by KDE\n#"..., 4000) = 328
lstat64("/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc", {st_mode=S_IFREG|0644, st_size=6131, ...}) = 0
open("/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc", O_RDONLY|O_LARGEFILE) = 6
read(6, "# this file is part of the oxyge"..., 4000) = 4000
access("/home/errikos/.gtk-2.0/2.10.0/x86_64-unknown-linux-gnu/engines/liboxygen-gtk.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtk-2.0/2.10.0/x86_64-unknown-linux-gnu/engines/liboxygen-gtk.la", F_OK) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtk-2.0/2.10.0/engines/liboxygen-gtk.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtk-2.0/2.10.0/engines/liboxygen-gtk.la", F_OK) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtk-2.0/x86_64-unknown-linux-gnu/engines/liboxygen-gtk.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtk-2.0/x86_64-unknown-linux-gnu/engines/liboxygen-gtk.la", F_OK) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtk-2.0/engines/liboxygen-gtk.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/errikos/.gtk-2.0/engines/liboxygen-gtk.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib32/gtk-2.0/2.10.0/x86_64-unknown-linux-gnu/engines/liboxygen-gtk.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib32/gtk-2.0/2.10.0/x86_64-unknown-linux-gnu/engines/liboxygen-gtk.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib32/gtk-2.0/2.10.0/engines/liboxygen-gtk.so", F_OK) = 0
stat64("/usr/lib32/gtk-2.0/2.10.0/engines/liboxygen-gtk.so", {st_mode=S_IFREG|0755, st_size=1309120, ...}) = 0
open("/usr/lib32/gtk-2.0/2.10.0/engines/liboxygen-gtk.so", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220-\4\0004\0\0\0"..., 512) = 512
fstat64(7, {st_mode=S_IFREG|0755, st_size=1309120, ...}) = 0
mmap2(NULL, 1314324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xf0f20000
mprotect(0xfffffffff105b000, 4096, PROT_NONE) = 0
mmap2(0xfffffffff105c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x13b) = 0xf105c000
close(7) = 0
mprotect(0xfffffffff105c000, 12288, PROT_READ) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)I am running Arch with KDE.
Should it find all those files it is not finding? Could they be part of the problem?
I did a Google search, but got nowhere until now.
Last edited by errikosd (2013-05-08 01:10:04)
Offline
Does changing the theme from oxygen (gtk) to something else help?
Offline
Does changing the theme from oxygen (gtk) to something else help?
Thank you for your answer.
I changed the theme for GTK applications from Oxygen-GTK to native KDE and now Adobe Reader launches successfully.
But it's looks are awful (you can imagine how). What can be done about that?
Can I somehow create the missing files? Or acroread just doesn't work with Oxygen-GTK?
Last edited by errikosd (2013-04-21 10:43:09)
Offline
IMO, I would just try finding another GTK theme that looks decent. Oxygen-gtk often causes problems with applications.
Offline
IMO, I would just try finding another GTK theme that looks decent. Oxygen-gtk often causes problems with applications.
Oh, didn't know about that.. I use oxygen because it integrates better with the KDE desktop look.
Thank you, however I will not mark this as solved yet, I will try to fix this and will post the results here.
Offline
Well, I found a workaround, for those who really need acroread and want it well integrated into the KDE environment.
The solution is to use another KDE look-alike theme, QtCurve, instead of the "problematic" oxygen-gtk for GTK2 applications.
What you have to do is install the following packages from the AUR:
gtk-engines
qtcurve-gtk2
qtcurve-kde
lib32-qtcurve-gtk2
and also lib32-gtk-engines if it isn't resolved as a dependency.
You will also need to install the kde-gtk-config package from the AUR.
Then go to: KDE System Settings > Application Appearance > GTK, select QtCurve as the GTK2 theme and enjoy acroread and other GTK2 applications (well not fully, but the QtCurve theme is OK) integrated into your KDE desktop!
PS1: QtCurve is not (yet?) available for GTK3, so I left oxygen-gtk there.
PS2: Status changed to solved.
Offline
For having both oxygen-gtk and acroread working properly, I usually edit /usr/lib/acroread/bin/acroread file and paste:
export GTK2_RC_FILES="/usr/share/themes/kde44-oxygen-molecule/gtk-2.0/gtkrc"
In this case you'll have to install aur/oxygen-molecule-theme.
Offline