This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
SIGILL in open()
- From: Brian Clausing <bclausing at dramail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 20 Jul 2007 09:15:34 -0400
- Subject: [ECOS] SIGILL in open()
(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