Page MenuHomeFeedback Tracker

Arma RC Segfault: Unit Init EventHander: setSpeaker
Acknowledged, NormalPublic

Description

If a unit init eventhander has (_this select 0) setspeaker "NoVoice"
Arma will segfault when you attempt to createUnit (alternative syntax).

This works fine
"CrashUnit" createUnit [position player, group player];

This will crash
(group player) createUnit ["CrashUnit", position player, [], 0, "FORM"];

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Modding
Steps To Reproduce
  1. Run Arma3 + use the pbo included.

  1. Eden editor / load a level etc
  1. Debug Console run the following
(group player) createUnit ["CrashUnit", position player, [], 0, "FORM"];

Arma will crash straight away

Additional Information

Was working fine for atleast a year now.

Note: This happens in both 32bit & 64bit

Event Timeline

Torndeco edited Additional Information. (Show Details)
Torndeco updated the task description. (Show Details)Feb 13 2017, 2:02 AM
Alwin claimed this task.Feb 13 2017, 2:59 PM
Alwin changed the task status from New to Reviewed.

Hi,

Thank you for report but I´m afraid that SQM file from exported mission is missing. I´m not able to get into your test mission just through PBO. SQM file is neede or can you descriebe (or attach video) how to reproduce creation of your mission.

Thanks.

Torndeco added a subscriber: test.EditedFeb 13 2017, 3:58 PM

There is no mission required.

  1. You just load up arma with the pbo attached.

    Make a @test/Addon directory & copy the pbo inside there.

    And launching arma with -mod=@test
  1. Once Arma is started

    Editor->Virtual Reality

    Double click & place unit down

    Play Scenario
  1. Press Escape In the debug console window

    Type
(group player) createUnit ["CrashUnit", position player, [], 0, "FORM"];

Click Local Exec

Hi, @Torndeco

RC branch was updated yesterday in late evening hours. Try it again, please and let me know.

Thanks.

Still crashes on RC Branch, version 1.68.140365
Maybe the new rc build hasn't been pushed yet on steam

Alwin changed the task status from Reviewed to Acknowledged.Feb 15 2017, 10:35 AM

Still crashes on latest rc build 1.68.140613