Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lxterminal fails to launch...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3638

PostPosted: Tue Aug 18, 2020 4:52 pm    Post subject: lxterminal fails to launch... Reply with quote

Following today stable update, lxterminal fails to launch.
Code:
strace lxterminal
ends with:
Code:
openat(AT_FDCWD, "/usr/share/locale/fr_FR.utf8/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/share/locale/fr_FR/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/share/locale/fr.utf8/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/share/locale/fr/LC_MESSAGES/atk10.mo", O_RDONLY) = 10
fstat(10, {st_mode=S_IFREG|0644, st_size=10706, ...}) = 0
mmap(NULL, 10706, PROT_READ, MAP_PRIVATE, 10, 0) = 0x7fc25a892000
close(10)                               = 0
futex(0x7fc25a88bf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fc25a88bf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getresuid([1000], [1000], [1000])       = 0
getresgid([1000], [1000], [1000])       = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 10
connect(10, {sa_family=AF_UNIX, sun_path=@"/tmp/dbus-O78EEY1ELN"}, 23) = 0
fcntl(10, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(10, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
geteuid()                               = 1000
getsockname(10, {sa_family=AF_UNIX}, [128->2]) = 0
poll([{fd=10, events=POLLOUT}], 1, 0)   = 1 ([{fd=10, revents=POLLOUT}])
sendto(10, "\0", 1, MSG_NOSIGNAL, NULL, 0) = 1
sendto(10, "AUTH EXTERNAL 31303030\r\n", 24, MSG_NOSIGNAL, NULL, 0) = 24
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
read(10, "OK add32efc5907c937976513145f3bf"..., 2048) = 37
poll([{fd=10, events=POLLOUT}], 1, -1)  = 1 ([{fd=10, revents=POLLOUT}])
sendto(10, "NEGOTIATE_UNIX_FD\r\n", 19, MSG_NOSIGNAL, NULL, 0) = 19
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
read(10, "AGREE_UNIX_FD\r\n", 2048)     = 15
poll([{fd=10, events=POLLOUT}], 1, -1)  = 1 ([{fd=10, revents=POLLOUT}])
sendto(10, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
sendmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\1\0\0\0\0\1\0\0\0n\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=128}, {iov_base="", iov_len=0}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128
poll([{fd=10, events=POLLIN}], 1, 25000) = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\2\1\1\n\0\0\0\1\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.57\0\0\0"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 260
recvmsg(10, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Ressource temporairement non disponible)
sendmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\1\0\0\0\0\2\0\0\0[\0\0\0\1\1o\0\r\0\0\0/org/a11"..., iov_len=112}, {iov_base="", iov_len=0}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 112
poll([{fd=10, events=POLLIN}], 1, 25000) = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\2\1\1M\0\0\0\23\0\0\0.\0\0\0\6\1s\0\5\0\0\0:1.57\0\0\0"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 141
recvmsg(10, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Ressource temporairement non disponible)
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 11
connect(11, {sa_family=AF_UNIX, sun_path=@"/tmp/dbus-NSxvrg4FfR"}, 23) = 0
fcntl(11, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
geteuid()                               = 1000
getsockname(11, {sa_family=AF_UNIX}, [128->2]) = 0
poll([{fd=11, events=POLLOUT}], 1, 0)   = 1 ([{fd=11, revents=POLLOUT}])
sendto(11, "\0", 1, MSG_NOSIGNAL, NULL, 0) = 1
sendto(11, "AUTH EXTERNAL 31303030\r\n", 24, MSG_NOSIGNAL, NULL, 0) = 24
poll([{fd=11, events=POLLIN}], 1, -1)   = 1 ([{fd=11, revents=POLLIN}])
read(11, "OK 606dfa1ccfc4a6d1d4a790bc5f3bf"..., 2048) = 37
poll([{fd=11, events=POLLOUT}], 1, -1)  = 1 ([{fd=11, revents=POLLOUT}])
sendto(11, "NEGOTIATE_UNIX_FD\r\n", 19, MSG_NOSIGNAL, NULL, 0) = 19
poll([{fd=11, events=POLLIN}], 1, -1)   = 1 ([{fd=11, revents=POLLIN}])
read(11, "AGREE_UNIX_FD\r\n", 2048)     = 15
poll([{fd=11, events=POLLOUT}], 1, -1)  = 1 ([{fd=11, revents=POLLOUT}])
sendto(11, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
poll([{fd=11, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
sendmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\1\0\0\0\0\1\0\0\0n\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=128}, {iov_base="", iov_len=0}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128
poll([{fd=11, events=POLLIN}], 1, 25000) = 1 ([{fd=11, revents=POLLIN}])
recvmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\2\1\1\n\0\0\0\1\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.11\0\0\0"..., iov_len=2048}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 260
recvmsg(11, {msg_namelen=0}, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Ressource temporairement non disponible)
eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK)   = 12
write(12, "\1\0\0\0\0\0\0\0", 8)        = 8
fstat(11, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl(11, F_GETFL)                      = 0x802 (flags O_RDWR|O_NONBLOCK)
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x7fc25a88bf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fc25a88bf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fc25a88bf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fc25a88bf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
sendmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\1\1Y\0\0\0\2\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=144}, {iov_base="T\0\0\0type='signal', interface='or"..., iov_len=89}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 233
sendmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\1\1d\0\0\0\3\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=144}, {iov_base="_\0\0\0type='signal', interface='or"..., iov_len=100}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 244
sendmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\1\1o\0\0\0\4\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=144}, {iov_base="j\0\0\0type='signal', arg0='org.a11"..., iov_len=111}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 255
futex(0x7fc25a88bf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
socket(AF_UNIX, SOCK_STREAM, 0)         = 13
connect(13, {sa_family=AF_UNIX, sun_path="/run/user/1000/.lxterminal-socket-wayland-0"}, 110) = 0
fstat(13, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl(13, F_GETFL)                      = 0x2 (flags O_RDWR)
stat(".", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/home/luc", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
write(13, "/home/luc\0lxterminal\0", 21) = 21
close(13)                               = 0
getpid()                                = 9742
getpid()                                = 9742
exit_group(0)                           = ?
+++ exited with 0 +++
atk has the missing file installed in :
Code:
/usr/share/locale
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/atk10.mo
wich has been working for years until now.

Any idea what happened that switched
Code:
/usr/share/locale/fr/LC_MESSAGES
to
Code:
/usr/share/locale/fr_FR.utf8/LC_MESSAGES
?

Thks 4 ur attention, interest & support.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21724

PostPosted: Tue Aug 18, 2020 6:47 pm    Post subject: Reply with quote

It tries utf8 first, but later finds the non-utf8 version. Are you sure this mo file is the problem? The log continues for a ways afterward, which suggests it moved on to other steps before eventually failing. It looks to me like it exchanges some messages on dbus, connects to an existing socket, sends a message, then exits. Perhaps it is expecting the peer of that socket to react to that message and do something useful. Browsers have a similar pattern: if you try to start a second one, it tells the first one to spawn a new window, then the second browser immediately exits. If the existing browser failed to spawn a window, it would look like the process failed to start.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum