[Bug 619677] Re: Clock drifts during inactivity

2010-08-19 Thread bandini
** Description changed:

  Binary package hint: gnome-panel
  
  I filed this bug using the PID of the clock-applet and ubuntu bug, but I 
think the clock-applet only shows a symptom, Here is
  a description :
  
  Expected Behaviour :
  Clock-applet displays the correct time,
  
  Observed Behaviour :
  Displayed time is drifting
  
  How to reproduce :
  
  If I get away from my computer for some times, the time displayed by the
  clock applet drifts. But the date command also show the wrong time.
  Moreover, sleep interval also get wrong. To debug this, I tested the
  following script :
  
  #!/bin/bash
  while [[ true ]]
  do
- date  clocktest.log
- hwclock  clocktest.log
- sleep 300
+ date  clocktest.log
+ hwclock  clocktest.log
+ sleep 300
  done
  
  Must be run as root because of hwclock.
  Il launched it : ./clocktest.sh 
  and got away from my computer
  
  Here is the output log :
  
  1 mardi 17 août 2010, 12:42:12 (UTC+0200)
  2 mar. 17 août 2010 12:42:13 CEST -0.346882 secondes
  3 mardi 17 août 2010, 12:47:13 (UTC+0200)
  4 mar. 17 août 2010 12:57:13 CEST -0.080965 secondes
  5 mardi 17 août 2010, 12:52:13 (UTC+0200)
  6 mar. 17 août 2010 13:02:14 CEST -1.002776 secondes
  7 mardi 17 août 2010, 12:57:18 (UTC+0200)
  8 mar. 17 août 2010 13:07:18 CEST -0.063633 secondes
  9 mardi 17 août 2010, 13:02:18 (UTC+0200)
  10 mar. 17 août 2010 13:12:19 CEST -0.361501 secondes
  11 mardi 17 août 2010, 13:07:19 (UTC+0200)
  12 mar. 17 août 2010 13:17:20 CEST -0.987434 secondes
  
  Line 1 and 2 show the first time through the loop.
  Line 3 and 4 show the bug :
  while date (and sleep) thinks 5 minutes have elapsed, hwclock shows that 15 
minutes have elapsed.
  
  Line 5 to 12 shows normal behaviour, except now date is late by 10 minutes.
  Behaviour is normal because I was back at my desk using the computer.
  
- Having clock applet displaying the wrong time is one thing, but having
- the whole system time wrong (since sleep gets confused too) is a major
- bug.
+ Additional info :
+ * Hardware is an Amilo xi2550
+ * If I keep the computer busy, for example building a kernel, and I go away, 
clock works a expected,
+ and so does the screen locking mechanism.
+ * Everything was working fine with 8.04
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gnome-panel 1:2.30.2-0ubuntu0.2
  ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic i686
  Architecture: i386
  Date: Wed Aug 18 09:43:59 2010
  ExecutablePath: /usr/lib/gnome-panel/clock-applet
  ProcEnviron:
-  LANG=fr_FR.utf8
-  PATH=(custom, user)
-  SHELL=/bin/bash
+  LANG=fr_FR.utf8
+  PATH=(custom, user)
+  SHELL=/bin/bash
  SourcePackage: gnome-panel
  XsessionErrors:
-  (polkit-gnome-authentication-agent-1:1990): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
-  (gnome-terminal:2235): Gtk-CRITICAL **: gtk_accel_map_unlock_path: assertion 
`entry != NULL  entry-lock_count  0' failed
-  (unknown:2763): Gdk-WARNING **: XID collision, trouble ahead
-  (unknown:2763): Gdk-WARNING **: XID collision, trouble ahead
+  (polkit-gnome-authentication-agent-1:1990): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
+  (gnome-terminal:2235): Gtk-CRITICAL **: gtk_accel_map_unlock_path: assertion 
`entry != NULL  entry-lock_count  0' failed
+  (unknown:2763): Gdk-WARNING **: XID collision, trouble ahead
+  (unknown:2763): Gdk-WARNING **: XID collision, trouble ahead

-- 
Clock drifts during inactivity
https://bugs.launchpad.net/bugs/619677
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 619677] Re: Clock drifts during inactivity

2010-08-19 Thread bandini
*** This bug is a duplicate of bug 620455 ***
https://bugs.launchpad.net/bugs/620455

** This bug has been marked a duplicate of bug 620455
   System time drifts when idle

-- 
Clock drifts during inactivity
https://bugs.launchpad.net/bugs/619677
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 619677] [NEW] Clock drifts during inactivity

2010-08-18 Thread bandini
Public bug reported:

