Hi,
I have installed OpenCV3.1 (stable) on Debian Jessie on my laptop and ran opencv_core_test without any issues however when installing on a server (Debian Jessie also), using the same cmake command it hangs upon launch. This creates an unkillable, idle sleeping process and appears to hang forever.
I have checked all listed pre-requisites are installed and compared packages installed on my laptop against those of the server however nothing stands out that might impact opencv.
I also get the exact same result when importing cv2 in a python shell. I have ran an strace both importing cv2 and also running opencv_core_test and they both hang here:
readlink("/sys/devices/pci0000:00/0000:00:12.0/usb3", 0x7ffff5234e20, 1024) = -1 EINVAL (Invalid argument)
stat("/sys/devices/pci0000:00/0000:00:12.0/usb3/uevent", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
open("/sys/devices/pci0000:00/0000:00:12.0/usb3/uevent", O_RDONLY|O_CLOEXEC) = 11
fstat(11, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff5cd0ff000
read(11, "MAJOR=189\nMINOR=256\nDEVNAME=bus/"..., 4096) = 126
read(11, "", 4096) = 0
close(11) = 0
munmap(0x7ff5cd0ff000, 4096) = 0
open("/sys/bus/usb/devices/usb3/busnum", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff5cd0ff000
read(11, "3\n", 4096) = 2
close(11) = 0
munmap(0x7ff5cd0ff000, 4096) = 0
open("/sys/bus/usb/devices/usb3/devnum", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff5cd0ff000
read(11, "1\n", 4096) = 2
close(11) = 0
munmap(0x7ff5cd0ff000, 4096) = 0
open("/sys/bus/usb/devices/usb3/speed", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff5cd0ff000
read(11, "12\n", 4096) = 3
close(11) = 0
munmap(0x7ff5cd0ff000, 4096) = 0
open("/sys/bus/usb/devices/usb3/descriptors", O_RDONLY) = 11
read(11,
The server has an AMD processor whereas the laptop has an Intel. Any ideas on what could possibly be causing this or any further troubleshooting steps that might shed any light would be greatly appreciated!
Cheers
Sam
↧