public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Error message...
@ 2001-07-23 12:13 Cristiano Ligieri Pereira
  2001-07-23 14:53 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Cristiano Ligieri Pereira @ 2001-07-23 12:13 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

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. 

PS: It comes out from the Compaq Ipaq running eCos. I'm using the serial
port to debug it and see the messages.

Thanks,
Cristiano.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [ECOS] Error message...
  2001-07-23 12:13 [ECOS] Error message Cristiano Ligieri Pereira
@ 2001-07-23 14:53 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2001-07-23 14:53 UTC (permalink / raw)
  To: Cristiano Ligieri Pereira; +Cc: ecos-discuss

On 23-Jul-2001 Cristiano Ligieri Pereira wrote:
> 
> Hi all,
> 
> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-23 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-23 12:13 [ECOS] Error message Cristiano Ligieri Pereira
2001-07-23 14:53 ` Gary Thomas

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).