pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/59009: pbulk-build SIGSEGV on null pointer dereference
The following reply was made to PR pkg/59009; it has been noted by GNATS.
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/59009: pbulk-build SIGSEGV on null pointer dereference
Date: Tue, 23 Jun 2026 14:56:45 +0000
Hit this again today.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000007720389c in send_build_info (arg=3D0x7ada366f7400) at master.=
c:128
128 master.c: No such file or directory.
(gdb) bt
#0 0x000000007720389c in send_build_info (arg=3D0x7ada366f7400) at master.=
c:128
#1 0x0000000077204b57 in deferred_write_handler (fd=3D<optimized out>,=20
arg=3D0x7ada2b083060) at event.c:134
#2 0x0000000077204e77 in event_dispatch () at event.c:360
#3 0x0000000077203ef5 in master_mode (
master_port=3D0x7f7fff474522 "127.0.0.1:2002",=20
start_script=3D0x7f7fff4744ec "/pbulk/2026Q2/pkg/libexec/pbulk/build-cl=
ient-start") at master.c:322
#4 0x0000000077202327 in main (argc=3D3, argv=3D0x7f7fff473f58) at pbuild.=
c:164
(gdb) info locals
peer =3D 0x7ada366f7400
(gdb) print *peer
$1 =3D {peer_link =3D {le_next =3D 0x0, le_prev =3D 0x7740f320 <unassigned_=
peers>},
job =3D 0x0, fd =3D 9, tmp_buf =3D "G\000\021&", buf =3D 0x0}
(gdb) print active_peers
$2 =3D {lh_first =3D 0x7ada366f7400}
(gdb) print *active_peers->lh_first
$3 =3D {peer_link =3D {le_next =3D 0x0, le_prev =3D 0x7740f320 <unassigned_=
peers>},
job =3D 0x0, fd =3D 9, tmp_buf =3D "G\000\021&", buf =3D 0x0}
(gdb) print inactive_peers
$4 =3D {lh_first =3D 0x0}
(gdb) print clients_started
$5 =3D 1
(gdb) print child_event
$6 =3D {sig_link =3D {le_next =3D 0x0, le_prev =3D 0x7740f3c8 <all_signals>=
},
sig_id =3D 20, sig_received =3D 0, sig_handler =3D 0x77203be1 <child_hand=
ler>}
(gdb) print child_pid
$7 =3D 28726
So in this case, it looks like=20
Home |
Main Index |
Thread Index |
Old Index