signals with JNI

2001-02-06 Thread Daniel Diaz
Hi, I have a problem under Linux loading the JVM since before I set a Handler to catch SIGSEGV signals. It seems that this causes some troubles when the JVM is loaded. This seems due to threads in Java. I saw several post from yourself about this topic. I include my C test file (called x.c)

Re: signals with JNI

2001-02-06 Thread cmanolache
Hi, I have a problem under Linux loading the JVM since before I set a Handler to catch SIGSEGV signals. It seems that this causes some troubles when the JVM is loaded. This seems due to threads in Java. I saw several post from yourself about this topic. Long ago... Did you tried with a

Re: signals with JNI

2001-02-06 Thread Pier Fumagalli
Daniel Diaz [EMAIL PROTECTED] wrote: Another strange problem occurs if you replace this line by system("uname -a"); after executing system() the JVM loading is blocked (in a sigsuspend I think). Could you help me on this please ? Hehehe :) You're going down hard-core on the VM :)

Re: signals with JNI

2001-02-06 Thread Pier Fumagalli
Pier Fumagalli [EMAIL PROTECTED] wrote: So far the same code you wrote works with SIGHUP, SIGKILL and SIGUSR?... Uh uh uh... So damn stupid Pier :) Now I get it, it's not because of SIGSEGV, but it's because a SIGSEGV is raised when the VM is created... :) Now I remember when I saw that