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

Submitter:  None
Submitted:  Tue 29 Sep 2015 06:55:34 PM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.1 Operating System:  MS Windows
Fixed Release:  4.2 Triage Status:  Small Effort
* Mandatory Fields

Add a New Comment Rich Markup

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>
Group 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>
Group 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 Files:

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
  • -email is unavailable- added by cboos (Posted a comment)
  • -email is unavailable- added by eliz (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-10-01 eliz StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.2
        Triage StatusNone Small Effort
    2015-09-29 None Attached File- Added make-4.1-winx64.patch, #35012

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code