Bug 27218

Summary: Can't run in KDE4
Product: Sisyphus Reporter: Alex <greyroot>
Component: goldendictAssignee: Andrey Cherepanov <cas>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P3 CC: cas
Version: unstable   
Hardware: all   
OS: Linux   

Description Alex 2012-04-13 19:20:02 MSK
exec in TDE is ok. But start in KDE4 failed

strace fragment:

stat("/home/grey/.kde4/share/config/GoldenDictrc", 0x7fff94621980) = -1 ENOENT (No such file or directory)
stat("/etc/kde4/custom/share/config/GoldenDictrc", 0x7fff94621980) = -1 ENOENT (No such file or directory)
stat("/usr/share/kde4/config/GoldenDictrc", 0x7fff94621980) = -1 ENOENT (No such file or directory)
stat("/usr/share/config/GoldenDictrc", 0x7fff94621980) = -1 ENOENT (No such file or directory)
stat("/home/grey/.config/qtcurve/stylerc", {st_mode=S_IFREG|0600, st_size=25, ...}) = 0
open("/home/grey/.config/qtcurve/stylerc", O_RDONLY|O_CLOEXEC) = 11
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=25, ...}) = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=25, ...}) = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=25, ...}) = 0
read(11, "[Settings]\nversion=1.6.3\n", 16384) = 25
read(11, "", 16359)                     = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=25, ...}) = 0
close(11)                               = 0
lstat("/etc/qtcurvestylerc", 0x7fff9461e4b0) = -1 ENOENT (No such file or directory)
stat("/home/grey/.config/Trolltech.conf", {st_mode=S_IFREG|0644, st_size=112614, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1252, ...}) = 0
lstat("/etc/xdg/Trolltech.conf", 0x7fff94621840) = -1 ENOENT (No such file or directory)
open("/etc/xdg/Trolltech.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/etc/xdg/Trolltech.conf", 0x7fff946218b0) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1252, ...}) = 0
stat(".", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
getcwd("/home/grey", 4096)              = 11
stat("/home/grey/.krcdirs", 0x7fff94620310) = -1 ENOENT (No such file or directory)
readlink("/proc/self/exe", "/usr/bin/goldendict", 4096) = 19
getuid()                                = 500
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/grey", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
lstat("/home/grey/.kde4", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/grey/.kde4/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/grey/.kde4/share/config", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/home/grey/.kde4/share/config/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
access("/etc/kde4rc", R_OK)             = -1 ENOENT (No such file or directory)
stat("/home/grey/.kde4/share/config/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/home/grey/.kde4/share/config/GoldenDictrc", 0x7fff946214e0) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1252, ...}) = 0
access("/home/grey/.kde4/share/config/GoldenDictrc", W_OK) = -1 ENOENT (No such file or directory)
access("/home/grey/.kde4/share/config/GoldenDictrc", F_OK) = -1 ENOENT (No such file or directory)
access("/home/grey/.kde4/share/config", W_OK) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/share", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lstat("/usr/share/kde4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/share/kde4/config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/grey", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
lstat("/home/grey/.kde4", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/grey/.kde4/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/grey/.kde4/share/config", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lstat("/etc", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lstat("/etc/kde4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc/kde4/current", {st_mode=S_IFLNK|0777, st_size=6, ...}) = 0
readlink("/etc/kde4/current", "custom", 4095) = 6
lstat("/etc/kde4/custom", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc/kde4/custom/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc/kde4/custom/share/config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/etc/kde4/custom/share/config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/kde4/config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/share", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lstat("/usr/share/config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/grey/.kde4/share/config/kdeglobals", {st_mode=S_IFREG|0600, st_size=8492, ...}) = 0
stat("/etc/kde4/custom/share/config/kdeglobals", 0x7fff94620f10) = -1 ENOENT (No such file or directory)
stat("/usr/share/kde4/config/kdeglobals", 0x7fff94620f10) = -1 ENOENT (No such file or directory)
stat("/usr/share/config/kdeglobals", 0x7fff94620f10) = -1 ENOENT (No such file or directory)
stat("/home/grey/.kde4/share/config/system.kdeglobals", 0x7fff94620f10) = -1 ENOENT (No such file or directory)
stat("/etc/kde4/custom/share/config/system.kdeglobals", 0x7fff94620f10) = -1 ENOENT (No such file or directory)
stat("/usr/share/kde4/config/system.kdeglobals", 0x7fff94620f10) = -1 ENOENT (No such file or directory)
stat("/usr/share/config/system.kdeglobals", 0x7fff94620f10) = -1 ENOENT (No such file or directory)
stat("/home/grey/.kde4/share/config/kdeglobals", {st_mode=S_IFREG|0600, st_size=8492, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/grey", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
lstat("/home/grey/.kde4", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/grey/.kde4/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/grey/.kde4/share/config", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lstat("/home/grey/.kde4/share/config/kdeglobals", {st_mode=S_IFREG|0600, st_size=8492, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1252, ...}) = 0
stat("/home/grey/.kde4/share/config/kdeglobals", {st_mode=S_IFREG|0600, st_size=8492, ...}) = 0
open("/home/grey/.kde4/share/config/kdeglobals", O_RDONLY|O_CLOEXEC) = 11
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=8492, ...}) = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=8492, ...}) = 0
fstat(11, {st_mode=S_IFREG|0600, st_size=8492, ...}) = 0
read(11, "[$Version]\nupdate_info=kaccel.up"..., 16384) = 8492
read(11, "", 7892)                      = 0
close(11)                               = 0
stat("/home/grey/.kde4/share/config/GoldenDictrc", 0x7fff94620f60) = -1 ENOENT (No such file or directory)
stat("/etc/kde4/custom/share/config/GoldenDictrc", 0x7fff94620f60) = -1 ENOENT (No such file or directory)
stat("/usr/share/kde4/config/GoldenDictrc", 0x7fff94620f60) = -1 ENOENT (No such file or directory)
stat("/usr/share/config/GoldenDictrc", 0x7fff94620f60) = -1 ENOENT (No such file or directory)
stat("/home/grey/.kde4/share/config/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
access("/etc/kde4rc", R_OK)             = -1 ENOENT (No such file or directory)
stat("/home/grey/.kde4/share/config/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/home/grey/.kde4/share/config/GoldenDictrc", 0x7fff94621810) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1252, ...}) = 0
access("/home/grey/.kde4/share/config/GoldenDictrc", W_OK) = -1 ENOENT (No such file or directory)
access("/home/grey/.kde4/share/config/GoldenDictrc", F_OK) = -1 ENOENT (No such file or directory)
access("/home/grey/.kde4/share/config", W_OK) = 0
stat("/home/grey/.kde4/share/config/kdeglobals", {st_mode=S_IFREG|0600, st_size=8492, ...}) = 0
stat("/etc/kde4/custom/share/config/kdeglobals", 0x7fff94621240) = -1 ENOENT (No such file or directory)
stat("/usr/share/kde4/config/kdeglobals", ^C0x7fff94621240) = -1 ENOENT (No such file or directory)


.goldendict deleted.

Previous version works fine (1.0.1-alt5.qa1)
Comment 1 Alexey Morozov 2012-04-18 12:40:20 MSK
Я думаю, дело в /странном/ /home/grey/.config/Trolltech.conf Попробуйти удалить его (временно), и перезапустить goldendict.

Я сталкивался с подобной проблемой на одной из машин, вылечилось оно именно так. Причём, "плохим" в моём случае оказался именно _мой_ Trolltech.conf, в профилях у жены и у дочери "всё работало".
Comment 2 Repository Robot 2018-11-27 21:44:50 MSK
goldendict-1.5.0-alt1.git36a1881 -> sisyphus:

Thu Nov 22 2018 Anton Farygin <rider@altlinux.ru> 1.5.0-alt1.git36a1881
- 1.5.0-rc2 with fixes from git (closes: #32750, #30973, #29268, #27218, #20887)