On Mon, Dec 06, 2010 at 09:20:06PM +0100, Robert Nagy wrote: > Hey > > That bug seems to be mono related and can be seen in nant for example. > You can also try to pkill -INFO -f mono to see if it continues at that > point. If it does, then it's the same bug which is repoted already and > is pthreads related.
Yup, it's that. pkill -INFO -f mono unlocks and gives: 0x206541000 cond_wait 15 -c-C-W-d-f 0000 0x205f0b800 poll_wait 15 -c--RW---f 0000 0x20f898000 cond_wait 15 -c-C-W-d-f 0000 0x210180800 cond_wait 15 -c-C-W-d-f 0000 0x2087e6800 running 15 ------P--f 0000 main If you kill with the QUIT signal the stack trace is: Full thread dump: "<unnamed thread>" tid=0x0x202811000 this=0x0xb18840 thread handle 0x166 state : not waiting owns () at (wrapper managed-to-native) System.IO.KeventWatcher.kevent (int,System.IO.kevent&,int,System.IO.kevent&,int,System.IO.timespec&) <0x00082> at (wrapper managed-to-native) System.IO.KeventWatcher.kevent (int,System.IO.kevent&,int,System.IO.kevent&,int,System.IO.timespec&) <0x00082> at System.IO.KeventWatcher.Monitor () <0x000cd> at System.Threading.Thread.StartUnsafe () <0x0007c> at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x00082> "<unnamed thread>" tid=0x0x20b999000 this=0x0xb18dc0 thread handle 0x103 state : interrupted state owns () at System.Net.WebRequest.Create (System.Uri) <0xffffffff> at System.Net.WebRequest.Create (System.Uri) <0x0005b> at System.Net.WebRequest.Create (string) <0x00054> at MonoDevelop.WelcomePage.WelcomePageView.UpdateNewsXmlAsync () <0x000bb> at MonoDevelop.WelcomePage.WelcomePageView.UpdateNews () <0x0009a> at MonoDevelop.WelcomePage.WelcomePageView..ctor () <0x00184> at MonoDevelop.WelcomePage.ShowWelcomePageOnStartUpHandler.Run () <0x0015d> at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x00082> at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod*,object,object[],System.Exception&) <0x00079> at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod*,object,object[],System.Exception&) <0x00079> at System.Reflection.MonoMethod.Itee: stdout: Resource temporarily unavailable "Background dispatcher" tid=0x0x20845c800 this=0x0xb18b00 thread handle 0x10a state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAll_internal (System.Threading.WaitHandle[],int,bool) <0x0006a> at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAll_internal (System.Threading.WaitHandle[],int,bool) <0x0006a> at System.Threading.WaitHandle.WaitAll (System.Threading.WaitHandle[]) <0x00038> at MonoDevelop.Ide.DispatchService.backgroundDispatcher () <0x00152> at System.Threading.Thread.StartUnsafe () <0x0007c> at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x00082> "Background parser" tid=0x0x204895000 this=0x0xb189a0 thread handle 0x164 state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle*,intptr,int,bool) <0x00079> at (wrapper managed-to-native) System.Threading.W Should I still report a "we think this is not your fault, but it *could* be" bug upstream? They seemed interested to see the stack trace when i said this was happening on IRC. Updated diff which works around by disabling the welcome page by default (OK?): Index: Makefile =================================================================== RCS file: /cvs/ports/devel/monodevelop/Makefile,v retrieving revision 1.9 diff -u -p -u -r1.9 Makefile --- Makefile 26 Nov 2010 07:19:00 -0000 1.9 +++ Makefile 7 Dec 2010 11:06:32 -0000 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.9 2010/11/26 07:19:00 espie Exp $ COMMENT= IDE for the .NET platform -DISTNAME= monodevelop-2.4 +DISTNAME= monodevelop-2.4.1 CATEGORIES= devel lang MASTER_SITES= http://ftp.novell.com/pub/mono/sources/monodevelop/ EXTRACT_SUFX= .tar.bz2 @@ -36,7 +36,6 @@ CONFIGURE_ARGS= --disable-update-mimedb --enable-gnomeplatform DLLMAP_FILES= src/core/Mono.Texteditor/Mono.TextEditor.PopupWindow/TooltipWindow.cs \ - src/core/MonoDevelop.Projects/MonoDevelop.Projects.dll.config \ src/addins/GnomePlatform/GnomePlatform.dll.config \ src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion.dll.config \ src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/LibSvnClient.cs \ @@ -44,7 +43,9 @@ DLLMAP_FILES= src/core/Mono.Texteditor/M src/addins/MonoDevelop.GtkCore/libsteticui/Metacity/Theme.cs \ src/addins/MonoDevelop.GtkCore/libsteticui/Metacity/Preview.cs \ src/addins/MonoDevelop.GtkCore/libsteticui/libsteticui.dll.config \ - src/addins/MonoDevelop.GtkCore/libstetic/libstetic.dll.config + src/addins/MonoDevelop.GtkCore/libstetic/libstetic.dll.config \ + src/core/MonoDevelop.Core/MonoDevelop.Core.dll.config \ + src/core/Mono.Texteditor/Mono.TextEditor.dll.config BASH_SCRIPTS= mdtool.in monodevelop.in \ src/addins/MonoDevelop.Autotools/templates/configure.template Index: distinfo =================================================================== RCS file: /cvs/ports/devel/monodevelop/distinfo,v retrieving revision 1.2 diff -u -p -u -r1.2 distinfo --- distinfo 15 Oct 2010 16:23:49 -0000 1.2 +++ distinfo 7 Dec 2010 11:06:32 -0000 @@ -1,5 +1,5 @@ -MD5 (monodevelop-2.4.tar.bz2) = FN7M1SbWQM04SC9858DLQQ== -RMD160 (monodevelop-2.4.tar.bz2) = HVW/ThCb9dA5mZpYwld6RmYIh9Y= -SHA1 (monodevelop-2.4.tar.bz2) = tNh78iDkUu4dyGyTtMxm4/B/pXk= -SHA256 (monodevelop-2.4.tar.bz2) = 2RIgw4Ije1yjOms4NVt9atS6D8KJ/sg0fyvdWrDfeJk= -SIZE (monodevelop-2.4.tar.bz2) = 6152312 +MD5 (monodevelop-2.4.1.tar.bz2) = CSSzt10CfapDF5E6WPyNDQ== +RMD160 (monodevelop-2.4.1.tar.bz2) = E39c+e+VUm/w2Tn+oUo4wwcxNN8= +SHA1 (monodevelop-2.4.1.tar.bz2) = StpR4WWDKvYWngaJPPv3sVuJ0q0= +SHA256 (monodevelop-2.4.1.tar.bz2) = FuGivVzcG0htuXKpfGUUUZh5nBCpA7gIk9NYQvVINvg= +SIZE (monodevelop-2.4.1.tar.bz2) = 6163374 Index: patches/patch-src_addins_CBinding_Navigation_ProjectNodeBuilderExtension_cs =================================================================== RCS file: /cvs/ports/devel/monodevelop/patches/patch-src_addins_CBinding_Navigation_ProjectNodeBuilderExtension_cs,v retrieving revision 1.1 diff -u -p -u -r1.1 patch-src_addins_CBinding_Navigation_ProjectNodeBuilderExtension_cs --- patches/patch-src_addins_CBinding_Navigation_ProjectNodeBuilderExtension_cs 29 Mar 2010 07:44:28 -0000 1.1 +++ patches/patch-src_addins_CBinding_Navigation_ProjectNodeBuilderExtension_cs 7 Dec 2010 11:06:32 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-src_addins_CBinding_Navigation_ProjectNodeBuilderExtension_cs,v 1.1 2010/03/29 07:44:28 ajacoutot Exp $ ---- src/addins/CBinding/Navigation/ProjectNodeBuilderExtension.cs.orig Thu Nov 5 19:12:15 2009 -+++ src/addins/CBinding/Navigation/ProjectNodeBuilderExtension.cs Mon Mar 29 09:08:19 2010 -@@ -97,7 +97,7 @@ namespace CBinding.Navigation +--- src/addins/CBinding/Navigation/ProjectNodeBuilderExtension.cs.orig Fri Nov 12 05:52:10 2010 ++++ src/addins/CBinding/Navigation/ProjectNodeBuilderExtension.cs Tue Dec 7 10:48:44 2010 +@@ -91,7 +91,7 @@ namespace CBinding.Navigation check_ctags = true; try { Index: patches/patch-src_addins_WelcomePage_WelcomePageCommands_cs =================================================================== RCS file: patches/patch-src_addins_WelcomePage_WelcomePageCommands_cs diff -N patches/patch-src_addins_WelcomePage_WelcomePageCommands_cs --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_addins_WelcomePage_WelcomePageCommands_cs 7 Dec 2010 11:06:32 -0000 @@ -0,0 +1,16 @@ +$OpenBSD$ + +Disable the welcome page, as it has threading issues and hangs unless sent an +INFO signal. + +--- src/addins/WelcomePage/WelcomePageCommands.cs.orig Tue Dec 7 10:49:47 2010 ++++ src/addins/WelcomePage/WelcomePageCommands.cs Tue Dec 7 10:50:02 2010 +@@ -91,7 +91,7 @@ namespace MonoDevelop.WelcomePage + static class WelcomePageOptions + { + public static bool ShowOnStartup { +- get { return PropertyService.Get ("WelcomePage.ShowOnStartup", true); } ++ get { return PropertyService.Get ("WelcomePage.ShowOnStartup", false); } + set { PropertyService.Set ("WelcomePage.ShowOnStartup", value); } + } + Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/monodevelop/pkg/PLIST,v retrieving revision 1.4 diff -u -p -u -r1.4 PLIST --- pkg/PLIST 15 Oct 2010 16:23:49 -0000 1.4 +++ pkg/PLIST 7 Dec 2010 11:06:32 -0000 @@ -213,6 +213,7 @@ lib/monodevelop/bin/MonoDevelop.Core.dll lib/monodevelop/bin/MonoDevelop.Ide.dll lib/monodevelop/bin/MonoDevelop.Ide.dll.mdb lib/monodevelop/bin/MonoDevelop.Projects.Formats.MSBuild.exe +lib/monodevelop/bin/MonoDevelop.Projects.Formats.MSBuild.exe.config lib/monodevelop/bin/MonoDevelop.Projects.Formats.MSBuild.exe.mdb lib/monodevelop/bin/MonoDevelop.exe lib/monodevelop/bin/MonoDevelop.exe.addins -- Best Regards Edd Barrett http://www.theunixzoo.co.uk