Hi
Thanks for the reply i already hav an unlimited core size.
I am already using gdb.
But its not of much use.
User Profile
Collapse
-
Analysing Core - Process has crashed but stack not showing any errors
I am getting a core dump and in the core dump it says New Process 19143 etc before displaying the stack.
the stack doesnot show any errors but my process has crashed.
I am guessing the core is not showing complete info as there r some new processes created which cud hav crashed.
Can any1 help me with this. -
Generating Core Dump
I have a program that crashes, After it crashes I want to know the stack trace. coredump can give me that. I am trying to enable this before program starts, so that once the program crashes I would know where exactly it is crashing.
I have enabled core dump using
ulimit -c unlimited
and then gave a command
gcore pid
I get a file core.pid in my current working Directory.
But I am not able to view its... -
Thanks I tried it nd It worked this way. :)
But I am still not sure will this suffice my need for the entire log levels in my code but till now its good.
Thanks a lot.Leave a comment:
-
Thanks yes I found out Its going there.
I restarted the syslog service.
I have to somehow attach my Programs logging levels to the syslog() logging level so that the alerts from my code go into syslog().
Any suggestion on this issue.Leave a comment:
-
Thanks for the link but i already had a look at this link nd tried the code of the code of the example.
But I cud not figure out where to check if this is working or not.
I am not getting any log information on console when i run my binary with the example code in it.Leave a comment:
-
How to use syslog() in c to get logging from my program into system logs?
How to use syslog() for logging from a my C program -
What does ftp with -o option does???? I mean what is ftp -o??
I want to know what does ftp -o do nd hw to get it working? -
Its always big integer numbers like select returned 235038384.
select returned 235281536.
select returned 235514992.
select returned 235654336.
select returned 235839360.
select returned 236132480.
select returned 236311568.
select returned 236421936.
select returned 236671216....Leave a comment:
-
There are no files still select is returning a big number....Leave a comment:
-
-
select() i sreturning very big integer values.
i use select to let the program sleep for an hour.
After the time expires it looks up a directory for files dumped in there in this hour.
the program then parses these file.
If there r no files in the directory select() should return after time expiry with 0.
but in my case select() is returning with very big integer values evry hour.
Can some1 please help m
No activity results to display
Show More
Leave a comment: