Skip to content
Snippets Groups Projects
  • Lionel GUEZ's avatar
    c89018ce
    Change the type of `cont_list_proj` to polyline · c89018ce
    Lionel GUEZ authored
    We are circumventing a bug of the Intel Fortran compiler. This was
    tested with both ifx `2023.1.0` and ifort `2021.9.0`. The bug occurs
    on return from procedure `set_max_speed`: `free(): double free
    detected in tcache 2` and crashes execution. The bug is revealed in
    commit cc13fd5b. The GNU compiler does not have this bug.
    
    To circumvent the Intel compiler bug, instead of an ssh component of
    `cont_list_proj`, we have to use a separate array:
    `cont_list_ssh`. This is maybe for the best because the component
    `area` of `cont_list_proj` was not defined.
    c89018ce
    History
    Change the type of `cont_list_proj` to polyline
    Lionel GUEZ authored
    We are circumventing a bug of the Intel Fortran compiler. This was
    tested with both ifx `2023.1.0` and ifort `2021.9.0`. The bug occurs
    on return from procedure `set_max_speed`: `free(): double free
    detected in tcache 2` and crashes execution. The bug is revealed in
    commit cc13fd5b. The GNU compiler does not have this bug.
    
    To circumvent the Intel compiler bug, instead of an ssh component of
    `cont_list_proj`, we have to use a separate array:
    `cont_list_ssh`. This is maybe for the best because the component
    `area` of `cont_list_proj` was not defined.