Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2001 16:32:36 -0500 (EST)
From:      "Alexander N. Kabaev" <ak03@gte.com>
To:        hackthis <hackthis@texas.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   RE: gcc and exceptions and frame.c
Message-ID:  <XFMail.20010319163236.ak03@gte.com>
In-Reply-To: <005401c0b0b8$1e7f3ca0$6346a8c0@hackthis>

next in thread | previous in thread | raw e-mail | index | archive | help
  The stack trace looks pretty useless because of all these "cannot access
memory" messages. Anyway, it seems like your program is dying because of
unhandled exception. Either you did not provide the suitable try {} catch
construct or bug in GCC or your code prevents DWARF unwinder from finding
suitable handler for the exception.

  It there any particular reason why you are using gcc295 from ports instea=
d of
FreeBSD stock compiler? Stock compiler does not use DWARF and is supposed t=
o
handle exceptions correctly, so unless there are some really good reasons,
I would recommend you to use the stock compiler.

It is hard to say what exactly goes wrong without seeing actual code of you=
r
program.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010319163236.ak03>