# std::bad\_alloc when clicking on Open

**URL:** https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151
**Category:** ParaView Support
**Created:** [May 25, 2023, 12:44pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151 "2023-05-25T12:44:07Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![guillaume\_Peillex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/guillaume_peillex/32/10449_2.png) [@guillaume\_Peillex](https://discourse.paraview.org/u/guillaume_Peillex)
#### Post date: [May 25, 2023, 12:44pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/1 "2023-05-25T12:44:08Z")

</div>

Hi all,

I built paraview inside a Docker container (image based on an old CentOS 7.6) using Spack.  
Everything is fine, except when i click on Open icon because paraview crashes.

I tried to investigate and the crash occurs in the `QtStringList::join` method when ParaView filters the file extensions associated with the readers selected in the settings.  
When the list of extensions (variable named `strings` in the `pqFileDialogFilter.cxx` file) has its size around 56 then the crash occurs.  
It seems to be a memory error but i’m surprised to be the only one concerned if it is the case.  
Maybe is it related to the way i use the container.  
If you have an idea about it i’ll be glad to here it.  
Thanks in advance  
G.

PS: Here is the stack when crash occurs:

```auto
paraview 
terminate called after throwing an instance of 'std::bad_alloc'
  what(): std::bad_alloc

Loguru caught a signal: SIGABRT
Stack trace:
58 0x40c60a paraview() [0x40c60a]
57 0x7f9b6f908495 __libc_start_main + 245
56 0x40c316 paraview() [0x40c316]
55 0x7f9b6cc2deae QCoreApplication::exec() + 126
54 0x7f9b6cc261c3 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 291
53 0x7f9b6cc7b2cc QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 92
52 0x7f9b523b190c g_main_context_iteration + 44
51 0x7f9b523b1888 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/glib-2.74.1-z35goliabkq5ajgmjanfhcesmirqehqv/lib/libglib-2.0.so.0(+0x59888) [0x7f9b523b1888]
50 0x7f9b523b15fc g_main_context_dispatch + 636
49 0x7f9b4094168a /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5f68a) [0x7f9b4094168a]
48 0x7f9b6d263d6a QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 186
47 0x7f9b6d2878c5 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 261
46 0x7f9b6d28651d QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 1741
45 0x7f9b6cc27538 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 328
44 0x7f9b6ec63670 QApplication::notify(QObject*, QEvent*) + 512
43 0x7f9b6ec5ca8e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 126
42 0x7f9b6ecb6e33 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x1bee33) [0x7f9b6ecb6e33]
41 0x7f9b6ecb4072 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x1bc072) [0x7f9b6ecb4072]
40 0x7f9b6ec62c4e QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 430
39 0x7f9b6cc27538 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 328
38 0x7f9b6ec643d0 QApplication::notify(QObject*, QEvent*) + 3936
37 0x7f9b6ec5ca8e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 126
36 0x7f9b6ee25113 QToolButton::event(QEvent*) + 35
35 0x7f9b6ec9a970 QWidget::event(QEvent*) + 512
34 0x7f9b6ee2507a QToolButton::mouseReleaseEvent(QMouseEvent*) + 10
33 0x7f9b6ed44c20 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 192
32 0x7f9b6ed44a1d /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x24ca1d) [0x7f9b6ed44a1d]
31 0x7f9b6ec59196 QAction::activate(QAction::ActionEvent) + 166
30 0x7f9b6ec56db2 QAction::triggered(bool) + 50
29 0x7f9b6cc58a95 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5(+0x2bea95) [0x7f9b6cc58a95]
28 0x7f9b6f453bf2 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-zi755dn6gsqfaxmk7tvcnuzhbagd6ynf/lib64/libpqApplicationComponents-pv5.11.so.1(+0x10dbf2) [0x7f9b6f453bf2]
27 0x7f9b6f4fae35 pqLoadDataReaction::loadData(bool) + 37
26 0x7f9b6f4f9cd8 pqLoadDataReaction::loadData(QSet<QPair<QString, QString> > const&, bool) + 1800
25 0x7f9b6dd3fd1a pqFileDialog::pqFileDialog(pqServer*, QWidget*, QString const&, QString const&, QString const&, bool) + 4042
24 0x7f9b6ed5a324 QComboBox::insertItems(int, QStringList const&) + 340
23 0x7f9b6d62a4ca /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5(+0x4c44ca) [0x7f9b6d62a4ca]
22 0x7f9b6d62970f /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5(+0x4c370f) [0x7f9b6d62970f]
21 0x7f9b6cbd8415 QAbstractItemModel::endInsertRows() + 181
20 0x7f9b6cbd0e9e QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) + 78
19 0x7f9b6cc58a95 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5(+0x2bea95) [0x7f9b6cc58a95]
18 0x7f9b6ed5d029 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x265029) [0x7f9b6ed5d029]
17 0x7f9b6ed582d1 QComboBox::setCurrentIndex(int) + 81
16 0x7f9b6ed580dc /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x2600dc) [0x7f9b6ed580dc]
15 0x7f9b6ed55dde /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x25ddde) [0x7f9b6ed55dde]
14 0x7f9b6ed53fc5 QComboBox::currentIndexChanged(QString const&) + 37
13 0x7f9b6cc58a95 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5(+0x2bea95) [0x7f9b6cc58a95]
12 0x7f9b6dce6609 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-zi755dn6gsqfaxmk7tvcnuzhbagd6ynf/lib64/libpqCore-pv5.11.so.1(+0x9f609) [0x7f9b6dce6609]
11 0x7f9b6dd3d4cd pqFileDialog::onFilterChange(QString const&) + 29
10 0x7f9b6dd49c4a pqFileDialogFilter::setFilter(QString const&) + 1178
9 0x7f9b6caf814a QtPrivate::QStringList_join(QStringList const*, QChar const*, int) + 474
8 0x7f9b6ca334e7 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5(+0x994e7) [0x7f9b6ca334e7]
7 0x7f9b6ca2da3e qTerminate() + 0
6 0x7f9b572a1993 /lib64/libstdc++.so.6(+0x5e993) [0x7f9b572a1993]
5 0x7f9b572a1773 /lib64/libstdc++.so.6(+0x5e773) [0x7f9b572a1773]
4 0x7f9b572a1746 /lib64/libstdc++.so.6(+0x5e746) [0x7f9b572a1746]
3 0x7f9b572a37d5 __gnu_cxx::__ verbose_terminate_handler() + 357
2 0x7f9b6f91d9b8 abort + 328
1 0x7f9b6f91c2c7 gsignal + 55
0 0x7f9b6f91c340 /lib64/libc.so.6(+0x36340) [0x7f9b6f91c340]
( 425.826s) [paraview] :0 FATL| Signal: SIGABRT
Aborted (core dumped)

```

---

<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: [May 25, 2023, 12:48pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/2 "2023-05-25T12:48:21Z")

</div>

can you build in debug and get a true backtrace ?

---

<div class="post-metadata">

### Author: ![guillaume\_Peillex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/guillaume_peillex/32/10449_2.png) [@guillaume\_Peillex](https://discourse.paraview.org/u/guillaume_Peillex)
#### Post date: [May 25, 2023, 12:51pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/3 "2023-05-25T12:51:10Z")

</div>

I will try to.

---

<div class="post-metadata">

### Author: ![guillaume\_Peillex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/guillaume_peillex/32/10449_2.png) [@guillaume\_Peillex](https://discourse.paraview.org/u/guillaume_Peillex)
#### Post date: [May 25, 2023, 2:27pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/4 "2023-05-25T14:27:04Z")

</div>

I built in debug mode but did not obtained a better backtrace:

```auto
Loguru caught a signal: SIGABRT
Stack trace:
61 0x40ccb9 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/bin/paraview() [0x40ccb9]
60 0x7f869ac57495 __libc_start_main + 245
59 0x414300 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/bin/paraview() [0x414300]
58 0x7f8697a36eae QCoreApplication::exec() + 126
57 0x7f8697a2f1c3 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 291
56 0x7f8697a842cc QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 92
55 0x7f8672c1090c g_main_context_iteration + 44
54 0x7f8672c10888 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/glib-2.74.1-z35goliabkq5ajgmjanfhcesmirqehqv/lib/libglib-2.0.so.0(+0x59888) [0x7f8672c10888]
53 0x7f8672c105fc g_main_context_dispatch + 636
52 0x7f866045a68a /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5f68a) [0x7f866045a68a]
51 0x7f869806cd6a QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 186
50 0x7f86980908c5 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 261
49 0x7f869808f51d QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 1741
48 0x7f8697a30538 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 328
47 0x7f8699dc4670 QApplication::notify(QObject*, QEvent*) + 512
46 0x7f8699dbda8e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 126
45 0x7f8699e17e33 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x1bee33) [0x7f8699e17e33]
44 0x7f8699e15072 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x1bc072) [0x7f8699e15072]
43 0x7f8699dc3c4e QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 430
42 0x7f8697a30538 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 328
41 0x7f8699dc53d0 QApplication::notify(QObject*, QEvent*) + 3936
40 0x7f8699dbda8e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 126
39 0x7f8699f86113 QToolButton::event(QEvent*) + 35
38 0x7f8699dfb970 QWidget::event(QEvent*) + 512
37 0x7f8699f8607a QToolButton::mouseReleaseEvent(QMouseEvent*) + 10
36 0x7f8699ea5c20 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 192
35 0x7f8699ea5a1d /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x24ca1d) [0x7f8699ea5a1d]
34 0x7f8699dba196 QAction::activate(QAction::ActionEvent) + 166
33 0x7f8699db7db2 QAction::triggered(bool) + 50
32 0x7f8697a61a95 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5(+0x2bea95) [0x7f8697a61a95]
31 0x7f869a5fdf4f /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/lib64/libpqApplicationComponents-pv5.11.so.1(+0x156f4f) [0x7f869a5fdf4f]
30 0x7f869a607f12 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/lib64/libpqApplicationComponents-pv5.11.so.1(+0x160f12) [0x7f869a607f12]
29 0x7f869a6eff27 pqLoadDataReaction::loadData(bool) + 53
28 0x7f869a6f0820 pqLoadDataReaction::loadData(QSet<QPair<QString, QString> > const&, bool) + 2244
27 0x7f8698c04b34 pqFileDialog::pqFileDialog(pqServer*, QWidget*, QString const&, QString const&, QString const&, bool) + 6004
26 0x7f8698c0dcfc /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/lib64/libpqCore-pv5.11.so.1(+0x153cfc) [0x7f8698c0dcfc]
25 0x7f8699ebb324 QComboBox::insertItems(int, QStringList const&) + 340
24 0x7f86984334ca /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5(+0x4c44ca) [0x7f86984334ca]
23 0x7f869843270f /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5(+0x4c370f) [0x7f869843270f]
22 0x7f86979e1415 QAbstractItemModel::endInsertRows() + 181
21 0x7f86979d9e9e QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) + 78
20 0x7f8697a61a95 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5(+0x2bea95) [0x7f8697a61a95]
19 0x7f8699ebe029 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x265029) [0x7f8699ebe029]
18 0x7f8699eb92d1 QComboBox::setCurrentIndex(int) + 81
17 0x7f8699eb90dc /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x2600dc) [0x7f8699eb90dc]
16 0x7f8699eb6dde /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5(+0x25ddde) [0x7f8699eb6dde]
15 0x7f8699eb4fc5 QComboBox::currentIndexChanged(QString const&) + 37
14 0x7f8697a61a95 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5(+0x2bea95) [0x7f8697a61a95]
13 0x7f8698b7cf9e /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/lib64/libpqCore-pv5.11.so.1(+0xc2f9e) [0x7f8698b7cf9e]
12 0x7f8698c08b3a pqFileDialog::onFilterChange(QString const&) + 52
11 0x7f8698c1a0f0 pqFileDialogFilter::setFilter(QString const&) + 1072
10 0x7f8698c1b2f4 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/lib64/libpqCore-pv5.11.so.1(+0x1612f4) [0x7f8698c1b2f4]
9 0x7f869790114a QtPrivate::QStringList_join(QStringList const*, QChar const*, int) + 474
8 0x7f869783c4e7 /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5(+0x994e7) [0x7f869783c4e7]
7 0x7f8697836a3e qTerminate() + 0
6 0x7f8678367993 /lib64/libstdc++.so.6(+0x5e993) [0x7f8678367993]
5 0x7f8678367773 /lib64/libstdc++.so.6(+0x5e773) [0x7f8678367773]
4 0x7f8678367746 /lib64/libstdc++.so.6(+0x5e746) [0x7f8678367746]
3 0x7f86783697d5 __gnu_cxx::__ verbose_terminate_handler() + 357
2 0x7f869ac6c9b8 abort + 328
1 0x7f869ac6b2c7 gsignal + 55
0 0x7f869ac6b340 /lib64/libc.so.6(+0x36340) [0x7f869ac6b340]
( 4.986s) [paraview] :0 FATL| Signal: SIGABRT

```

---

<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: [May 25, 2023, 2:29pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/5 "2023-05-25T14:29:04Z")

</div>

You need to run with gdb 🙂

---

<div class="post-metadata">

### Author: ![guillaume\_Peillex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/guillaume_peillex/32/10449_2.png) [@guillaume\_Peillex](https://discourse.paraview.org/u/guillaume_Peillex)
#### Post date: [May 25, 2023, 4:49pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/6 "2023-05-25T16:49:44Z")

</div>

Lol 😂. Sorry. Here comes the backtrace i obtained with gdb:

```auto
(gdb) backtrace 
#0 0x00007fc2932662c7 in raise () from /lib64/libc.so.6
#1 0x00007fc2932679b8 in abort () from /lib64/libc.so.6
#2 0x00007fc2709647d5 in __gnu_cxx::__ verbose_terminate_handler() () from /lib64/libstdc++.so.6
#3 0x00007fc270962746 in ?? () from /lib64/libstdc++.so.6
#4 0x00007fc270962773 in std::terminate() () from /lib64/libstdc++.so.6
#5 0x00007fc270962993 in __cxa_throw () from /lib64/libstdc++.so.6
#6 0x00007fc28fe31a3e in qBadAlloc() ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#7 0x00007fc28fe374e7 in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#8 0x00007fc28fefc14a in QtPrivate::QStringList_join(QStringList const*, QChar const*, int) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#9 0x00007fc2912162f4 in QListSpecialMethods<QString>::join (this=0x7ffd3aeebdb8, sep=...)
    at /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/include/QtCore/qstringlist.h:229
#10 0x00007fc2912150f0 in pqFileDialogFilter::setFilter (this=0x3f8ec48, filter=...)
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-src/Qt/Core/pqFileDialogFilter.cxx:95
#11 0x00007fc291203b3a in pqFileDialog::onFilterChange (this=0x7ffd3aeecaf0, filter=...)
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-src/Qt/Core/pqFileDialog.cxx:1091
#12 0x00007fc291177f9e in pqFileDialog::qt_static_metacall (_o=0x7ffd3aeecaf0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7ffd3aeec0d0)
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-build-qmez65n/Qt/Core/pqCore_autogen/EWIEGA46WW/moc_pqFileDialog.cpp:214
#13 0x00007fc29005ca95 in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#14 0x00007fc2924affc5 in QComboBox::currentIndexChanged(QString const&) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#15 0x00007fc2924b1dde in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#16 0x00007fc2924b40dc in ?? ()
---Type <return> to continue, or q <return> to quit---
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#17 0x00007fc2924b42d1 in QComboBox::setCurrentIndex(int) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#18 0x00007fc2924b9029 in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#19 0x00007fc29005ca95 in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#20 0x00007fc28ffd4e9e in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#21 0x00007fc28ffdc415 in QAbstractItemModel::endInsertRows() ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#22 0x00007fc290a2d70f in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5
#23 0x00007fc290a2e4ca in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5
#24 0x00007fc2924b6324 in QComboBox::insertItems(int, QStringList const&) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#25 0x00007fc291208cfc in QComboBox::addItems (this=0xf41180, texts=...)
    at /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/include/QtWidgets/qcombobox.h:189
#26 0x00007fc2911ffb34 in pqFileDialog::pqFileDialog (this=0x7ffd3aeecaf0, server=0x248c830, p=0xda9340, title=..., startDirectory=..., 
    nameFilter=..., supportsGroupFiles=true)
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-src/Qt/Core/pqFileDialog.cxx:438
#27 0x00007fc292ceb820 in pqLoadDataReaction::loadData (readerSet=..., groupFiles=true)
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-src/Qt/ApplicationComponents/pqLoadDataReaction.cxx:186
#28 0x00007fc292ceaf27 in pqLoadDataReaction::loadData (groupFiles=true)
---Type <return> to continue, or q <return> to quit---
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-src/Qt/ApplicationComponents/pqLoadDataReaction.cxx:92
#29 0x00007fc292c02f12 in pqLoadDataReaction::onTriggered (this=0x1260dd0)
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-build-qmez65n/Qt/ApplicationComponents/pqApplicationComponents_autogen/EWIEGA46WW/../../../../../spack-src/Qt/ApplicationComponents/pqLoadDataReaction.h:134
#30 0x00007fc292bf8f4f in pqReaction::qt_static_metacall (_o=0x1260dd0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffd3aeecee0)
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-build-qmez65n/Qt/ApplicationComponents/pqApplicationComponents_autogen/EWIEGA46WW/moc_pqReaction.cpp:79
#31 0x00007fc29005ca95 in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#32 0x00007fc2923b2db2 in QAction::triggered(bool) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#33 0x00007fc2923b5196 in QAction::activate(QAction::ActionEvent) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#34 0x00007fc2924a0a1d in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#35 0x00007fc2924a0c20 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#36 0x00007fc29258107a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#37 0x00007fc2923f6970 in QWidget::event(QEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#38 0x00007fc292581113 in QToolButton::event(QEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#39 0x00007fc2923b8a8e in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#40 0x00007fc2923c03d0 in QApplication::notify(QObject*, QEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widg---Type <return> to continue, or q <return> to quit---
ets.so.5
#41 0x00007fc29002b538 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#42 0x00007fc2923bec4e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#43 0x00007fc292410072 in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#44 0x00007fc292412e33 in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#45 0x00007fc2923b8a8e in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#46 0x00007fc2923bf670 in QApplication::notify(QObject*, QEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Widgets.so.5
#47 0x00007fc29002b538 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#48 0x00007fc29068a51d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5
#49 0x00007fc29068b8c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5
#50 0x00007fc290667d6a in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Gui.so.5
#51 0x00007fc258a5568a in ?? ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#52 0x00007fc26b20b5fc in g_main_context_dispatch ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/glib-2.74.1-z35goliabkq5ajgmjanfhcesmirqehqv/lib/libglib----Type <return> to continue, or q <return> to quit---
2.0.so.0
#53 0x00007fc26b20b888 in g_main_context_iterate.isra.26 ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/glib-2.74.1-z35goliabkq5ajgmjanfhcesmirqehqv/lib/libglib-2.0.so.0
#54 0x00007fc26b20b90c in g_main_context_iteration ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/glib-2.74.1-z35goliabkq5ajgmjanfhcesmirqehqv/lib/libglib-2.0.so.0
#55 0x00007fc29007f2cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#56 0x00007fc29002a1c3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#57 0x00007fc290031eae in QCoreApplication::exec() ()
   from /root/spack_organizer_inti/spack/opt/spack/linux-centos7-icelake/gcc-8.3.1/qt-5.14.2-yow74q3tm2q4hdy5csszuzz2s7bpvhih/lib/libQt5Core.so.5
#58 0x0000000000414300 in main (argc=1, argv=0xcf2070)
    at /tmp/root/spack019-cache/build_stage/spack-stage-paraview-5.12-themys-1.0.3-qmez65nwm6cb6vc3qbdch7rkkmdes5mg/spack-build-qmez65n/Clients/ParaView/paraview_main.cxx:151

```

---

<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: [May 25, 2023, 4:54pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/7 "2023-05-25T16:54:31Z")

</div>

Then you may want to keep going and inspect the content on `extensions_list` before the bad call on line 95 in pqFileDialogFilter.cxx

---

<div class="post-metadata">

### Author: ![guillaume\_Peillex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/guillaume_peillex/32/10449_2.png) [@guillaume\_Peillex](https://discourse.paraview.org/u/guillaume_Peillex)
#### Post date: [May 26, 2023, 11:18am UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/8 "2023-05-26T11:18:36Z")

</div>

I did it before opening this post and did not see anything particular. I remade it this morning and here is what i get:

```auto
QStringList<QString> (size = 88) = {[0] = "nc", [1] = "cdf", [2] = "elev", [3] = "ncd", [4] = "boundary", [5] = "hierarchy", [6] = "Flash", [7] = "flash", [8] = "xamr", [9] = "Xamr", 
  [10] = "XAMR", [11] = "inp", [12] = "aux", [13] = "inp", [14] = "bov", [15] = "g", [16] = "nc", [17] = "ncdf", [18] = "spcth-timeseries", [19] = "nc", [20] = "cdf", [21] = "elev", 
  [22] = "ncd", [23] = "nc", [24] = "cdf", [25] = "elev", [26] = "ncd", [27] = "ucd", [28] = "inp", [29] = "cgns", [30] = "hdf5", [31] = "h5", [32] = "gml", [33] = "xml", [34] = "claw", 
  [35] = "cmat", [36] = "cml", [37] = "h5", [38] = "ctrl", [39] = "curve", [40] = "ultra", [41] = "ult", [42] = "u", [43] = "ddcmd", [44] = "csv", [45] = "tsv", [46] = "txt", [47] = "CSV", 
  [48] = "TSV", [49] = "TXT", [50] = "dcm", [51] = "dcm", [52] = "dem", [53] = "dyn", [54] = "case", [55] = "CASE", [56] = "Case", [57] = "encas", [58] = "ENCAS", [59] = "Encas", 
  [60] = "sos", [61] = "SOS", [62] = "boundary", [63] = "hierarchy", [64] = "exvol", [65] = "facet", [66] = "Flash", [67] = "flash", [68] = "flash", [69] = "f5", [70] = "cas", [71] = "nc", 
  [72] = "cdf", [73] = "elev", [74] = "ncd", [75] = "nc", [76] = "cdf", [77] = "elev", [78] = "ncd", [79] = "nc", [80] = "cdf", [81] = "elev", [82] = "ncd", [83] = "nc", [84] = "cdf", 
  [85] = "elev", [86] = "ncd", [87] = "trg"}

```

In fact if the list is one element shorter, the crash does not occur. It definitely looks like memory related don’t you think?

---

<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: [May 26, 2023, 11:20am UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/9 "2023-05-26T11:20:22Z")

</div>

I agree, however this memory is handled by Qt fully, I dont see how we could mess it up. Valgrind may be needed but I’d not get my hopes up 😕

---

<div class="post-metadata">

### Author: ![aron.helser](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aron.helser/32/13_2.png) [@aron.helser](https://discourse.paraview.org/u/aron.helser)
#### Post date: [May 26, 2023, 1:32pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/10 "2023-05-26T13:32:39Z")

</div>

I would be suspicious of a library mis-match, potentially loading parts of Qt from an unexpected location. Try running paraview like `LD_DEBUG=libs paraview` and see if any of the loaded Qt libraries come from an unexpected system location.

---

<div class="post-metadata">

### Author: ![guillaume\_Peillex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/guillaume_peillex/32/10449_2.png) [@guillaume\_Peillex](https://discourse.paraview.org/u/guillaume_Peillex)
#### Post date: [May 26, 2023, 3:52pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/11 "2023-05-26T15:52:42Z")

</div>

I already tried valgrind but i’m facing a `valgrind unrecognised instruction at address` error.

---

<div class="post-metadata">

### Author: ![guillaume\_Peillex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/guillaume_peillex/32/10449_2.png) [@guillaume\_Peillex](https://discourse.paraview.org/u/guillaume_Peillex)
#### Post date: [May 26, 2023, 3:53pm UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/12 "2023-05-26T15:53:08Z")

</div>

Thanks for the hint Aron. I’ll give it a try.

---

<div class="post-metadata">

### Author: ![guillaume\_Peillex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/guillaume_peillex/32/10449_2.png) [@guillaume\_Peillex](https://discourse.paraview.org/u/guillaume_Peillex)
#### Post date: [June 7, 2023, 8:49am UTC](https://discourse.paraview.org/t/std-bad-alloc-when-clicking-on-open/12151/13 "2023-06-07T08:49:49Z")

</div>

I did not found the origin of the problem.  
However i found a workaround by installing a proper gcc (8.5.0 or 8.3.0) with spack and the problem seems to be solved.  
Thanks for your help.
