Big Sur 4.1.x core dumps

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Big Sur 4.1.x core dumps

Jim Jagielski
I've confirmed that my 4.2.0 builds work fine on BigSur but
the 4.1.8 builds, even using Xcode10 and the 10.13SDK still
result in core on macOS11. Below you'll find the stack.

My initial thoughts are that it is NOT a build issue, but
rather a code one, so I'll start some investigation with that
mindset and especially look at the diffs between AOO418 and
AOO42X that might be key.


Time Awake Since Boot: 1000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000009
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [1770]

VM Regions Near 0x9:
-->
    __TEXT                      10d063000-10d064000    [    4K] r-x/rwx SM=COW  /Applications/OpenOffice-4.1.8.app/Contents/MacOS/soffice

Application Specific Information:
ViewBridge hint(s): (
    "bridge key: delegateInvocation"
)

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libs5abi_uno.dylib             0x00000001162d7259 s5abi::fillUnoException(s5abi::__cxa_exception*, _uno_Any*, _uno_Mapping*) + 41
1   libs5abi_uno.dylib             0x00000001162d98bd 0x1162d5000 + 18621
2   libs5abi_uno.dylib             0x00000001162d8e40 bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) + 736
3   libuno_cppuhelpers5abi.dylib.3 0x000000010d4cd688 cppu::getCaughtException() + 840
4   libxstor.dylib                 0x000000013868d104 OStorage::hasByName(rtl::OUString const&) + 964
5   libxo.dylib                   0x0000000111d4b222 XMLVersionListPersistence::load(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&) + 322
6   libxo.dylib                   0x0000000111d4b9be non-virtual thunk to XMLVersionListPersistence::load(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&) + 14
7   libsfx.dylib                   0x000000010d807fcf SfxMedium::GetVersionList(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&) + 271
8   libsfx.dylib                   0x000000010d787753 sfx2::FileDialogHelper_Impl::updateVersions() + 547
9   libsfx.dylib                   0x000000010d795afd sfx2::FileDialogHelper::FileSelectionChanged(com::sun::star::ui::dialogs::FilePickerEvent const&) + 29
10  libsfx.dylib                   0x000000010d78715d sfx2::FileDialogHelper_Impl::fileSelectionChanged(com::sun::star::ui::dialogs::FilePickerEvent const&) + 45
11  fps_aqua.uno.dylib             0x00000001429242a0 0x142917000 + 53920
12  com.apple.AppKit               0x00007fff236752f5 -[NSSavePanel observeValueForKeyPath:ofObject:change:context:] + 562
13  com.apple.Foundation           0x00007fff2119bab8 NSKeyValueNotifyObserver + 327
14  com.apple.Foundation           0x00007fff21262e45 NSKeyValueDidChange + 431
15  com.apple.Foundation           0x00007fff21303539 NSKeyValueDidChangeWithPerThreadPendingNotifications + 146
16  com.apple.ViewBridge           0x00007fff2703dd9b __41-[NSViewBridge setObject:forKey:withKVO:]_block_invoke + 360
17  com.apple.ViewBridge           0x00007fff270b8829 withHintInProgress + 359
18  com.apple.ViewBridge           0x00007fff27035cb7 -[NSViewBridge setObject:forKey:withKVO:] + 641
19  com.apple.ViewBridge           0x00007fff27036e05 -[NSViewBridge nonLocalChangeInProgress:block:] + 230
20  com.apple.ViewBridge           0x00007fff27036b93 -[NSRemoteViewMarshal exceptionSafeSetRemoteObject:forKey:withReply:] + 264
21  com.apple.ViewBridge           0x00007fff27036a47 -[NSRemoteViewMarshal setRemoteObject:forKey:withReply:] + 56
22  com.apple.CoreFoundation       0x00007fff2041e56c __invoking___ + 140
23  com.apple.CoreFoundation       0x00007fff2041e410 -[NSInvocation invoke] + 303
24  com.apple.ViewBridge           0x00007fff27034b65 __deferNSXPCInvocationOntoMainThread_block_invoke + 228
25  com.apple.ViewBridge           0x00007fff27027d34 __wrapBlockWithVoucher_block_invoke + 37
26  com.apple.ViewBridge           0x00007fff27027a25 __deferBlockOntoMainThread_block_invoke_2 + 352
27  com.apple.CoreFoundation       0x00007fff2043b5a2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
28  com.apple.CoreFoundation       0x00007fff2043b44c __CFRunLoopDoBlocks + 437
29  com.apple.CoreFoundation       0x00007fff2043a7bd __CFRunLoopRun + 2582
30  com.apple.CoreFoundation       0x00007fff204396ce CFRunLoopRunSpecific + 563
31  com.apple.HIToolbox           0x00007fff286be6d0 RunCurrentEventLoopInMode + 292
32  com.apple.HIToolbox           0x00007fff286be4cc ReceiveNextEventCommon + 709
33  com.apple.HIToolbox           0x00007fff286be1ef _BlockUntilNextEventMatchingListInModeWithFilter + 64
34  com.apple.AppKit               0x00007fff22c56de9 _DPSNextEvent + 883
35  com.apple.AppKit               0x00007fff22c555af -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
36  com.apple.AppKit               0x00007fff22f2dde9 -[NSApplication _doModalLoop:peek:] + 303
37  com.apple.AppKit               0x00007fff22f2cba8 __35-[NSApplication runModalForWindow:]_block_invoke_2 + 64
38  com.apple.AppKit               0x00007fff22f2cb55 __35-[NSApplication runModalForWindow:]_block_invoke + 70
39  com.apple.AppKit               0x00007fff22f2c3a3 _NSTryRunModal + 100
40  com.apple.AppKit               0x00007fff22f2c288 -[NSApplication runModalForWindow:] + 128
41  com.apple.AppKit               0x00007fff2367615d -[NSSavePanel runModal] + 145
42  com.apple.AppKit               0x00007fff236764f1 -[NSSavePanel runModalForDirectory:file:types:] + 168
43  fps_aqua.uno.dylib             0x0000000142919b85 SalAquaPicker::run() + 261
44  fps_aqua.uno.dylib             0x0000000142919d82 SalAquaPicker::runandwaitforresult() + 34
45  fps_aqua.uno.dylib             0x000000014291a5f7 SalAquaFilePicker::execute() + 135
46  libsfx.dylib                   0x000000010d78f7a0 sfx2::FileDialogHelper_Impl::implDoExecute() + 80
47  libsfx.dylib                   0x000000010d790719 sfx2::FileDialogHelper_Impl::execute(SvStringsDtor*&, SfxItemSet*&, String&) + 761
48  libsfx.dylib                   0x000000010d795cc4 sfx2::FileOpenDialog_Impl(long, String const&, SvStringsDtor*&, String&, SfxItemSet*&, String const*, short, String const&, com::sun::star::uno::Sequence<rtl::OUString> const&) + 132
49  libsfx.dylib                   0x000000010d6e77b3 SfxApplication::OpenDocExec_Impl(SfxRequest&) + 1827
50  libsfx.dylib                   0x000000010d93bf0b SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) + 907
51  libsfx.dylib                   0x000000010d93f27e SfxDispatcher::PostMsgHandler(SfxRequest*) + 270
52  libsfx.dylib                   0x000000010d93c389 SfxDispatcher::LinkStubPostMsgHandler(void*, void*) + 9
53  libsfx.dylib                   0x000000010d8c97af SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) + 15
54  libvcl.dylib                   0x000000010ee96a03 ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) + 5267
55  libvcl.dylib                   0x000000010ebca255 AquaSalInstance::Yield(bool, bool) + 437
56  libvcl.dylib                   0x000000010ec051e0 Application::Yield(bool) + 96
57  libvcl.dylib                   0x000000010ec05167 Application::Execute() + 39
58  libsofficeapp.dylib           0x000000010d25a952 desktop::Desktop::Main() + 8642
59  libvcl.dylib                   0x000000010ec0a9a8 ImplSVMain() + 72
60  libvcl.dylib                   0x000000010ebc9e30 AquaSalInstance::handleAppDefinedEvent(NSEvent*) + 96
61  libvcl.dylib                   0x000000010eea6d99 -[VCL_NSApplication sendEvent:] + 73
62  com.apple.AppKit               0x00007fff230b736e -[NSApplication _handleEvent:] + 65
63  com.apple.AppKit               0x00007fff22c47b2f -[NSApplication run] + 623
64  com.apple.AppKit               0x00007fff22c1bdf2 NSApplicationMain + 816
65  libvcl.dylib                   0x000000010ebc8b75 ImplSVMainHook(unsigned char*) + 181
66  libvcl.dylib                   0x000000010ec0b601 SVMain() + 17
67  libsofficeapp.dylib           0x000000010d27f8c8 soffice_main + 136
68  org.openoffice.script         0x000000010d063eb0 main + 16
69  org.openoffice.script         0x000000010d063e94 start + 52
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Big Sur 4.1.x core dumps

