pmproxy crash at startup in libpcp_web.so.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In Cockpit's CI we see a lot of pmproxy crashes like [1] in a test which starts/
pmproxy[9832]: segfault at 3 ip 0000767961047e45 sp 00007ffe97e825d0 error 4 in libpcp_
Stack trace of thread 9832:
#0 0x0000767961047e45 n/a (libpcp_web.so.1 + 0x38e45)
#1 0x0000767961059745 n/a (libpcp_web.so.1 + 0x4a745)
#2 0x0000767961056311 n/a (libpcp_web.so.1 + 0x47311)
#3 0x0000767960f5c52b n/a (libuv.so.1 + 0x2752b)
#4 0x0000767960f5dbdb n/a (libuv.so.1 + 0x28bdb)
#5 0x0000767960f44ce8 uv_run (libuv.so.1 + 0xfce8)
#6 0x00005cae24f55097 n/a (pmproxy + 0xb097)
#7 0x00005cae24f53b6d n/a (pmproxy + 0x9b6d)
#8 0x000076796062a1ca __libc_
#9 0x000076796062a28b __libc_
#10 0x00005cae24f54135 n/a (pmproxy + 0xa135)
Unfortunately that's not super useful. But I managed to reproduce it once locally and got a core dump (attached). But running it through gdb isn't super enlightening either. It does spend several minutes downloading debug symbols, but apparently not the right ones?
This GDB supports auto-downloading debuginfo from the following URLs:
<https:/
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
Downloading separate debug info for /lib/libpcp_
[... lots more ...]
(gdb) bt
#0 0x00007b1d588cbe45 in ?? () from /lib/libpcp_
#1 0x00007b1d588dd745 in ?? () from /lib/libpcp_
#2 0x00007b1d588da311 in ?? () from /lib/libpcp_
#3 0x00007b1d587e052b in uv__inotify_read (loop=0x7b1d587
at /usr/src/
#4 0x00007b1d587e1bdb in uv__io_poll (loop=0x7b1d587
at /usr/src/
#5 0x00007b1d587c8ce8 in uv_run (loop=0x7b1d587
#6 0x00005b98349dd097 in ?? ()
#7 0x00005b98349dbb6d in ?? ()
#8 0x00007b1d57e2a1ca in __libc_
at ../sysdeps/
#9 0x00007b1d57e2a28b in __libc_
rtld_
#10 0x00005b98349dc135 in ?? ()
So I followed the "good old dbgsym" way [5], but:
E: Unable to locate package libpcp-web1-dbgsym
E: Unable to locate package libpcp3-dbgsym
E: Unable to locate package pcp-dbgsym
The build log [6] also doesn't mention any dbgsym builds, so it seems they are missing?
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
[6] https:/
Ubuntu 24.04
pcp 6.2.0-1
Sorry, clicked the wrong button, I'll expand the bug description. In the meantime, attaching the core dump.