From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by sourceware.org (Postfix) with ESMTPS id E2BD63858D37 for ; Tue, 30 Jun 2020 07:19:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E2BD63858D37 Received: by mail-lj1-x229.google.com with SMTP id h22so14060268lji.9 for ; Tue, 30 Jun 2020 00:19:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=hIHB0ab/hYK5h4Ih98HzwSAdFG5oKOkGVWxXeBT/c/4=; b=ahqFNP+QsmVDdBe5zq6DKcWl/duVkGJfd3r5j9z5jgKbEO+SLjIiDzGYa08gXDxLXG k6I/KfYhniJG4jWUtoT/bkyRGVre5nb3m2QR3P+vMeMqEKdhOXUPhJKFGoaa+irfVFaA 5+Dp1PJYwsF5mnVtD36KCPUTZFTMbEWogzl4GqBjWAGdbjLXEBMHXS04WEWyHSImUMJg FQRe3wPT0aHvjFqrb1LJNoTPJiRenm3+7yDpGpQPOc+fwrRrOdMHVx4y+q3S5e9C3gVQ ufPoAoRX+wxEv09W6Dy6Nh5g52XpVvSUcROqH7T910OnNyM+xyOHweuahuGCeoj2yH5G T6Qg== X-Gm-Message-State: AOAM5331ToWqud2bEgbGJOHtJbQxIccFoRbsvHOsVjKmmc/Y8F6DrK+g HBP364XBVTZiyTNcjz/g+hrASMEQ X-Google-Smtp-Source: ABdhPJzXaYSZ1dtXmj7n3xIA4S/tgpyeMQOq5T4ibwQSHgqpuRH7DAeBGa03U3f5Mo9p6x7tEjc8iw== X-Received: by 2002:a2e:8858:: with SMTP id z24mr1907148ljj.425.1593501569389; Tue, 30 Jun 2020 00:19:29 -0700 (PDT) Received: from JOKK (87-249-176-245.ljusnet.se. [87.249.176.245]) by smtp.gmail.com with ESMTPSA id r16sm445909ljn.106.2020.06.30.00.19.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2020 00:19:28 -0700 (PDT) From: To: References: <00a401d64b9c$9958e6d0$cc0ab470$@gmail.com> <18310519099.20200626201342@yandex.ru> In-Reply-To: <18310519099.20200626201342@yandex.ru> Subject: Sv: Using cygwin-dll with msvc-exe Date: Tue, 30 Jun 2020 09:19:27 +0200 Message-ID: <000901d64eae$cac432a0$604c97e0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-gb Thread-Index: AQENcs5VMN0I/jATKmjvNn0PVV6wogJCExQOqnBmypA= X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2020 07:19:32 -0000 [snip] > > ... > > $ /cygdrive/c/Repos/Trunk/Debug64/my_msvc_program.exe > > 0 [main] my_msvc_program (17392) child_copy: cygheap read > > copy failed, 0x180343408..0x18036E1D8, done 0, windows pid 17392, Win32 > error 6 > > 582 [main] my_msvc_program (17392) > > C:\Repos\Trunk\Debug64\my_msvc_program.exe: *** fatal error - ccalloc > > would have returned NULL ... > > This is what happens when you mix different memory managers. Well, I'm not even allocating anything or not even calling a single function, but I guess that's irrelevant in this case ? [snip] Best regards, Kristian