[GRASS-dev] segmentation fault with temporal commands

Markus Neteler neteler at osgeo.org
Mon Jul 30 04:05:07 PDT 2018


Hi again,

On Mon, Jul 30, 2018 at 12:33 PM, Markus Neteler <neteler at osgeo.org> wrote:
...
> So the segfault happens when t.list (or other t.* scripts) close.
>
> ?

Now using gdb to debug the script (and G74svn recompiled from scratch):

GRASS 7.4.2svn (nc_spm_08_grass7):~/software/grass74 > gdb python
GNU gdb (GDB) Fedora 8.1-19.fc28
...
(gdb) run /home/mneteler/software/grass74/dist.x86_64-pc-linux-gnu/scripts/t.list
raster
Starting program: /usr/bin/python
/home/mneteler/software/grass74/dist.x86_64-pc-linux-gnu/scripts/t.list
raster
[Thread debugging using libthread_db enabled]
...
[New Thread 0x7fffbebaf700 (LWP 18929)]
----------------------------------------------
Time stamped raster maps with absolute time available in mapset <user1>:
a_beam_rad_08.00 at user1
...
a_beam_rad_17.00 at user1
a_beam_rad_18.00 at user1
[Thread 0x7fffbebaf700 (LWP 18929) exited]

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007fffd7ac305b in blas_shutdown () from /lib64/libopenblaso.so.0
(gdb) bt full
#0  0x00007fffd7ac305b in blas_shutdown () from /lib64/libopenblaso.so.0
No symbol table info available.
#1  0x00007fffd788f015 in gotoblas_quit () from /lib64/libopenblaso.so.0
No symbol table info available.
#2  0x00007ffff7de58e6 in _dl_fini () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#3  0x00007ffff6c4466c in __run_exit_handlers () from /lib64/libc.so.6
No symbol table info available.
#4  0x00007ffff6c4479c in exit () from /lib64/libc.so.6
No symbol table info available.
#5  0x00007ffff6c2e192 in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#6  0x000055555555484a in _start ()
No symbol table info available.
(gdb)

# query RPM package
rpm -qf /lib64/libopenblaso.so.0
openblas-openmp-0.3.1-1.fc28.x86_64

This is how I configured G74svn here:
./configure \
  --with-cxx \
  --enable-largefile \
  --with-proj --with-proj-share=/usr/share/proj \
  --with-gdal=/usr/bin/gdal-config \
  --with-python \
  --with-geos \
  --with-sqlite \
  --with-nls \
  --with-liblas \
  --with-cairo --with-cairo-ldflags=-lfontconfig \
  --with-freetype --with-freetype-includes=/usr/include/freetype2 \
  --with-wxwidgets \
  --with-fftw \
  --with-motif \
  --with-x \
  --with-postgres --with-postgres-includes="/usr/include/pgsql" \
  --without-netcdf \
  --without-mysql \
  --without-odbc \
  --without-openmp \
  --without-ffmpeg

Something is pulling in BLAS/openMP, though.

Do we perhaps have a namespace collision?

Markus


More information about the grass-dev mailing list