Skip to content
Advertisement

Tag: signals

How do I trigger the default signal handling behavior?

In my Java application I want to capture SIGINTs, do some pre-processing, and then let the default behavior (process termination) run. I would think I could do something like this: However when I send at SIGINT to this application, I get a SEGV: It seems SignalHandler.SIG_DFL is not meant to be called directly (even from other signal handling code). So

Android Fatal Signal 11

In the app I’m developing on Android, I keep getting a Fatal Signal 11 error. I think it’s something to do with the way that I’m accessing the memory but I can’t figure out what is causing it. Here’s the LogCat: Answer I had been trying to call an uninitialised Canvas inside another Class so when it was trying to

How netbeans stops a run?

I’m programming with Java in Linux using Netbeans 7 and as my program (sometimes) could not exit (not in this eon, maybe) I create a thread to handle shutdown But when I launch the code with netbeans (F6) and stop it through the “STOP” button the thread is not created; but if I run the program through the terminal and

Advertisement