Re: [PATCH] Add native windows on arm64 support

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [PATCH] Add native windows on arm64 support
Дата
Msg-id 20240212205012.lt6ct755quznt342@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: [PATCH] Add native windows on arm64 support  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [PATCH] Add native windows on arm64 support  (Dave Cramer <davecramer@postgres.rocks>)
Re: [PATCH] Add native windows on arm64 support  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

On 2024-02-12 13:28:40 -0500, Andrew Dunstan wrote:
> On 2024-02-12 Mo 11:44, Dave Cramer wrote:
> > OK, so I have managed to get a debugger attached to postgres.exe when it
> > faults and the fault occurs at
> >
https://github.com/postgres/postgres/blob/09eb633e1baa3b7cd7929f3cc77f9c46f63c20b1/src/backend/utils/mmgr/dsa.c#L869
> > span is pointing to 0x0
> 
> Further data point. If I select a build type of 'debug' instead of
> 'debugoptimized' the error disappears.

Oh, this is quite interesting.  Dave, could you post the backtrace?

I wonder if this indicates that we are either missing memory barriers
somewhere or that the memory barriers we end up with on msvc + arm aren't
correct?  Either could explain why the problem doesn't occur when building
with optimizations.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: Fix a typo in pg_rotate_logfile
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: glibc qsort() vulnerability