bugmake - Bugs: bug #46077, SHELL process handling does not...


bug #46077: SHELL process handling does not work under Windows 10 in x64 build -> endless waiting

Submitted by:  None
Submitted on:  Tue 29 Sep 2015 06:55:34 PM UTC  
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 4.1Operating System: MS Windows
Fixed Release: 4.2Triage Status: Small Effort

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 01 Oct 2015 05:00:28 PM UTC, comment #4:

Oh right, #43887 was indeed about a 64-bits (msvc) build.

As sometimes my ez-make-4.1 builds hang with -j, I thought it could be because of this reason... but it could well be something else. I'll try to have a closer look by rebuilding 4.1-2 32-bits myself, so that I can debug it when it happens again. If I find anything I'll create a new issue. Thanks for your quick reply!

Christian Boos <cboos>
Thu 01 Oct 2015 04:17:30 PM UTC, comment #3:

AFAIU, the problem only happens in a x86_64 build, so my 32-bit builds should be unaffected. Did I miss something?

Eli Zaretskii <eliz>
Project Member
Thu 01 Oct 2015 04:09:53 PM UTC, comment #2:

Eli, I just saw that make-4.1-2-w32-src.zip from your ezwinports doesn't have that fix. Any chance for a 4.2pre build?

Christian Boos <cboos>
Thu 01 Oct 2015 01:15:36 PM UTC, comment #1:

Thanks, this is already fixed in the development sources (was fixed last December).

Eli Zaretskii <eliz>
Project Member
Tue 29 Sep 2015 06:55:34 PM UTC, original submission:

This is due to using

extern int shell_function_pid;

should be

extern pid_t shell_function_pid;

In the windows build pid_t is defined as pointer, works in 32bit but not in 64bit environment.

The attached patch fixes this problem
best regards
Bernd Oerding



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #35012:  make-4.1-winx64.patch added by None (2KiB - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cboos (Posted a comment)
  • -unavailable- added by eliz (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 01 Oct 2015 01:15:36 PM UTCelizStatusNone=>Fixed
      Fixed ReleaseNone=>4.2
      Triage StatusNone=>Small Effort
    Tue 29 Sep 2015 06:56:33 PM UTCNoneAttached File-=>Added make-4.1-winx64.patch, #35012

    Back to the top

    Powered by Savane 3.1-cleanup1