All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Subject: Re: segfault with backtrace and information
Date: Mon, 09 Dec 2002 20:34:49 +0300	[thread overview]
Message-ID: <3DF4D439.9040108@yahoo.com> (raw)

Hello.

Peter Jay Salzman wrote:
> #0  0x080aeda4 in real_yylex (yylval=0x4d003b) at lexer.l:707
[]
> Cannot access memory at address 0x4d003b
> i'm a bit confused at this point.  it looks like the address returned 
> by strdup is no good, but i have no idea how that can be.
It is rather an yylval points to a wrong
place (0x4d003b), so dereferencing it
fails.
Try:
(gdb) b real_yylex
(gdb) r
Breakpoint 1, real_yylex (yylval=0xbfffee78) at lex.yy.c:1598
1598		if ( yy_init )
(gdb) bt

> this seems to be a problem with
> this machine only, but nothing about this looks arch dependent to me.
Maybe optimisation? What gcc do you have?
Try different versions like 2.91 (aka kgcc
if it is a RedHat distro), 2.95 or 3.x.

> any suggestions?
Try running dosemu under a memory debugger
(I use njamd for that) - maybe it is a
memory corruption somewhere.
Or maybe upgrade your bison/flex?


             reply	other threads:[~2002-12-09 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-09 17:34 Stas Sergeev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-08 20:30 segfault with backtrace and information Peter Jay Salzman
2002-12-08 20:31 ` Peter Jay Salzman
2002-12-14 13:23 ` Emmanuel Jeandel

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=3DF4D439.9040108@yahoo.com \
    --to=stssppnn@yahoo.com \
    --cc=linux-msdos@vger.kernel.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.
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.