group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #35527
[Bug 1349028] Re: getitimer returns it_value=0 erroneously
This bug was fixed in the package linux - 4.4.0-179.209
---------------
linux (4.4.0-179.209) xenial; urgency=medium
* xenial/linux: 4.4.0-179.209 -proposed tracker (LP: #1874804)
* Add debian/rules targets to compile/run kernel selftests (LP: #1874286)
- [Packaging] add support to compile/run selftests
* getitimer returns it_value=0 erroneously (LP: #1349028)
- [Config] CONTEXT_TRACKING_FORCE policy should be unset
* CVE-2020-11608
- media: ov519: add missing endpoint sanity checks
* CVE-2019-19060
- iio: imu: adis16400: release allocated memory on failure
* Xenial update: 4.4.219 upstream stable release (LP: #1874045)
- drm/bochs: downgrade pci_request_region failure from error to warning
- ipv4: fix a RCU-list lock in fib_triestat_seq_show
- net, ip_tunnel: fix interface lookup with no key
- sctp: fix possibly using a bad saddr with a given dst
- l2tp: Correctly return -EBADF from pppol2tp_getname.
- net: l2tp: Make l2tp_ip6 namespace aware
- l2tp: fix race in l2tp_recv_common()
- l2tp: ensure session can't get removed during pppol2tp_session_ioctl()
- l2tp: fix duplicate session creation
- l2tp: Refactor the codes with existing macros instead of literal number
- l2tp: ensure sessions are freed after their PPPOL2TP socket
- l2tp: fix race between l2tp_session_delete() and l2tp_tunnel_closeall()
- usb: gadget: uac2: Drop unused device qualifier descriptor
- usb: gadget: printer: Drop unused device qualifier descriptor
- padata: always acquire cpu_hotplug_lock before pinst->lock
- mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
- net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting
- random: always use batched entropy for get_random_u{32,64}
- tools/accounting/getdelays.c: fix netlink attribute length
- power: supply: axp288_charger: Fix unchecked return value
- ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
- IB/hfi1: Call kobject_put() when kobject_init_and_add() fails
- Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
- RDMA/cm: Update num_paths in cma_resolve_iboe_route error flow
- clk: qcom: rcg: Return failure for RCG update
- drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()
- Linux 4.4.219
* Xenial update: 4.4.218 upstream stable release (LP: #1873852)
- spi: qup: call spi_qup_pm_resume_runtime before suspending
- powerpc: Include .BTF section
- ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
- spi/zynqmp: remove entry that causes a cs glitch
- drm/exynos: dsi: propagate error value and silence meaningless warning
- drm/exynos: dsi: fix workaround for the legacy clock name
- altera-stapl: altera_get_note: prevent write beyond end of 'key'
- USB: Disable LPM on WD19's Realtek Hub
- usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters
- USB: serial: option: add ME910G1 ECM composition 0x110b
- usb: host: xhci-plat: add a shutdown
- USB: serial: pl2303: add device-id for HP LD381
- ALSA: line6: Fix endless MIDI read loop
- ALSA: seq: virmidi: Fix running status after receiving sysex
- ALSA: seq: oss: Fix running status after receiving sysex
- ALSA: pcm: oss: Avoid plugin buffer overflow
- ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
- staging: rtl8188eu: Add device id for MERCUSYS MW150US v2
- staging/speakup: fix get_word non-space look-ahead
- intel_th: Fix user-visible error codes
- rtc: max8907: add missing select REGMAP_IRQ
- memcg: fix NULL pointer dereference in __mem_cgroup_usage_unregister_event
- mm: slub: be more careful about the double cmpxchg of freelist
- mm, slub: prevent kmalloc_node crashes and memory leaks
- x86/mm: split vmalloc_sync_all()
- USB: cdc-acm: fix close_delay and closing_wait units in TIOCSSERIAL
- USB: cdc-acm: fix rounding error in TIOCSSERIAL
- kbuild: Disable -Wpointer-to-enum-cast
- futex: Fix inode life-time issue
- futex: Unbreak futex hashing
- arm64: smp: fix smp_send_stop() behaviour
- Revert "drm/dp_mst: Skip validating ports during destruction, just ref"
- hsr: fix general protection fault in hsr_addr_is_self()
- net: dsa: Fix duplicate frames flooded by learning
- net_sched: cls_route: remove the right filter from hashtable
- net_sched: keep alloc_hash updated after hash allocation
- NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
- slcan: not call free_netdev before rtnl_unlock in slcan_open
- vxlan: check return value of gro_cells_init()
- hsr: use rcu_read_lock() in hsr_get_node_{list/status}()
- hsr: add restart routine into hsr_get_node_list()
- hsr: set .netnsok flag
- vhost: Check docket sk_family instead of call getname
- IB/ipoib: Do not warn if IPoIB debugfs doesn't exist
- uapi glibc compat: fix outer guard of net device flags enum
- KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
- drivers/hwspinlock: use correct radix tree API
- net: ipv4: don't let PMTU updates increase route MTU
- cpupower: avoid multiple definition with gcc -fno-common
- dt-bindings: net: FMan erratum A050385
- scsi: ipr: Fix softlockup when rescanning devices in petitboot
- mac80211: Do not send mesh HWMP PREQ if HWMP is disabled
- sxgbe: Fix off by one in samsung driver strncpy size arg
- i2c: hix5hd2: add missed clk_disable_unprepare in remove
- perf probe: Do not depend on dwfl_module_addrsym()
- scripts/dtc: Remove redundant YYLOC global declaration
- scsi: sd: Fix optimal I/O size for devices that change reported values
- mac80211: mark station unauthorized before key removal
- genirq: Fix reference leaks on irq affinity notifiers
- vti[6]: fix packet tx through bpf_redirect() in XinY cases
- xfrm: fix uctx len check in verify_sec_ctx_len
- xfrm: add the missing verify_sec_ctx_len check in xfrm_add_acquire
- xfrm: policy: Fix doulbe free in xfrm_policy_timer
- vti6: Fix memory leak of skb if input policy check fails
- tools: Let O= makes handle a relative path with -C option
- USB: serial: option: add support for ASKEY WWHC050
- USB: serial: option: add BroadMobi BM806U
- USB: serial: option: add Wistron Neweb D19Q1
- USB: cdc-acm: restore capability check order
- USB: serial: io_edgeport: fix slab-out-of-bounds read in
edge_interrupt_callback
- usb: musb: fix crash with highmen PIO and usbmon
- media: flexcop-usb: fix endpoint sanity check
- media: usbtv: fix control-message timeouts
- staging: rtl8188eu: Add ASUS USB-N10 Nano B1 to device table
- staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback
- libfs: fix infoleak in simple_attr_read()
- media: ov519: add missing endpoint sanity checks
- media: dib0700: fix rc endpoint lookup
- media: stv06xx: add missing descriptor sanity checks
- media: xirlink_cit: add missing descriptor sanity checks
- vt: selection, introduce vc_is_sel
- vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
- vt: switch vt_dont_switch to bool
- vt: vt_ioctl: remove unnecessary console allocation checks
- vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
- locking/atomic, kref: Add kref_read()
- vt: vt_ioctl: fix use-after-free in vt_in_use()
- bpf: Explicitly memset the bpf_attr structure
- net: ks8851-ml: Fix IO operations, again
- perf map: Fix off by one in strncpy() size argument
- Linux 4.4.218
* Pop sound from build-in speaker during cold boot and resume from S3
(LP: #1866357) // Xenial update: 4.4.218 upstream stable release
(LP: #1873852)
- ALSA: hda/realtek: Fix pop noise on ALC225
* CVE-2020-11494
- slcan: Don't transmit uninitialized stack data in padding
* add_key05 from ubuntu_ltp_syscalls failed (LP: #1869644)
- KEYS: reaching the keys quotas correctly
-- Kleber Sacilotto de Souza <kleber.souza@xxxxxxxxxxxxx> Fri, 24 Apr
2020 19:06:47 +0200
** Changed in: linux (Ubuntu Xenial)
Status: Fix Committed => Fix Released
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-19060
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-11608
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1349028
Title:
getitimer returns it_value=0 erroneously
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Trusty:
Fix Released
Status in linux source package in Utopic:
Fix Released
Status in linux source package in Xenial:
Fix Released
Status in linux source package in Bionic:
Fix Released
Status in linux source package in Eoan:
Fix Committed
Status in linux source package in Focal:
Fix Released
Bug description:
According to the 'getitimer()' man page: "The element it_value is set
to the amount of time remaining on the timer, or zero if the timer is
disabled. Similarly, it_interval is set to the reset value."
As such the following Perl program should never exit:
use Time::HiRes;
$SIG{VTALRM} = sub { };
Time::HiRes::setitimer(&Time::HiRes::ITIMER_VIRTUAL, 0.5, 0.4);
while (1) {
my @t = Time::HiRes::getitimer(&Time::HiRes::ITIMER_VIRTUAL);
exit 0 if $t[0] == 0;
}
and on linux-image 3.11.0-18-generic (and all other systems tested) it
loops forever but 3.13.0-32-generic it exits. Have not bisected
between those kernels, nor am I likely to be able to do so soon.
This Perl program shows the timer countdown:
use Time::HiRes;
my $r = [Time::HiRes::gettimeofday()];
sub display {
my ($desc) = @_;
my @t = Time::HiRes::getitimer(&Time::HiRes::ITIMER_VIRTUAL);
my $i = Time::HiRes::tv_interval($r);
printf "%s: elasped=%.8f; time left=%.6f reset time=%.6f\n", $desc,
$i,@t;
}
$SIG{VTALRM} = sub {
display('VTALRM');
exit;
};
Time::HiRes::setitimer(&Time::HiRes::ITIMER_VIRTUAL, 0.5, 0.4);
while (1) {
display('inloop');
}
on other (working) systems it gives:
inloop: elasped=1.65178400; time left=0.001000 reset time=0.401000
inloop: elasped=1.65184200; time left=0.001000 reset time=0.401000
inloop: elasped=1.65186800; time left=0.001000 reset time=0.401000
inloop: elasped=1.65192300; time left=0.001000 reset time=0.401000
inloop: elasped=1.65198100; time left=0.001000 reset time=0.401000
VTALRM: elasped=1.65209800; time left=0.400000 reset time=0.401000
(end of file)
but on the 3.13.0-32-generic or later kernel I get:
inloop: elasped=0.54692100; time left=0.000033 reset time=0.400000
inloop: elasped=0.54692800; time left=0.000026 reset time=0.400000
inloop: elasped=0.54693500; time left=0.000020 reset time=0.400000
inloop: elasped=0.54694100; time left=0.000013 reset time=0.400000
inloop: elasped=0.54694800; time left=0.000007 reset time=0.400000
inloop: elasped=0.54695500; time left=0.000000 reset time=0.400000
inloop: elasped=0.54696200; time left=0.004000 reset time=0.400000
[...]
VTALRM: elasped=0.55013600; time left=0.397062 reset time=0.400000
(end of file)
The reset time also looks dodgy.
Hardware is an Intel Core i7-920 on Asus P6T Deluxe v2 (X58)
motherboard and hasn't changed.
Requested information:
Ubuntu 3.13.0-32.57-generic 3.13.11.4
Description: Ubuntu 14.04.1 LTS
Release: 14.04
# apt-cache policy linux-image-generic
linux-image-generic:
Installed: 3.13.0.32.38
Candidate: 3.13.0.32.38
Version table:
*** 3.13.0.32.38 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
500 http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
3.13.0.24.28 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
---
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: tivrusky 3009 F.... pulseaudio
/dev/snd/controlC0: tivrusky 3009 F.... pulseaudio
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=c026abdc-9fee-425c-b5ae-020bf6ea2ad6
IwConfig:
eth0 no wireless extensions.
eth1 no wireless extensions.
lo no wireless extensions.
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: root=UUID=3ea7a4cb-eade-4906-b545-5133d8c14080 ro quiet splash
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
RelatedPackageVersions:
linux-restricted-modules-3.13.0-32-generic N/A
linux-backports-modules-3.13.0-32-generic N/A
linux-firmware 1.127.5
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Tags: trusty
Uname: Linux 3.13.0-32-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-06-10 (46 days ago)
UserGroups: adm admin cdrom dialout lpadmin mythtv plugdev sambashare vboxusers
WifiSyslog: Jul 26 20:23:08 zwei NetworkManager[1174]: <info> Policy set 'Wired connection 2' (eth1) as default for IPv6 routing and DNS.
WpaSupplicantLog:
_MarkForUpload: True
dmi.bios.date: 02/04/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0203
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6T DELUXE V2
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0203:bd02/04/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6TDELUXEV2:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349028/+subscriptions