This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]