MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002711VCMILauncherpublic2017-07-12 01:542022-03-28 18:34
Reporterhkoehler 
Assigned ToSXX 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS/XOS Version10.10.5
Product Version0.99 
Target VersionFixed in Version 
Summary0002711: Instant crash and crash on load after switching to fullscreen
DescriptionInitially the game started up ok in windowed mode (800x600, only resolution available). After switching to fullscreen mode the game crashed, and any re-start results in near-instant crash (you can see how it tried to enter fullscreen mode).
Steps To ReproduceInstall, launch, start scenario, select system options, select fullscreen mode.
Additional Informationhk-macbook:vcmi hkoehler$ ./bin/vcmiclient.app/Contents/MacOS/vcmiclient
objc[40411]: Class SDLApplication is implemented in both /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib and /Users/hkoehler/games/vcmi/./bin/vcmiclient.app/Contents/MacOS/vcmiclient. One of the two will be used. Which one is undefined.
Starting...
VCMI 0.99 2cf7c7b2341908cab47988d93db80c0895f469f9 (client)
Creating console and configuring logger: 0
The log file will be saved to "/Users/hkoehler/Library/Application Support/vcmi/VCMI_Client_log.txt"
    Initialization: 6
    Data loading: 30
    Mod handler: 0
    Mod filesystems: 44
Basic initialization: 80
Initialized logging system based on settings successfully.
[log level] ai => not set
[log level] animation => not set
[log level] bonus => not set
[log level] global => trace
[log level] network => not set
Error: campaign movies was not found!
Error: campaign music was not found!
Loading settings: 82
Found 2 render drivers
    opengl (active)
    software
Check display mode: requested 800 x 600; available up to 1280 x 800
2017-07-12 13:40:06.263 vcmiclient[40411:463388] An uncaught exception was raised
2017-07-12 13:40:06.264 vcmiclient[40411:463388] CALayer position contains NaN: [nan nan]
2017-07-12 13:40:06.265 vcmiclient[40411:463388] (
    0 CoreFoundation 0x00007fff8eff503c __exceptionPreprocess + 172
    1 libobjc.A.dylib 0x00007fff87f7476e objc_exception_throw + 43
    2 CoreFoundation 0x00007fff8eff4eed +[NSException raise:format:] + 205
    3 QuartzCore 0x00007fff889cedaa _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 152
    4 QuartzCore 0x00007fff889ced0b -[CALayer setPosition:] + 43
    5 QuartzCore 0x00007fff889d3157 -[CALayer setFrame:] + 720
    6 AppKit 0x00007fff86dd0d7e -[_NSFullScreenTransitionOverlayWindow startEnterFullScreenAnimationWithDuration:completionHandler:] + 1593
    7 AppKit 0x00007fff86dd070f -[_NSFullScreenTransition _startFullScreenTransitionForCGWindow:targetFrame:duration:completionHandler:] + 187
    8 AppKit 0x00007fff86dd024b __89-[_NSFullScreenTransition _performEnterFullScreenModeAnimating:activating:customWindows:]_block_invoke384 + 1941
    9 libxpc.dylib 0x00007fff858664fc _xpc_connection_reply_callout + 47
    10 libxpc.dylib 0x00007fff85866488 _xpc_connection_call_reply + 36
    11 libdispatch.dylib 0x00007fff8613de73 _dispatch_client_callout + 8
    12 libdispatch.dylib 0x00007fff8614e767 _dispatch_main_queue_callback_4CF + 861
    13 CoreFoundation 0x00007fff8ef483f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    14 CoreFoundation 0x00007fff8ef0368f __CFRunLoopRun + 2159
    15 CoreFoundation 0x00007fff8ef02bd8 CFRunLoopRunSpecific + 296
    16 HIToolbox 0x00007fff8cb4b56f RunCurrentEventLoopInMode + 235
    17 HIToolbox 0x00007fff8cb4b2ea ReceiveNextEventCommon + 431
    18 HIToolbox 0x00007fff8cb4b12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    19 AppKit 0x00007fff86b0d8ab _DPSNextEvent + 978
    20 AppKit 0x00007fff86b0ce58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    21 libSDL2-2.0.0.dylib 0x000000010c805b20 Cocoa_PumpEvents + 240
    22 libSDL2-2.0.0.dylib 0x000000010c7a7d8d SDL_PumpEvents_REAL + 23
    23 libSDL2-2.0.0.dylib 0x000000010c80d715 Cocoa_SetWindowFullscreenSpace + 131
    24 libSDL2-2.0.0.dylib 0x000000010c80150e SDL_UpdateFullscreenMode + 318
    25 libSDL2-2.0.0.dylib 0x000000010c7ab5b1 SDL_SendWindowEvent + 117
    26 libSDL2-2.0.0.dylib 0x000000010c80a0e6 -[Cocoa_WindowListener resumeVisibleObservation] + 109
    27 libSDL2-2.0.0.dylib 0x000000010c80b222 Cocoa_ShowWindow + 103
    28 libSDL2-2.0.0.dylib 0x000000010c8026ff SDL_ShowWindow_REAL + 90
    29 libSDL2-2.0.0.dylib 0x000000010c801065 SDL_CreateWindow_REAL + 1048
    30 vcmiclient 0x000000010b73c403 _ZL14recreateWindowiiibi + 1235
    31 vcmiclient 0x000000010b7340f1 SDL_main + 11841
    32 vcmiclient 0x000000010b80b051 -[SDLMain applicationDidFinishLaunching:] + 49
    33 CoreFoundation 0x00007fff8efb145c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
    34 CoreFoundation 0x00007fff8eea1634 _CFXNotificationPost + 3140
    35 Foundation 0x00007fff87605aa1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
    36 AppKit 0x00007fff86b17a8b -[NSApplication _postDidFinishNotification] + 291
    37 AppKit 0x00007fff86b177f6 -[NSApplication _sendFinishLaunchingNotification] + 191
    38 AppKit 0x00007fff86b14946 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 574
    39 AppKit 0x00007fff86b14385 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 244
    40 Foundation 0x00007fff87638818 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
    41 Foundation 0x00007fff87638689 _NSAppleEventManagerGenericHandler + 102
    42 AE 0x00007fff80fe343c _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 531
    43 AE 0x00007fff80fe31b9 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 31
    44 AE 0x00007fff80fe30c3 aeProcessAppleEvent + 295
    45 HIToolbox 0x00007fff8cb59c6e AEProcessAppleEvent + 56
    46 AppKit 0x00007fff86b0dda2 _DPSNextEvent + 2249
    47 AppKit 0x00007fff86b0ce58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    48 AppKit 0x00007fff86b02af3 -[NSApplication run] + 594
    49 vcmiclient 0x000000010b80b663 main + 1267
    50 libdyld.dylib 0x00007fff862ff5c9 start + 1
)
2017-07-12 13:40:06.269 vcmiclient[40411:463388] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'
*** First throw call stack:
(
    0 CoreFoundation 0x00007fff8eff503c __exceptionPreprocess + 172
    1 libobjc.A.dylib 0x00007fff87f7476e objc_exception_throw + 43
    2 CoreFoundation 0x00007fff8eff4eed +[NSException raise:format:] + 205
    3 QuartzCore 0x00007fff889cedaa _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 152
    4 QuartzCore 0x00007fff889ced0b -[CALayer setPosition:] + 43
    5 QuartzCore 0x00007fff889d3157 -[CALayer setFrame:] + 720
    6 AppKit 0x00007fff86dd0d7e -[_NSFullScreenTransitionOverlayWindow startEnterFullScreenAnimationWithDuration:completionHandler:] + 1593
    7 AppKit 0x00007fff86dd070f -[_NSFullScreenTransition _startFullScreenTransitionForCGWindow:targetFrame:duration:completionHandler:] + 187
    8 AppKit 0x00007fff86dd024b __89-[_NSFullScreenTransition _performEnterFullScreenModeAnimating:activating:customWindows:]_block_invoke384 + 1941
    9 libxpc.dylib 0x00007fff858664fc _xpc_connection_reply_callout + 47
    10 libxpc.dylib 0x00007fff85866488 _xpc_connection_call_reply + 36
    11 libdispatch.dylib 0x00007fff8613de73 _dispatch_client_callout + 8
    12 libdispatch.dylib 0x00007fff8614e767 _dispatch_main_queue_callback_4CF + 861
    13 CoreFoundation 0x00007fff8ef483f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    14 CoreFoundation 0x00007fff8ef0368f __CFRunLoopRun + 2159
    15 CoreFoundation 0x00007fff8ef02bd8 CFRunLoopRunSpecific + 296
    16 HIToolbox 0x00007fff8cb4b56f RunCurrentEventLoopInMode + 235
    17 HIToolbox 0x00007fff8cb4b2ea ReceiveNextEventCommon + 431
    18 HIToolbox 0x00007fff8cb4b12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    19 AppKit 0x00007fff86b0d8ab _DPSNextEvent + 978
    20 AppKit 0x00007fff86b0ce58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    21 libSDL2-2.0.0.dylib 0x000000010c805b20 Cocoa_PumpEvents + 240
    22 libSDL2-2.0.0.dylib 0x000000010c7a7d8d SDL_PumpEvents_REAL + 23
    23 libSDL2-2.0.0.dylib 0x000000010c80d715 Cocoa_SetWindowFullscreenSpace + 131
    24 libSDL2-2.0.0.dylib 0x000000010c80150e SDL_UpdateFullscreenMode + 318
    25 libSDL2-2.0.0.dylib 0x000000010c7ab5b1 SDL_SendWindowEvent + 117
    26 libSDL2-2.0.0.dylib 0x000000010c80a0e6 -[Cocoa_WindowListener resumeVisibleObservation] + 109
    27 libSDL2-2.0.0.dylib 0x000000010c80b222 Cocoa_ShowWindow + 103
    28 libSDL2-2.0.0.dylib 0x000000010c8026ff SDL_ShowWindow_REAL + 90
    29 libSDL2-2.0.0.dylib 0x000000010c801065 SDL_CreateWindow_REAL + 1048
    30 vcmiclient 0x000000010b73c403 _ZL14recreateWindowiiibi + 1235
    31 vcmiclient 0x000000010b7340f1 SDL_main + 11841
    32 vcmiclient 0x000000010b80b051 -[SDLMain applicationDidFinishLaunching:] + 49
    33 CoreFoundation 0x00007fff8efb145c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
    34 CoreFoundation 0x00007fff8eea1634 _CFXNotificationPost + 3140
    35 Foundation 0x00007fff87605aa1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
    36 AppKit 0x00007fff86b17a8b -[NSApplication _postDidFinishNotification] + 291
    37 AppKit 0x00007fff86b177f6 -[NSApplication _sendFinishLaunchingNotification] + 191
    38 AppKit 0x00007fff86b14946 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 574
    39 AppKit 0x00007fff86b14385 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 244
    40 Foundation 0x00007fff87638818 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
    41 Foundation 0x00007fff87638689 _NSAppleEventManagerGenericHandler + 102
    42 AE 0x00007fff80fe343c _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 531
    43 AE 0x00007fff80fe31b9 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 31
    44 AE 0x00007fff80fe30c3 aeProcessAppleEvent + 295
    45 HIToolbox 0x00007fff8cb59c6e AEProcessAppleEvent + 56
    46 AppKit 0x00007fff86b0dda2 _DPSNextEvent + 2249
    47 AppKit 0x00007fff86b0ce58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    48 AppKit 0x00007fff86b02af3 -[NSApplication run] + 594
    49 vcmiclient 0x000000010b80b663 main + 1267
    50 libdyld.dylib 0x00007fff862ff5c9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007168)
