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

Segmentation fault (SIGSEGV) on LinuxBionic #75502

Open
karelz opened this issue Sep 13, 2022 · 4 comments
Open

Segmentation fault (SIGSEGV) on LinuxBionic #75502

karelz opened this issue Sep 13, 2022 · 4 comments

Comments

@karelz
Copy link
Member

karelz commented Sep 13, 2022

From monitoring Rolling runs, there have been a few occurrences:

Day Run Test suite OS
9/22 27269 (7.0) System.Net.Primitives.UnitTests net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/21 24630 System.Threading.Tasks.Dataflow net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/17 21283 Microsoft.Extensions.Configuration net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/16 20550 System.Text.Json.SourceGeneration.Roslyn3.11.Unit net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/15 18995 System.Text.RegularExpressions net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/14 16870 (7.0) Microsoft.Extensions.DependencyInjection.ExternalContainers net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/12 13766 System.Runtime.Serialization.Xml net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/12 13309 (7.0) System.Formats.Asn1 net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/12 12571 System.ServiceModel.Syndication net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/11 11973 (7.0) Common.Tests net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/11 11877 System.Text.Json.SourceGeneration.Roslyn4.0.Unit net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/9 10781 (7.0) Microsoft.Extensions.Logging.Generators.Roslyn3.11 net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/6 6305 Microsoft.Extensions.Logging.Generators.Roslyn3.11 net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/5 5191 System.Text.Json.SourceGeneration.Roslyn4.0.Unit net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open

Example Console log:

[02:35:46] dbug: Executing command: 'C:\h\w\A6880942\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22456.1\runtimes\any\native\adb\windows\adb.exe -s 09221JEC206738 shell /data/local/tmp/e/System.ServiceModel.Syndication.Tests.sh -r /data/local/tmp/runtime/dotnet'
[02:35:48] info: An error occurred running System.ServiceModel.Syndication.Tests.sh
[02:35:48] dbug: Exit code: 139
                 Std out:
                   Discovering: System.ServiceModel.Syndication.Tests (method display = ClassAndMethod, method display options = None)
                   Discovered:  System.ServiceModel.Syndication.Tests (found 776 test cases)
                   Starting:    System.ServiceModel.Syndication.Tests (parallel test collections = on, max threads = 8)
                 
                 =================================================================
                 	Native Crash Reporting
                 =================================================================
                 Got a SIGSEGV while executing native code. This usually indicates
                 a fatal error in the mono runtime or one of the native libraries 
                 used by your application.
                 =================================================================
                 
                 No native Android stacktrace (see debuggerd output).
                 
                 =================================================================
                 	Basic Fault Address Reporting
                 =================================================================
                 Memory around native instruction pointer (0x743b075748):0x743b075738  
                 
                 
                 Std err:
                 Segmentation fault 

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@karelz karelz added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' os-android labels Sep 13, 2022
@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 ghost added the untriaged New issue has not been triaged by the area owner label Sep 13, 2022
@ghost
Copy link

ghost commented Sep 13, 2022

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

From monitoring Rolling runs, there have been a few occurrences:

Day Run Test suite OS
9/12 12571 System.ServiceModel.Syndication net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/11 11877 System.Text.Json.SourceGeneration.Roslyn4.0.Unit net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/6 6305 Microsoft.Extensions.Logging.Generators.Roslyn3.11 net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open
9/5 5191 System.Text.Json.SourceGeneration.Roslyn4.0.Unit net7.0-Linux-Release-arm64-Mono_Release_LinuxBionic-Windows.10.Amd64.Android.Open

Example Console log:

[02:35:46] dbug: Executing command: 'C:\h\w\A6880942\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.22456.1\runtimes\any\native\adb\windows\adb.exe -s 09221JEC206738 shell /data/local/tmp/e/System.ServiceModel.Syndication.Tests.sh -r /data/local/tmp/runtime/dotnet'
[02:35:48] info: An error occurred running System.ServiceModel.Syndication.Tests.sh
[02:35:48] dbug: Exit code: 139
                 Std out:
                   Discovering: System.ServiceModel.Syndication.Tests (method display = ClassAndMethod, method display options = None)
                   Discovered:  System.ServiceModel.Syndication.Tests (found 776 test cases)
                   Starting:    System.ServiceModel.Syndication.Tests (parallel test collections = on, max threads = 8)
                 
                 =================================================================
                 	Native Crash Reporting
                 =================================================================
                 Got a SIGSEGV while executing native code. This usually indicates
                 a fatal error in the mono runtime or one of the native libraries 
                 used by your application.
                 =================================================================
                 
                 No native Android stacktrace (see debuggerd output).
                 
                 =================================================================
                 	Basic Fault Address Reporting
                 =================================================================
                 Memory around native instruction pointer (0x743b075748):0x743b075738  
                 
                 
                 Std err:
                 Segmentation fault 
Author: karelz
Assignees: -
Labels:

blocking-clean-ci, os-android

Milestone: -

@steveisok
Copy link
Member

@mdh1418 @directhex Not sure what to make of these. Can one of you take a look and determine if this is legit or hardware induced?

@mdh1418
Copy link
Member

mdh1418 commented Sep 13, 2022

These are all passing locally for me on my Android device, this might be hardware induced

@steveisok steveisok removed the untriaged New issue has not been triaged by the area owner label Sep 21, 2022
@steveisok steveisok added this to the 8.0.0 milestone Sep 21, 2022
@steveisok steveisok removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Feb 2, 2023
@steveisok steveisok modified the milestones: 8.0.0, Future Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants