[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cygwn 5.19 with X-win bootstrap
From: |
djh |
Subject: |
Re: cygwn 5.19 with X-win bootstrap |
Date: |
Fri, 02 Jun 2006 18:03:27 +0900 |
> From: Eli Zaretskii <address@hidden>
> .....
> 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 <RET> 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 ----------