[postgis-tickets] [PostGIS] #5172: GHA ci main/main is failing

PostGIS trac at osgeo.org
Fri Jun 17 08:55:40 PDT 2022


#5172: GHA ci main/main is failing
---------------------+---------------------------
 Reporter:  robe     |      Owner:  robe
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 3.3.0
Component:  raster   |    Version:  master
 Keywords:           |
---------------------+---------------------------
 Our github action job that tests main GEOS, Master GDAL, master PostgreSQL
 is failing.  The last build of the docker image was 7hrs ago, so I assume
 it might be something changed in one of those projects.  I suspect it's
 either GDAL or PostgreSQL.

 https://github.com/postgis/postgis/runs/6938853618?check_suite_focus=true


 {{{
 PostgreSQL 15beta1 on x86_64-pc-linux-gnu, compiled by gcc (Debian
 10.2.1-6) 10.2.1 20210110, 64-bit
   Postgis 3.3.0dev - (6cd8406) - 2022-06-17 15:39:34
   scripts 3.3.0dev 6cd8406
   raster scripts 3.3.0dev 6cd8406
   GEOS: 3.11.0beta2-CAPI-1.16.0
   PROJ: 9.1.0
   SFCGAL: 1.4.1
   GDAL: GDAL 3.6.0dev-fed5a54, released 2022/06/16
 }}}

 It croaks at this point:


 {{{
 Died at ./regress/run_test.pl line 778.
  ./raster/test/regress/check_gdal .. failed (psql exited with an error:
 /tmp/pgis_reg/test_223_out)
 -----------------------------------------------------------------------------
 invalid_path
 psql:check_gdal.sql:20: server closed the connection unexpectedly
         This probably means the server terminated abnormally
         before or while processing the request.
 psql:check_gdal.sql:20: error: connection to server was lost
 -----------------------------------------------------------------------------
 make: *** [regress/runtest.mk:24: check-regress] Error 2
 [logbt] saw 'make' exit with code:2 (INT)
 [logbt] Found corefile (non-tracked) at /tmp/logbt-
 coredumps/core.12126.!usr!local!pgsql!bin!postgres
 [logbt] Processing cores...
 warning: Can't open file /dev/shm/PostgreSQL.2296011912 during file-backed
 mapping note processing
 warning: Can't open file /dev/shm/PostgreSQL.1620786782 during file-backed
 mapping note processing
 warning: Can't open file /dev/zero (deleted) during file-backed mapping
 note processing
 warning: Can't open file /SYSV002fa66a (deleted) during file-backed
 mapping note processing
 [New LWP 12126]
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 48      iofclose.c: No such file or directory.
 Core was generated by `postgres: postgres postgis_reg-3.'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0x00007f4bcc71d217 in _IO_new_fclose (fp=0x0) at iofclose.c:48
 Thread 1 (Thread 0x7f4bcc6a6740 (LWP 12126)):
 #0  0x00007f4bcc71d217 in _IO_new_fclose (fp=0x0) at iofclose.c:48
         status = <optimized out>
 #1  0x00007f4bc30eb29a in
 VSIStdinFilesystemHandler::~VSIStdinFilesystemHandler (this=<optimized
 out>, __in_chrg=<optimized out>) at cpl_vsil_stdin.cpp:399
 No locals.
 #2  0x00007f4bc30eb319 in
 VSIStdinFilesystemHandler::~VSIStdinFilesystemHandler
 (this=0x558fcf7023b0, __in_chrg=<optimized out>) at cpl_vsil_stdin.cpp:408
 No locals.
 #3  0x00007f4bc308f6a7 in VSIFileManager::~VSIFileManager
 (this=0x558fcfa7c800, __in_chrg=<optimized out>) at cpl_vsil.cpp:2795
         iter = {first = "/vsistdin/", second = 0x558fcf7023b0}
         oSetAlreadyDeleted = std::set with 16 elements = {[0] =
 0x558fcf7023b0, [1] = 0x558fcf703be0, [2] = 0x558fcf70f650, [3] =
 0x558fcf7255a0, [4] = 0x558fcf725830, [5] = 0x558fcf725ac0, [6] =
 0x558fcf72ab10, [7] = 0x558fcf749460, [8] = 0x558fcf753120, [9] =
 0x558fcf76e850, [10] = 0x558fcf76fce0, [11] = 0x558fcf8251f0, [12] =
 0x558fcfa69c40, [13] = 0x558fcfa82120, [14] = 0x558fcfa9c060, [15] =
 0x558fcfae85d0}
         oSetAlreadyDeleted = Python Exception <class 'gdb.error'> value
 has been optimized out:
         iter = Python Exception <class 'gdb.error'> value has been
 optimized out:
 #4  0x00007f4bc308f775 in VSICleanupFileManager () at cpl_vsil.cpp:2928
 No locals.
 #5  0x00007f4bc2bf0f3e in GDALDriverManager::~GDALDriverManager
 (this=0x558fcf728600, __in_chrg=<optimized out>) at
 gdaldrivermanager.cpp:273
         bHasDroppedRef = <optimized out>
         nDSCount = 0
 }}}


 This is the first failure, and no code changes have been made between now
 and last successful build aside from the docker image rebuild.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5172>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list