Bug 207303 - devel/m4: sporadic hangs on configure stage
Summary: devel/m4: sporadic hangs on configure stage
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-18 10:56 UTC by Anton Saietskii
Modified: 2017-05-22 15:03 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (johans)


Attachments
make & truss output (17.50 KB, text/plain)
2016-02-18 10:56 UTC, Anton Saietskii
no flags Details
config.log from workdir (205.30 KB, text/plain)
2016-02-18 10:57 UTC, Anton Saietskii
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Saietskii 2016-02-18 10:56:52 UTC
Created attachment 167145 [details]
make & truss output

I'm using portupagrade to update ports, and sometimes configuring devel/m4 hangs on the "checking dup2":
{...}
checking whether dup2 works... ^C0.006u 0.027s 6:42.60 0.0%	3316+612k 37+0io 0pf+0w

truss shows the following:
{...}
fcntl(1,F_SETFD,FD_CLOEXEC)			 = 0 (0x0)
dup2(0x1,0x1,0x1,0x18,0x300,0x7fffffffd6ef)	 = 1 (0x1)
fcntl(1,F_GETFD,)				 = 1 (0x1)
close(0)					 = 0 (0x0)
dup2(0x0,0x0,0x1,0x18,0x300,0x7fffffffd6ef)	 ERR#9 'Bad file descriptor'
^C^C^C^C^C^C^C^C^CKilled
0.000u 0.003s 117:42:18.87 0.0%	0+0k 0+0io 0pf+0w

Process "conftest" hangs in a D state.
Comment 1 Anton Saietskii 2016-02-18 10:57:29 UTC
Created attachment 167146 [details]
config.log from workdir
Comment 2 Anton Saietskii 2017-05-22 15:03:58 UTC
The problem is not in port.