Bug 47347 - SIGSEGV when running roslyn on ppc64
Summary: SIGSEGV when running roslyn on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: 4.8.0 (C9)
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bernhard Urban
URL:
Depends on:
Blocks:
 
Reported: 2016-11-18 12:45 UTC by Marek Safar
Modified: 2017-03-20 16:28 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Marek Safar 2016-11-18 12:45:26 UTC
12:25:02 CSC_SDK_PATH_DISABLED= MONO_PATH="./../../class/lib/monolite:$MONO_PATH" /home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/runtime/mono-wrapper  /home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/external/roslyn-binaries/Microsoft.Net.Compilers/Microsoft.Net.Compilers.1.3.2/tools/csc.exe /codepage:65001 /nologo /noconfig -unsafe -nostdlib -nowarn:612,618,1635 -d:INSIDE_CORLIB,MONO_CULTURE_DATA -d:LIBC -d:FEATURE_PAL,GENERICS_WORK,FEATURE_LIST_PREDICATES,FEATURE_SERIALIZATION,FEATURE_ASCII,FEATURE_LATIN1,FEATURE_UTF7,FEATURE_UTF32,MONO_HYBRID_ENCODING_SUPPORT,FEATURE_ASYNC_IO,NEW_EXPERIMENTAL_ASYNC_IO,FEATURE_UTF32,FEATURE_EXCEPTIONDISPATCHINFO,FEATURE_CORRUPTING_EXCEPTIONS,FEATURE_EXCEPTION_NOTIFICATIONS,FEATURE_STRONGNAME_MIGRATION,FEATURE_USE_LCID,FEATURE_FUSION,FEATURE_CRYPTO,FEATURE_X509_SECURESTRINGS,FEATURE_SYNCHRONIZATIONCONTEXT,FEATURE_SYNCHRONIZATIONCONTEXT_WAIT,HAS_CORLIB_CONTRACTS -d:FEATURE_MACL -d:FEATURE_REMOTING,MONO_COM,FEATURE_COMINTEROP,FEATURE_ROLE_BASED_SECURITY -d:MONO_FEATURE_THREAD_ABORT -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -d:MONO_FEATURE_MULTIPLE_APPDOMAINS  -d:NET_4_0 -d:NET_4_5 -d:MONO -d:BOOTSTRAP_BASIC -nowarn:1699 -nostdlib  -optimize  -d:FEATURE_PAL,GENERICS_WORK,FEATURE_LIST_PREDICATES,FEATURE_SERIALIZATION,FEATURE_ASCII,FEATURE_LATIN1,FEATURE_UTF7,FEATURE_UTF32,MONO_HYBRID_ENCODING_SUPPORT,FEATURE_ASYNC_IO,NEW_EXPERIMENTAL_ASYNC_IO,FEATURE_UTF32,FEATURE_EXCEPTIONDISPATCHINFO,FEATURE_CORRUPTING_EXCEPTIONS,FEATURE_EXCEPTION_NOTIFICATIONS,FEATURE_STRONGNAME_MIGRATION,FEATURE_USE_LCID,FEATURE_FUSION,FEATURE_CRYPTO,FEATURE_X509_SECURESTRINGS,FEATURE_SYNCHRONIZATIONCONTEXT,FEATURE_SYNCHRONIZATIONCONTEXT_WAIT,HAS_CORLIB_CONTRACTS -d:FEATURE_MACL -d:FEATURE_REMOTING,MONO_COM,FEATURE_COMINTEROP,FEATURE_ROLE_BASED_SECURITY -d:MONO_FEATURE_THREAD_ABORT -d:MONO_FEATURE_THREAD_SUSPEND_RESUME -d:MONO_FEATURE_MULTIPLE_APPDOMAINS -resource:resources/charinfo.nlp -resource:resources/collation.core.bin -resource:resources/collation.tailoring.bin -resource:resources/collation.cjkCHS.bin -resource:resources/collation.cjkCHT.bin -resource:resources/collation.cjkJA.bin -resource:resources/collation.cjkKO.bin -resource:resources/collation.cjkKOlv2.bin -runtimemetadataversion:v4.0.30319    -target:library -out:../../class/lib/basic/mscorlib.dll  @corlib.dll.sources
12:25:22 Stacktrace:
12:25:22 
12:25:22   at <unknown> <0xffffffff>
12:25:22   at Microsoft.CodeAnalysis.CSharp.DiagnosticsPass.CheckUnsafeType (Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x0004c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.DiagnosticsPass.CheckBinaryOperator (Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator) <0x00078>
12:25:22   at Microsoft.CodeAnalysis.CSharp.DiagnosticsPass.VisitBinaryOperator (Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator) <0x00040>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard (Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x00038>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard (int&,Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x0008c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x0009c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.DiagnosticsPass.VisitBinaryOperator (Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator) <0x0005c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard (Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x00038>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard (int&,Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x0008c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x0009c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.DiagnosticsPass.VisitBinaryOperator (Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator) <0x0005c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard (Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x00038>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard (int&,Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x0008c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x0009c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.DiagnosticsPass.VisitBinaryOperator (Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator) <0x0005c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundBinaryOperator.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard (Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x00038>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard (int&,Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x0008c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x0009c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitCompoundAssignmentOperator (Microsoft.CodeAnalysis.CSharp.BoundCompoundAssignmentOperator) <0x00050>
12:25:22   at Microsoft.CodeAnalysis.CSharp.DiagnosticsPass.VisitCompoundAssignmentOperator (Microsoft.CodeAnalysis.CSharp.BoundCompoundAssignmentOperator) <0x00058>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundCompoundAssignmentOperator.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.VisitExpressionWithoutStackGuard (Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x00038>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard (Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x0003c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard (int&,Microsoft.CodeAnalysis.CSharp.BoundExpression) <0x000b8>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x0009c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitExpressionStatement (Microsoft.CodeAnalysis.CSharp.BoundExpressionStatement) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundExpressionStatement.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x000c4>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList<T_REF> (System.Collections.Immutable.ImmutableArray`1<T_REF>) <0x001ac>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitBlock (Microsoft.CodeAnalysis.CSharp.BoundBlock) <0x00058>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x000c4>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList<T_REF> (System.Collections.Immutable.ImmutableArray`1<T_REF>) <0x001ac>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitBlock (Microsoft.CodeAnalysis.CSharp.BoundBlock) <0x00058>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x000c4>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitForStatement (Microsoft.CodeAnalysis.CSharp.BoundForStatement) <0x00088>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundForStatement.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x000c4>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitList<T_REF> (System.Collections.Immutable.ImmutableArray`1<T_REF>) <0x001ac>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalker.VisitBlock (Microsoft.CodeAnalysis.CSharp.BoundBlock) <0x00058>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept (Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor) <0x0002c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x00034>
12:25:22   at Microsoft.CodeAnalysis.CSharp.BoundTreeWalkerWithStackGuard.Visit (Microsoft.CodeAnalysis.CSharp.BoundNode) <0x000c4>
12:25:22   at Microsoft.CodeAnalysis.CSharp.DiagnosticsPass.IssueDiagnostics (Microsoft.CodeAnalysis.CSharp.CSharpCompilation,Microsoft.CodeAnalysis.CSharp.BoundNode,Microsoft.CodeAnalysis.DiagnosticBag,Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol) <0x0009c>
12:25:22   at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod (Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol,int,Microsoft.CodeAnalysis.CSharp.Binder/ProcessedFieldInitializers&,Microsoft.CodeAnalysis.CSharp.SynthesizedSubmissionFields,Microsoft.CodeAnalysis.CSharp.TypeCompilationState) <0x00b64>
12:25:22   at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType (Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol) <0x007d4>
12:25:22   at Microsoft.CodeAnalysis.CSharp.MethodCompiler/<>c__DisplayClass20_0.<CompileNamedTypeAsTask>b__0 () <0x0003c>
12:25:22   at Roslyn.Utilities.UICultureUtilities/<>c__DisplayClass5_0.<WithCurrentUICulture>b__0 () <0x00110>
12:25:22   at System.Threading.Tasks.Task.InnerInvoke () <0x00074>
12:25:22   at System.Threading.Tasks.Task.Execute () <0x00088>
12:25:22   at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x00078>
12:25:22   at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x002d4>
12:25:22   at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00044>
12:25:22   at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00244>
12:25:22   at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x0013c>
12:25:22   at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x00030>
12:25:22   at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x002dc>
12:25:22   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x00024>
12:25:22   at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) <0x000b0>
12:25:22 
12:25:22 
Native stacktrace:
12:25:22 
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono() [0x100bdde4]
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono() [0x10107870]
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono() [0x1002c878]
12:25:22 	linux-vdso64.so.1(__kernel_sigtramp_rt64+0) [0x100000040478]
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono() [0x10132ca4]
12:25:22 	[(nil)]
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono(mono_class_interface_offset+0x3c) [0x101352fc]
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono() [0x1014a244]
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono() [0x100bf5f0]
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono() [0x100c0138]
12:25:22 	/home/ubuntu/jenkins/workspace/test-mono-pull-request-ppc64el/mono/mini/mono() [0x100c0c34]

Full log at

https://jenkins.mono-project.com/job/test-mono-pull-request-ppc64el/80/consoleFull#-2001780300c04ca618-a109-447b-99e0-481aaedae630
Comment 1 Bernhard Urban 2017-03-20 16:28:50 UTC
fixed by https://github.com/mono/mono/pull/4306