Skip to content

investigate MTE crash; try using latest golang-go #1778

Description

@aagbsn

on newer android devices that support MTE, golang applications crash because MTE was/is not supported by golang. Due to Apple's devices starting to use MTE there has been some recent movement on this issue:
golang/go#59090

It would be useful to test building probe-cli with a newer go compiler (1.26.x) and see if these crashes are resolved.

see also this comment:

chenxiaolong/BasicSync#12 (comment)
"I found some other apps that were able to avoid MTE crashes by replacing C.GoString() with a different implementation"

We do use C.GoString in probe-cli

probe-cli$ grep "C.GoString" -r .
./internal/netxlite/getaddrinfo_cgo.go:			canonname = dns.CanonicalName(C.GoString(r.ai_canonname))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions