Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run runtime tests with lttng 2.13 #60407

Closed
ManickaP opened this issue Oct 14, 2021 · 6 comments
Closed

Cannot run runtime tests with lttng 2.13 #60407

ManickaP opened this issue Oct 14, 2021 · 6 comments
Labels
area-Infrastructure os-linux Linux OS (any supported distro) untriaged New issue has not been triaged by the area owner

Comments

@ManickaP
Copy link
Member

AFAIU the problem, the officially released runtime is linked with lttng 2.12, while current version is 2.13 LTTng 2.13 "Nordicité" (current release).

As a result, when I try to run tests in runtime libraries, e.g.: dotnet build /t:test in System.Net.Http functional tests, the process crashes with:

 exit code 139 means SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped.

Dump:

* thread #1, name = 'dotnet', stop reason = signal SIGSEGV
  * frame #0: 0x00007ff73baa4682 liblttng-ust.so.1`lttng_ust_probe_register + 162
    frame #1: 0x00007ff73bb631f5 libcoreclrtraceptprovider.so`lttng_ust__events_init__DotNETRuntime() at ust-tracepoint-event.h:1198:14
...

I'm just a first person hitting this since I'm on Arch, but it's highly likely this will affect others in the future as well.

I'd be glad even for a hacky workaround since this is blocking for me.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Oct 14, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost
Copy link

ghost commented Oct 14, 2021

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

AFAIU the problem, the officially released runtime is linked with lttng 2.12, while current version is 2.13 LTTng 2.13 "Nordicité" (current release).

As a result, when I try to run tests in runtime libraries, e.g.: dotnet build /t:test in System.Net.Http functional tests, the process crashes with:

 exit code 139 means SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped.

Dump:

* thread #1, name = 'dotnet', stop reason = signal SIGSEGV
  * frame #0: 0x00007ff73baa4682 liblttng-ust.so.1`lttng_ust_probe_register + 162
    frame #1: 0x00007ff73bb631f5 libcoreclrtraceptprovider.so`lttng_ust__events_init__DotNETRuntime() at ust-tracepoint-event.h:1198:14
...

I'm just a first person hitting this since I'm on Arch, but it's highly likely this will affect others in the future as well.

I'd be glad even for a hacky workaround since this is blocking for me.

Author: ManickaP
Assignees: -
Labels:

area-Infrastructure, untriaged

Milestone: -

@ManickaP ManickaP added the os-linux Linux OS (any supported distro) label Oct 14, 2021
@am11
Copy link
Member

am11 commented Oct 14, 2021

Possible duplicate of #57784.

@thhous-msft
Copy link

You should be able to disable lttng by creating a DOTNET_LTTng=0 or COMPlus_LTTng=0 env var, which will disable loading the logging provider.

@ManickaP
Copy link
Member Author

@am11 Thanks, this is a 100% dupe of that issue. Seeing the date of creation (19.8.) it corresponds with me reporting it internally. I just wasn't aware of the issue.

@thhous-msft Thanks for the workaround, it worked!

@ManickaP
Copy link
Member Author

Duplicate of #57784

@ManickaP ManickaP marked this as a duplicate of #57784 Oct 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Nov 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure os-linux Linux OS (any supported distro) untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants