[pgrouting-dev] AssertFailedException: false (2.6.1)

Spencer Gardner spencergardner at gmail.com
Wed Oct 31 16:06:31 PDT 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20181031/1f9abf85/attachment.html>


More information about the pgrouting-dev mailing list