public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Cristiano Ligieri Pereira <cpereira@ics.uci.edu>
To: "Trenton D. Adams" <tadams@extremeeng.com>
Cc: 'eCos Discussion' <ecos-discuss@sourceware.cygnus.com>
Subject: RE: [ECOS] RE: SIGTRAP problem.
Date: Wed, 01 Aug 2001 14:23:00 -0000	[thread overview]
Message-ID: <Pine.SOL.4.20.0108011418140.19405-100000@washoe.ics.uci.edu> (raw)
In-Reply-To: <000401c11ace$82b83520$090110ac@TRENT>

The source of the problem was varying but mostly in the eCos code. I was
playing with the core frequency of the processor the cause of the problem
was that the memory was getting inaccessible.

I don't thing it helps you on solving your problem, but at least give you
an idea on what might cause a SIGTRAP.

Cristiano.

------------------------------------------------------------
Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira

On Wed, 1 Aug 2001, Trenton D. Adams wrote:

> Did yours happen in one of your functions, or inside a function in eCos?
> 
> Mine is happening in accept ().  Is that where yours happened?
> 
>   > -----Original Message-----
>   > From: Cristiano Ligieri Pereira [ mailto:cpereira@ics.uci.edu ]
>   > Sent: Wednesday, August 01, 2001 3:06 PM
>   > To: Trenton D. Adams
>   > Cc: eCos Discussion
>   > Subject: Re: [ECOS] RE: SIGTRAP problem.
>   > 
>   > 
>   > I've got the same error message some time ago and was wondering the
> same
>   > thing. Here is what Gary Thomas replied me:
>   > 
>   > > What's the exact meaning of this [error] message?
>   > >
>   > > "Program received signal SIGTRAP, Trace/breakpoint trap.
>   > > 0x62160 in some_function ()"
>   > >
>   > > Is it an error in my application? If not, can I avoid (by doing
> some
>   > > configuration) having it stopping my application.
>   > >
>   > 
>   > It definitely is in you application.  Since eCos is designed for
>   > embedded
>   > use, it makes no sense [normally] to go on if such a thing happens,
> as
>   > this is often quite serious.  You'll have to debug your application
> and
>   > fix it, sorry.
>   > 
>   > > PS: It comes out from the Compaq Ipaq running eCos. I'm using the
>   > serial
>   > > port to debug it and see the messages.
>   > 
>   > I'd guess it means that the program ran away and ended up executing
>   > garbage.
>   > 
>   > Basically, the error means that there was some sort of execution
>   > error - probably an illegal instruction.
>   > 
>   > First thing would be to use GDB and see if you can get a backtrace.
>   > Then you can figure out how it got there.
>   > 
>   > ------------------------------------------------------------
>   > Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira
>   > 
> 
> 
> 

  reply	other threads:[~2001-08-01 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01 13:58 Trenton D. Adams
2001-08-01 14:06 ` Cristiano Ligieri Pereira
2001-08-01 14:11   ` Trenton D. Adams
2001-08-01 14:23     ` Cristiano Ligieri Pereira [this message]
2001-08-01 14:24   ` Trenton D. Adams

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=Pine.SOL.4.20.0108011418140.19405-100000@washoe.ics.uci.edu \
    --to=cpereira@ics.uci.edu \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=tadams@extremeeng.com \
    /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).