Skip to content

GREF logging is broken in multi-process apps #1

Description

@jonpryor

Scenario: Create a Xamarin.Android app, add a e.g. Service, and set ServiceAttribute.Process:

[Service(Process="example")]
public class MyService : Android.App.Service {
    // ...
}

The problem is that the debug.mono.log system property is read at process startup -- for both (all) processes, the "normal" one and the "example" one, and they don't know to cooperate with each other.

The result is that they each write to grefs.txt, corrupting the contents.

Activity

  1. added a commit that references this issue on Feb 21, 2018
  2. 50 remaining items

  3. dotnet-policy-service commented on May 8, 2026

    @dotnet-policy-service

    We suspect this issue is stale and no longer relevant. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

  4. dotnet-policy-service commented on May 22, 2026

    @dotnet-policy-service

    This issue will now be closed since it had been marked "possibly-stale" but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

  5. locked and limited conversation to collaborators on Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: App RuntimeIssues in `libmonodroid.so`.possibly-staleIssues that are potentially no longer relevant.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions