unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org, jasonr@gnu.org
Subject: Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk]
Date: Mon, 04 Feb 2008 09:39:38 +0100	[thread overview]
Message-ID: <47A6CF4A.9050805@alice.it> (raw)
In-Reply-To: <uzluhtku9.fsf@gnu.org>

Eli Zaretskii ha scritto:
>> Date: Sun, 03 Feb 2008 22:14:35 +0100
>> From: Angelo Graziosi <angelo.graziosi@alice.it>
>> CC: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
>>
>>> There are no Emacs symbols in there. Are you deliberately building 
>>> without debug info?
>>>
>>>
>> The debug (-g) info should be active (see [1] or [2]). Shortly, I use
>>
>> ../configure
>> make bootstrap.
> 
> Try using -g3 -O1, it should produce better debug info.  Not sure if
> it will help in this case, though.

Concorde! In any case, for the sake of completeness, below the results.

Cheers,
    Angelo.

===================================================
cd /tmp/build

CFLAGS='-g3 -O1' /tmp/emacs/configure --with-x-toolkit=lucid 2>&1 | tee 
emacs-session.log

make bootstrap  2>&1 | tee -a emacs-session.log

gdb /tmp/build/src/temacs
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 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"...
(gdb) run --batch --load loadup bootstrap
Starting program: /tmp/build/src/temacs.exe --batch --load loadup bootstrap
Loaded symbols for /c/WINDOWS/system32/ntdll.dll
Loaded symbols for /c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /c/WINDOWS/system32/advapi32.dll
Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /c/WINDOWS/system32/secur32.dll
Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll
Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Loaded symbols for /usr/bin/cygjpeg-62.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /usr/bin/cygtiff-5.dll
Loaded symbols for /usr/bin/cygungif-4.dll
Loading loadup.el (source)...
Using load-path (/tmp/emacs/lisp /tmp/emacs/lisp/emacs-lisp 
/tmp/emacs/lisp/language /tmp/emacs/lisp/international 
/tmp/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading cus-start (source)...
Note, built-in variable `selection-coding-system' not bound
Loading international/mule (source)...
Loading international/mule-conf.el (source)...

Program received signal SIGSEGV, Segmentation fault.
0x610e1805 in _vfprintf_r () from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x610e1805 in _vfprintf_r () from /usr/bin/cygwin1.dll
#1  0x610f0358 in printf () from /usr/bin/cygwin1.dll
#2  0x610933b8 in _sigfe () from /usr/bin/cygwin1.dll
#3  0x00bf9a30 in ?? ()
#4  0x00020000 in ?? ()
#5  0x20ee0000 in bss_sbrk_buffer ()
#6  0x00020000 in ?? ()
#7  0x00033878 in ?? ()
#8  0x20159a74 in __default_morecore (increment=131072)
     at /tmp/emacs/src/gmalloc.c:1747
#9  0x20159a74 in __default_morecore (increment=131072)
     at /tmp/emacs/src/gmalloc.c:1747
#10 0x20159d2a in obtain (address=0x20ee0000, size=4368)
     at /tmp/emacs/src/ralloc.c:315
#11 0x20159fc9 in relocate_blocs (bloc=0x202ef7a0, heap=0x202dc530,
     address=0x20ee0000) at /tmp/emacs/src/ralloc.c:518
#12 0x2015a512 in r_alloc_sbrk (size=196608) at /tmp/emacs/src/ralloc.c:863
#13 0x20158781 in align (size=196608) at /tmp/emacs/src/gmalloc.c:508
#14 0x201589c5 in morecore_nolock (size=196608) at 
/tmp/emacs/src/gmalloc.c:691
#15 0x20158f9e in _malloc_internal_nolock (size=65536)
     at /tmp/emacs/src/gmalloc.c:937
#16 0x2015914f in _malloc_internal (size=65536)
     at /tmp/emacs/src/gmalloc.c:1005
---Type <return> to continue, or q <return> to quit---
#17 0x20159185 in malloc (size=65536) at /tmp/emacs/src/gmalloc.c:1029
#18 0x61057dbc in malloc () from /usr/bin/cygwin1.dll
#19 0x00010000 in ?? ()
#20 0x00000000 in ?? ()
(gdb)
===================================================




  reply	other threads:[~2008-02-04  8:39 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01 20:32 The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk] Angelo Graziosi
2008-02-02 18:03 ` Eli Zaretskii
2008-02-02 19:32   ` Angelo Graziosi
2008-02-02 19:43     ` Eli Zaretskii
2008-02-02 21:21       ` Angelo Graziosi
2008-02-03  4:10         ` Eli Zaretskii
2008-02-03  9:19           ` Angelo Graziosi
2008-02-03 19:40             ` Eli Zaretskii
2008-02-03 21:02               ` Angelo Graziosi
2008-02-03 21:02             ` Jason Rumney
2008-02-03 21:14               ` Angelo Graziosi
2008-02-04  4:19                 ` Eli Zaretskii
2008-02-04  8:39                   ` Angelo Graziosi [this message]
2008-02-04  9:00                     ` YAMAMOTO Mitsuharu
2008-02-04 10:35                       ` Angelo Graziosi
2008-02-04 11:01                         ` YAMAMOTO Mitsuharu
2008-02-04 11:11                           ` Jason Rumney
2008-02-04 20:55                         ` Eli Zaretskii
2008-02-04 22:07                           ` Angelo Graziosi
2008-02-05  4:17                             ` Eli Zaretskii
2008-02-05  2:10                           ` Angelo Graziosi
2008-02-05  4:17                             ` Eli Zaretskii
2008-02-05 10:12                               ` Angelo Graziosi
2008-02-05 10:19                                 ` Jason Rumney
2008-02-05 10:52                                   ` Angelo Graziosi
2008-02-05 11:10                                     ` Jason Rumney
2008-02-05 12:03                                       ` Angelo Graziosi
2008-02-05 20:17                                 ` Eli Zaretskii
2008-02-05 20:49                                   ` Angelo Graziosi
2008-02-06  4:10                                     ` Eli Zaretskii
2008-02-06 15:27                                       ` Angelo Graziosi
2008-05-28  2:15                                 ` Jashy
2008-05-28  3:06                                   ` Stefan Monnier
2008-05-28  3:21                                   ` YAMAMOTO Mitsuharu
2008-02-05 17:22                               ` Angelo Graziosi
2008-02-04  4:16               ` Eli Zaretskii
2008-02-04  8:58                 ` Jason Rumney
2008-02-02 18:03 ` Dan Nicolaescu
2008-02-02 18:32   ` Eli Zaretskii
2008-05-28  7:42 ` Angelo Graziosi
2008-05-28 10:20   ` Jashy
2008-05-28 10:30     ` YAMAMOTO Mitsuharu
2008-05-28 11:36       ` Jashy
2008-05-28 12:06         ` YAMAMOTO Mitsuharu
2008-05-28 13:16           ` Jashy
2008-05-28 17:21             ` Angelo Graziosi
2008-05-29  0:38               ` YAMAMOTO Mitsuharu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47A6CF4A.9050805@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).