[GRASS-dev] [GRASS GIS] #3693: Issue with G76 in docker: creating a location fails

GRASS GIS trac at osgeo.org
Sun Nov 11 22:29:34 PST 2018


#3693: Issue with G76 in docker: creating a location fails
----------------------+---------------------------------
  Reporter:  neteler  |      Owner:  grass-dev@…
      Type:  defect   |     Status:  new
  Priority:  normal   |  Milestone:  7.4.3
 Component:  Startup  |    Version:  svn-releasebranch76
Resolution:           |   Keywords:  docker g.proj
       CPU:  x86-64   |   Platform:  Linux
----------------------+---------------------------------

Comment (by neteler):

 Replying to [comment:3 mmetz]:
 > This does not seem to be a GRASS-related error. Considering that the
 same (?) docker image works on a different system (docker images are
 specific to each system, right?) and that g.proj works outside docker, I
 suggest to rebuild the docker image causing trouble.

 I did so, no difference. When I delete "datum.table" then I get:

 {{{
 (gdb) r -t epsg=4326 location=location
 Starting program: /usr/local/grass-7.6.svn/bin/g.proj -t epsg=4326
 location=location
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 WARNING: Unable to open datum table file
          </usr/local/grass-7.6.svn/etc/proj/datum.table>
 WARNING: Datum <WGS_1984> not recognised by GRASS and no parameters found

 Program received signal SIGILL, Illegal instruction.
 0x00007ffff7bce060 in GPJ_osr_to_grass () from
 /usr/local/grass-7.6.svn/lib/libgrass_gproj.7.6.svn.so
 (gdb) bt full
 #0  0x00007ffff7bce060 in GPJ_osr_to_grass () from
 /usr/local/grass-7.6.svn/lib/libgrass_gproj.7.6.svn.so
 No symbol table info available.
 #1  0x0000555555557dab in input_epsg ()
 No symbol table info available.
 #2  0x0000555555556d57 in main ()
 No symbol table info available.

 GRASS 7.6.svn (latlongtest3):/grassdb > ldd
 /usr/local/grass-7.6.svn/lib/libgrass_gproj.7.6.svn.so | grep gdal
         libgdal.so.20 => /usr/lib/libgdal.so.20 (0x00007f8ec76c3000)
 GRASS 7.6.svn (latlongtest3):/grassdb > ls -la /usr/lib/libgdal.so.20
 lrwxrwxrwx 1 root root 17 Feb  6  2018 /usr/lib/libgdal.so.20 ->
 libgdal.so.20.3.2
 GRASS 7.6.svn (latlongtest3):/grassdb > ls -la /usr/lib/libgdal.so.20.3.2
 -rw-r--r-- 1 root root 16559240 Feb  6  2018 /usr/lib/libgdal.so.20.3.2

 GRASS 7.6.svn (latlongtest3):/grassdb > ldd
 /usr/local/grass-7.6.svn/lib/libgrass_gproj.7.6.svn.so | grep proj
         libproj.so.12 => /usr/lib/x86_64-linux-gnu/libproj.so.12
 (0x00007fac75934000)
 GRASS 7.6.svn (latlongtest3):/grassdb > ldd /usr/lib/x86_64-linux-
 gnu/libproj.so.12
         linux-vdso.so.1 (0x00007ffdd7ffb000)
         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
 (0x00007f4c8142a000)
         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4c8108c000)
         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4c80c9b000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f4c818b2000)

 GRASS 7.6.svn (latlongtest3):/grassdb > ls -la /usr/lib/x86_64-linux-
 gnu/libproj.so.12
 lrwxrwxrwx 1 root root 17 Jun 18  2017 /usr/lib/x86_64-linux-
 gnu/libproj.so.12 -> libproj.so.12.0.0
 GRASS 7.6.svn (latlongtest3):/grassdb > ls -la /usr/lib/x86_64-linux-
 gnu/libproj.so.12.0.0
 -rw-r--r-- 1 root root 430016 Jun 18  2017 /usr/lib/x86_64-linux-
 gnu/libproj.so.12.0.0
 GRASS 7.6.svn (latlongtest3):/grassdb > cs2cs -v
 Using from definition:
 Rel. 4.9.3, 15 August 2016
 }}}

 I will check tomorrow if my attempt to rebuild the docker image went
 wrong.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3693#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list