View Issue Details

IDProjectCategoryView StatusLast Update
0009736New issuesClientpublic2017-10-04 11:41
ReporterKenixAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0009736: MTA Client crashed on custom (stable) version
Description

Connect to the local custom server

Additional Information

MTA:Client r11684 and higher
MTA:Server r11684 and higher

Compile configuration (default)

  • Release (Custom)
TagsNo tags attached.

Activities

ccw

2017-10-03 14:38

administrator   ~~0026210

We don't have your source, binaries or symbols.

Open the dump in Visual Studio and set the correct symbol path

Kenix

2017-10-03 15:57

updater   ~~0026211

CMultiplayerSA.cpp line 3166 // strcpy ( szModelName, "player" );

Unhandled exception at address 0x6B8E495E (multiplayer_sa.dll) in client_1.5.4-custom.0.000_multiplayersa_0000F95_5_CGRB_A696645D_55F3_009_EE451_20171003_1648.dmp: 0xC0000005: violation of write access rights at address 0x754B9ECC.

Kenix

2017-10-03 15:59

updater   ~~0026212

Tested on latest sources.

Kenix

2017-10-03 16:15

updater   ~~0026213

Uploading right now on google drive all binaries

Kenix

2017-10-03 16:17

updater   ~~0026214

https://drive.google.com/file/d/0B14UHGO57QMdX2RaNjdnLUxqbGM/view?usp=sharing

ccw

2017-10-03 20:11

administrator   ~~0026215

The .dmp uses different binaries

ccw

2017-10-03 20:28

administrator   ~~0026216

Ok, I used the dumps in the bin.rar

What is the version+build of Visual Studio used to compile the binaries?
Help->About Microsoft Visual Studio

Kenix

2017-10-03 21:05

updater   ~~0026217

https://pastebin.com/mDS9JtiP

ccw

2017-10-03 22:04

administrator   ~~0026218

Looks like a compiler error with Visual Studio 15.3.5 - The compiler is allocating local variables incorrectly when inlining within _declspec(naked) functions

15.2 works correctly, but I don't know where to download it.
You could try 15.4 - https://www.visualstudio.com/en-us/news/releasenotes/vs2017-Preview-relnotes

Kenix

2017-10-03 23:29

updater   ~~0026219

In version 15.4.0 i got this error
https://pastebin.com/D1THH2cD

I'll try find 15.2

Kenix

2017-10-03 23:29

updater   ~~0026220

When i compile*

Kenix

2017-10-03 23:40

updater   ~~0026221

So,
I copied pthread.dll from Bin.rar and paste.
Anyway i have this error in the same line (3166) + pthread.dll is not compiled on VS 2017 ver 15.4.0

ccw

2017-10-03 23:56

administrator   ~~0026222

Last edited: 2017-10-04 00:08

View 7 revisions

The bug might not even be fixed in 15.4.0

A work around for using 15.3.5 is to add:

filter "configurations:Release or configurations:Nightly"
    buildoptions { "/Ob1" }

to the end of both
Client\game_sa\premake5.lua
and
Client\multiplayer_sa\premake5.lua

and then run
win-create-projects.bat

Kenix

2017-10-04 11:41

updater   ~~0026223

It's works! Thank you.

Issue History

Date Modified Username Field Change