# 1.12.4 crashing

**URL:** https://discourse.orthanc-server.org/t/1-12-4-crashing/4951
**Category:** General
**Created:** [July 25, 2024, 8:24pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951 "2024-07-25T20:24:52Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![olivert](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/o/a183cd/32.png) [@olivert](https://discourse.orthanc-server.org/u/olivert)
#### Post date: [July 25, 2024, 8:24pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/1 "2024-07-25T20:24:52Z")

</div>

anyone experiencing a Boost issue with 1.12.4?

W0725 20:22:50.152667 MAIN main.cpp:917] Loading plugin(s) from: /usr/local/share/orthanc/plugins  
E0725 20:22:50.152708 MAIN PluginsManager.cpp:247] Inexistent path to plugins: /usr/local/share/orthanc/plugins  
W0725 20:22:50.152717 MAIN main.cpp:1722] Using a custom database from plugins  
W0725 20:22:50.152728 MAIN OrthancInitialization.cpp:526] Storage directory: “/var/lib/orthanc/db”  
W0725 20:22:50.159206 MAIN PluginsManager.cpp:158] The database schema already exists, checking if it needs to be updated  
W0725 20:22:50.173607 MAIN main.cpp:1688] The DB latency is 137 µs  
W0725 20:22:50.173648 MAIN HttpClient.cpp:1195] HTTPS will use the CA certificates from this file: /etc/ssl/certs/ca-certificates.crt  
I0725 20:22:50.173661 MAIN HttpClient.cpp:516] (http) Setting the default timeout for HTTP client connections: 180 seconds  
I0725 20:22:50.173676 MAIN HttpClient.cpp:500] (http) Setting the default proxy for HTTP client connections:  
I0725 20:22:50.173691 MAIN DicomAssociationParameters.cpp:397] (dicom) Default timeout for DICOM connections if Orthanc acts as SCU (client): 10 seconds (0 = no timeout)  
I0725 20:22:50.174189 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL  
I0725 20:22:50.174386 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL  
I0725 20:22:50.174680 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL  
I0725 20:22:50.174928 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL  
I0725 20:22:50.175125 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL  
W0725 20:22:50.175359 MAIN PluginsManager.cpp:224] Unregistering plugin ‘connectivity-checks’ (version 1.12.4)  
W0725 20:22:50.175787 MAIN PluginsManager.cpp:224] Unregistering plugin ‘dicom-web’ (version 1.17)  
W0725 20:22:50.176265 MAIN PluginsManager.cpp:224] Unregistering plugin ‘housekeeper’ (version 1.12.4)  
W0725 20:22:50.176564 MAIN housekeeper:/Plugin.cpp:937] Housekeeper plugin is finalizing  
W0725 20:22:50.176774 MAIN PluginsManager.cpp:224] Unregistering plugin ‘orthanc-explorer-2’ (version 1.5.1)  
W0725 20:22:50.177249 MAIN PluginsManager.cpp:224] Unregistering plugin ‘postgresql-index’ (version 6.2)  
W0725 20:22:50.177660 MAIN PluginsManager.cpp:158] PostgreSQL index is finalizing  
W0725 20:22:50.177989 MAIN PluginsManager.cpp:224] Unregistering plugin ‘postgresql-storage’ (version 6.2)  
W0725 20:22:50.178385 MAIN PluginsManager.cpp:158] PostgreSQL storage area is finalizing  
W0725 20:22:50.179214 MAIN PluginsManager.cpp:224] Unregistering plugin ‘transfers’ (version 1.5)  
W0725 20:22:50.179601 MAIN PluginsManager.cpp:158] Transfers accelerator plugin is finalizing  
E0725 20:22:50.179848 MAIN main.cpp:2133] Uncaught exception, stopping now: [boost::thread\_resource\_error: Resource temporarily unavailable]  
W0725 20:22:50.180132 MAIN main.cpp:2147] Orthanc has stopped

---

<div class="post-metadata">

### Author: ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)
#### Post date: [July 26, 2024, 1:32pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/2 "2024-07-26T13:32:23Z")

</div>

Hi,

No, never seen this error. This error should appear only if you are trying to create thousands of threads …  
Anything non-default in your configuration ?

Alain

---

<div class="post-metadata">

### Author: ![olivert](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/o/a183cd/32.png) [@olivert](https://discourse.orthanc-server.org/u/olivert)
#### Post date: [July 26, 2024, 1:53pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/3 "2024-07-26T13:53:05Z")

</div>

very strange  
using orthancteam/orthanc:latest  
tried no environment variables (except ORTHANC\_\_NAME), no configuration file  
but still the same error

---

<div class="post-metadata">

### Author: ![olivert](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/o/a183cd/32.png) [@olivert](https://discourse.orthanc-server.org/u/olivert)
#### Post date: [July 26, 2024, 1:55pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/4 "2024-07-26T13:55:13Z")

</div>

