Re: Help needed in deciphering strace Output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Peerless Deepak 写道:
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
The getrlimit system call returns successfull, so I think it is not because of system call.
I think you had better generate the core dump file and debug it using gdb.

--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 826 detached

Can you assist me in finding the mishap guys.

Regards
Deepak

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux