当前位置:网站首页>Cygwin reports an error child_ info_ fork::abort: XXX. dll: Loaded to different address: parent(XXX) != child(XXX)

Cygwin reports an error child_ info_ fork::abort: XXX. dll: Loaded to different address: parent(XXX) != child(XXX)

2022-06-11 02:59:00 __ XWH1999__

Catalog

Error reporting

The reason for the error

resolvent

Turn off antivirus software

Rebase The library files


Error reporting

Cygwin Has been resident on the computer for some time , Installed many library files and applications . After a new app is installed , An error similar to the following occurs when running the application :

[main] make 7780 child_info_fork::abort: C:\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0x440000) != child(0x5F0000)
make: fork: Resource temporarily unavailable

The reason for the error

1️⃣ There is anti-virus software running in the background , Anti virus software libraries may be loaded into Cygwin Address space of the process , This creates a conflict and gives the error ( Reference source ).

2️⃣ When Cygwin When too many libraries are installed on , There may be multiple libraries loaded into overlapping address segments when running the program , This creates a conflict and gives the error .

DLLs on Windows need to be loaded into memory at non-conflicting base addresses. rebaseall is a cygwin utility that scans all the libraries currently installed and sets each to request a different base address so that none will conflict.

Reference source

resolvent

Turn off antivirus software

If the system has anti-virus software running , Close it first , Restart again Cygwin, Observe whether it returns to normal .

Rebase The library files

If it is not the problem of anti-virus software , Or it still reports an error after closing the anti-virus software , We can use Cygwin Provided rebase-trigger Tools to carry out Cygwin Library files rebase. Conduct rebase when ,Cygwin Will reassign the loading location of each of its libraries , To ensure that they do not overlap when loaded ( Reference source ).rebase The operation steps are as follows :

1️⃣ stay Cygwin In the implementation of :

rebase-trigger full

2️⃣ Close all Cygwin process .

3️⃣ open Cygwin Installation procedure setup-x86_64.exe(64 position Cygwin) or setup-x86.exe(32 position Cygwin), Go on to the last step ( Install the package ), When the progress bar is completed rebase.

success rebase after , Open again Cygwin Related applications in , It is time to stop reporting errors .

原网站

版权声明
本文为[__ XWH1999__]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020556019500.html