[pgrouting-dev] AssertFailedException: false (2.6.1)

I recently installed a new server with Ubuntu 18.04.1 and pgrouting 2.6.1 and am seeing an AssertFailedException error when I try to do a pgr_drivingdistance. The same calls worked on my previous build, but that was with a different dataset. (Same data structure, but different data)

Is this indicative of a problem with my data? Or is this a bug related to 2.6.1? I can provide a sample dataset if that’s helpful.

The call I’m making is:

SELECT
route.node AS node_id,
route.agg_cost
FROM pgr_drivingdistance(

‘SELECT * FROM “tmp_hs_net”’,
ARRAY[28143,37447,43401,50409,91800,98234,108908,1888,1897,85914,1898,85930,112714,11851,31406,37961,43534,50994,57875,71749,77860,4424,4641,35309,53002,57762,75549,79856,80019,88626,89435,116859,37736,51812,97808]::INTEGER,
2680,
equicost:=TRUE,
directed:=TRUE
) route

Full text of the error is:

;ERROR: AssertFailedException: false at /build/pgrouting-z9Xs4y/pgrouting-2.6.1/include/dijkstra/pgr_dijkstra.hpp:591
*** Execution path***
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_Z13get_backtraceB5cxx11v+0x3c) [0x7f19a7ebda5c]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_ZN12Pgr_dijkstraIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEE39get_drivingDistance_with_equicost_pathsERSC_RKSt6vectorIlSaIlEERSt5dequeISF_ImSaImEESaISM_EEd+0x672) [0x7f19a7f129b2]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_ZN12Pgr_dijkstraIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEE29drivingDistance_with_equicostERSC_St6vectorIlSaIlEEd+0x515) [0x7f19a7f15665]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_Z19pgr_drivingDistanceIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEESt5dequeI4PathSaISE_EERT_St6vectorIlSaIlEEdbRNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE+0x162) [0x7f19a7f18bc2]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(do_pgr_driving_many_to_dist+0x2c0) [0x7f19a7f0f9c0]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(driving_many_to_dist+0x342) [0x7f19a7f0eda2]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecMakeTableFunctionResult+0x414) [0x560254af1bc4]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0x218b17) [0x560254b06b17]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecScan+0xd4) [0x560254af3894]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecProcNode+0x1c0) [0x560254aec4e0]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(standard_ExecutorRun+0x10e) [0x560254ae951e]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0x306e9f) [0x560254bf4e9f]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PortalRun+0x300) [0x560254bf6450]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PostgresMain+0x1b1d) [0x560254bf3aed]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0xa15cb) [0x56025498f5cb]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PostmasterMain+0x107b) [0x560254b9765b]

HINT:
********** Error **********

ERROR: AssertFailedException: false at /build/pgrouting-z9Xs4y/pgrouting-2.6.1/include/dijkstra/pgr_dijkstra.hpp:591
*** Execution path***
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_Z13get_backtraceB5cxx11v+0x3c) [0x7f19a7ebda5c]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_ZN12Pgr_dijkstraIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEE39get_drivingDistance_with_equicost_pathsERSC_RKSt6vectorIlSaIlEERSt5dequeISF_ImSaImEESaISM_EEd+0x672) [0x7f19a7f129b2]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_ZN12Pgr_dijkstraIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEE29drivingDistance_with_equicostERSC_St6vectorIlSaIlEEd+0x515) [0x7f19a7f15665]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_Z19pgr_drivingDistanceIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEESt5dequeI4PathSaISE_EERT_St6vectorIlSaIlEEdbRNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE+0x162) [0x7f19a7f18bc2]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(do_pgr_driving_many_to_dist+0x2c0) [0x7f19a7f0f9c0]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(driving_many_to_dist+0x342) [0x7f19a7f0eda2]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecMakeTableFunctionResult+0x414) [0x560254af1bc4]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0x218b17) [0x560254b06b17]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecScan+0xd4) [0x560254af3894]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecProcNode+0x1c0) [0x560254aec4e0]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(standard_ExecutorRun+0x10e) [0x560254ae951e]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0x306e9f) [0x560254bf4e9f]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PortalRun+0x300) [0x560254bf6450]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PostgresMain+0x1b1d) [0x560254bf3aed]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0xa15cb) [0x56025498f5cb]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PostmasterMain+0x107b) [0x560254b9765b]
SQL state: XX000

Hi,
Can you open an issue.
Include a link to the data where it fails.
Make the data as small as possible, please.
I need to reproduce the problem.

Thanks
Vicky

···
Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44, 
81739 München, Germany

Vicky Vergara
Operations Research

