You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Grzegorz Niemirowski (Jira)" <ji...@apache.org> on 2020/12/15 09:00:27 UTC
[jira] [Created] (DAEMON-427) Lack of JvmOptions causes crash
Grzegorz Niemirowski created DAEMON-427:
-------------------------------------------
Summary: Lack of JvmOptions causes crash
Key: DAEMON-427
URL: https://issues.apache.org/jira/browse/DAEMON-427
Project: Commons Daemon
Issue Type: Bug
Components: prunsrv
Affects Versions: 1.2.2
Reporter: Grzegorz Niemirowski
When --JvmOptions parameter is not specified, a NULL pointer is passed to setInprocEnvironmentOptions(). The function doesn't check for NULL pointer and tries to dereference it.
From the documentation I guess JvmOptions is not a mandatory parameter. It says the parameter has default value and the parameter is not mentioned in the install example. prunsrv should work without this parameter. Now it crashes and Windows returns an error: _Error 1067_: The process terminated unexpectedly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)