Re: Instability of phycodorus in pg_upgrade tests with JIT - Mailing list pgsql-hackers
From | Fujii Masao |
---|---|
Subject | Re: Instability of phycodorus in pg_upgrade tests with JIT |
Date | |
Msg-id | CAHGQGwFzLWWxNhmgxSH_b_jhke8vK532D1UA1Xu=6evCDJrqVA@mail.gmail.com Whole thread Raw |
In response to | Re: Instability of phycodorus in pg_upgrade tests with JIT (Michael Paquier <michael@paquier.xyz>) |
List | pgsql-hackers |
On Fri, Oct 17, 2025 at 8:32 AM Michael Paquier <michael@paquier.xyz> wrote: > > On Thu, Oct 16, 2025 at 10:00:00PM +0300, Alexander Lakhin wrote: > > I collected all of such failures here: > > https://wiki.postgresql.org/wiki/Known_Buildfarm_Test_Failures#check-pg_upgrade_fails_on_LLVM-enabled_animals_due_to_double_free_or_corruption > > > > Masao-san was going to dig into that: > > https://www.postgresql.org/message-id/CAHGQGwFcjccSYX+Ap8meEbCccUei-B4tmYsBFu4wMEixKi90fQ@mail.gmail.com I tried that briefly, but unfortunately I still have no idea what caused this failure or what triggered the double-free issue shown below… ----------------------------------- [New LWP 978394] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/bf/bf-build/petalura/REL_13_STABLE/pgsql.build/tmp_install/home/bf/bf-build/petalura/REL_13_STABLE/inst/bin/postgres '' '' '' '' '''. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 warning: 44 ./nptl/pthread_kill.c: No such file or directory #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f6b19e9e9ff in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89 #2 0x00007f6b19e49cc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f6b19e324ac in __GI_abort () at ./stdlib/abort.c:73 #4 0x00007f6b19e33291 in __libc_message_impl (fmt=fmt@entry=0x7f6b19fb532d "%s\\n") at ../sysdeps/posix/libc_fatal.c:134 #5 0x00007f6b19ea8465 in malloc_printerr (str=str@entry=0x7f6b19fb86f8 "double free or corruption (!prev)") at ./malloc/malloc.c:5829 #6 0x00007f6b19eaa56c in _int_free_merge_chunk (av=av@entry=0x7f6b19ff1ac0 <main_arena>, p=p@entry=0xfba29e0, size=272) at ./malloc/malloc.c:4721 #7 0x00007f6b19eaa6c6 in _int_free_chunk (av=av@entry=0x7f6b19ff1ac0 <main_arena>, p=p@entry=0xfba29e0, size=<optimized out>, have_lock=<optimized out>, have_lock@entry=0) at ./malloc/malloc.c:4667 #8 0x00007f6b19ead3c0 in _int_free (av=0x7f6b19ff1ac0 <main_arena>, p=0xfba29e0, have_lock=0) at ./malloc/malloc.c:4699 #9 __GI___libc_free (mem=<optimized out>) at ./malloc/malloc.c:3476 #10 0x00007f6b1a29053c in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1 #11 0x00007f6b1a290574 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1 #12 0x00007f6b1b2b7fc2 in _dl_call_fini (closure_map=closure_map@entry=0x7f6b1ae49660) at ./elf/dl-call_fini.c:43 #13 0x00007f6b1b2bae72 in _dl_fini () at ./elf/dl-fini.c:120 #14 0x00007f6b19e4c291 in __run_exit_handlers (status=0, listp=0x7f6b19ff1680 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:118 #15 0x00007f6b19e4c35a in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:148 #16 0x000000000078d80c in proc_exit (code=0) at /home/bf/bf-build/petalura/REL_13_STABLE/pgsql.build/../pgsql/src/backend/storage/ipc/ipc.c:156 #17 0x00000000007b44e1 in PostgresMain (argc=1, argv=<optimized out>, dbname=<optimized out>, username=<optimized out>) at /home/bf/bf-build/petalura/REL_13_STABLE/pgsql.build/../pgsql/src/backend/tcop/postgres.c:4604 #18 0x000000000073498b in BackendRun (port=0xf8562a0) at /home/bf/bf-build/petalura/REL_13_STABLE/pgsql.build/../pgsql/src/backend/postmaster/postmaster.c:4561 #19 0x0000000000734337 in BackendStartup (port=<optimized out>) at /home/bf/bf-build/petalura/REL_13_STABLE/pgsql.build/../pgsql/src/backend/postmaster/postmaster.c:4245 #20 0x0000000000733b33 in ServerLoop () at /home/bf/bf-build/petalura/REL_13_STABLE/pgsql.build/../pgsql/src/backend/postmaster/postmaster.c:1744 #21 0x0000000000731e47 in PostmasterMain (argc=<optimized out>, argv=<optimized out>) at /home/bf/bf-build/petalura/REL_13_STABLE/pgsql.build/../pgsql/src/backend/postmaster/postmaster.c:1417 #22 0x0000000000693d89 in main (argc=6, argv=0xf7d90c0) at /home/bf/bf-build/petalura/REL_13_STABLE/pgsql.build/../pgsql/src/backend/main/main.c:212 $1 = {si_signo = 6, si_errno = 0, si_code = -6, _sifields = {_pad = {978394, 1000, 0 <repeats 26 times>}, _kill = {si_pid = 978394, si_uid = 1000}, _timer = {si_tid = 978394, si_overrun = 1000, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _rt = {si_pid = 978394, si_uid = 1000, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _sigchld = {si_pid = 978394, si_uid = 1000, si_status = 0, si_utime = 0, si_stime = 0}, _sigfault = {si_addr = 0x3e8000eedda}, _sigpoll = {si_band = 4294968274394, si_fd = 0}, _sigsys = {_call_addr = 0x3e8000eedda, _syscall = 0, _arch = 0}}} Regards, -- Fujii Masao
pgsql-hackers by date: