Mercurial > hg > orthanc-book
comparison Sphinx/source/faq/crash.rst @ 241:f277d18e8d71
link to debug plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 Apr 2019 10:36:13 +0200 |
parents | ea82efa0885a |
children | 26b0d7ece4af |
comparison
equal
deleted
inserted
replaced
240:ea82efa0885a | 241:f277d18e8d71 |
---|---|
67 -------------------------- | 67 -------------------------- |
68 | 68 |
69 .. highlight:: bash | 69 .. highlight:: bash |
70 | 70 |
71 The Orthanc project provides precompiled debug binaries that can be | 71 The Orthanc project provides precompiled debug binaries that can be |
72 run on almost any recent GNU/Linux system. This allows to generate a | 72 run on almost any recent GNU/Linux system (generated thanks to the |
73 backtrace (the famous "core dumped" message) that can be analyzed by | 73 `LSB - Linux Standard Base SDK |
74 any developer of Orthanc. Assuming that the :ref:`plugin above | 74 <https://en.wikipedia.org/wiki/Linux_Standard_Base>`__). This allows |
75 <segfault-plugin>` is available as the ``crash.cpp`` file, here is a | 75 to generate a backtrace (the famous "core dumped" message) that can be |
76 sample debug session:: | 76 analyzed by any developer of Orthanc. Assuming that the :ref:`plugin |
77 above <segfault-plugin>` is available as the ``crash.cpp`` file, here | |
78 is a sample debug session:: | |
77 | 79 |
78 $ wget http://lsb.orthanc-server.com/orthanc/debug/1.5.6/Orthanc | 80 $ wget http://lsb.orthanc-server.com/orthanc/debug/1.5.6/Orthanc |
79 $ chmod +x ./Orthanc | 81 $ chmod +x ./Orthanc |
80 $ gcc -fPIC -shared ./crash.cpp -I ~/orthanc/Plugins/Include -o crash.so | 82 $ gcc -fPIC -shared ./crash.cpp -I ~/orthanc/Plugins/Include -o crash.so |
81 $ ulimit -c unlimited | 83 $ ulimit -c unlimited |
108 <https://groups.google.com/forum/#!forum/orthanc-users>`__. | 110 <https://groups.google.com/forum/#!forum/orthanc-users>`__. |
109 | 111 |
110 **Important:** The Orthanc developers will only be able to analyze the | 112 **Important:** The Orthanc developers will only be able to analyze the |
111 ``core`` files generated by our own precompiled binaries! | 113 ``core`` files generated by our own precompiled binaries! |
112 | 114 |
113 NB: In the future, debug binaries will be provided for the official | 115 **Plugins:** Besides the Orthanc core, debug binaries of the official |
114 plugins (work in progress). | 116 plugins precompiled using the LSB are also available at the following |
117 locations: | |
115 | 118 |
119 * `Orthanc core <http://lsb.orthanc-server.com/orthanc/debug/>`__ | |
120 * `DICOMweb plugin <http://lsb.orthanc-server.com/plugin-dicom-web/debug/>`__ | |
121 * `MySQL plugin <http://lsb.orthanc-server.com/plugin-mysql/debug/>`__ | |
122 * `Orthanc Web viewer <http://lsb.orthanc-server.com/plugin-webviewer/debug/>`__ | |
123 * `PostgreSQL plugin <http://lsb.orthanc-server.com/plugin-postgresql/debug/>`__ | |
124 * `Transfers accelerator plugin <http://lsb.orthanc-server.com/plugin-transfers/debug/>`__ | |
125 * `Whole-slide imaging <http://lsb.orthanc-server.com/whole-slide-imaging/debug/>`__ | |
126 | |
116 | 127 |
117 Docker | 128 Docker |
118 ------ | 129 ------ |
119 | 130 |
120 To be written. | 131 To be written. |