← Back to team overview

dx-packages team mailing list archive

[Bug 1294580] Re: indicator-datetime-service panel clock freezes

 

Yeah, that's what I see in the strace log.

I think that the problem/symptom is that the poll just times out and
doesn't get data on the event-fd.

tail of indicator-datetime-service.strace.log:
11:00:28 eventfd2(0, O_NONBLOCK|O_CLOEXEC) = 22
11:00:28 write(22, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:28 write(6, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:28 futex(0xb580af10, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:28 futex(0xb580ab08, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:28 clock_gettime(CLOCK_MONOTONIC, {2931, 622027924}) = 0
11:00:28 futex(0xb5802f80, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:28 clock_gettime(CLOCK_MONOTONIC, {2931, 622178855}) = 0
11:00:28 poll([{fd=22, events=POLLIN}], 1, 180000) = 1 ([{fd=22, revents=POLLIN}])
11:00:28 clock_gettime(CLOCK_MONOTONIC, {2931, 622230836}) = 0
11:00:28 clock_gettime(CLOCK_MONOTONIC, {2931, 622254879}) = 0
11:00:28 poll([{fd=22, events=POLLIN}], 1, 180000) = 1 ([{fd=22, revents=POLLIN}])
11:00:28 read(22, "\1\0\0\0\0\0\0\0", 16) = 8
11:00:28 clock_gettime(CLOCK_MONOTONIC, {2931, 622328380}) = 0
11:00:28 clock_gettime(CLOCK_MONOTONIC, {2931, 622352161}) = 0
11:00:28 poll([{fd=22, events=POLLIN}], 1, 180000 <detached ...>

and here just happens nothing, except a timeout after 180000 miliseconds
(3 minutes). My guess is that there should have been a return with read
action on fd=22. Similar as earlier:

11:00:25 eventfd2(0, O_NONBLOCK|O_CLOEXEC) = 8
11:00:25 write(8, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:25 write(6, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:25 futex(0xb580af10, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 futex(0xb580ab08, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 clock_gettime(CLOCK_MONOTONIC, {2928, 426833813}) = 0
11:00:25 futex(0xb5802f80, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 poll([{fd=8, events=POLLIN}], 1, 0) = 1 ([{fd=8, revents=POLLIN}])
11:00:25 write(6, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:25 futex(0xb580af10, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 futex(0xb580ab08, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 clock_gettime(CLOCK_MONOTONIC, {2928, 427817851}) = 0
11:00:25 futex(0xb5802f80, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 poll([{fd=8, events=POLLIN}], 1, 0) = 1 ([{fd=8, revents=POLLIN}])
11:00:25 read(8, "\3\0\0\0\0\0\0\0", 16) = 8
11:00:25 poll([{fd=8, events=POLLIN}], 1, 0) = 0 (Timeout)
11:00:25 read(8, 0xbfa5694c, 16)        = -1 EAGAIN (Resource temporarily unavailable)
11:00:25 write(8, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:25 close(8)                       = 0
11:00:25 eventfd2(0, O_NONBLOCK|O_CLOEXEC) = 8
11:00:25 write(8, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:25 write(6, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:25 futex(0xb580af10, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 futex(0xb580ab08, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 clock_gettime(CLOCK_MONOTONIC, {2928, 429068530}) = 0
11:00:25 futex(0xb5802f80, FUTEX_WAKE_PRIVATE, 1) = 1
11:00:25 clock_gettime(CLOCK_MONOTONIC, {2928, 429726382}) = 0
11:00:25 poll([{fd=8, events=POLLIN}], 1, 25000) = 1 ([{fd=8, revents=POLLIN}])
11:00:25 clock_gettime(CLOCK_MONOTONIC, {2928, 429874461}) = 0
11:00:25 clock_gettime(CLOCK_MONOTONIC, {2928, 429945589}) = 0
11:00:25 poll([{fd=8, events=POLLIN}], 1, 25000) = 1 ([{fd=8, revents=POLLIN}])
11:00:25 read(8, "\1\0\0\0\0\0\0\0", 16) = 8
11:00:25 clock_gettime(CLOCK_MONOTONIC, {2928, 430235853}) = 0
11:00:25 clock_gettime(CLOCK_MONOTONIC, {2928, 430307703}) = 0
11:00:25 poll([{fd=8, events=POLLIN}], 1, 24999) = 1 ([{fd=8, revents=POLLIN}])
11:00:25 read(8, "\1\0\0\0\0\0\0\0", 16) = 8
11:00:25 write(8, "\1\0\0\0\0\0\0\0", 8) = 8
11:00:25 close(8)                       = 0
11:00:25 gettimeofday({1395223225, 139383}, NULL) = 0
11:00:25 write(6, "\1\0\0\0\0\0\0\0", 8) = 8


I've no idea what this eventfd is, but I guess that is the pointer to the problem.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1294580

Title:
  indicator-datetime-service panel clock freezes

Status in “indicator-datetime” package in Ubuntu:
  New

Bug description:
  The clock in the panel freezes after running for (at least sometimes)
  a few seconds.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: indicator-datetime 13.10.0+14.04.20140314.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
  Uname: Linux 3.13.0-17-generic i686
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: i386
  CurrentDesktop: Unity
  Date: Wed Mar 19 11:08:59 2014
  ExecutablePath: /usr/lib/i386-linux-gnu/indicator-datetime/indicator-datetime-service
  InstallationDate: Installed on 2013-12-24 (84 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224)
  SourcePackage: indicator-datetime
  UpgradeStatus: No upgrade log present (probably fresh install)
  upstart.indicator-datetime.log: (process:6082): Indicator-Datetime-WARNING **: AddressStart() failed: GDBus.Error:org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1294580/+subscriptions


References