This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
probably simple problem: ASSERT in Cyg_StdIostream
- From: "Neundorf, Alexander" <Alexander dot Neundorf at jenoptik dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 1 Apr 2005 10:12:28 +0200
- Subject: [ECOS] probably simple problem: ASSERT in Cyg_StdIostream
Hi,
probably a simple question, but I already searched on the web for an answer but wasn't successful.
So, I added to my working firmware the File IO package, and didn't change anything in the code. Otherwise I don't use the POSIX compat. (i.e. no pthreads, no main()).
Now, when my program starts I get an assert:
ASSERT FAIL: <8>stream.inl[109]cyg_bool Cyg_StdioStream::trylock_me() Stream
object is not a valid stream!
Some stuff like diag_printf(), sprintf() etc. is used.
I guess I have to prepare something else for the File IO package.
Any hints ?
Thanks
Alex
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss