Bug 26153 - Compiler crashed with code: 1
Summary: Compiler crashed with code: 1
Status: CLOSED NORESPONSE
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2015-01-19 05:43 UTC by Roman
Modified: 2016-03-05 14:26 UTC (History)
1 user (show)

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


Attachments
Screenshot of Monodevelop (272.75 KB, image/png)
2015-01-19 05:43 UTC, Roman
Details


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:
CLOSED NORESPONSE

Description Roman 2015-01-19 05:43:44 UTC
Created attachment 9395 [details]
Screenshot of Monodevelop

Version Mono: 2.10
Version MonoDevelop: 5.7
Version OS: Linux Mint Petra 16

It was happened after break electricity. When I compile code I see error in error pad "/usr/lib/mono/4.5/Microsoft.CSharp.targets: Error: Compiler crashed with code: 1. (RegulTerminal.Providers.Network)"

When I clicked on error I see next file in tab:

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
	<PropertyGroup>
		<DefaultLanguageSourceExtension>.cs</DefaultLanguageSourceExtension>
		<Language>C#</Language>
	</PropertyGroup>

	<PropertyGroup>
		<DebugSymbols Condition=" '$(DebugType)' == 'none' ">false</DebugSymbols>
		<DebugType    Condition=" '$(DebugType)' == 'none' "></DebugType>
	</PropertyGroup>

	<PropertyGroup>
		<CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn>
		<CoreCompileDependsOn></CoreCompileDependsOn>

		<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildToolsPath)\Microsoft.CSharp.targets</MSBuildAllProjects>
	</PropertyGroup>

	<PropertyGroup>
		<NoCompilerStandardLib Condition="'$(NoCompilerStandardLib)'==''">true</NoCompilerStandardLib>
	</PropertyGroup>

	<ItemGroup>
		<DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)' != ''"/>
	</ItemGroup>

	<Target Name="_AddCorlibReference" DependsOnTargets="GetReferenceAssemblyPaths">
		<!--
		HACK: We don't yet support property functions, so can't calculate FrameworkPathOverride
		by calling ToolLocationHelper.GetPathToStandardLibraries. Instead, we search the framework
		directories for mscorlib.dll by constructing a filtered item set, and assume it only has
		one item.
		-->
		<ItemGroup Condition="'$(MonoUseMicrosoftBuildDll)' != 'True'">
			<_ExplicitReference Include="@(_TargetFrameworkDirectories->'%(FullPath)\mscorlib.dll')" Condition="Exists('%(FullPath)\mscorlib.dll')">
				<Private>false</Private>
			</_ExplicitReference>
		</ItemGroup>
		<PropertyGroup Condition="'$(MonoUseMicrosoftBuildDll)' == 'True'">
			<_ExplicitMSCorlibPath>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries ('$(TargetFrameworkIdentifier)', '$(TargetFrameworkVersion)', '$(TargetFrameworkProfile)'))\mscorlib.dll</_ExplicitMSCorlibPath>
		</PropertyGroup>
		<ItemGroup Condition="'$(MonoUseMicrosoftBuildDll)' == 'True'">
			<_ExplicitReference Include="@(_TargetFrameworkDirectories->'%(FullPath)\mscorlib.dll')" Condition="Exists('%(FullPath)\mscorlib.dll')">
				<Private>false</Private>
			</_ExplicitReference>
		</ItemGroup>
		<ItemGroup Condition="'$(MonoUseMicrosoftBuildDll)' == 'True'">
			<_ExplicitReference Include="$(_ExplicitMSCorlibPath)" Condition="Exists('$(_ExplicitMSCorlibPath)')">
				<Private>false</Private>
			</_ExplicitReference>
		</ItemGroup>
	</Target>

	<Target
		Name="CoreCompile"
		Inputs="$(MSBuildAllProjects);@(Compile);@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);
			$(KeyOriginatorFile);@(ReferencePath);$(Win32Icon);$(Win32Resource)"
		Outputs="@(DocFileItem);@(IntermediateAssembly)"
		DependsOnTargets="$(CoreCompileDependsOn)"
	>
		<Csc
			AdditionalLibPaths="$(AdditionalLibPaths)"
			AddModules="@(AddModules)"
			AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
			BaseAddress="$(BaseAddress)"
			CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
			CodePage="$(CodePage)"
			DebugType="$(DebugType)"
			DefineConstants="$(DefineConstants)"
			DelaySign="$(DelaySign)"
			DisabledWarnings="$(NoWarn)"
			DocumentationFile="@(DocFileItem)"
			EmitDebugInformation="$(DebugSymbols)"
			ErrorReport="$(ErrorReport)"
			FileAlignment="$(FileAlignment)"
			GenerateFullPaths="$(GenerateFullPaths)"
			KeyContainer="$(KeyContainerName)"
			KeyFile="$(KeyOriginatorFile)"
			LangVersion="$(LangVersion)"
			MainEntryPoint="$(StartupObject)"
			ModuleAssemblyName="$(ModuleAssemblyName)"
			NoConfig="true"
			NoLogo="$(NoLogo)"
			NoStandardLib="$(NoCompilerStandardLib)"
			Optimize="$(Optimize)"
			OutputAssembly="@(IntermediateAssembly)"
			PdbFile="$(PdbFile)"
			Platform="$(PlatformTarget)"
			References="@(ReferencePath)"
			ResponseFiles="$(CompilerResponseFile)"
			Sources="@(Compile)"
			TargetType="$(OutputType)"
			TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
			UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
			Utf8Output="$(Utf8Output)"
			WarningLevel="$(WarningLevel)"
			WarningsAsErrors="$(WarningsAsErrors)"
			WarningsNotAsErrors="$(WarningsNotAsErrors)"
			Win32Icon="$(Win32Icon)"
			Win32Resource="$(Win32Resource)"
			Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile)"
			ToolExe="$(CscToolExe)"
			ToolPath="$(CscToolPath)" />

	</Target>

	<Target Name="CreateManifestResourceNames">
		<CreateCSharpManifestResourceName Condition="'@(ResxWithNoCulture)' != ''"
			ResourceFiles="@(ResxWithNoCulture)" RootNamespace="$(RootNamespace)">
			<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithNoCultureName" />
		</CreateCSharpManifestResourceName>

		<CreateCSharpManifestResourceName Condition="'@(NonResxWithNoCulture)' != ''"
			ResourceFiles="@(NonResxWithNoCulture)" RootNamespace="$(RootNamespace)">
			<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithNoCulture" />
		</CreateCSharpManifestResourceName>

		<CreateCSharpManifestResourceName Condition="'@(ResxWithCulture)' != ''"
			ResourceFiles="@(ResxWithCulture)" RootNamespace="$(RootNamespace)">
			<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithCultureName" />
		</CreateCSharpManifestResourceName>

		<CreateCSharpManifestResourceName Condition="'@(NonResxWithCulture)' != ''"
			ResourceFiles="@(NonResxWithCulture)" RootNamespace="$(RootNamespace)">
			<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithCulture" />
		</CreateCSharpManifestResourceName>
	</Target>

	<Import Project="Microsoft.Common.targets" />

	<PropertyGroup Condition="'$(NoCompilerStandardLib)'=='true' and '$(NoStdLib)'!='true'">
		<ResolveAssemblyReferencesDependsOn>$(ResolveAssemblyReferencesDependsOn);_AddCorlibReference</ResolveAssemblyReferencesDependsOn>
	</PropertyGroup>

	<PropertyGroup>
		<TargetFrameworkMonikerAssemblyAttributeText Condition="'$(TargetFrameworkMoniker)' != '' and '$(TargetingClr2Framework)' != 'true'">
// &lt;autogenerated /&gt;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(&quot;$(TargetFrameworkMoniker)&quot;, FrameworkDisplayName = &quot;$(TargetFrameworkMonikerDisplayName)&quot;)]
		</TargetFrameworkMonikerAssemblyAttributeText>
	</PropertyGroup>

</Project>

And cursor was stoped on first string of this file. 
I can understand nothing. But! VS 2012 compile this project without problem
Comment 1 Roman 2015-01-20 06:56:23 UTC
Wow I have just noticed that this error does not apear when I choose Debug|x86 instead Debug|Mixed Platforms in dropBox on panel
Comment 2 Marek Safar 2015-02-23 04:44:29 UTC
It looks like a compiler crash but there is no information about it.

Could you provide repro for the crash or at least stack trace of the crash
Comment 3 Marek Safar 2016-03-05 13:59:54 UTC
No response