public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Earnie Boyd <earnie_boyd@yahoo.com>
To: Reuben Thomas <rrt1001@cam.ac.uk>
Cc: cygwin users <cygwin@sourceware.cygnus.com>
Subject: Re: Linking problem
Date: Mon, 27 Nov 2000 07:11:00 -0000	[thread overview]
Message-ID: <20001127151140.9886.qmail@web114.yahoomail.com> (raw)

--- Reuben Thomas <rrt1001@cam.ac.uk> wrote:
> > Here's the deal, you're addressing uninitialized pointers.  The addresses
> > you're addressing are changed by the mear moving of objects so that in one
> case
> > your addressing memory outside of the allocated memory for the process and
> in
> > the other case your addressing memory within the allocated memory for the
> > process.  You may even find that executing the "program that works" may
> give
> > SIGSEGV if started by gdb or even strace.  Often a program that SIGSEGV's
> will
> > not do so when started with gdb or strace.
> 
> Is this really true? The executable isn't even getting as far as
> MainCRTStartup before crashing...
> 

Please, also CC the list, I can't know everything and if I'm wrong someone
we'll correct me.  AFAI've experienced, it is true, YMMV.  As for not getting
to MainCRTStartup, the references must be in one of the DLL's that's loaded
before MainCRTStartup is executed.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         < http://earniesystems.safeshopper.com >         ---
--- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > ---
---   Minimalist GNU for Windows < http://www.mingw.org/ >   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

             reply	other threads:[~2000-11-27  7:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-27  7:11 Earnie Boyd [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-26  7:20 向阳 韩
2004-11-26 18:45 ` Larry Hall
2002-01-04  4:50 linking problem Guenther Sohler
2002-01-07  5:37 ` Pavel Tsekov
2001-08-24 15:10 Linking Problem Heribert Dahms
2001-08-23 22:06 Krishna, Buska (IE10)
2000-11-26 17:53 Linking problem Earnie Boyd
2000-11-23  4:20 Reuben Thomas
2000-11-24  5:25 ` Reuben Thomas
1998-09-18 22:21 linking problem Frankie Ramos

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=20001127151140.9886.qmail@web114.yahoomail.com \
    --to=earnie_boyd@yahoo.com \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=rrt1001@cam.ac.uk \
    /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 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).