Wireshark-dev: Re: [Wireshark-dev] compilation hangs on Ubuntu
From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Sun, 13 May 2018 22:29:41 +0200
Hello, W dniu 2018-05-13 17:15, Eugène Adell napisał(a):
I'm facing a problem on my development server (Ubuntu 16.04 hosted on VMWARE) when trying to compile Wireshark. It was working with olderversions (2.0 for example), but now it's like the compilation will neverend. I installed/updated all the required packages, since version 2.6 seems quite different.I'm doing an strace -f -o to find out what could be wrong, but no clue. Thestrace log being too big, here is how it looks like : 1900 execve("/usr/bin/cmake", ["cmake", "-LH", "../wireshark"], [/* 22 vars */]) = 0 [cut] thousands of lines such as :1901 open("/proc/537/status", O_RDONLY) = -1 ENOENT (No such file or directory) 1901 open("/proc/538/status", O_RDONLY) = -1 ENOENT (No such file or directory) 1901 open("/proc/539/status", O_RDONLY) = -1 ENOENT (No such file or directory) 1901 open("/proc/540/status", O_RDONLY) = -1 ENOENT (No such file or directory) 1901 open("/proc/541/status", O_RDONLY) = -1 ENOENT (No such file or directory) 1901 open("/proc/542/status", O_RDONLY) = -1 ENOENT (No such file or directory) 1901 open("/proc/543/status", O_RDONLY) = -1 ENOENT (No such file or directory) 1901 open("/proc/544/status", O_RDONLY) = -1 ENOENT (No such file or directory)then thousands and thousands of lines such as the following, and it seemsit will never end : 1901 open("/proc/882/status", O_RDONLY) = 3 1901 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 1901 read(3, "Name:\tvmhgfs-fuse\nUmask:\t0000\nSt"..., 1024) = 1024 1901 read(3, "0000,00000000,00000000,00000000,"..., 1024) = 263 1901 read(3, "", 1024) = 0 1901 close(3) = 0 1901 open("/proc/965/status", O_RDONLY) = 3 1901 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 1901 read(3, "Name:\tsystemd-logind\nUmask:\t0022"..., 1024) = 1024 1901 read(3, "0000000,00000000,00000000,000000"..., 1024) = 269 1901 read(3, "", 1024) = 0 1901 close(3) = 0 1901 open("/proc/968/status", O_RDONLY) = 3 1901 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 1901 read(3, "Name:\tdbus-daemon\nUmask:\t0022\nSt"..., 1024) = 1024 1901 read(3, "00,00000000,00000000,00000000,00"..., 1024) = 283 1901 read(3, "", 1024) = 0 1901 close(3) = 0 How can I resolve this ?
Not sure, but it seems that first subprocess (1901 == 1900 + 1) makes some strange things.
Looking on my strace output of cmake -LH ../wireshark:6410 execve("/usr/bin/cmake", ["cmake", "-LH", "../wireshark/"], 0x7ffe72092520 /* 32 vars */) = 0
(..)6410 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f7cde41ba50) = 6411 6411 execve("/usr/bin/python", ["/usr/bin/python", "-c", "import sys; sys.stdout.write(';'.join([str(x) for x in sys.version_info[:3]]))"], 0x7ffc7adb4958 /* 32 vars */) = 0
first execve() is /usr/bin/python -c "import sys; sys.stdout.write(';'.join([str(x) for x in sys.version_info[:3]]))"
Is it same for you? If you run from same shell:/usr/bin/python -c "import sys; sys.stdout.write(';'.join([str(x) for x in sys.version_info[:3]]))"
does it hang? Could you please attach gzip compressed strace log? Kind Regards, Jakub.
- Follow-Ups:
- Re: [Wireshark-dev] compilation hangs on Ubuntu
- From: Eugène Adell
- Re: [Wireshark-dev] compilation hangs on Ubuntu
- References:
- [Wireshark-dev] compilation hangs on Ubuntu
- From: Eugène Adell
- [Wireshark-dev] compilation hangs on Ubuntu
- Prev by Date: Re: [Wireshark-dev] compilation hangs on Ubuntu
- Next by Date: Re: [Wireshark-dev] compilation hangs on Ubuntu
- Previous by thread: Re: [Wireshark-dev] compilation hangs on Ubuntu
- Next by thread: Re: [Wireshark-dev] compilation hangs on Ubuntu
- Index(es):