From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "djh" Newsgroups: gmane.emacs.devel Subject: Re: cygwn 5.19 with X-win bootstrap Date: Fri, 02 Jun 2006 18:03:27 +0900 Message-ID: <20060602180327.2956@henman-np.b-eng.it.to-be.co.jp> References: <20060525133349.1416@henman-np.b-eng.it.to-be.co.jp> <20060526134758.2944@henman-np.b-eng.it.to-be.co.jp> <20060530160319.2416@henman-np.b-eng.it.to-be.co.jp> <20060601135647.3404@henman-np.b-eng.it.to-be.co.jp> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1149239038 26021 80.91.229.2 (2 Jun 2006 09:03:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jun 2006 09:03:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 02 11:03:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fm5ZR-0007IH-8A for ged-emacs-devel@m.gmane.org; Fri, 02 Jun 2006 11:03:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fm5ZQ-00035J-KA for ged-emacs-devel@m.gmane.org; Fri, 02 Jun 2006 05:03:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fm5Z8-00033Y-7M for emacs-devel@gnu.org; Fri, 02 Jun 2006 05:03:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fm5Z6-00032h-Ux for emacs-devel@gnu.org; Fri, 02 Jun 2006 05:03:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fm5Z6-00032e-Hz for emacs-devel@gnu.org; Fri, 02 Jun 2006 05:03:32 -0400 Original-Received: from [219.127.155.130] (helo=ns-2.to-be.co.jp) by monty-python.gnu.org with smtp (Exim 4.52) id 1Fm5fW-0005xS-Tf for emacs-devel@gnu.org; Fri, 02 Jun 2006 05:10:11 -0400 Original-Received: (qmail 26830 invoked from network); 2 Jun 2006 18:03:26 +0900 Original-Received: from unknown (HELO imss-3.it.to-be.co.jp) (10.128.1.23) by ns-2.to-be.co.jp with SMTP; 2 Jun 2006 18:03:26 +0900 Original-Received: (qmail 27811 invoked from network); 2 Jun 2006 18:03:26 +0900 Original-Received: from localhost (HELO imss-3.it.to-be.co.jp) (127.0.0.1) by localhost with SMTP; 2 Jun 2006 18:03:26 +0900 Original-Received: (qmail 27806 invoked by alias); 2 Jun 2006 18:03:26 +0900 Original-Received: (qmail 27788 invoked from network); 2 Jun 2006 18:03:26 +0900 Original-Received: from unknown (HELO henman-np.b-eng.it.to-be.co.jp) (10.137.6.180) by imss-3.it.to-be.co.jp with SMTP; 2 Jun 2006 18:03:26 +0900 Original-To: "Eli Zaretskii" In-reply-to: Your message of Thu, 01 Jun 2006 10:08:03 +0300 X-Mailer: MH-E 8.0; GNU Mailutils 0.6.94; GNU Emacs 22.0.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55608 Archived-At: > From: Eli Zaretskii > ..... > No, I think it's a bug that happens only with optimised code. > .... > What happens if you repeatedly type "step" until you find yourself in > some Emacs function? Once you get to an Emacs function, "bt" should > work correctly, and even if it doesn't, we will know in what place > Emacs crashes. > Here is the result: Using gdb and stepping through: I was using the 'n' command and the to continue repeating it. -------------------------------- start of gdb session cvs/emacs/lisp $ gdb ../src/bootstrap-emacs.exe (gdb) b 855 Breakpoint 1 at 0x200a23c2: file emacs.c, line 855. (gdb) run -batch --no-site-file --multibyte -f batch-byte-compile-if-not-done byte-opt.el 858 if (!initialized) (gdb) n 851 char *junk = 0; (gdb) 858 if (!initialized) (gdb) 883 sort_args (argc, argv); (gdb) 884 argc = 0; (gdb) 885 while (argv[argc]) argc++; (gdb) 887 if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args) (gdb) 1006 if (1 (gdb) 1021 newlim = re_max_failures * ratio + 200000; (gdb) 1018 ratio += ratio / 3; (gdb) 1021 newlim = re_max_failures * ratio + 200000; (gdb) 1029 if (newlim > rlim.rlim_max) (gdb) 1035 if (rlim.rlim_cur < newlim) (gdb) 1036 rlim.rlim_cur = newlim; (gdb) 1038 setrlimit (RLIMIT_STACK, &rlim); (gdb) 1043 stack_bottom = &stack_bottom_variable; (gdb) 1050 clearerr (stdin); (gdb) 1054 memory_warnings (0, malloc_warning); (gdb) 1050 clearerr (stdin); (gdb) 1054 memory_warnings (0, malloc_warning); (gdb) 1058 free (realloc (malloc (4), 4)); (gdb) 1062 uninterrupt_malloc (); (gdb) Program received signal SIGSEGV, Segmentation fault. 0x610ad945 in pthread_mutexattr_init () from /usr/bin/cygwin1.dll (gdb) Single stepping until exit from function pthread_mutexattr_init, which has no line number information. 0x7c94eaf0 in ?? () from ntdll.dll (gdb) Cannot find bounds of current function ---------------------- end of gdb output ----------