Am 11.12.20 um 09:09 schrieb Lucas Nussbaum:
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

This looks a lot like

https://github.com/systemd/systemd-bootchart/pull/37
specifically
https://github.com/systemd/systemd-bootchart/pull/37/commits/65320230f5fcb02e81df5131a4dc03092558c263

Could you give this PR a try?

Reply via email to