Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <3FF2414D.8060507@zoominternet.net> Date: Tue, 30 Dec 2003 22:23:57 -0500 From: Robert Baruch User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: help: dumper 1.10 not giving expected stack trace in gdb References: <3FF1F041 DOT 9010506 AT zoominternet DOT net> In-Reply-To: Content-Type: multipart/mixed; boundary="------------080407000007070503000403" X-IsSubscribed: yes --------------080407000007070503000403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Igor Pechtchanski wrote: > >If I'm reading the code correctly, the stackdump file is generated from >the failed thread. The core file contains the information about all >threads, with no info on what the current (failed) one is. So, try >running 'info threads' in gdb, and then switch to each thread using >'thread N' until you find the one that crashed. > Igor > Hi Igor, Thanks for the reply. I checked the trace on all threads, but no thread showed the expected trace (as shown below). Any ideas on how to further solve this problem? I'm also attaching the output of cygcheck -s, in case that holds a clue. Thanks for your help, --Rob $ gdb --core=t.exe.core GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin". #0 0x7ffe0304 in ?? () (gdb) info threads 3 process 2056 0x77f5f2f2 in ntdll!KiUserCallbackDispatcher () 2 process 2224 0x7ffe0304 in ?? () * 1 process 3624 0x7ffe0304 in ?? () (gdb) where #0 0x7ffe0304 in ?? () #1 0x77f5c534 in ntdll!ZwWaitForSingleObject () #2 0x77e7a62d in WaitForSingleObjectEx () #3 0x00000778 in ?? () (gdb) thread 2 [Switching to thread 2 (process 2224)]#0 0x7ffe0304 in ?? () (gdb) where #0 0x7ffe0304 in ?? () #1 0x77f5c294 in ntdll!ZwSetInformationThread () #2 0x77e72689 in SetThreadPriority () #3 0x6100fe22 in cygwin_stackdump () #4 0xfffffff0 in ?? () (gdb) thread 3 [Switching to thread 3 (process 2056)]#0 0x77f5f2f2 in ntdll!KiUserCallbackDispatcher () (gdb) where #0 0x77f5f2f2 in ntdll!KiUserCallbackDispatcher () (gdb) --------------080407000007070503000403 Content-Type: application/gzip; name="cygcheck.txt.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="cygcheck.txt.gz" H4sICOxA8j8AA2N5Z2NoZWNrLnR4dACVmVlv4zgSgJ/XgP8DXxaTQa8OUocP YB6ySXqmsZMD43RnFgiQkSXa5lgXJNk5fv0WdVOk5azQQFusr4pFslhkKdPJ 1fv2lcXoicULx7h7RFdJvGHbQ+YVLInRNfO2cZIXzM+nk6tDltG4QKv3vKAR emQRXaLHA0XX1EeWiQhZwj+8QMQ0relkOgGjQfKaoz8f0G9JRNFNwEqrP2iG HB2jfx9YGCDimiZa0ezIfIoePH+PMFd+8Ird8h9Xy2e/9PD5kGfPYeJ74fOa xdNJT3LunWv+ifEfbi3xl89P3+6u759Wz3k5FIsIrSKyqpHnpzWNuGP3hyI9 FGiTJRESOn1mgU7fKLqIk7jIqf/zdPL92/USYdOcXdzsf0a/8jcHWxd3SUxB 2vv5KbP/n1HUexzbvrgMIhazvIClTbIcxMDazsX3nMIb9wBGes2yJe99OPhy LQdCrnL131/hDf2C/qJZlmQveeFlxS+i+8EhSmnGh/DTdPLb/e0NxztkB5Hx fLMH2e3lf25ebu+vS+AQszdoe3i65m8Gp4yS+r66+YM3lS/wmlP0l5b9hIoE 5b4Xo4xu+SDfudBfIrQLELp7/LriszDDC3K7RgjP/omuHtDVCn2/Qw+X6OtV OUvTSQAKftCbuDvjsvff8CmnoBlJ1WR00iq4EIJJiJKA9lBjzX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3zp6s93h5RtPqo/tQ1JLGcw /udHbVf+8ZFStKNhirx1cigQ9aCvnPpVGfU/LkZVxGgfAAA= --------------080407000007070503000403 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------080407000007070503000403--