RE: Help needed in deciphering strace Output

2008-06-09 Thread Rajat Jain
Hi, > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) > = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by > SIGSEGV +++ > Process 826 detached What you can gather from this log is that most likely your application tried to access a memory it shouldn't (derefere

Re: Help needed in deciphering strace Output

2008-06-05 Thread Mulyadi Santosa
On Fri, Jun 6, 2008 at 8:05 AM, Guo Hongruan <[EMAIL PROTECTED]> wrote: > 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. Agree, and since nowadays most distro set core dump s

Re: Help needed in deciphering strace Output

2008-06-05 Thread Guo Hongruan
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 mmap

Re: Help needed in deciphering strace Output

2008-06-05 Thread Wenhua Zhao
Hi, "Peerless Deepak" <[EMAIL PROTECTED]> 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

Re: Help needed in deciphering strace Output

2008-06-05 Thread Bernd Petrovitsch
On Don, 2008-06-05 at 17:29 +0530, Peerless Deepak wrote: > Hello All, > > I am running a snmp application and it gets crashed even before it > gets loaded in to the memory. Probably not as this is a prerequisite to actually run the application. > I am pasting below the last few lines of strace

Help needed in deciphering strace Output

2008-06-05 Thread 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|PRO