Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Killing a program started from the dock




On Jul 8, 2007, at 2:38 PM, Travis Risner wrote:

Hi,

I am trying to kill a program via kill -QUIT <pid>. However, the signal is ignored, even when sent by root. An ordinary kill <pid> works fine. The program is started from a bash shell, which then invokes the JVM to start a Java program. I am trying to create a thread dump of the program (the reason for the -QUIT signal).

Is this enough information to reproduce the problem? Is there a better forum to ask this question? Is there an alternative way to get a thread dump?

From a shell if I'm understanding correctly means from Terminal and the stack trace should go back to there? Otherwise for say an application the stack trace output would go to the system log which can be viewed by Console.app. Have you checked there on the off chance? Or does the application itself redirect output to some file? A few applications throw me with that sometimes.
Can you command line launch from terminal and try it that way? Although that doesn't fix the problem if there really is one.


Mike Hall        hallmike at att dot net
http://www.geocities.com/mik3hall
http://sourceforge.net/projects/macnative



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Killing a program started from the dock (From: Travis Risner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.