Changes between Version 3 and Version 4 of Ticket #4979, comment 5


Ignore:
Timestamp:
Aug 22, 2021, 3:18:23 AM (3 years ago)
Author:
ezimanyi

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4979, comment 5

    v3 v4  
    2727Copyright (C) 2020 Free Software Foundation, Inc.
    2828License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    29 This is free software: you are free to change and redistribute it.
    30 There is NO WARRANTY, to the extent permitted by law.
    31 Type "show copying" and "show warranty" for details.
    32 This GDB was configured as "x86_64-linux-gnu".
    33 Type "show configuration" for configuration details.
    34 For bug reporting instructions, please see:
    35 <http://www.gnu.org/software/gdb/bugs/>.
    36 Find the GDB manual and other documentation resources online at:
    37     <http://www.gnu.org/software/gdb/documentation/>.
    38 
    39 For help, type "help".
    40 Type "apropos word" to search for commands related to "word".
    41 Attaching to process 19989
    42 Reading symbols from /usr/local/pgsql/13/bin/postgres...
    43 Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...
    44 Reading symbols from /usr/lib/debug/.build-id/e5/4761f7b554d0fcc1562959665d93dffbebdaf0.debug...
    45 [Thread debugging using libthread_db enabled]
    46 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    47 Reading symbols from /lib/x86_64-linux-gnu/libxml2.so.2...
    48 (No debugging symbols found in /lib/x86_64-linux-gnu/libxml2.so.2)
    49 Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...
    50 Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.31.so...
    51 Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...
    52 Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.31.so...
    53 Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...
    54 Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.31.so...
    55 --Type <RET> for more, q to quit, c to continue without paging--c
    56 Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...
    57 Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.31.so...
    58 Reading symbols from /lib64/ld-linux-x86-64.so.2...
    59 (No debugging symbols found in /lib64/ld-linux-x86-64.so.2)
    60 Reading symbols from /lib/x86_64-linux-gnu/libicuuc.so.66...
    61 (No debugging symbols found in /lib/x86_64-linux-gnu/libicuuc.so.66)
    62 Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...
    63 (No debugging symbols found in /lib/x86_64-linux-gnu/libz.so.1)
    64 Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...
    65 (No debugging symbols found in /lib/x86_64-linux-gnu/liblzma.so.5)
    66 Reading symbols from /lib/x86_64-linux-gnu/libicudata.so.66...
    67 (No debugging symbols found in /lib/x86_64-linux-gnu/libicudata.so.66)
    68 Reading symbols from /lib/x86_64-linux-gnu/libstdc++.so.6...
    69 (No debugging symbols found in /lib/x86_64-linux-gnu/libstdc++.so.6)
    70 Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...
    71 (No debugging symbols found in /lib/x86_64-linux-gnu/libgcc_s.so.1)
    72 Reading symbols from /usr/local/pgsql/13/lib/postgis-2.5.so...
    73 Reading symbols from /lib/x86_64-linux-gnu/libgeos_c.so.1...
    74 (No debugging symbols found in /lib/x86_64-linux-gnu/libgeos_c.so.1)
    75 Reading symbols from /lib/x86_64-linux-gnu/libproj.so.15...
    76 (No debugging symbols found in /lib/x86_64-linux-gnu/libproj.so.15)
    77 Reading symbols from /lib/x86_64-linux-gnu/libjson-c.so.4...
    78 (No debugging symbols found in /lib/x86_64-linux-gnu/libjson-c.so.4)
    79 Reading symbols from /lib/x86_64-linux-gnu/libprotobuf-c.so.1...
    80 (No debugging symbols found in /lib/x86_64-linux-gnu/libprotobuf-c.so.1)
    81 Reading symbols from /lib/x86_64-linux-gnu/libgeos-3.8.0.so...
    82 (No debugging symbols found in /lib/x86_64-linux-gnu/libgeos-3.8.0.so)
    83 Reading symbols from /lib/x86_64-linux-gnu/libsqlite3.so.0...
    84 (No debugging symbols found in /lib/x86_64-linux-gnu/libsqlite3.so.0)
    85 Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...
    86 Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.31.so...
    87 Reading symbols from /usr/local/pgsql/13/lib/postgis-3.so...
    88 0x00007f590d7eb58a in epoll_wait (epfd=4, events=0x560fce736e80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
    89 30      ../sysdeps/unix/sysv/linux/epoll_wait.c: No such file or directory.
     29[...]
    9030(gdb) b geography_in
    9131Breakpoint 1 at 0x7f58a5863b5a: geography_in. (2 locations)
    92 (gdb) p sizeof(LWGEOM)
    93 $1 = 32
    94 (gdb) p sizeof(LWPOINT)
    95 $2 = 32
    9632(gdb) c
    9733Continuing.
     
    15894}}}
    15995
    160 The problem are the sizes of LWGEOM vs LWPOINT reported at the beginning (both 32) and after (24 vs 32). Therefore, a previous installation of PostGIS 2.5.5 is conflicting with the new one PostGIS 3.1.3 as can be seen in the definitions below to understand the trace above.
     96The problem are the sizes of LWGEOM vs LWPOINT reported (24 vs 32). Therefore, a previous installation of PostGIS 2.5.5 is conflicting with the new one PostGIS 3.1.3 as can be seen in the definitions below to understand the trace above.
    16197{{{
    16298/* POINTYPE */