Bug 1648630

Summary: xbuild is broken (Magic number is wrong: 542)
Product: [Fedora] Fedora Reporter: Roman C <info>
Component: monoAssignee: Xavier Lamien <lxtnow>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 29CC: chkr, itamar, john.j5live, lxtnow, mbarnes, pokorra.mailinglists, rhughes, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-12 16:35:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman C 2018-11-11 09:06:43 UTC
Description of problem:

xbuild crashes no matter how it's run

Version-Release number of selected component (if applicable):

mono-devel-4.8.0-12.fc28.x86_64

How reproducible:

Always.

Steps to Reproduce:

xbuild /version

Actual results:

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
  at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <373b6e083d6e45e498c9082a8eebd27f>:0 
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <373b6e083d6e45e498c9082a8eebd27f>:0 
  at System.TermInfoDriver..ctor (System.String term) [0x00058] in <373b6e083d6e45e498c9082a8eebd27f>:0 
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <373b6e083d6e45e498c9082a8eebd27f>:0 
  at System.ConsoleDriver..cctor () [0x00062] in <373b6e083d6e45e498c9082a8eebd27f>:0 
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <373b6e083d6e45e498c9082a8eebd27f>:0 
  at System.Console..cctor () [0x000a8] in <373b6e083d6e45e498c9082a8eebd27f>:0 
   --- End of inner exception stack trace ---
  at Mono.XBuild.CommandLine.ErrorUtilities.Display (System.String[] array) [0x0000d] in <b0e39a94f1624aa1a4d2256a448c79b1>:0 
  at Mono.XBuild.CommandLine.ErrorUtilities.ShowVersion (System.Boolean exit) [0x00000] in <b0e39a94f1624aa1a4d2256a448c79b1>:0 
  at Mono.XBuild.CommandLine.Parameters.ParseFlatArgument (System.String s) [0x000fd] in <b0e39a94f1624aa1a4d2256a448c79b1>:0 
  at Mono.XBuild.CommandLine.Parameters.ParseArguments (System.String[] args) [0x00122] in <b0e39a94f1624aa1a4d2256a448c79b1>:0 
  at Mono.XBuild.CommandLine.MainClass.Execute () [0x00004] in <b0e39a94f1624aa1a4d2256a448c79b1>:0 
  at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x0000d] in <b0e39a94f1624aa1a4d2256a448c79b1>:0 


Expected results:

version is printed

Additional info:

mono-devel is absent among available components in this bugzilla.

Comment 1 Timotheus Pokorra 2018-11-12 16:35:20 UTC
Please update to mono-devel-4.8.0-14

*** This bug has been marked as a duplicate of bug 1580447 ***