[PostGIS] #5741: Crash on PostgreSQL backend exit upon libproj22 cleanup
PostGIS
trac at osgeo.org
Tue Jun 11 23:26:47 PDT 2024
#5741: Crash on PostgreSQL backend exit upon libproj22 cleanup
---------------------+---------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.4.3
Component: postgis | Version: 3.4.x
Keywords: |
---------------------+---------------------------
I get this crash on exit with PostGIS-3.4.2 as packaged by PGDG:
{{{
Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6,
threadid=140331537820224) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=6,
threadid=140331537820224) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=140331537820224) at
./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140331537820224, signo=signo at entry=6) at
./nptl/pthread_kill.c:89
#3 0x00007fa17e07b476 in __GI_raise (sig=sig at entry=6) at
../sysdeps/posix/raise.c:26
#4 0x00007fa17e0617f3 in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007fa17e0c2676 in __libc_message (action=action at entry=do_abort,
fmt=fmt at entry=0x7fa17e214b77 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#6 0x00007fa17e0d9cfc in malloc_printerr (str=str at entry=0x7fa17e212744
"free(): invalid pointer") at ./malloc/malloc.c:5664
#7 0x00007fa17e0dba44 in _int_free (av=<optimized out>, p=<optimized
out>, have_lock=0) at ./malloc/malloc.c:4439
#8 0x00007fa17e0de453 in __GI___libc_free (mem=<optimized out>) at
./malloc/malloc.c:3391
#9 0x00007fa0f14fa4a7 in osgeo::proj::common::DateTime::~DateTime() ()
from /lib/x86_64-linux-gnu/libproj.so.22
#10 0x00007fa0f152afa2 in osgeo::proj::datum::Datum::~Datum() () from
/lib/x86_64-linux-gnu/libproj.so.22
#11 0x00007fa0f152da5d in
osgeo::proj::datum::GeodeticReferenceFrame::~GeodeticReferenceFrame() ()
from /lib/x86_64-linux-gnu/libproj.so.22
#12 0x00007fa0f1503780 in osgeo::proj::crs::SingleCRS::~SingleCRS() ()
from /lib/x86_64-linux-gnu/libproj.so.22
#13 0x00007fa0f150d7cd in
osgeo::proj::crs::GeographicCRS::~GeographicCRS() () from /lib/x86_64
-linux-gnu/libproj.so.22
#14 0x00007fa0ea9989d2 in ?? () from /lib/x86_64-linux-gnu/libproj.so.25
#15 0x00007fa17e07e495 in __run_exit_handlers (status=0,
listp=0x7fa17e253838 <__exit_funcs>,
run_list_atexit=run_list_atexit at entry=true,
run_dtors=run_dtors at entry=true)
at ./stdlib/exit.c:113
#16 0x00007fa17e07e610 in __GI_exit (status=<optimized out>) at
./stdlib/exit.c:143
#17 0x0000561eda5fb86f in proc_exit ()
#18 0x0000561eda623c12 in PostgresMain ()
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5741>
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