commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Commented: (DAEMON-156) Prunsrv crashes with access violation when stopping service
Date Sun, 11 Apr 2010 15:00:41 GMT


Sebb commented on DAEMON-156:

Further checking shows that prunsrv also misbehaves with Java 1.4.2 and 1.5.

However in these cases, prunsrv does not crash - it does not exit at all.

This can be seen by using prunsrv //TS//service interactively.

When using prunmgr this problem is not seen, I assume because service shutdown forcibly terminates
prunsrv if it does not exit.

I think the problem is in javajni.c: __apxJvmDetach but I have not been able to determine
why that is failing during shutdown.

> Prunsrv crashes with access violation when stopping service
> -----------------------------------------------------------
>                 Key: DAEMON-156
>                 URL:
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.2
>            Reporter: Sebb
> The prunsrv.exe application crashes with an access violation during the final stages
of jvm-mode service shutdown, after the service class stop method has been invoked.
> To reproduce, use the ProcrunService example, installed using ProcrunServiceInstall;
start and then stop the service.
> There should be an entry in the Dr Watson directory, and an Application Failed dialogue
box will appear.
> I don't know yet if the problem also occurs with Java or Exe mode shutdown.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message