Skip to content

Dart VM randomly crashes on application with FFI #36993

@rootext

Description

@rootext

Steps to reproduce:

  1. Run an application which uses Dart FFI.
  2. Application randomly crashes after few seconds.
    Some observations:
    If application crashes it crashes in few seconds after start.
    If application doesn't crash in few seconds it works perfectly even if the same code runs (in infinite loop for example).

Call stack:

	ntdll.dll!RtlpOptimizeConditionVariableWaitList()	Unknown
 	ntdll.dll!RtlSleepConditionVariableSRW()	Unknown
 	KERNELBASE.dll!00007ff944bceead()	Unknown
 	dart.exe!00007ff741754433()	Unknown
 	dart.exe!00007ff7418fa02b()	Unknown
 	000001a36abc3cb9()	Unknown
 	000001a36b6c3061()	Unknown
 	0000008e6a7fec68()	Unknown

I can provide crash dump if it is needed.

Dart VM version: 2.3.0 (Fri May 3 10:32:31 2019 +0200) on "windows_x64"

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffi

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions