# Open ParaView File Fatal error if paraview launched with --multi-servers option

**URL:** https://discourse.paraview.org/t/open-paraview-file-fatal-error-if-paraview-launched-with-multi-servers-option/6447
**Category:** ParaView Support
**Created:** [February 11, 2021, 5:49pm UTC](https://discourse.paraview.org/t/open-paraview-file-fatal-error-if-paraview-launched-with-multi-servers-option/6447 "2021-02-11T17:49:32Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nitawa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nitawa/32/17204_2.png) [@nitawa](https://discourse.paraview.org/u/nitawa)
#### Post date: [February 11, 2021, 5:49pm UTC](https://discourse.paraview.org/t/open-paraview-file-fatal-error-if-paraview-launched-with-multi-servers-option/6447/1 "2021-02-11T17:49:32Z")

</div>

Dear experts,  
running paraview with **–multi-servers** option generates a fatal error if user opens a file, after disconnecting from a server.  
the issue can be reproduced as follows:

- in a terminal, start **pvserver**
- in a second terminal, type: **paraview --multi-servers**
- in the main menu bar, click on connect and connect to server
- in the pipeline, select the server and click on disconnect
- in the main menu bar, select File - Open  
**==\> Paraview crash.**

Digging this out, it seems that in method **pqLoadDataReaction::loadData()**  
`pqServer* server = pqActiveObjects::instance().activeServer();`  
returns NULL which leads to the crash.  
Replacing :  
`pqServer* server = pqActiveObjects::instance().activeServer();`  
with :  
`pqServer* server = pqApplicationCore::instance()->getActiveServer();`

seems to fix the issue which can be reproduced with Paraview 5.9  
Thanks.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [February 11, 2021, 5:55pm UTC](https://discourse.paraview.org/t/open-paraview-file-fatal-error-if-paraview-launched-with-multi-servers-option/6447/2 "2021-02-11T17:55:01Z")

</div>

Cc: @utkarsh.ayachit

---

<div class="post-metadata">

### Author: ![theodorebaltis](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e480ec/32.png) [@theodorebaltis](https://discourse.paraview.org/u/theodorebaltis)
#### Post date: [February 11, 2021, 6:34pm UTC](https://discourse.paraview.org/t/open-paraview-file-fatal-error-if-paraview-launched-with-multi-servers-option/6447/3 "2021-02-11T18:34:37Z")

</div>

I’m curious why you are using the `--multi-servers` flag if you are only connecting to one server?

Not trying to be a jerk, just wondering if there’s some kind of functionality I’m unaware of 🙂  
I just started using this flag myself but always with the server.

---

<div class="post-metadata">

### Author: ![nabilG](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/22d042/32.png) [@nabilG](https://discourse.paraview.org/u/nabilG)
#### Post date: [July 23, 2021, 10:33am UTC](https://discourse.paraview.org/t/open-paraview-file-fatal-error-if-paraview-launched-with-multi-servers-option/6447/4 "2021-07-23T10:33:54Z")

</div>

Hi,  
apologize, but do you know the status of this bug report?  
Nabil (strangely, I can not use the double authentification with my Github account on Paraview.  
It seems that the Two-factor authentification does not really work for Paraview Discourse.

> Two-Factor Authentication  
> Protect your account with one-time use security codes.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 2, 2021, 9:25am UTC](https://discourse.paraview.org/t/open-paraview-file-fatal-error-if-paraview-launched-with-multi-servers-option/6447/5 "2021-08-02T09:25:12Z")

</div>

nothing happened yet, first an actual issue would need to be created:  
[https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)
