After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709813 - Crash at launch with gtk-sharp-2 2.12.22
Crash at launch with gtk-sharp-2 2.12.22
Status: RESOLVED NOTGNOME
Product: banshee
Classification: Other
Component: general
2.6.1
Other Linux
: Normal critical
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-10 12:58 UTC by Anthony Ruhier
Modified: 2013-10-13 02:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Banshee crash log (11.62 KB, text/x-log)
2013-10-10 12:58 UTC, Anthony Ruhier
Details

Description Anthony Ruhier 2013-10-10 12:58:59 UTC
Created attachment 256902 [details]
Banshee crash log

Hello,
ArchLinux released Gnome 3.10 on the non-testing repos, with an upgrade for the package gtk-sharp-2 (version 2.12.11 to 2.12.22). Since this upgrade, banshee crash at launch :

[Warn  18:56:14.786] Extension `Banshee.OpticalDisc.Dvd.DvdService' not started: DiscService cannot work when no HardwareManager is available
[Info  18:56:14.787] All services are started 0,125221
Missing method System.Threading.Monitor::Enter(object,bool&) in assembly /usr/lib/mono/2.0/mscorlib.dll, referenced in assembly /usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll

Unhandled Exception:
System.MissingMethodException: Method not found: 'System.Threading.Monitor.Enter'.


If I downgrade gtk-sharp-2 to the 2.12.11 version, Banshee starts normally.

Topic linked to this crash on the archlinux forum : https://bbs.archlinux.org/viewtopic.php?pid=1334280
Bug report on archlinux : https://bugs.archlinux.org/task/37228

Many thanks !
Comment 1 Bertrand Lorentz 2013-10-10 22:06:51 UTC
Thank you for your bug report.

Looking at the crash log, it contains the following:
System.MissingMethodException: Method not found: 'System.Type.op_Inequality'. (in `glib-sharp') at GLib.GType..cctor () [0x00000] in <filename unknown>:0 

This usually means that something was compiled against the 2.0 profile of the mono runtime, and then run against the 4.0 profile.
See this post for some explanation:
http://orangesquash.org.uk/~laney/blog/posts/2011/10/mono-gotcha/

So if the only thing that changed is gtk-sharp, I guess the new package is incorrect.

In any case, the problem is probably not with Banshee itself, so I'm closing this as NOTGNOME.

Feel free to re-open if this turns out to be wrong.
Comment 2 Anthony Ruhier 2013-10-10 22:21:19 UTC
Ok, thank you for your answer !
Comment 3 John Piers 2013-10-11 11:20:51 UTC
Thanks Bertrand, so it looks like Anthony and myself are the only one's who seem to have this problem, quite an amazing statistic in itself! When is a new version of Banshee coming? :-) A few people I know say it's almost dead, is this true? Would love to know! Thanks again!
Comment 4 Andrés G. Aragoneses (IRC: knocte) 2013-10-11 11:35:16 UTC
(In reply to comment #3)
> When is a new
> version of Banshee coming? :-) A few people I know say it's almost dead, is
> this true? Would love to know! Thanks again!

Interesting to receive this question now, given the fact that we released Banshee 2 days ago. Do you live under a rock? :) Let's move this questions to the mailing list! Bugzilla is not a forum ;)
Comment 5 Anthony Ruhier 2013-10-13 02:44:43 UTC
(In reply to comment #1)
> Thank you for your bug report.
> 
> Looking at the crash log, it contains the following:
> System.MissingMethodException: Method not found: 'System.Type.op_Inequality'.
> (in `glib-sharp') at GLib.GType..cctor () [0x00000] in <filename unknown>:0 
> 
> This usually means that something was compiled against the 2.0 profile of the
> mono runtime, and then run against the 4.0 profile.
> See this post for some explanation:
> http://orangesquash.org.uk/~laney/blog/posts/2011/10/mono-gotcha/
> 
> So if the only thing that changed is gtk-sharp, I guess the new package is
> incorrect.
> 
> In any case, the problem is probably not with Banshee itself, so I'm closing
> this as NOTGNOME.
> 
> Feel free to re-open if this turns out to be wrong.

You were right, building Banshee with the dmcs compiler fix the problem, so it wasn't (like you said it) a banshee problem.

Problem solved, thank you again !