Steve Lubbs
Hi Jim,

There are professional, non-trivial Native OSX apps that don't run on
Big Sur. For Instance Quark is one of them and it has no compatible
version currently (well, as of about a month ago). We had to create
another bootable partition to go back to Catalina so my wife could work.
She is a graphic artist doing page layout for a small local news paper.
She has had enough and is now moving to InDesign.

We also had problems when we moved to Catalina from several versions
back. Had to replace most of her professional software.

The problem may be incompatibilities in the third party software such as
boost, Java, and/or underlying OSX provided interfaces, etc. I don't
know if the build rebuilds all the the third party software. The
libraries such as boost (or AOO) may be using deprecated APIsand may not
be checkingreturn codes/exceptions appropriately in the libraries or in
AOO code. Another possibility, from what I've read in the past Apple has
let some deprecated APIs fail silently in the past. OSX has apparently
changed enough that they have moved the designation from OSX to OS11.
The problem may be deeper than just the AOO code.

Big Sur XCode 12 is the current version for OS11. Was AOO 4.2.0 built
with this? BTW, this version builds universal apps by default which
should make porting to OS11 and Apple Silicon much easier in the short term.

Another question just occurred to me. Are the versions of the Java JDK
the same for both builds and is the same JRE used at runtime?

Just my long 2 cents.

