https://bugs.kde.org/show_bug.cgi?id=473695

            Bug ID: 473695
           Summary: Heaptrack fails with dart executable
    Classification: Applications
           Product: Heaptrack
           Version: 1.4.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@milianw.de
          Reporter: smart...@kde.org
  Target Milestone: ---

When running dart under heaptrack, or even just a dart compiled executable,
heaptrack bails out with:

> starting application, this might take some time...
> terminate called after throwing an instance of '(anonymous 
> namespace)::HeapTrack::LockCheckFailed'
> terminate called recursively

To reproduce:

1. Have a main.dart with minimal contents such as:

void main(List<String> args) { print("Hello"); }

2. Download flutter from:
https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.10.3-stable.tar.xz

3. Unpack somewhere

4. Just to make sure dart works, let's run:
~/flutter-3.13/bin/cache/dart-sdk/bin/dart main.dart

5. Run under heaptrack:
heaptrack ~/flutter-3.13/bin/cache/dart-sdk/bin/dart main.dart

optionally, you can get a main.exe executable with:
$ flutter-3.13/bin/cache/dart-sdk/bin/dart compile exe main.dart
$ heaptrack main.exe

Which results in the same crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to