Startup command: exec “Orthanc /tmp/orthanc.json”  
W0726 13:53:47.861497 MAIN main.cpp:2059] Orthanc version: 1.12.4  
W0726 13:53:47.861690 MAIN OrthancConfiguration.cpp:58] Reading the configuration from: “/tmp/orthanc.json”  
W0726 13:53:47.893765 MAIN main.cpp:917] Loading plugin(s) from: /run/orthanc/plugins  
E0726 13:53:47.893807 MAIN PluginsManager.cpp:247] Inexistent path to plugins: /run/orthanc/plugins  
W0726 13:53:47.893817 MAIN main.cpp:917] Loading plugin(s) from: /usr/share/orthanc/plugins  
W0726 13:53:47.905883 MAIN PluginsManager.cpp:274] Registering plugin ‘gdcm’ (version 1.7)  
W0726 13:53:47.906274 MAIN PluginsManager.cpp:158] Orthanc will use GDCM to decode transfer syntax: 1.2.840.10008.1.2.4.90  
W0726 13:53:47.906296 MAIN PluginsManager.cpp:158] Orthanc will use GDCM to decode transfer syntax: 1.2.840.10008.1.2.4.91  
W0726 13:53:47.906303 MAIN PluginsManager.cpp:158] Orthanc will use GDCM to decode transfer syntax: 1.2.840.10008.1.2.4.92  
W0726 13:53:47.906310 MAIN PluginsManager.cpp:158] Orthanc will use GDCM to decode transfer syntax: 1.2.840.10008.1.2.4.93  
W0726 13:53:47.906322 MAIN PluginsManager.cpp:158] Throttling GDCM to 4 concurrent thread(s)  
W0726 13:53:47.906344 MAIN PluginsManager.cpp:158] Version of GDCM: 3.0.24  
W0726 13:53:47.906881 MAIN PluginsManager.cpp:274] Registering plugin ‘orthanc-explorer-2’ (version 1.5.1)  
W0726 13:53:47.907216 MAIN PluginsManager.cpp:158] Root URI to the Orthanc-Explorer 2 application: /ui/  
W0726 13:53:47.907363 MAIN OrthancInitialization.cpp:427] SQLite index directory: “/var/lib/orthanc/db”  
W0726 13:53:47.907720 MAIN OrthancInitialization.cpp:526] Storage directory: “/var/lib/orthanc/db”  
W0726 13:53:47.908386 MAIN HttpClient.cpp:1195] HTTPS will use the CA certificates from this file: /etc/ssl/certs/ca-certificates.crt  
W0726 13:53:47.908605 MAIN PluginsManager.cpp:224] Unregistering plugin ‘gdcm’ (version 1.7)  
W0726 13:53:47.912344 MAIN PluginsManager.cpp:224] Unregistering plugin ‘orthanc-explorer-2’ (version 1.5.1)  
E0726 13:53:47.914253 MAIN main.cpp:2133] Uncaught exception, stopping now: [boost::thread\_resource\_error: Resource temporarily unavailable]  
W0726 13:53:47.914304 MAIN main.cpp:2147] Orthanc has stopped

---

<div class="post-metadata">

### Author: ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)
#### Post date: [July 26, 2024, 3:30pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/5 "2024-07-26T15:30:09Z")

</div>

Hi @olivert

I actually already heard of this problem once with one of our customers but it took me a while to find the discussion back… After days of trials and errors on many systems, this was the final comment from our customer:

> after some investigation it ended up that updating the Docker version itself resolved that issue

HTH,

Alain.

---

<div class="post-metadata">

### Author: ![olivert](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/o/a183cd/32.png) [@olivert](https://discourse.orthanc-server.org/u/olivert)
#### Post date: [July 26, 2024, 3:50pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/6 "2024-07-26T15:50:03Z")

</div>

Thanks Alain. Just updated the Docker version and was able to get the container up and running but only on version 24.2.0. Once I try 24.6.1, Orthanc crashes with the same boost error. Again, no environmental variables, no configuration file.

---

<div class="post-metadata">

### Author: ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)
#### Post date: [July 26, 2024, 4:28pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/7 "2024-07-26T16:28:12Z")

</div>

Can you try to find which version introduces the incompatibility ?  
Note: there is a base image update from bullseye to bookworm between 24.3.2 and 24.3.3 so that’s probably a good starting point to search for …

What is your host machine ?

---

<div class="post-metadata">

### Author: ![olivert](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/o/a183cd/32.png) [@olivert](https://discourse.orthanc-server.org/u/olivert)
#### Post date: [July 26, 2024, 5:27pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/8 "2024-07-26T17:27:59Z")

</div>

Thanks again. Yes, 24.3.3 is the breaking version.  
Host machine is Ubuntu 20.04

---

<div class="post-metadata">

### Author: ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)
#### Post date: [July 26, 2024, 6:58pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/9 "2024-07-26T18:58:50Z")

</div>

> [@olivert](#):
>
> Host machine is Ubuntu 20.04

What processor: AMD or Intel or ARM ? What Docker version ?  
From a cloud provider ?

---

<div class="post-metadata">

### Author: ![olivert](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/o/a183cd/32.png) [@olivert](https://discourse.orthanc-server.org/u/olivert)
#### Post date: [July 26, 2024, 7:36pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/10 "2024-07-26T19:36:10Z")

</div>

Intel (AWS EC2 t3.large)  
Docker 20.10.0

---

<div class="post-metadata">

### Author: ![alainmazy](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/alainmazy/32/1576_2.png) [@alainmazy](https://discourse.orthanc-server.org/u/alainmazy)
#### Post date: [July 27, 2024, 5:11am UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/11 "2024-07-27T05:11:07Z")

</div>

> [@olivert](#):
>
> Docker 20.10.0

Can you update to a more recent version of Docker ? Current version is 27.1.0.

---

<div class="post-metadata">

### Author: ![olivert](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/o/a183cd/32.png) [@olivert](https://discourse.orthanc-server.org/u/olivert)
#### Post date: [July 27, 2024, 1:20pm UTC](https://discourse.orthanc-server.org/t/1-12-4-crashing/4951/12 "2024-07-27T13:20:01Z")

</div>

thanks. upgraded to 27.1.0 but still the same issue. wondering if there’s a docker caching issue using an old image, but will test more scenarios.