eMail: vicky@[georepublic.de](http://georepublic.de)
Web: [https://georepublic.info](https://georepublic.info)

Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9

Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl

Issue created:
https://github.com/pgRouting/pgrouting/issues/1152

On Wed, Oct 31, 2018 at 4:24 PM Vicky Vergara <vicky@georepublic.de> wrote:

Hi,
Can you open an issue.
Include a link to the data where it fails.
Make the data as small as possible, please.
I need to reproduce the problem.

Thanks
Vicky

On Wed, Oct 31, 2018 at 5:06 PM Spencer Gardner <spencergardner@gmail.com> wrote:

I recently installed a new server with Ubuntu 18.04.1 and pgrouting 2.6.1 and am seeing an AssertFailedException error when I try to do a pgr_drivingdistance. The same calls worked on my previous build, but that was with a different dataset. (Same data structure, but different data)

Is this indicative of a problem with my data? Or is this a bug related to 2.6.1? I can provide a sample dataset if that’s helpful.

The call I’m making is:

SELECT
route.node AS node_id,
route.agg_cost
FROM pgr_drivingdistance(

‘SELECT * FROM “tmp_hs_net”’,
ARRAY[28143,37447,43401,50409,91800,98234,108908,1888,1897,85914,1898,85930,112714,11851,31406,37961,43534,50994,57875,71749,77860,4424,4641,35309,53002,57762,75549,79856,80019,88626,89435,116859,37736,51812,97808]::INTEGER,
2680,
equicost:=TRUE,
directed:=TRUE
) route

Full text of the error is:

;ERROR: AssertFailedException: false at /build/pgrouting-z9Xs4y/pgrouting-2.6.1/include/dijkstra/pgr_dijkstra.hpp:591
*** Execution path***
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_Z13get_backtraceB5cxx11v+0x3c) [0x7f19a7ebda5c]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_ZN12Pgr_dijkstraIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEE39get_drivingDistance_with_equicost_pathsERSC_RKSt6vectorIlSaIlEERSt5dequeISF_ImSaImEESaISM_EEd+0x672) [0x7f19a7f129b2]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_ZN12Pgr_dijkstraIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEE29drivingDistance_with_equicostERSC_St6vectorIlSaIlEEd+0x515) [0x7f19a7f15665]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_Z19pgr_drivingDistanceIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEESt5dequeI4PathSaISE_EERT_St6vectorIlSaIlEEdbRNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE+0x162) [0x7f19a7f18bc2]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(do_pgr_driving_many_to_dist+0x2c0) [0x7f19a7f0f9c0]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(driving_many_to_dist+0x342) [0x7f19a7f0eda2]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecMakeTableFunctionResult+0x414) [0x560254af1bc4]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0x218b17) [0x560254b06b17]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecScan+0xd4) [0x560254af3894]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecProcNode+0x1c0) [0x560254aec4e0]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(standard_ExecutorRun+0x10e) [0x560254ae951e]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0x306e9f) [0x560254bf4e9f]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PortalRun+0x300) [0x560254bf6450]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PostgresMain+0x1b1d) [0x560254bf3aed]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0xa15cb) [0x56025498f5cb]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PostmasterMain+0x107b) [0x560254b9765b]

HINT:
********** Error **********

ERROR: AssertFailedException: false at /build/pgrouting-z9Xs4y/pgrouting-2.6.1/include/dijkstra/pgr_dijkstra.hpp:591
*** Execution path***
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_Z13get_backtraceB5cxx11v+0x3c) [0x7f19a7ebda5c]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_ZN12Pgr_dijkstraIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEE39get_drivingDistance_with_equicost_pathsERSC_RKSt6vectorIlSaIlEERSt5dequeISF_ImSaImEESaISM_EEd+0x672) [0x7f19a7f129b2]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_ZN12Pgr_dijkstraIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEE29drivingDistance_with_equicostERSC_St6vectorIlSaIlEEd+0x515) [0x7f19a7f15665]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(_Z19pgr_drivingDistanceIN9pgrouting5graph14Pgr_base_graphIN5boost14adjacency_listINS3_4vecSES5_NS3_14bidirectionalSENS0_12Basic_vertexENS0_10Basic_edgeENS3_11no_propertyENS3_5listSEEES7_S8_EEESt5dequeI4PathSaISE_EERT_St6vectorIlSaIlEEdbRNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE+0x162) [0x7f19a7f18bc2]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(do_pgr_driving_many_to_dist+0x2c0) [0x7f19a7f0f9c0]
[bt]/usr/lib/postgresql/9.5/lib/libpgrouting-2.6.so(driving_many_to_dist+0x342) [0x7f19a7f0eda2]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecMakeTableFunctionResult+0x414) [0x560254af1bc4]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0x218b17) [0x560254b06b17]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecScan+0xd4) [0x560254af3894]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(ExecProcNode+0x1c0) [0x560254aec4e0]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(standard_ExecutorRun+0x10e) [0x560254ae951e]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0x306e9f) [0x560254bf4e9f]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PortalRun+0x300) [0x560254bf6450]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PostgresMain+0x1b1d) [0x560254bf3aed]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(+0xa15cb) [0x56025498f5cb]
[bt]postgres: 9.5/main: gis san_jose 192.168.40.232(56039) SELECT(PostmasterMain+0x107b) [0x560254b9765b]
SQL state: XX000


pgrouting-dev mailing list
pgrouting-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/pgrouting-dev

Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44, 
81739 München, Germany

Vicky Vergara
Operations Research

eMail: vicky@[georepublic.de](http://georepublic.de)
Web: [https://georepublic.info](https://georepublic.info)

Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9

Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl


pgrouting-dev mailing list
pgrouting-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/pgrouting-dev