From: "Jan D." <jan.h.d@swipnet.se>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: DJGPP only dumps with USE_LISP_UNION_TYPE ??
Date: Mon, 08 Nov 2004 21:40:35 +0100 [thread overview]
Message-ID: <418FD9C3.7080507@swipnet.se> (raw)
In-Reply-To: <01c4c56a$Blat.v2.2.2$96dd3060@zahav.net.il>
Eli Zaretskii wrote:
>>
>>d:/djgpp/bin/ld.exe: temacs: warning: .text: line number overflow: 0x11102 > 0xffff
>
>
> This warning is harmless. It is printed by ld because Emacs is
> compiled with COFF debug info (the -gcoff option to GCC; I never got
> to making unexec work for DJGPP with the DWARF-2 debug info), and COFF
> debug info cannot have more than 64K source-line records, the
> structures that tell the debugger what is the address of each source
> line in the binary.
>
> Are you saying that building with USE_LSB_TAG undefined does not
> produce this warning? That would be extremely strange, as I don't
> think the build without USE_LSB_TAG can reduce the number of source
> lines by 1103 hex (=4355 decimal) lines, which is the difference
> between 0x11102 and 0xffff.
Yes, this is the case.
>
>
>>The OS is MS Windows XP, service pack 1.
>
>
> This is one difference between us: I never tried to build on an XP
> machine; mine runs Windows 98. Please be sure to download and install
> the latest version of djdev203.zip from this site:
>
> ftp://ftp.delorie.com/pub/djgpp/current/v2/djdev203.zip
That was the version I have (did a cmp).
>>In file included from D:/SRC/EMACS/LIB-SRC/test-distrib.c:24:
>>../src/config.h:1121:1: warning: "bzero" redefined
>>In file included from ../src/config.h:1055,
>> from D:/SRC/EMACS/LIB-SRC/test-distrib.c:24:
>>d:/djgpp/include/string.h:55:1: warning: this is the location of the previous definition
>
>
> This is an annoyance (I fixed it locally for me a long time ago, but
> now I see my fix is not good for others). I will fix that now in a
> better way in the Emacs CVS; stay tuned. Again, I don't think it's
> relevant to your problem, but perhaps it could explain why I don't see
> the bug. Hmm...
This annoyance is gone now, thanks.
> Hmm.. sounds like a real bug, which somehow doesn't happen for me. I
> will try several things to reproduce it, but in the meanwhile, please
> try to debug the crash using the guidelines in etc/DEBUG (under
> "Debugging problems which happen in GC"), as from the debug session
> you posted earlier it looked like a real integer crept into a Lisp
> object, i.e. somewhere we don't call make_number or something. Please
> try to find out what Lisp data structure is being marked at the point
> of the crash; when we know that, a simple search through sources
> should pinpoint the offender.
>
> Note that hardware-assisted breakpoints and watchpoints don't work on
> XP in the DJGPP port of GDB (due to a bug in the XP implementation of
> the DPMI spec), so don't try to use hbreak and watch commands. (What
> version of GDB do you have installed, btw?)
GDB 6.1.1.
The variable it craches on is Vbuffer_local_symbols (I found out that
earlier). I don't think a real integer was inserted, but the data has
been corrupted. For example. the array size of Vbuffer_local_symbols is
3305473. I don't think that is reasonable. last_marked didn't give any
useful information. I looked at the 70 last marked objects, there where
mainly zeros, with a couple of Qt and Qnil here and there.
Stefan wrote:
> To debug problems related to USE_LSB_TAG, the first thing to do is to
> use -DENABLE_CHECKING. Of course it doesn't always help,
It does in this case:
Emacs fatal error: buffer.c:4944: assertion failed: XTYPE
(&buffer_defaults) == 0
In gdb I see that &buffer_local_symbols which is what
Vbuffer_local_symbols uses, isn't aligned to an even 8 either. These
are aligned to an even 4. So DECL_ALIGN isn't working in this
configuration (?). Sounds strange.
Jan D.
next prev parent reply other threads:[~2004-11-08 20:40 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-07 10:13 DJGPP only dumps with USE_LISP_UNION_TYPE ?? Jan D.
2004-11-07 10:50 ` Andreas Schwab
2004-11-07 12:02 ` Jan D.
2004-11-07 22:03 ` Eli Zaretskii
2004-11-07 21:56 ` Eli Zaretskii
2004-11-07 23:47 ` Jan D.
2004-11-08 8:10 ` Eli Zaretskii
2004-11-08 12:56 ` Eli Zaretskii
2004-11-08 16:44 ` Eli Zaretskii
2004-11-08 20:40 ` Jan D. [this message]
2004-11-09 5:01 ` Eli Zaretskii
2004-11-09 10:25 ` Jan D.
2004-11-09 14:17 ` Stefan
2004-11-09 17:28 ` Jan D.
2004-11-10 4:42 ` Eli Zaretskii
2004-11-10 8:12 ` Jan D.
2004-11-10 21:05 ` Eli Zaretskii
2004-11-10 4:36 ` Eli Zaretskii
2004-11-12 18:23 ` Eli Zaretskii
2004-11-14 10:17 ` Jan D.
2004-11-14 20:33 ` Eli Zaretskii
2004-11-27 12:36 ` Eli Zaretskii
2004-11-27 16:31 ` Jan D.
2004-11-27 16:33 ` Eli Zaretskii
2004-11-27 18:19 ` Eli Zaretskii
2004-11-27 22:54 ` Jan D.
2004-11-11 20:03 ` Eli Zaretskii
2004-11-08 15:15 ` Stefan
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=418FD9C3.7080507@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.