carl  24.02
Computer ARithmetic Library
Finding and Reporting Bugs

This page is meant as a guide for the case that you find a bug or any unexpected behaviour. We consider any of the following events a (potential) bug:

  • CArL crashes.
  • A library used through CArL crashes.
  • CArL gives incorrect results.
  • CArL does not terminate (for reasonably sized inputs).
  • CArL does not provide a method or functionality that should be available according to this documentation.
  • CArL does not provide a method or functionality that you consider crucial or trivial for some of the datastructures.
  • Compiling the CArL library fails.
  • Compiling your code using CArL fails and you are pretty sure that you use CArL according to this documentation.

In any of the above cases, make sure that:

  • You have installed all necessary Dependencies in the required versions.
  • You work on something that is similar to a system listed as supported platform at Getting Started.
  • You can (somewhat reliably) reproduce the error with a (somewhat) clean build of CArL. (i.e., you did not screw up the CMake flags, see Building with CMake for more information)
  • You compile either with CMAKE_BUILD_TYPE=DEBUG or DEVELOPER=ON. This will give additional warnings during compilation and enable assertions during runtime. This will slow down CArL significantly, but detect errors before an actual crash happens and give a meaningful error message in many cases.

If you are unable to solve issue yourself or you find the issue to be an actual bug in CArL, please do not hesitate to contact us. You can either contact us via email (if you suspect a configuration or usage issue on your side) or create a ticket in our bug tracker (if you suspect an error that is to be fixed by us). We use the github bug tracker at https://github.com/ths-rwth/carl/issues.

When sending us a mail or creating a ticket, please provide us with:

  • Your system specifications, including versions of compilers and libraries listed in the dependencies.
  • The CArL version (release version or git commit id).
  • A minimal working example.
  • A description of what you would expect to happen.
  • A description of what actually happens.