| From: | "Peter 'PMc' Much" <pmc(at)citylink(dot)dinoex(dot)sub(dot)org> |
|---|---|
| To: | Tomas Vondra <tomas(at)vondra(dot)me> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Need help debugging SIGBUS crashes |
| Date: | 2026-03-17 14:29:51 |
| Message-ID: | abllX4VwirkuGj9D@disp.intra.daemon.contact |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Mar 17, 2026 at 02:40:24PM +0100, Tomas Vondra wrote:
! I agree it's hard to deduce anything from the backtraces with the
! interesting bits optimized out. Rebuilding the OS with -O0 might be an
! overkill, I'd probably start by building just Postgres. That'd at least
! give us some idea what happens there, you could inspect the memory
! context etc.
!
! I'm not a FreeBSD expert, but this seems a bit suspicious:
!
! frame #23: 0x0000000822ae79b6
! libthr.so.3`handle_signal(actp=0x0000000820c5c600, sig=30,
! info=0x0000000820c5c9f0, ucp=0x0000000820c5c680) at thr_sig.c:318:3
! frame #24: 0x0000000822ae6eba libthr.so.3`thr_sighandler(sig=30,
! info=0x0000000820c5c9f0, _ucp=0x0000000820c5c680) at thr_sig.c:261:2
!
! I mean, libthr seems to be a 1:1 with pthreads. Are you using threads in
! some way? Perhaps an extension using threads? That could cause weird
! failures, including weird SIGBUS ones.
Hi, thanks for noting this - I didn't look that far up the stack.
The only extensions in this specific cluster are pg_freespacemap and
plpgsql. Others may have hstore and plpython3u.
I have currently no clue where this could come from, but will keep
it in mind. Thank You for noticing it.
PMc
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Steele | 2026-03-17 14:36:49 | Re: Improve checks for GUC recovery_target_xid |
| Previous Message | Paul A Jungwirth | 2026-03-17 14:29:07 | Re: SQL:2011 Application Time Update & Delete |