From: Brian Clausing <bclausing@dramail.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] SIGILL in open()
Date: Fri, 20 Jul 2007 13:14:00 -0000 [thread overview]
Message-ID: <1184937334.12933.11.camel@bclausing> (raw)
(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
next reply other threads:[~2007-07-20 13:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-20 13:14 Brian Clausing [this message]
2007-07-20 19:39 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1184937334.12933.11.camel@bclausing \
--to=bclausing@dramail.com \
--cc=ecos-discuss@ecos.sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).