Re: [PATCH v2] error-report: fix g_date_time_format assertion

2022-04-26 Thread Paolo Bonzini
Queued, thanks. Paolo

Re: [PATCH v2] error-report: fix g_date_time_format assertion

2022-04-25 Thread Daniel P . Berrangé
On Sun, Apr 24, 2022 at 06:50:35PM +0800, Haiyue Wang wrote: > The 'g_get_real_time' returns the number of microseconds since January > 1, 1970 UTC, but 'g_date_time_new_from_unix_utc' needs the number of > seconds, so it will cause the invalid time input: > > (process:279642): GLib-CRITICAL

Re: [PATCH v2] error-report: fix g_date_time_format assertion

2022-04-24 Thread Marc-André Lureau
On Sun, Apr 24, 2022 at 3:27 PM Haiyue Wang wrote: > The 'g_get_real_time' returns the number of microseconds since January > 1, 1970 UTC, but 'g_date_time_new_from_unix_utc' needs the number of > seconds, so it will cause the invalid time input: > > (process:279642): GLib-CRITICAL (recursed)

[PATCH v2] error-report: fix g_date_time_format assertion

2022-04-24 Thread Haiyue Wang
The 'g_get_real_time' returns the number of microseconds since January 1, 1970 UTC, but 'g_date_time_new_from_unix_utc' needs the number of seconds, so it will cause the invalid time input: (process:279642): GLib-CRITICAL (recursed) **: g_date_time_format: assertion 'datetime != NULL' failed