[ECOS] ASSERT FAIL
Jonathan Larmour
jlarmour@redhat.com
Wed Jun 27 10:31:00 GMT 2001
"Trenton D. Adams" wrote:
>
> I get the following error and then my program hangs. What does the <1>
> mean, and what does the [170] mean? I didn't see information on these
> numbers in the documentation. Also, my threads work just fine without
> tracing and assertions enabled.
>
> ASSERT FAIL: <1>[170]void cyg_thread_create() Bad handle pointer
>
> cyg_thread_entry_t WatchSlot;
> cyg_thread_entry_t Start;
>
> void cyg_user_start(void)
> {
>
> cyg_mutex_init(&cliblock);
>
> cyg_thread_create(4, WatchSlot, (cyg_addrword_t) 0,
> "Slot Watch", (void *) stack[0], 4096,
> &slotWatch, &thread_s[0]);
> cyg_thread_create(4, Start, (cyg_addrword_t) 0,
> "Start", (void *) stack[1], 4096,
> &start, &thread_s[1]);
^^^^^
Not &Start?
You'll find that "start" from vectors.S is polluting your namespace. This
is a bug in vectors.S. Many of the labels were chosen without leading
underscores to make them reserved. Patches to fix this are welcome :-|.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/
More information about the Ecos-discuss
mailing list