[ECOS] SIGILL in open()

Brian Clausing bclausing@dramail.com
Fri Jul 20 13:14:00 GMT 2007


(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



More information about the Ecos-discuss mailing list