i'm using codewarrior ide 5.7, and platform creation suite 3.0.1 Revision 1.
App don't show any message. Execution resumes:
# /usr/bin/AppTRK.elf :5005
Segmentation fault
#
At this point, i try to run using strace. We can see next messages:
/usr/bin/strace /usr/bin/AppTRK.elf :5002
execve("/usr/bin/AppTRK.elf", ["/usr/bin/AppTRK.elf", ":5002"], [/* 6 vars */]) = 0
uname({sys="Linux", node="10.10.10.9", ...}) = 0
brk(0) = 0x1003c164
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30016000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libthread_db.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\024"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=30955, ...}) = 0
mmap(0xffdb000, 83756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xffdb000
mprotect(0xffe0000, 63276, PROT_NONE) = 0
mmap(0xffeb000, 20480, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xffeb000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Other apps like ls, cp, etc works fine. Maybe a network layer problem? I try to run ping, and there is no error.
I hope this info will be usefull.