bug in pkgrid product manager

Bug #1800041 reported by Maxime Arthaud
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apron (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Release:
- Ubuntu 18.04.1 LTS
- Debian 9
Version: 0.9.10-9build4

There is a bug in the apron package. The function ap_pkgrid_manager_alloc() always returns NULL.

$ cat test.c
#include "ap_global0.h"
#include "ap_pkgrid.h"
#include "ap_ppl.h"
#include "pk.h"

int main() {
    ap_manager_t* man = ap_pkgrid_manager_alloc(pk_manager_alloc(false),
                                                ap_ppl_grid_manager_alloc());
    printf("%p\n", man);
    return 0;
}
$ gcc test.c -lap_pkgrid -lap_ppl -lpolkaMPQ -lapron -lppl -lmpfr -lgmp
$ ./a.out
(nil)

This is fixed upstream, see https://gforge.inria.fr/scm/viewvc.php/apron?view=revision&revision=594
The following patch fixes the issue: https://gforge.inria.fr/scm/viewvc.php/apron/apron/trunk/products/ap_pkgrid.c?r1=594&r2=593&pathrev=594

Thank you.

Maxime Arthaud (arthaud)
description: updated
description: updated
Maxime Arthaud (arthaud)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apron (Ubuntu):
status: New → Confirmed
Revision history for this message
Only One Cannolo (onlyonecannolo) wrote :

This bug prevents IKOS from being built for Bionic with Apron features enabled, and will be a hindrance to distributing IKOS as a package in the future.

Revision history for this message
Ivan (ivanperez-nfm) wrote :

I'm seeking to make IKOS available on Debian and Ubuntu. It'd be great if this was fixed, although it appears that apron has been completely removed in newer distros.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.