Binary package hint: gnome-panel

I filed this bug using the PID of the clock-applet and ubuntu bug, but I think 
the clock-applet only shows a symptom, Here is
a description :

Expected Behaviour :
Clock-applet displays the correct time,

Observed Behaviour :
Displayed time is drifting

How to reproduce :

If I get away from my computer for some times, the time displayed by the
clock applet drifts. But the date command also show the wrong time.
Moreover, sleep interval also get wrong. To debug this, I tested the
following script :

#!/bin/bash
while [[ true ]]
do
date  clocktest.log
hwclock  clocktest.log
sleep 300
done

Must be run as root because of hwclock.
Il launched it : ./clocktest.sh 
and got away from my computer

Here is the output log :

1 mardi 17 août 2010, 12:42:12 (UTC+0200)
2 mar. 17 août 2010 12:42:13 CEST -0.346882 secondes
3 mardi 17 août 2010, 12:47:13 (UTC+0200)
4 mar. 17 août 2010 12:57:13 CEST -0.080965 secondes
5 mardi 17 août 2010, 12:52:13 (UTC+0200)
6 mar. 17 août 2010 13:02:14 CEST -1.002776 secondes
7 mardi 17 août 2010, 12:57:18 (UTC+0200)
8 mar. 17 août 2010 13:07:18 CEST -0.063633 secondes
9 mardi 17 août 2010, 13:02:18 (UTC+0200)
10 mar. 17 août 2010 13:12:19 CEST -0.361501 secondes
11 mardi 17 août 2010, 13:07:19 (UTC+0200)
12 mar. 17 août 2010 13:17:20 CEST -0.987434 secondes

Line 1 and 2 show the first time through the loop.
Line 3 and 4 show the bug :
while date (and sleep) thinks 5 minutes have elapsed, hwclock shows that 15 
minutes have elapsed.

Line 5 to 12 shows normal behaviour, except now date is late by 10 minutes.
Behaviour is normal because I was back at my desk using the computer.

Having clock applet displaying the wrong time is one thing, but having
the whole system time wrong (since sleep gets confused too) is a major
bug.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-panel 1:2.30.2-0ubuntu0.2
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Wed Aug 18 09:43:59 2010
ExecutablePath: /usr/lib/gnome-panel/clock-applet
ProcEnviron:
 LANG=fr_FR.utf8
 PATH=(custom, user)
 SHELL=/bin/bash
SourcePackage: gnome-panel
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1990): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
 (gnome-terminal:2235): Gtk-CRITICAL **: gtk_accel_map_unlock_path: assertion 
`entry != NULL  entry-lock_count  0' failed
 (unknown:2763): Gdk-WARNING **: XID collision, trouble ahead
 (unknown:2763): Gdk-WARNING **: XID collision, trouble ahead

** Affects: gnome-panel (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 lucid

-- 
Clock drifts during inactivity
https://bugs.launchpad.net/bugs/619677
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 619677] Re: Clock drifts during inactivity

2010-08-18 Thread bandini

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/619677/+attachment/1497249/+files/Dependencies.txt

** Attachment added: GConfNonDefault.txt
   
https://bugs.launchpad.net/bugs/619677/+attachment/1497250/+files/GConfNonDefault.txt

** Attachment added: ProcMaps.txt
   
https://bugs.launchpad.net/bugs/619677/+attachment/1497251/+files/ProcMaps.txt

** Attachment added: ProcStatus.txt
   
https://bugs.launchpad.net/bugs/619677/+attachment/1497252/+files/ProcStatus.txt

-- 
Clock drifts during inactivity
https://bugs.launchpad.net/bugs/619677
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 619677] Re: Clock drifts during inactivity

2010-08-18 Thread bandini
Todays lunch break : I launched the program at 12:21, here is the output
when I came back around 13:20

mercredi 18 août 2010, 12:21:59 (UTC+0200)
mer. 18 août 2010 12:22:00 CEST  -0.625930 secondes

mercredi 18 août 2010, 12:27:00 (UTC+0200)
mer. 18 août 2010 13:02:00 CEST  -0.034145 secondes

mercredi 18 août 2010, 12:32:00 (UTC+0200)
mer. 18 août 2010 13:17:00 CEST  -0.079076 secondes

10 minutes elapsed for the system clock, while almost one hour really elapsed.
This as security consequences, because when I came back, my screen was not 
locked. I don't know what the default screen lock timing is, but I guess it is 
less than 1 hour.

-- 
Clock drifts during inactivity
https://bugs.launchpad.net/bugs/619677
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs