Hugin crashes in MacBook Pro M2 (Sonoma 14.4)

Asked by Lufo

Hello everyone,
I'm having some troubles launching Hugin in my MacBook Pro M2 (macOS Sonoma 14.4). All three Hugin, PTBatcherGUI and HuginStitchProject have all privileges to execute and full disk access. Hugin opens and remains open with the tip of the day. However, as soon as I close the tip window, the program crashes. There is no way that I can access to the preferences to check the settings.

PTBatcherGUI also crashes, but without showing anything at all.

The only app that runs well is HuginStitchProject, which I tried with old projects and ran without any issues.

I have executed /Applications/Hugin/Hugin.app/Contents/MacOS/Hugin and the output I've got is this:

lufo@Lucass-MacBook-Pro ~ % /Applications/Hugin/Hugin.app/Contents/MacOS/Hugin
2024-03-21 12:52:16.565 Hugin[1204:12594] It's not legal to call -layoutSubtreeIfNeeded on a view which is already being laid out. If you are implementing the view's -layout method, you can call -[super layout] instead. Break on void _NSDetectedLayoutRecursion(void) to debug. This will be logged only once. This may break in the future.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow should only be instantiated on the main thread!'
*** First throw call stack:
(
 0 CoreFoundation 0x00007ff81bcd32ee __exceptionPreprocess + 242
 1 libobjc.A.dylib 0x00007ff81b7c421b objc_exception_throw + 48
 2 CoreFoundation 0x00007ff81bcf6b0c -[NSException raise] + 9
 3 AppKit 0x00007ff81f23be8d -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1595
 4 AppKit 0x00007ff81f3d05bc -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 50
 5 AppKit 0x00007ff81f23b84c -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
 6 AppKit 0x00007ff81f3d0575 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 59
 7 libwx_osx_cocoau-3.1.3.0.0.dylib 0x000000010e2d572a _ZN25wxNonOwnedWindowCocoaImpl6CreateEP8wxWindowRK7wxPointRK6wxSizellRK8wxString + 1098
 8 libwx_osx_cocoau-3.1.3.0.0.dylib 0x000000010e2d7a80 _ZN20wxNonOwnedWindowImpl20CreateNonOwnedWindowEP16wxNonOwnedWindowP8wxWindowRK7wxPointRK6wxSizellRK8wxString + 160
 9 libwx_osx_cocoau-3.1.3.0.0.dylib 0x000000010e2088e2 _ZN16wxNonOwnedWindow6CreateEP8wxWindowiRK7wxPointRK6wxSizelRK8wxString + 274
 10 libwx_osx_cocoau-3.1.3.0.0.dylib 0x000000010e20c771 _ZN19wxTopLevelWindowMac6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelS4_ + 49
 11 libwx_osx_cocoau-3.1.3.0.0.dylib 0x000000010e206b72 _ZN8wxDialog6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelS4_ + 98
 12 libwx_osx_cocoau-3.1.3.0.0.dylib 0x000000010e57b16e _ZN19wxDebugReportDialogC2ER13wxDebugReport + 382
 13 libwx_osx_cocoau-3.1.3.0.0.dylib 0x000000010e57e11a _ZNK23wxDebugReportPreviewStd4ShowER13wxDebugReport + 42
 14 libhuginbasewx.0.0.dylib 0x000000010d1a319b _Z14GenerateReportN13wxDebugReport7ContextE + 267
 15 libwx_osx_cocoau-3.1.3.0.0.dylib 0x000000010e1cfcdc _ZL20wxFatalSignalHandleri + 28
 16 libsystem_platform.dylib 0x00007ff81bbb2fdd _sigtramp + 29
 17 ??? 0x0000000000000000 0x0 + 0
 18 CoreGraphics 0x00007ff821644e7e CGFunctionEvaluate + 243
 19 QuartzCore 0x00007ff824a016aa _ZN2CA2CG12_GLOBAL__N_115FunctionSampler6sampleEi + 150
 20 QuartzCore 0x00007ff824a015bf _ZNK2CA2CG12_GLOBAL__N_125FunctionColormapGenerator8generateERNS0_8RendererEP12CGColorSpacePhib + 261
 21 QuartzCore 0x00007ff8247843b9 _ZN2CA3OGL6Mosaic4drawERNS0_7ContextEjjPKNS1_3KeyEiibRKNS1_8DelegateEjPKNS_4Mat2IdEE + 1491
 22 QuartzCore 0x00007ff8249ffdf2 _ZN2CA2CG12_GLOBAL__N_121draw_shading_delegateERNS1_15ShadingDelegateEjj + 192
 23 QuartzCore 0x00007ff8247d0c8d _ZN2CA2CG12fill_shadingERNS0_8RendererEP9CGShadingRKNS_4Mat2IdEEb + 1376
 24 QuartzCore 0x00007ff82476bf6f _ZNK2CA2CG6DrawOp6renderERNS0_8RendererE + 3835
 25 QuartzCore 0x00007ff8247685a5 _ZN2CA2CG5Queue15render_callbackEPv + 1391
 26 libdispatch.dylib 0x00007ff81b9e2dbc _dispatch_client_callout + 8
 27 libdispatch.dylib 0x00007ff81b9e9003 _dispatch_lane_serial_drain + 1060
 28 libdispatch.dylib 0x00007ff81b9e9997 _dispatch_lane_invoke + 377
 29 libdispatch.dylib 0x00007ff81b9f3414 _dispatch_root_queue_drain_deferred_wlh + 271
 30 libdispatch.dylib 0x00007ff81b9f2d2a _dispatch_workloop_worker_thread + 451
 31 libsystem_pthread.dylib 0x00007ff81bb80b84 _pthread_wqthread + 327
 32 libsystem_pthread.dylib 0x00007ff81bb7facf start_wqthread + 15
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort /Applications/Hugin/Hugin.app/Contents/MacOS/Hugin
lufo@Lucass-MacBook-Pro ~ % /Applications/Hugin/Hugin.app/Contents/MacOS/Hugin

Finally, the installation was made on a clean macOS, so there should not exist conflicts with previous installations or something similar.

Any ideas how to get Hugin.app working?

Thank you so much in advance!

Question information

Language:
English Edit question
Status:
Expired
For:
Hugin Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.