public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] SIGILL in open()
@ 2007-07-20 13:14 Brian Clausing
  2007-07-20 19:39 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Clausing @ 2007-07-20 13:14 UTC (permalink / raw)
  To: ecos-discuss

(My apologies for an earlier posting with no subject.)

Running ecos 2.0 on i386, a call to mount() failed, but open() on the
device was attempted. The open code in file.cxx proceeds to the
statement

    ret = mte->fs->open( mte, dir, name, oflag, file );

whence the illegal instruction because mte->fs->open is NULL.  The
addition of a check for a null pointer seems called for.  But perhaps
correct configuration and initialization could make such an error
impossible.  Comments?

Regards,

Brian Clausing
DRA Inc



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] SIGILL in open()
  2007-07-20 13:14 [ECOS] SIGILL in open() Brian Clausing
@ 2007-07-20 19:39 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-07-20 19:39 UTC (permalink / raw)
  To: Brian Clausing; +Cc: ecos-discuss

On Fri, Jul 20, 2007 at 09:15:34AM -0400, Brian Clausing wrote:
> (My apologies for an earlier posting with no subject.)
> 
> Running ecos 2.0

You are using very old code. I suggest you first upgrade to anoncvs. If the problem still occurs we might then be able to help you.

    Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2007-07-20 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-20 13:14 [ECOS] SIGILL in open() Brian Clausing
2007-07-20 19:39 ` Andrew Lunn

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