| 1 | Please read the following carefully before submitting this new issue. |
| 2 | |
| 3 | - Please ensure, that you are really reporting a bug. When in doubt, post a |
| 4 | message on <https://groups.google.com/forum/#!forum/libmodbus> or send an |
| 5 | email to [email protected] |
| 6 | |
| 7 | - Please do not open issues to ask questions about using libmodbus. Use the |
| 8 | mailing list for this as there are many more people reading that list, who |
| 9 | could help you. |
| 10 | |
| 11 | - When using libmodbus from a distribution (Debian, Fedora...), please report |
| 12 | the bug first in the bug tracker of the distribution. The reason for doing so |
| 13 | is that the package maintainer should have a chance to look at the issue first |
| 14 | as it might be a packaging error. If/when the package maintainer comes to the |
| 15 | conclusion that is really an upstream bug, then he/she will usually report it |
| 16 | here by himself/herself. This is because he/she is interested in staying in |
| 17 | the notification chain to decide about a backport as soon as a bugfix is |
| 18 | available. Otherwise you (distribution user) will be asked to do so |
| 19 | explicitly. |
| 20 | |
| 21 | When you get here and you are still convinced that you want to report a bug: |
| 22 | |
| 23 | - *Use a clear and descriptive title* for the issue to identify |
| 24 | |
| 25 | - *Which version of libmodbus are you using?* you can obtain this information |
| 26 | from your package manager or by running `pkg-config --modversion libmodbus`. |
| 27 | You can provide the sha1 of the commit if you have fetched the code with `git`. |
| 28 | |
| 29 | - *Which operating system are you using?* |
| 30 | |
| 31 | - *Describe the exact steps which reproduce the problem* in as many details as |
| 32 | possible. For example, the software/equipment which runs the Modbus server, how |
| 33 | the clients are connected (TCP, RTU, ASCII) and the source code you are using. |
| 34 | |
| 35 | - *Enable the debug mode*, libmodbus provides a function to display the content |
| 36 | of the Modbus messages and it's very convenient to analyze issues |
| 37 | (<http://libmodbus.org/docs/modbus_set_debug/>). |
| 38 | |
| 39 | Good bug reports provide right and quick fixes! |
| 40 | |
| 41 | Finally, thank you very much for using libmodbus and taking the time to |
| 42 | file a good bug report. Doing so signals your respect for the developers. |
| 43 | |
| 44 | The following template helps you to address the points above. Please delete |
| 45 | everything up to and including the following line which starts with ---. |
| 46 | |
| 47 | --- |
| 48 | |
| 49 | ## libmodbus version |
| 50 | |
| 51 | <libmodbus version or sha1 of the latest commit> |
| 52 | |
| 53 | ## OS and/or distribution |
| 54 | |
| 55 | <e.g. Windows, Linux... version> |
| 56 | |
| 57 | ## Environment |
| 58 | |
| 59 | <e.g. CPU architecture, 32 vs. 64 bit...> |
| 60 | |
| 61 | ## Description |
| 62 | |
| 63 | <...> |
| 64 | |
| 65 | ## Actual behavior if applicable |
| 66 | |
| 67 | <...> |
| 68 | |
| 69 | ## Expected behavior or suggestion |
| 70 | |
| 71 | <...> |
| 72 | |
| 73 | ## Steps to reproduce the behavior (commands or source code) |
| 74 | |
| 75 | <...> |
| 76 | |
| 77 | ## libmodbus output with debug mode enabled |
| 78 | |
| 79 | <...> |