hkoehler (developer)
2017-07-22 20:31

It might be an issue with the install being incomplete - don't have my macbook here to test right now, but had similar trouble under linux which got fixed after manually installing the vcmi mod (copied from Windows zip).
(0007233)
SXX (administrator)
2017-08-23 23:36

If you can please re-test it with latest builds.
As far as I can see fullscreen working fine on Mac now.
(0008103)
Povelitel (updater)
2022-03-16 09:58

Try the latest build from here https://builds.vcmi.download/branch/develop/macOS/ [^]
Does the problem still exist?
(0008233)
Povelitel (updater)
2022-03-28 18:34

Should be fixed. Try the latest build

- Issue History
Date Modified Username Field Change
2017-07-12 01:54 hkoehler New Issue
2017-07-22 14:19 SXX Assigned To => SXX
2017-07-22 14:19 SXX Status new => assigned
2017-07-22 20:31 hkoehler Note Added: 0007168
2017-08-23 23:36 SXX Note Added: 0007233
2022-03-16 09:58 Povelitel Note Added: 0008103
2022-03-16 09:58 Povelitel Status assigned => feedback
2022-03-28 18:34 Povelitel Note Added: 0008233
2022-03-28 18:34 Povelitel Status feedback => closed
2022-03-28 18:34 Povelitel Resolution open => unable to reproduce

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean