Bug#976922: systemd-bootchart: FTBFS on ppc64el: dh_auto_test: error: make -j160 check VERBOSE=1 returned exit code 2

Lucas Nussbaum lucas at debian.org
Fri Dec 11 08:09:02 GMT 2020


On 10/12/20 at 22:12 +0100, Michael Biebl wrote:
> Am 10.12.20 um 22:10 schrieb John Paul Adrian Glaubitz:
> > Hi Michael!
> > 
> > On 12/10/20 8:42 PM, Michael Biebl wrote:
> > > ============================================================================
> > > Testsuite summary for systemd-bootchart 233
> > > ============================================================================
> > > # TOTAL: 1
> > > # PASS:  1
> > > # SKIP:  0
> > > # XFAIL: 0
> > > # FAIL:  0
> > > # XPASS: 0
> > > # ERROR: 0
> > > ============================================================================
> > 
> > Did the test machine you used actually have that many cores?
> 
> No idea

I tried building with SMT off (so the machine only has 20 visible
cores). I could reproduce the failure. (I disabled SMT at runtime using
ppc64_cpu --smt=off)

It also fails when running 'make check VERBOSE=1' (so it's not caused by
parallelism).

It crashes with:
(gdb) r -o /tmp/tmp.k64Np1I2cr -n 10 -r -p
Starting program: /root/systemd-bootchart-233/systemd-bootchart -o /tmp/tmp.k64Np1I2cr -n 10 -r -p
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000000100004d04 in svg_ps_bars (interval=<optimized out>, graph_start=2775.3698308829998, ps_first=0x1000505d0, n_cpus=1, 
    n_samples=10, head=0x100050770, of=0x1000503f0) at src/svg.c:1187
1187	        i = ps->sample->next->sampledata->counter;
(gdb) bt
#0  0x0000000100004d04 in svg_ps_bars (interval=<optimized out>, graph_start=2775.3698308829998, ps_first=0x1000505d0, 
    n_cpus=1, n_samples=10, head=0x100050770, of=0x1000503f0) at src/svg.c:1187
#1  svg_do (overrun=0, interval=<optimized out>, log_start=2775.3698308829998, graph_start=2775.3698308829998, n_cpus=1, 
    pscount=11940, n_samples=<optimized out>, ps_first=<optimized out>, head=0x100050770, 
    build=0x1000509e0 "Debian GNU/Linux bullseye/sid", of=0x1000503f0) at src/svg.c:1371
#2  main (argc=<optimized out>, argv=<optimized out>) at src/bootchart.c:497

The segfault can be reproduced on Debian stable outside the chroot, just
running '/lib/systemd/systemd-bootchart -n 1'.

At the same time, 'systemd-analyze plot' works fine (I'm attaching its
output in case it hints at something).

Lucas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.svg
Type: image/svg+xml
Size: 85170 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20201211/65cf068d/attachment-0001.svg>


More information about the Pkg-systemd-maintainers mailing list