Enough rambling on,
Steve Lubbs

On 12/26/20 10:19 AM, Jim Jagielski wrote:

> I've confirmed that my 4.2.0 builds work fine on BigSur but
> the 4.1.8 builds, even using Xcode10 and the 10.13SDK still
> result in core on macOS11. Below you'll find the stack.
>
> My initial thoughts are that it is NOT a build issue, but
> rather a code one, so I'll start some investigation with that
> mindset and especially look at the diffs between AOO418 and
> AOO42X that might be key.
>
>
> Time Awake Since Boot: 1000 seconds
>
> System Integrity Protection: enabled
>
> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
>
> Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000009
> Exception Note:        EXC_CORPSE_NOTIFY
>
> Termination Signal:    Segmentation fault: 11
> Termination Reason:    Namespace SIGNAL, Code 0xb
> Terminating Process:   exc handler [1770]
>
> VM Regions Near 0x9:
> -->
>      __TEXT                      10d063000-10d064000    [    4K] r-x/rwx SM=COW  /Applications/OpenOffice-4.1.8.app/Contents/MacOS/soffice
>
> Application Specific Information:
> ViewBridge hint(s): (
>      "bridge key: delegateInvocation"
> )
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libs5abi_uno.dylib             0x00000001162d7259 s5abi::fillUnoException(s5abi::__cxa_exception*, _uno_Any*, _uno_Mapping*) + 41
> 1   libs5abi_uno.dylib             0x00000001162d98bd 0x1162d5000 + 18621
> 2   libs5abi_uno.dylib             0x00000001162d8e40 bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) + 736
> 3   libuno_cppuhelpers5abi.dylib.3 0x000000010d4cd688 cppu::getCaughtException() + 840
> 4   libxstor.dylib                 0x000000013868d104 OStorage::hasByName(rtl::OUString const&) + 964
> 5   libxo.dylib                   0x0000000111d4b222 XMLVersionListPersistence::load(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&) + 322
> 6   libxo.dylib                   0x0000000111d4b9be non-virtual thunk to XMLVersionListPersistence::load(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&) + 14
> 7   libsfx.dylib                   0x000000010d807fcf SfxMedium::GetVersionList(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&) + 271
> 8   libsfx.dylib                   0x000000010d787753 sfx2::FileDialogHelper_Impl::updateVersions() + 547
> 9   libsfx.dylib                   0x000000010d795afd sfx2::FileDialogHelper::FileSelectionChanged(com::sun::star::ui::dialogs::FilePickerEvent const&) + 29
> 10  libsfx.dylib                   0x000000010d78715d sfx2::FileDialogHelper_Impl::fileSelectionChanged(com::sun::star::ui::dialogs::FilePickerEvent const&) + 45
> 11  fps_aqua.uno.dylib             0x00000001429242a0 0x142917000 + 53920
> 12  com.apple.AppKit               0x00007fff236752f5 -[NSSavePanel observeValueForKeyPath:ofObject:change:context:] + 562
> 13  com.apple.Foundation           0x00007fff2119bab8 NSKeyValueNotifyObserver + 327
> 14  com.apple.Foundation           0x00007fff21262e45 NSKeyValueDidChange + 431
> 15  com.apple.Foundation           0x00007fff21303539 NSKeyValueDidChangeWithPerThreadPendingNotifications + 146
> 16  com.apple.ViewBridge           0x00007fff2703dd9b __41-[NSViewBridge setObject:forKey:withKVO:]_block_invoke + 360
> 17  com.apple.ViewBridge           0x00007fff270b8829 withHintInProgress + 359
> 18  com.apple.ViewBridge           0x00007fff27035cb7 -[NSViewBridge setObject:forKey:withKVO:] + 641
> 19  com.apple.ViewBridge           0x00007fff27036e05 -[NSViewBridge nonLocalChangeInProgress:block:] + 230
> 20  com.apple.ViewBridge           0x00007fff27036b93 -[NSRemoteViewMarshal exceptionSafeSetRemoteObject:forKey:withReply:] + 264
> 21  com.apple.ViewBridge           0x00007fff27036a47 -[NSRemoteViewMarshal setRemoteObject:forKey:withReply:] + 56
> 22  com.apple.CoreFoundation       0x00007fff2041e56c __invoking___ + 140
> 23  com.apple.CoreFoundation       0x00007fff2041e410 -[NSInvocation invoke] + 303
> 24  com.apple.ViewBridge           0x00007fff27034b65 __deferNSXPCInvocationOntoMainThread_block_invoke + 228
> 25  com.apple.ViewBridge           0x00007fff27027d34 __wrapBlockWithVoucher_block_invoke + 37
> 26  com.apple.ViewBridge           0x00007fff27027a25 __deferBlockOntoMainThread_block_invoke_2 + 352
> 27  com.apple.CoreFoundation       0x00007fff2043b5a2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
> 28  com.apple.CoreFoundation       0x00007fff2043b44c __CFRunLoopDoBlocks + 437
> 29  com.apple.CoreFoundation       0x00007fff2043a7bd __CFRunLoopRun + 2582
> 30  com.apple.CoreFoundation       0x00007fff204396ce CFRunLoopRunSpecific + 563
> 31  com.apple.HIToolbox           0x00007fff286be6d0 RunCurrentEventLoopInMode + 292
> 32  com.apple.HIToolbox           0x00007fff286be4cc ReceiveNextEventCommon + 709
> 33  com.apple.HIToolbox           0x00007fff286be1ef _BlockUntilNextEventMatchingListInModeWithFilter + 64
> 34  com.apple.AppKit               0x00007fff22c56de9 _DPSNextEvent + 883
> 35  com.apple.AppKit               0x00007fff22c555af -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
> 36  com.apple.AppKit               0x00007fff22f2dde9 -[NSApplication _doModalLoop:peek:] + 303
> 37  com.apple.AppKit               0x00007fff22f2cba8 __35-[NSApplication runModalForWindow:]_block_invoke_2 + 64
> 38  com.apple.AppKit               0x00007fff22f2cb55 __35-[NSApplication runModalForWindow:]_block_invoke + 70
> 39  com.apple.AppKit               0x00007fff22f2c3a3 _NSTryRunModal + 100
> 40  com.apple.AppKit               0x00007fff22f2c288 -[NSApplication runModalForWindow:] + 128
> 41  com.apple.AppKit               0x00007fff2367615d -[NSSavePanel runModal] + 145
> 42  com.apple.AppKit               0x00007fff236764f1 -[NSSavePanel runModalForDirectory:file:types:] + 168
> 43  fps_aqua.uno.dylib             0x0000000142919b85 SalAquaPicker::run() + 261
> 44  fps_aqua.uno.dylib             0x0000000142919d82 SalAquaPicker::runandwaitforresult() + 34
> 45  fps_aqua.uno.dylib             0x000000014291a5f7 SalAquaFilePicker::execute() + 135
> 46  libsfx.dylib                   0x000000010d78f7a0 sfx2::FileDialogHelper_Impl::implDoExecute() + 80
> 47  libsfx.dylib                   0x000000010d790719 sfx2::FileDialogHelper_Impl::execute(SvStringsDtor*&, SfxItemSet*&, String&) + 761
> 48  libsfx.dylib                   0x000000010d795cc4 sfx2::FileOpenDialog_Impl(long, String const&, SvStringsDtor*&, String&, SfxItemSet*&, String const*, short, String const&, com::sun::star::uno::Sequence<rtl::OUString> const&) + 132
> 49  libsfx.dylib                   0x000000010d6e77b3 SfxApplication::OpenDocExec_Impl(SfxRequest&) + 1827
> 50  libsfx.dylib                   0x000000010d93bf0b SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) + 907
> 51  libsfx.dylib                   0x000000010d93f27e SfxDispatcher::PostMsgHandler(SfxRequest*) + 270
> 52  libsfx.dylib                   0x000000010d93c389 SfxDispatcher::LinkStubPostMsgHandler(void*, void*) + 9
> 53  libsfx.dylib                   0x000000010d8c97af SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) + 15
> 54  libvcl.dylib                   0x000000010ee96a03 ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) + 5267
> 55  libvcl.dylib                   0x000000010ebca255 AquaSalInstance::Yield(bool, bool) + 437
> 56  libvcl.dylib                   0x000000010ec051e0 Application::Yield(bool) + 96
> 57  libvcl.dylib                   0x000000010ec05167 Application::Execute() + 39
> 58  libsofficeapp.dylib           0x000000010d25a952 desktop::Desktop::Main() + 8642
> 59  libvcl.dylib                   0x000000010ec0a9a8 ImplSVMain() + 72
> 60  libvcl.dylib                   0x000000010ebc9e30 AquaSalInstance::handleAppDefinedEvent(NSEvent*) + 96
> 61  libvcl.dylib                   0x000000010eea6d99 -[VCL_NSApplication sendEvent:] + 73
> 62  com.apple.AppKit               0x00007fff230b736e -[NSApplication _handleEvent:] + 65
> 63  com.apple.AppKit               0x00007fff22c47b2f -[NSApplication run] + 623
> 64  com.apple.AppKit               0x00007fff22c1bdf2 NSApplicationMain + 816
> 65  libvcl.dylib                   0x000000010ebc8b75 ImplSVMainHook(unsigned char*) + 181
> 66  libvcl.dylib                   0x000000010ec0b601 SVMain() + 17
> 67  libsofficeapp.dylib           0x000000010d27f8c8 soffice_main + 136
> 68  org.openoffice.script         0x000000010d063eb0 main + 16
> 69  org.openoffice.script         0x000000010d063e94 start + 52
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
Reply | Threaded
Open this post in threaded view
|

Re: Big Sur 4.1.x core dumps

Fernando Cassia
On 30/12/2020, Steve Lubbs <[hidden email]> wrote:
> Hi Jim,
>
> There are professional, non-trivial Native OSX apps that don't run on
> Big Sur.

I wrote about all the software that had issues with BigSur. it´s a long list....
https://www.techdirt.com/articles/20201208/13454345846/apples-failure-to-ensure-backwards-compatibility-big-sur-leaves-developers-quite-sour.shtml

For instance, Apple managed to break the Java_Path environment
variable, breaking all Java IDEs in the process.

*facepalm*
FC

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]