Skip to content

WIP: Fix segfault in pqServerConfiguration::setStartupToCommand

Paul Lafoix requested to merge paul.lafoix/paraview:ServerSegFault into master

Fix #19445 (closed)

  • When creating a server configuration with startup set to command, if the command field was empty, the application crashed with an assertion failed.
  • When the startup XML element did not have a 'Command' nested element, the application crashed.

To fix this, send a qCritical message if the command is empty, and create the missing element if it is not present.

Few problems:

  • Not sure if we can create a Command element if missing.
  • The server configuration is still created even if the command is empty
Edited by Paul Lafoix

Merge request reports