← Back to team overview

desktop-packages team mailing list archive

[Bug 806248] Re: unity::TimeUtil::TimeDelta returns an int value which overflows after 24 days of uptime

 

** Changed in: unity/6.0
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity
https://bugs.launchpad.net/bugs/806248

Title:
  unity::TimeUtil::TimeDelta returns an int value which overflows after
  24 days of uptime

Status in Unity:
  Fix Released
Status in Unity 4.0 series:
  Won't Fix
Status in Unity 5.0 series:
  Fix Released
Status in Unity 6.0 series:
  Fix Released
Status in unity package in Ubuntu:
  Fix Released
Status in unity source package in Precise:
  Fix Released
Status in unity source package in Quantal:
  Fix Released

Bug description:
  [Impact]

  Icons disappearing after int32 delta time variable overflows in 24
  days.

  [Test Case]

  Run the automated test to simulate what happens after to the timedelta
  ~24 days of Unity running.

  [Regression Potential]

  Low - only the datatype is changed and an automated test is included.

  ---

  unity::TimeUtil::TimeDelta is used throughout Unity to compute time
  differences in milliseconds between events. Unfortunately, TimeDelta
  returns an int value, which can only express differences up to ~ 24
  days. So after 24 days of uptime, Unity breaks. The breakage is
  described in the comments.

  Original description:
  This issue, to me, is the same issue as https://bugs.launchpad.net/ubuntu/+source/unity/+bug/762478.  However a poster on their thinks this is only related to the nvidia graphics driver.  I tend to disagree, nonelethess I am filing a new bug for it.  The behavior is the same.  The icons are not showing up in the Unity launcher.  When I hover over them I can read the icon's "name" and clicking on it works.  I tried unity --reset, unity --reset-icons, sudo restart gdm and finally only resetting my entire system fixed the issue (although the icons are back to their default now -- none of my custom icons are appearing).  I do not have an NVIDIA graphics card, but rather, a built-in Intel one.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: unity 3.8.16-0ubuntu1~natty1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  Architecture: amd64
  CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
  CompositorRunning: compiz
  CurrentDmesg:
   [   29.030016] eth0: no IPv6 routers present
   [   37.298652] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=0
   [   85.910008] CE: hpet2 increased min_delta_ns to 7500 nsec
   [   85.910015] CE: hpet2 increased min_delta_ns to 11250 nsec
   [   85.910018] hrtimer: interrupt took 3365 ns
  Date: Tue Jul  5 16:29:05 2011
  DistUpgraded: Fresh install
  DistroCodename: natty
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e12] (rev 03) (prog-if 00 [VGA controller])
     Subsystem: Dell Device [1028:0420]
     Subsystem: Dell Device [1028:0420]
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  InstallationMedia__: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  MachineType: Dell Inc. OptiPlex 780
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=ebecbd9e-5adf-43ce-bc96-964abb961f59 ro quiet splash vt.handoff=7
  ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  ProcVersionSignature__: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Renderer: Unknown
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/03/2010
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A06
  dmi.board.name: 0C27VV
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A02
  dmi.chassis.type: 6
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA06:bd11/03/2010:svnDellInc.:pnOptiPlex780:pvr:rvnDellInc.:rn0C27VV:rvrA02:cvnDellInc.:ct6:cvr:
  dmi.product.name: OptiPlex 780
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz 1:0.9.4+bzr20110606-0ubuntu1~natty2
  version.ia32-libs: ia32-libs 20090808ubuntu13
  version.libdrm2: libdrm2 2.4.23-1ubuntu6
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
  version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3.1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7.1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/806248/+subscriptions