This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
"hello world" example crashes on synthetic linux target
- From: jufi8ni02 at sneakemail dot com
- To: ecos-discuss at sources dot redhat dot com
- Date: 7 Jan 2005 06:07:24 -0000
- Subject: [ECOS] "hello world" example crashes on synthetic linux target
- Encoding: 8bit
Folks,
I'm compiling the hello.c example provided with eCos, using the linux synthetic target (default template).
When I run the resulting object, it prints "Hello, eCos world!" then throws core.
gdb reports:
Program received signal SIGSEGV, Segmentation fault.
0x00000420 in ?? ()
(gdb) where
#0 0x00000420 in ?? ()
#1 0x01003394 in idle_thread_main (data=0)
at /home/spon/Work/RTOS/eCos_from_source_attempt_2/ecos/packages/kernel/current/src/common/thread.cxx:1245
#2 0x01003051 in Cyg_HardwareThread::thread_entry (thread=0x0)
at /home/spon/Work/RTOS/eCos_from_source_attempt_2/ecos/packages/kernel/current/src/common/thread.cxx:109
#3 0x00000000 in ?? ()
Now, I'm aware that this isn't a big problem of itself - who cares if the example program doesn't work? But I'd like to know what's going on here - how do I go about resolving this problem?
Cheers,
Tom
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss