From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14305 invoked by alias); 13 Oct 2016 20:29:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14189 invoked by uid 89); 13 Oct 2016 20:29:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:d473576, H*f:sk:fb13f38, H*f:sk:ad9ab02, unloaded X-HELO: forward3j.cmail.yandex.net Received: from forward3j.cmail.yandex.net (HELO forward3j.cmail.yandex.net) (5.255.227.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Oct 2016 20:29:08 +0000 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::25]) by forward3j.cmail.yandex.net (Yandex) with ESMTP id B014E20C0D for ; Thu, 13 Oct 2016 23:29:05 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 7E9E21300D5A for ; Thu, 13 Oct 2016 23:29:04 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id lsWdRxzGPl-T4SOOqCL; Thu, 13 Oct 2016 23:29:04 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0 Subject: Re: Random "child_info_fork::abort:" To: cygwin@cygwin.com References: <85b945fb-0b5f-e2b3-b899-99176d6e4da2@yandex.ru> <36c231ad-6795-91e8-5afc-44ea1dfa17f1@yandex.ru> <83466d2f-896a-d512-1251-fbbbb225e7d6@yandex.ru> From: Evgeny Grin Openpgp: id=289FE99E138CF6D473A3F0CFBF7AC4A5EAC2BAF4 Message-ID: Date: Thu, 13 Oct 2016 21:05:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <83466d2f-896a-d512-1251-fbbbb225e7d6@yandex.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00183.txt.bz2 On 13.10.2016 19:58, Evgeny Grin wrote: > On 13.10.2016 18:24, Evgeny Grin wrote: > > What I got from strace (typical output): > > 649705 [main] mandb 6288 child_info::sync: n 2, waiting for > subproc_ready(0x280) and child process(0x1CC) > 6358 [main] mandb 7888 child_info_fork::abort: > T:\cygwin64\bin\cyggdbm-4.dll: Loaded to different address: > parent(0x1FFFC510000) != child(0x150000) > --- Process 7888 created > --- Process 7888 loaded C:\Windows\System32\ntdll.dll at 00007FFE2FF70000 > --- Process 7888 loaded C:\Windows\System32\kernel32.dll at 00007FFE2D600000 > --- Process 7888 loaded C:\Windows\System32\KernelBase.dll at > 00007FFE2C730000 > --- Process 7888 thread 912 created > --- Process 7888 thread 10792 created > --- Process 7888 loaded T:\cygwin64\bin\cygmandb-2-7-5.dll at > 000001FFFB8F0000 > --- Process 7888 loaded T:\cygwin64\bin\cygwin1.dll at 0000000180040000 > --- Process 7888 loaded T:\cygwin64\bin\cygintl-8.dll at 00000003FBB90000 > --- Process 7888 thread 14024 created > --- Process 7888 loaded T:\cygwin64\bin\cygiconv-2.dll at 00000003FBBF0000 > --- Process 7888 loaded T:\cygwin64\bin\cygpipeline-1.dll at > 000001FFFB470000 > --- Process 7888 loaded T:\cygwin64\bin\cygman-2-7-5.dll at 000001FFFB900000 > --- Process 7888 loaded T:\cygwin64\bin\cyggdbm-4.dll at 0000000000150000 > --- Process 7888 loaded T:\cygwin64\bin\cygman-2-7-5.dll at 0000000000170000 > --- Process 7888 unloaded DLL at 0000000000170000 > --- Process 7888 loaded T:\cygwin64\bin\cygz.dll at 000001FFFACF0000 > --- Process 7888 loaded T:\cygwin64\bin\cyggdbm-4.dll at 000001FFFC510000 > --- Process 7888 unloaded DLL at 000001FFFC510000 > 6358 [main] mandb 7888 child_info_fork::abort: > T:\cygwin64\bin\cyggdbm-4.dll: Loaded to different address: > parent(0x1FFFC510000) != child(0x150000) > --- Process 7888 thread 14024 exited with status 0x800000 > --- Process 7888 thread 10144 exited with status 0x800000 > --- Process 7888 thread 10792 exited with status 0x800000 > --- Process 7888 exited with status 0x800000 > 663649 [main] mandb 6288 child_info::sync: pid 7888, WFMO returned 1, > exit_code 0x800000, res 0 > 663743 [main] mandb 6288 sig_send: sendsig 0xD8, pid 6288, signal -73, > its_me 1 > 663771 [main] mandb 6288 sig_send: wakeup 0x2EC > 663800 [main] mandb 6288 sig_send: Waiting for pack.wakeup 0x2EC > 663840 [sig] mandb 6288 wait_sig: signalling pack.wakeup 0x2EC > 663886 [main] mandb 6288 sig_send: returning 0x0 from sending signal -73 > mandb: fork failed: Resource temporarily unavailable > > > The cyggdbm-4.dll is loaded two times: at 0x150000 and at 0x1FFFC510000, > but for some reason unloaded from 0x1FFFC510000. > This looks like a bug in cygwin. > Incorrect cygwin dll unloaded: 837063 [main] mandb 5504 child_info::sync: n 2, waiting for subproc_ready(0x10C) and child process(0x1E4) --- Process 736 created --- Process 736 loaded C:\Windows\System32\ntdll.dll at 00007FFE2FF70000 --- Process 736 loaded C:\Windows\System32\kernel32.dll at 00007FFE2D600000 --- Process 736 loaded C:\Windows\System32\KernelBase.dll at 00007FFE2C730000 --- Process 736 thread 8588 created --- Process 736 thread 14860 created --- Process 736 loaded T:\cygwin64\bin\cyggdbm-4.dll at 000001FFFC510000 --- Process 736 thread 10128 created --- Process 736 loaded T:\cygwin64\bin\cygmandb-2-7-5.dll at 000001FFFB8F0000 --- Process 736 loaded T:\cygwin64\bin\cygiconv-2.dll at 00000003FBBF0000 --- Process 736 loaded T:\cygwin64\bin\cygintl-8.dll at 00000003FBB90000 --- Process 736 loaded T:\cygwin64\bin\cygpipeline-1.dll at 000001FFFB470000 --- Process 736 loaded T:\cygwin64\bin\cygman-2-7-5.dll at 000001FFFB900000 --- Process 736 loaded T:\cygwin64\bin\cygwin1.dll at 0000000180040000 --- Process 736 loaded T:\cygwin64\bin\cygwin1.dll at 0000000000E50000 --- Process 736 loaded T:\cygwin64\bin\cygwin1.dll at 00000000019D0000 --- Process 736 loaded T:\cygwin64\bin\cygwin1.dll at 0000000001410000 --- Process 736 loaded T:\cygwin64\bin\cygz.dll at 000001FFFACF0000 --- Process 736 unloaded DLL at 00000000019D0000 --- Process 736 unloaded DLL at 0000000001410000 --- Process 736 unloaded DLL at 0000000180040000 2 [main] mandb (736) t:\cygwin64\bin\mandb.exe: *** fatal error - cygheap base mismatch detected - 0x1802FC408/0x110C408. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple