Comment 5 for bug 1514777

Revision history for this message
Andrea Bernabei (faenil) wrote : Re: [HERE] Here maps webapp AGPS location detection doesn't work

Strace seems to indicate that the app fails to communicate over dbus

clock_getres(CLOCK_MONOTONIC, {0, 1}) = 0
getresuid32([32011], [32011], [32011]) = 0
getresgid32([32011], [32011], [32011]) = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 4
connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/dbus/system_bus_socket"}, 33) = 0
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
geteuid32() = 32011
getsockname(4, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}])
send(4, "\0", 1, MSG_NOSIGNAL) = 1
send(4, "AUTH EXTERNAL 3332303131\r\n", 26, MSG_NOSIGNAL) = 26
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "OK 5e33c9b32077f683d80ff37f569bb"..., 2048) = 37
poll([{fd=4, events=POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
send(4, "NEGOTIATE_UNIX_FD\r\n", 19, MSG_NOSIGNAL) = 19
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "AGREE_UNIX_FD\r\n", 2048) = 15
poll([{fd=4, events=POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
send(4, "BEGIN\r\n", 7, MSG_NOSIGNAL) = 7
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
sendmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\1\0\0\0n\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 128}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128
clock_gettime(CLOCK_MONOTONIC, {10541, 639488651}) = 0
poll([{fd=4, events=POLLIN}], 1, 25000) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\v\0\0\0\1\0\0\0=\0\0\0\6\1s\0\6\0\0\0:1.483\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 262

SEE HERE -------->>>>recvmsg(4, 0xbef11e08, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)

futex(0xb6fb8ca0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
eventfd2(0, O_NONBLOCK|O_CLOEXEC) = 5
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
fstat64(4, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl64(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
clock_gettime(CLOCK_MONOTONIC, {10541, 645155267}) = 0
sendmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1$\0\0\0\2\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\37\0\0\0interface='com.here.posclien"..., 36}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 180
clock_gettime(CLOCK_MONOTONIC, {10541, 645768036}) = 0
poll([{fd=4, events=POLLIN}], 1, 25000) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\0\0\0\0\3\0\0\0005\0\0\0\6\1s\0\6\0\0\0:1.483\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 72
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvmsg(4, 0xbef11e00, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {10541, 648660497}) = 0
sendmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1Z\0\0\0\3\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"U\0\0\0interface='org.freedesktop.D"..., 90}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 234
clock_gettime(CLOCK_MONOTONIC, {10541, 650360344}) = 0
poll([{fd=4, events=POLLIN}], 1, 25000) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\0\0\0\0\4\0\0\0005\0\0\0\6\1s\0\6\0\0\0:1.483\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 72
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvmsg(4, 0xbef11e00, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {10541, 653940806}) = 0
sendmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\4\0\0\0\213\0\0\0\1\1o\0$\0\0\0/com/her"..., 160}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 160
clock_gettime(CLOCK_MONOTONIC, {10541, 656317652}) = 0
poll([{fd=4, events=POLLIN}], 1, 3000) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\0\0\0\0\20\1\0\0&\0\0\0\6\1s\0\6\0\0\0:1.483\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 56
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvmsg(4, 0xbef11e38, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1453135578, 218456}, NULL) = 0
gettid() = 1049
write(2, "I0118 16:46:18.218456 1049 cli."..., 67I0118 16:46:18.218456 1049 cli.cpp:133] Starting location updates
) = 67
gettimeofday({1453135578, 220379}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {10541, 662193190}) = 0
sendmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\30\0\0\0\5\0\0\0\220\0\0\0\1\1o\0$\0\0\0/com/her"..., 160}, {"\24\0\0\0\24\0\0\0\2\0\0\0\377?\0\0\377\377\377\377\1\0\0\0", 24}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 184
clock_gettime(CLOCK_MONOTONIC, {10541, 663706344}) = 0
poll([{fd=4, events=POLLIN}], 1, 3000) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"l\2\1\1\4\0\0\0\21\1\0\0.\0\0\0\6\1s\0\6\0\0\0:1.483\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 220
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvmsg(4, 0xbef11e70, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {10541, 672642806}) = 0
clock_gettime(CLOCK_MONOTONIC, {10541, 673204190}) = 0
gettimeofday({1453135578, 232640}, NULL) = 0
gettid() = 1049
write(2, "I0118 16:46:18.232640 1049 cli."..., 65I0118 16:46:18.232640 1049 cli.cpp:141] Starting GLib main loop
) = 65
clock_gettime(CLOCK_MONOTONIC, {10541, 674996498}) = 0
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 1 ([{fd=5, revents=POLLIN}])
clock_gettime(CLOCK_MONOTONIC, {10541, 676042267}) = 0
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\7\0\0\0\0\0\0\0", 16) = 8
gettimeofday({1453135578, 236356}, NULL) = 0
gettid() = 1049
write(2, "I0118 16:46:18.236356 1049 cli."..., 64I0118 16:46:18.236356 1049 cli.cpp:158] General error occurred