This is the mail archive of the ecos-discuss@sources.redhat.com 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]

"hello world" example crashes on synthetic linux target


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


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