Hi, "Peerless Deepak" <peerlessdriver@xxxxxxxxx> writes: > Hello All, > > I am running a snmp application and it gets crashed even before it > gets loaded in to the memory. > I am pasting below the last few lines of strace output if had thrown. > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40 > 01d000 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40 > 01e000 > syscall_983045(0x4001dab0, 0x4001dab0, 0x4001e188, 0x40023000, 0x40, 0x40023000, > 0, 0x44, 0xffff57c8, 0x400236e0, 0x40022fbc, 0xbec4da68, 0, 0xbec4d6f8, 0xfffff > ff8, 0x40001888, 0x20000010, 0x4001dab0, 0xc4e0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 > , 0, 0) = 0 > mprotect(0x40342000, 4096, PROT_READ) = 0 > mprotect(0x40333000, 4096, PROT_READ) = 0 > mprotect(0x401be000, 204800, PROT_READ|PROT_WRITE) = 0 > mprotect(0x401be000, 204800, PROT_READ|PROT_EXEC) = 0 > mprotect(0x401ba000, 4096, PROT_READ) = 0 > mprotect(0x40022000, 4096, PROT_READ) = 0 > set_tid_address(0x4001d6a8) = 826 > rt_sigaction(SIGRTMIN, {0x401a56ec, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0 > rt_sigaction(SIGRT_1, {0x401a55cc, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8 > ) = 0 > rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ > Process 826 detached > strace only shows info of the system calls. The segfault might happen in other places. You cannot locate the error only use strace. Regards, Wenhua -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