why my program crashes as a background application?
my program runs well as a foreground application, but it crashes when running as a background one.
have ever met this problem?
I have had similar happen once with a java program I wrote. It seems it would run perpetually in foreground, but after running a day or so in background it would crash. I need to learn how to do more file io stuff so i can create an error catching log for it while it's in the background. But right now it's 200 on my TODO list.
How are the java program launched ?
With what JVM ?
On what O/S ?
Any log file, message, core file generated ?
Is it in java?
Not Java, but C++.There's so much code that it's not suitable to post it here.
But I have a question:
What's the essential difference between a backgroud application and a foreground one? do they use the same shared library when running?
My program needs this shared library-"/lib/i686/libpthread.so.0", I use a shell-script to run my program as a background application.
is the follow correct?
# Startup script for Test EXAMPLE
# description: Test EXAMPLE
# processname: Test
if [ $TYPE=='i686' ]
You could at least tell how it crashes ...
immediatly or after a while ?
leaving logs ? a core file ?
|All times are GMT -5. The time now is 12:58 AM.|