On 26.12.20 20:45, Jim Jagielski wrote:
So there is for sure a bug in AOO41X, but why it only seems to affect macOS
BigSur is
unknown. It is this:
diff --git a/main/bridges/source/cpp_uno/shared/vtablefactory.cxx
b/main/bridges/source/cpp_uno/shared/vtablefactory.cxx
index f4d6c56..2ca9b8f 100644
--- a/main/bridges/source/cpp_uno/shared/vtablefactory.cxx
+++ b/main/bridges/source/cpp_uno/shared/vtablefactory.cxx
@@ -195,7 +195,7 @@ VtableFactory::VtableFactory(): m_arena(
rtl_arena_create(
"bridges::cpp_uno::shared::VtableFactory",
sizeof (void *), // to satisfy alignment requirements
- 0, reinterpret_cast< rtl_arena_type * >(-1), allocExec, freeExec, 0))
+ 0, reinterpret_cast< rtl_arena_type * >(0), allocExec, freeExec, 0))
{
if (m_arena == 0) {
throw std::bad_alloc();
I *think* this solves the issue, and a quick-and-dirty compilation seems to
indicate that, but
I will double check.
The question is: Does this warrant a full 4.1.9 release for ALL platforms? To
my mind, it does.
yes we should go for 4.1.9 because there is no other way to fix this
quickly.
Any one has any Idea what the rtl_arena_create
<http://opengrok.openoffice.org/openoffice/s?refs=rtl_arena_create&project=trunk>does?
It looks to me like some C-Style factory, but I have a hard time
understanding the code.
And so far I did not find an explanation for it.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org
--
This is the Way! http://www.apache.org/theapacheway/index.html