Damien Zammit, le dim. 22 févr. 2026 07:17:47 +0000, a ecrit:
> This fixes an uninitialised timeout structure on the stack,
> leading to the .set field being non-zero thus reset_timeout
> is attempted to be called on a timeout not yet in the wheel.
There are probably more of the same issue using timeout_data_t?
> Reported by Brent Baccala
> ---
> i386/i386at/ioapic.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/i386/i386at/ioapic.c b/i386/i386at/ioapic.c
> index 6d9e6db9..4b4c1282 100644
> --- a/i386/i386at/ioapic.c
> +++ b/i386/i386at/ioapic.c
> @@ -231,6 +231,7 @@ timer_measure_10x_apic_hz(void)
> timeout_data_t tmp_timer;
> tmp_timer.fcn = timer_expiry_callback;
> tmp_timer.param = (void *)&done;
> + tmp_timer.set = 0;
>
> printf("timer calibration...");
>