Bug 1580447

Summary: mono ncurse 6 crashes and compatility
Product: [Fedora] Fedora Reporter: Hin-Tak Leung <htl10>
Component: monoAssignee: Timotheus Pokorra <pokorra.mailinglists>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: alexl, chkr, david.cussans, hoffmann, info, itamar, john.j5live, jorti, Lance, lxtnow, mbarnes, pokorra.mailinglists, rhughes, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mono-4.8.0-14.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-13 15:18:08 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 Hin-Tak Leung 2018-05-21 13:40:28 UTC
Description of problem:
See upstream report and patches:

https://github.com/mono/mono/issues/6752

Basically anything involving mono crashes under fedora 28 in gnome-terminal. A work around exists by setting TERM=xterm .

Version-Release number of selected component (if applicable):
mono-4.8.0-12.fc28.x86_64

How reproducible:
always.

Steps to Reproduce:
1. just try anothing (mcs, for example) in a gnome-terminal
2.
3.

Actual results:
...
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



Expected results:
works.

Additional info:

Upstream issue and patches:
https://github.com/mono/mono/issues/6752

Comment 1 Peter Oliver 2018-06-04 14:50:34 UTC
*** Bug 1585271 has been marked as a duplicate of this bug. ***

Comment 2 Timotheus Pokorra 2018-06-07 04:41:20 UTC
*** Bug 1576608 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2018-06-07 14:37:11 UTC
mono-4.8.0-14.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-880e05ebc4

Comment 4 Fedora Update System 2018-06-08 12:58:39 UTC
mono-4.8.0-14.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-880e05ebc4

Comment 5 Fedora Update System 2018-06-13 15:18:08 UTC
mono-4.8.0-14.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Timotheus Pokorra 2018-06-17 04:33:02 UTC
*** Bug 1591094 has been marked as a duplicate of this bug. ***

Comment 7 Lance Haverkamp 2018-06-18 17:36:08 UTC
So, what command should work?
Either:
sudo dnf install mono --enablerepo=updates-testing
or
sudo dnf upgrade-minimal mono

is returning: 

No match for argument: mono
Error: Unable to find a match

Comment 8 Timotheus Pokorra 2018-06-19 06:04:04 UTC
the package that has the newer update is mono-core

sudo dnf update mono-core

You can test if you already have the latest version:

rpm -qa | grep mono-core

The latest version is: mono-core-4.8.0-14.fc28

Comment 9 Timotheus Pokorra 2018-10-12 12:05:41 UTC
*** Bug 1638467 has been marked as a duplicate of this bug. ***

Comment 10 Timotheus Pokorra 2018-11-12 16:35:20 UTC
*** Bug 1648630 has been marked as a duplicate of this bug. ***