Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of uninitialized value #85

Closed
MarcinOrlowski opened this issue Oct 31, 2017 · 1 comment
Closed

Use of uninitialized value #85

MarcinOrlowski opened this issue Oct 31, 2017 · 1 comment
Labels

Comments

@MarcinOrlowski
Copy link

MarcinOrlowski commented Oct 31, 2017

Hi

I haven't had single problem with your tool to date, but today it produced couple of Use of uninitialized values. Here's whole log of the update session that triggered that.

# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.10.0-38 linux-headers-4.10.0-38-generic linux-image-4.10.0-38-generic linux-image-extra-4.10.0-38-generic
The following packages will be upgraded:
  libpoppler-glib8 libpoppler-qt4-4 libpoppler-qt5-1 libpoppler64 linux-generic linux-headers-generic linux-image-generic linux-libc-dev poppler-utils skypeforlinux
10 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 109 MB/130 MB of archives.
After this operation, 349 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://pl.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-image-extra-4.10.0-38-generic amd64 4.10.0-38.42 [30.0 MB]
Get:2 https://repo.skype.com/deb stable/main amd64 skypeforlinux amd64 8.9.0.1 [66.7 MB]
Get:3 http://pl.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-generic amd64 4.10.0.38.38 [1,788 B]                                                                                                                                     
Get:4 http://pl.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-image-generic amd64 4.10.0.38.38 [2,306 B]                                                                                                                               
Get:5 http://pl.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-headers-4.10.0-38 all 4.10.0-38.42 [10.6 MB]                                                                                                                             
Get:6 http://pl.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-headers-4.10.0-38-generic amd64 4.10.0-38.42 [675 kB]                                                                                                                    
Get:7 http://pl.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-headers-generic amd64 4.10.0.38.38 [2,282 B]                                                                                                                             
Get:8 http://pl.archive.ubuntu.com/ubuntu zesty-updates/main amd64 linux-libc-dev amd64 4.10.0-38.42 [902 kB]                                                                          
Fetched 86.2 MB in 1min 11s (1,215 kB/s)                                                                                                                                                                                                          
(Reading database ... 231590 files and directories currently installed.)                                                                                                                        
Preparing to unpack .../00-libpoppler-qt5-1_0.48.0-2ubuntu2.4_amd64.deb ...                                                                                                                     
Unpacking libpoppler-qt5-1:amd64 (0.48.0-2ubuntu2.4) over (0.48.0-2ubuntu2.3) ...                                                                                                               
Preparing to unpack .../01-libpoppler-qt4-4_0.48.0-2ubuntu2.4_amd64.deb ...                                                                                                                                                                        
Unpacking libpoppler-qt4-4:amd64 (0.48.0-2ubuntu2.4) over (0.48.0-2ubuntu2.3) ...                                                                                                                                                                  
Preparing to unpack .../02-poppler-utils_0.48.0-2ubuntu2.4_amd64.deb ...                                                                                                                                                                           
Unpacking poppler-utils (0.48.0-2ubuntu2.4) over (0.48.0-2ubuntu2.3) ...                                                                                                                                                                           
Preparing to unpack .../03-libpoppler-glib8_0.48.0-2ubuntu2.4_amd64.deb ...                                                                                                                                                                        
Unpacking libpoppler-glib8:amd64 (0.48.0-2ubuntu2.4) over (0.48.0-2ubuntu2.3) ...                                                                                                                                                                  
Preparing to unpack .../04-libpoppler64_0.48.0-2ubuntu2.4_amd64.deb ...                                                                                                                                                                            
Unpacking libpoppler64:amd64 (0.48.0-2ubuntu2.4) over (0.48.0-2ubuntu2.3) ...
Selecting previously unselected package linux-image-4.10.0-38-generic.
Preparing to unpack .../05-linux-image-4.10.0-38-generic_4.10.0-38.42_amd64.deb ...
Done.
Unpacking linux-image-4.10.0-38-generic (4.10.0-38.42) ...
Selecting previously unselected package linux-image-extra-4.10.0-38-generic.
Preparing to unpack .../06-linux-image-extra-4.10.0-38-generic_4.10.0-38.42_amd64.deb ...
Unpacking linux-image-extra-4.10.0-38-generic (4.10.0-38.42) ...
Preparing to unpack .../07-linux-generic_4.10.0.38.38_amd64.deb ...
Unpacking linux-generic (4.10.0.38.38) over (4.10.0.37.37) ...
Preparing to unpack .../08-linux-image-generic_4.10.0.38.38_amd64.deb ...
Unpacking linux-image-generic (4.10.0.38.38) over (4.10.0.37.37) ...
Selecting previously unselected package linux-headers-4.10.0-38.
Preparing to unpack .../09-linux-headers-4.10.0-38_4.10.0-38.42_all.deb ...
Unpacking linux-headers-4.10.0-38 (4.10.0-38.42) ...
Selecting previously unselected package linux-headers-4.10.0-38-generic.
Preparing to unpack .../10-linux-headers-4.10.0-38-generic_4.10.0-38.42_amd64.deb ...
Unpacking linux-headers-4.10.0-38-generic (4.10.0-38.42) ...
Preparing to unpack .../11-linux-headers-generic_4.10.0.38.38_amd64.deb ...
Unpacking linux-headers-generic (4.10.0.38.38) over (4.10.0.37.37) ...
Preparing to unpack .../12-linux-libc-dev_4.10.0-38.42_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.10.0-38.42) over (4.10.0-37.41) ...
Preparing to unpack .../13-skypeforlinux_8.9.0.1_amd64.deb ...
Unpacking skypeforlinux (8.9.0.1) over (5.5.0.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up linux-image-4.10.0-38-generic (4.10.0-38.42) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-38-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.10.0-38-generic
Found initrd image: /boot/initrd.img-4.10.0-38-generic
Found linux image: /boot/vmlinuz-4.10.0-37-generic
Found initrd image: /boot/initrd.img-4.10.0-37-generic
Found linux image: /boot/vmlinuz-4.10.0-19-generic
Found initrd image: /boot/initrd.img-4.10.0-19-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
Found Windows 10 on /dev/sdc1
done
Setting up libpoppler64:amd64 (0.48.0-2ubuntu2.4) ...
Setting up linux-libc-dev:amd64 (4.10.0-38.42) ...
Setting up skypeforlinux (8.9.0.1) ...
Setting up linux-headers-4.10.0-38 (4.10.0-38.42) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up linux-image-extra-4.10.0-38-generic (4.10.0-38.42) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-38-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

Found linux image: /boot/vmlinuz-4.10.0-38-generic
Found initrd image: /boot/initrd.img-4.10.0-38-generic
Found linux image: /boot/vmlinuz-4.10.0-37-generic
Found initrd image: /boot/initrd.img-4.10.0-37-generic
Found linux image: /boot/vmlinuz-4.10.0-19-generic
Found initrd image: /boot/initrd.img-4.10.0-19-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
Found Windows 10 on /dev/sdc1
done
Setting up libpoppler-glib8:amd64 (0.48.0-2ubuntu2.4) ...
Setting up linux-headers-4.10.0-38-generic (4.10.0-38.42) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
Setting up poppler-utils (0.48.0-2ubuntu2.4) ...
Setting up libpoppler-qt4-4:amd64 (0.48.0-2ubuntu2.4) ...
Setting up libpoppler-qt5-1:amd64 (0.48.0-2ubuntu2.4) ...
Setting up linux-image-generic (4.10.0.38.38) ...
Setting up linux-headers-generic (4.10.0.38.38) ...
Setting up linux-generic (4.10.0.38.38) ...

Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Use of uninitialized value $testp in stat at /usr/sbin/needrestart line 462, <HMAP> line 1.==================================================================                                                                                    ]
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sinode in string eq at /usr/sbin/needrestart line 480, <HMAP> line 1.
Use of uninitialized value $testp in stat at /usr/sbin/needrestart line 462, <HMAP> line 1.=====================================================================                                                                                 ]
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sinode in string eq at /usr/sbin/needrestart line 480, <HMAP> line 1.
Use of uninitialized value $testp in stat at /usr/sbin/needrestart line 462, <HMAP> line 1.========================================================================                                                                              ]
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sinode in string eq at /usr/sbin/needrestart line 480, <HMAP> line 1.
Use of uninitialized value $testp in stat at /usr/sbin/needrestart line 462, <HMAP> line 1.=========================================================================                                                                             ]
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sinode in string eq at /usr/sbin/needrestart line 480, <HMAP> line 1.
Use of uninitialized value $testp in stat at /usr/sbin/needrestart line 462, <HMAP> line 1.==========================================================================                                                                            ]
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sinode in string eq at /usr/sbin/needrestart line 480, <HMAP> line 1.
Use of uninitialized value $testp in stat at /usr/sbin/needrestart line 462, <HMAP> line 1.=============================================================================                                                                         ]
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in bitwise and (&) at /usr/sbin/needrestart line 463, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sdev in right bitshift (>>) at /usr/sbin/needrestart line 475, <HMAP> line 1.
Use of uninitialized value $sinode in string eq at /usr/sbin/needrestart line 480, <HMAP> line 1.
Scanning processes...                                                                                                                                                                                                                              
Scanning candidates...                                                                                                                                                                                                                             
Scanning linux images...                                                                                                                                                                                                                           
No services need to be restarted.
No containers need to be restarted.
User sessions running outdated binaries:
 carlos @ session #3: ksmserver[1586], livezilla[1927,1967], skypeforlinux[14491,14495]

# needrestart --help

needrestart 2.11 - Restart daemons after library updates.

Let me know if you need any other info.

@liske liske added the bug label Oct 31, 2017
@liske
Copy link
Owner

liske commented Oct 31, 2017

I think this is a duplicate of #58 which was fixed by 1773920.

@liske liske closed this as completed Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants