Bug 1293681

Summary: Monodevelop crashes Gnome session
Product: [Fedora] Fedora Reporter: Lukáš Kotek <lukaskotek>
Component: monodevelopAssignee: Christian Krause <chkr>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 23CC: chkr, claudiorodrigo, pokorra.mailinglists
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-24 16:04:58 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:
Attachments:
Description Flags
journalctl log file none

Description Lukáš Kotek 2015-12-22 16:48:11 UTC
Description of problem:
Every time I try to open (or create) solution in Monodevelop I am logged out from Gnome session immediately.

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

How reproducible:
Always

Steps to Reproduce:
1. Start Monodevelop
2. Open C# solution 

Actual results:
Crashes session

Expected results:
Wors normally

Additional info:
I had upgraded to F23 recently then I switched from copr mono repository (tpokorra/mono) to Fedora's default version.

Comment 1 Timotheus Pokorra 2015-12-23 15:05:09 UTC
I have just tried it on my old Laptop 32 bit with Fedora 23 and MonoDevelop 5.9.7-1, and it works fine to open a simple solution in Gnome (not Gnome classic).

Can you please try to narrow the problem down even more?
When you create a new c# Console solution, don't add anything, save, close MonoDevelop, open MonoDevelop, open the solution again. That works for me.

Can you find anything in your log files?

Kicking you out of a Gnome session is pretty violent, there should be something in the logs?

What happens if you start MonoDevelop from a terminal? do you get any output there? (hopefully before you get kicked out of the Gnome session)

Comment 2 Lukáš Kotek 2015-12-23 21:23:33 UTC
Created attachment 1109017 [details]
journalctl log file

Log file, relevant part starts at the time 16:27:13.

Comment 3 Lukáš Kotek 2015-12-23 21:40:26 UTC
Thank you very much for your answer. And you're right I'll try to describe it comprehensively.

I reproduce this behavior every time I open MonoDevelop and try to open any solution (from recent solutions etc). The response (logging me out) is absolutely immediate. When I try to create new solution, it happens right after I click to "Create" in "Configure your new project dialog".

I attached the log file and there seems to be a relevant part at the time 16:27:13 with message: "Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1600003 (MonoDevelo)"  ...then the session is stopped.

I was thinking if there could be a relation to Unity 3D I experimented some time ago (older version of MonoDevelop is bundled), but I didn't find any connection.
http://blogs.unity3d.com/2015/08/26/unity-comes-to-linux-experimental-build-now-available/

(I also tried to run MonoDevelop from terminal as you suggested but there's no output.)

Comment 4 Lukáš Kotek 2015-12-24 16:04:58 UTC
I tried to reproduce this behavior in the Boxes virtualized F23 with no luck. (Clean install solved it all.) This was definitely something related to my system only. I upgraded OS gradually from Fedora 20 to 23 and I also worked with many mono/monodevelop versions during the time. I think the reason was somewhere out there.

I'm sorry I didn't realize this sooner and for bothering you in this Christmas time :-( Thank for your concern!