MantisBT - VCMI
View Issue Details
0002970VCMIOtherpublic2018-07-16 19:372022-03-28 15:42
romanyx 
Povelitel 
highcrashalways
closedunable to reproduce 
MacmacOS10.13.5
0.99 
 
0002970: Client freeze when starting the New Scenario or any other
When I pressing the New Scenario or trying to start a campaign, the client just freeze.

$ /Applications/VCMI.app/Contents/MacOS/vcmiserver --port=4443
```
VCMI 0.99 51229e88b237aa0b409ede711eaa833f0c9dc509 (server)
    Initialization: 2 ms
    Data loading: 30 ms
    Mod handler: 0 ms
    Mod filesystems: 20 ms
Basic initialization: 54 ms
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] mod => not set
[log level] network => not set
         Bonus type handler: 3 ms
         General text handler: 4 ms
         Hero handler: 3 ms
         Artifact handler: 0 ms
         Creature handler: 0 ms
         Town handler: 0 ms
         Object handler: 0 ms
         Object types information handler: 0 ms
         Spell handler: 0 ms
         Skill handler: 0 ms
         Terrain view pattern handler: 2 ms
         Template handler: 0 ms
    Initializing handlers: 14 ms
    Initializing content handler: 0 ms
        [290d8dfa]Original game files
        [d9fe2ccf]VCMI essential files
    Parsing mod data: 158 ms
no original data in loadMod(neutral) at index 9
        [DONE] Original game files
        [SKIP] VCMI essential files
    Loading mod data: 208 ms
    Resolving identifiers: 18 ms
No templates found for 38:1
No templates found for 49:1
No templates found for 79:7
No templates found for 90:1
No templates found for 100:1
No templates found for 103:1
No templates found for 113:1
No templates found for 172:0
No templates found for 186:0
No templates found for 189:0
    Handlers post-load finalization: 16 ms
    All game content loaded in 402 ms
Port 4443 will be used
Listening for connections at port 4443
We got a new connection! :)
Established connection with VCMI 0.99 51229e88b237aa0b409ede711eaa833f0c9dc509 (client). UUID: 768b83b1-2cc4-4e6c-a5ef-53cbf860cb88
```

$/Applications/VCMI.app/Contents/MacOS/vcmiclient --disable-video -i -d --serverport=4443

```
objc[80591]: Class SDLApplication is implemented in both /Applications/VCMI.app/Contents/MacOS/libSDL2-2.0.0.dylib (0x11096d170) and /Applications/VCMI.app/Contents/MacOS/vcmiclient (0x10f5233e8). One of the two will be used. Which one is undefined.
Starting...
VCMI 0.99 51229e88b237aa0b409ede711eaa833f0c9dc509 (client)
Creating console and configuring logger: 1 ms
The log file will be saved to "/Users/roma/Library/Application Support/vcmi/VCMI_Client_log.txt"
    Initialization: 2 ms
    Data loading: 35 ms
    Mod handler: 0 ms
    Mod filesystems: 34 ms
Basic initialization: 73 ms
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] mod => not set
[log level] network => not set
Loading settings: 75 ms
Found 3 render drivers
    opengl (active)
    metal
    software
Check display mode: requested 800 x 600; available up to 1440 x 900
Created renderer opengl
    Initializing screen: 133 ms
    Initializing video: 5 ms
Initializing screen and sound handling: 15 ms
         Bonus type handler: 3 ms
         General text handler: 4 ms
         Hero handler: 3 ms
         Artifact handler: 0 ms
         Creature handler: 0 ms
         Town handler: 0 ms
         Object handler: 0 ms
         Object types information handler: 0 ms
         Spell handler: 0 ms
         Skill handler: 0 ms
         Terrain view pattern handler: 1 ms
         Template handler: 0 ms
    Initializing handlers: 13 ms
    Initializing content handler: 0 ms
        [7e5615e4]Original game files
        [d9fe2ccf]VCMI essential files
    Parsing mod data: 173 ms
no original data in loadMod(neutral) at index 9
        [DONE] Original game files
        [SKIP] VCMI essential files
    Loading mod data: 231 ms
    Resolving identifiers: 18 ms
No templates found for 38:1
No templates found for 49:1
No templates found for 79:7
No templates found for 90:1
No templates found for 100:1
No templates found for 103:1
No templates found for 113:1
No templates found for 172:0
No templates found for 186:0
No templates found for 189:0
    Handlers post-load finalization: 19 ms
    All game content loaded in 442 ms
Initializing VCMI_Lib: 456 ms
Screen handler: 6 ms
    Main graphics: 149 ms
Initializing game graphics: 156 ms
Message handler: 1 ms
Initialization of VCMI (together): 847 ms
Warning: Cannot open Music/MainMenu: Unrecognized audio format
Unable to play music (music parameter was NULL)
Establishing connection...
Found endpoints:
    0:127.0.0.1:4443
Trying connection to 127.0.0.1:4443(0)
Established connection with VCMI 0.99 51229e88b237aa0b409ede711eaa833f0c9dc509 (server). UUID: 854475df-bba5-413a-8e96-151fec44b43c
```

As you can see, It's connected to the server and then just freeze.
Run server, Run client, try to start New Scenario.
I downloaded the latest .dmg installed data through `vcmibuilder` from gog installer
No tags attached.
Issue History
2018-07-16 19:37romanyxNew Issue
2022-03-16 10:05PovelitelNote Added: 0008104
2022-03-16 10:05PovelitelAssigned To => Povelitel
2022-03-16 10:05PovelitelStatusnew => feedback
2022-03-28 15:42PovelitelNote Added: 0008216
2022-03-28 15:42PovelitelStatusfeedback => closed
2022-03-28 15:42PovelitelResolutionopen => unable to reproduce

Notes
(0008104)
Povelitel   
2022-03-16 10:05   
Try the latest build from here https://builds.vcmi.download/branch/develop/macOS/ [^]
Does the problem still exist?
(0008216)
Povelitel   
2022-03-28 15:42   
Try a new build. If you encounter this error again, please let us know.