X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=GB+aCMklv8g2FzNbb4mVftS9SuTj6DRWx0vcXEY+Aj13hIB5CxFec yDBHQGfjfhmGw0mA8qVi3JGCX+KxsmSYviCtho8KsnIaqluYTWxkxuBbI5TF+NBs kINWZsWPVAUjD4ys2JZ+PdVRt03J07Yau+Y7rJKOA8YzfsWWNGSCWA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=+86C1KIIibI3QB2MBzBlZhGT4Ic=; b=E7gXNMIKeGal2uVYDk3wz9Xz1X/r 5Dx6joqpr03U+J5AFaK4mQQWjfsNGRzE8qlAKQpj7rMcS981odOcW6H/Ay8+93Wa 1XCdAotRqBwV4qVYE2GBuzcRRibUD3fqHh6iTEr1KUdnK+IQOSehQ+RNJO7Sy11I nQkiMbMOFDZLV18= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 7 Apr 2014 11:12:07 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: exe.stackdump is always empty Message-ID: <20140407091207.GE2061@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5F8AAC04F9616747BC4CC0E803D5907D0C8A8F7F AT MLBXv04 DOT nih DOT gov> <20140331101915 DOT GC23383 AT calimero DOT vinschen DOT de> <5F8AAC04F9616747BC4CC0E803D5907D0C8A9B8C AT MLBXv04 DOT nih DOT gov> <20140331114705 DOT GC2508 AT calimero DOT vinschen DOT de> <5F8AAC04F9616747BC4CC0E803D5907D0C8ADBB2 AT MLBXv04 DOT nih DOT gov> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="10jrOL3x2xqLmOsH" Content-Disposition: inline In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D0C8ADBB2@MLBXv04.nih.gov> User-Agent: Mutt/1.5.21 (2010-09-15) --10jrOL3x2xqLmOsH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 4 22:07, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > Any ideas, please? >=20 > > http://cygwin.com/problems.html > > http://cygwin.com/acronyms/#STC >=20 > $ cat assert.c > #include >=20 > int main(void) > { assert(0); > return 0; > } >=20 > $ ulimit -a > core file size (blocks, -c) unlimited > data seg size (kbytes, -d) unlimited > file size (blocks, -f) unlimited > open files (-n) 256 > pipe size (512 bytes, -p) 8 > stack size (kbytes, -s) 2025 > cpu time (seconds, -t) unlimited > max user processes (-u) 256 > virtual memory (kbytes, -v) unlimited >=20 > $ gcc -g assert.c >=20 > $ ./a.exe > assertion "0" failed: file "assert.c", line 4, function: main > Aborted (core dumped) >=20 > $ cat a.exe.stackdump > Stack trace: > Frame Function Args Hmm, not me. In my case a stackdump is generated, albeit not very complete: $ cat assert.exe.stackdump Stack trace: Frame Function Args 0028A898 610303D2 (000000B4, 0000EA60, 000000A4, 0028A8E8) 0028A9A8 610DA4DD (75D2E158, 00000000, 6E00016F, 00000000) The 64 bit stackdump looks better: $ cat assert.exe.stackdump Stack trace: Frame Function Args 0000023A480 0018006F733 (7FF9E9680EBF, 00000000000, 00000000003, 0000000= 0016) 00000000006 00180070C6A (0000023A940, 00000000000, 0000000009C, 00000000= 000) 0000023A660 0018011AEE8 (00000341B10, 00000000000, 00000000000, 00000000= 000) 000000000C1 00180117FEE (00300000000, 00000000000, 00000000000, 00000000= 000) 0000023AAB0 001801184BB (7FF9E967ED89, 00000000000, 00100403032, 0000000= 0006) 0000023AAB0 0018011868C (7FF9E6A9151B, 00000004048, 001801EE0D8, 0018011= CB7C) 0000023AAB0 0018011894F (00100403030, 00100403032, 00000000004, 001801EE= 02F) 0000023AAB0 00180041B45 (00000000000, 00000000000, 00000000000, 0000023A= B90) 0000023AAE0 001004010FC (00000000020, 30001000000FF00, 0018004819A, 0000= 0000000) 0000023AB90 0018004820B (00000000000, 00000000000, 00000000000, 00000000= 000) 00000000000 0018004611B (00000000000, 00000000000, 00000000000, 00000000= 000) 00000000000 00180046274 (00000000000, 00000000000, 00000000000, 00000000= 000) 00000000000 00100401111 (00000000000, 00000000000, 00000000000, 00000000= 000) 00000000000 00100401010 (00000000000, 00000000000, 00000000000, 00000000= 000) 00000000000 7FF9E93115DD (00000000000, 00000000000, 00000000000, 0000000= 0000) 00000000000 7FF9E96B43D1 (00000000000, 00000000000, 00000000000, 0000000= 0000) End of stack trace (more stack frames may be present) but I'm not exactly an expert in how to generate a stackdump on i686. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --10jrOL3x2xqLmOsH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTQmvnAAoJEPU2Bp2uRE+gxCEP+wfk3yGXDhUUpn6xBnSo2bXw Nmfk3zuuN4+IU8OSmU/n4h0Ob3VDzMS0bKbc3ZdsB66VJHKTjKgoFS7wEcsoZPI3 NtCgJljX0r6hw7FZQX/MyC0NaVgYv94mOxM/xdAoNr0GhM3q1YDqppGxvKGOPCVu DknVKQRzihUMl281+YsLbhnaIt+Ip5nwalW48y6RnLgJHUH0S6BdlOuAjhtEapMo iPJ3RBBGkoAEzAVaCq66W2AMhUI6HvNR8Do3dgdze3nDfU20yAfr795zw0o2VHpl aJ13dgBhpXlPy34kN9F+0p+3+nhJZBKXMYgUQ6/a2QoXdpklZNBQsjGLrMBPcfWT z1U7CO1Wyh2P4Kpdil5cU9Q6EyZGOTXtnHTGxVvwnFCl16R7+NFoQs8nM4r6tfXq jIXa6Wwx+BV2aX9QxcqW20bPdHUH5WJ5J3dwbsdRJ1bjnoYKXciGbR9oE67vIib4 9FnWpjGGL+djsvaq0Mr9VLCczD4GvkXlJKlbOVgC+gDCgIm8tQPs645tcCoz6aVX mc7luAr6qRD6DRl7Gjtki05Q6vatjz5C2P6juyN31joc2QsUvMLSyAnxcsT0BGYL 9RAbMuY7KzIc6URHQL+Lk41obRCLIMHvwpa7OSm6Kc1rcxgCUeNBdyWrDAjQ9Hqe 6DEzBUCOOiX9Ba77Am71 =sLRg -----END PGP SIGNATURE----- --10jrOL3x2xqLmOsH--