Re: UPDATE: monodevelop 2.4.1

2010-12-07 Thread Edd Barrett
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   
0x205f0b800 poll_wait   15 -c--RW---f   
0x20f898000 cond_wait   15 -c-C-W-d-f   
0x210180800 cond_wait   15 -c-C-W-d-f   
0x2087e6800 running 15 --P--f  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) 0x
  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
--- Makefile26 Nov 2010 07:19:00 -  1.9
+++ Makefile7 Dec 2010 11:06:32 -
@@ -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 \


Re: UPDATE: monodevelop 2.4.1

2010-12-07 Thread Edd Barrett
On Tue, Dec 07, 2010 at 11:14:10AM +, Edd Barrett wrote:
 Updated diff which works around by disabling the welcome page by default 
 (OK?):

No this still seems to hang all over the place. Sigh..

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: UPDATE: monodevelop 2.4.1

2010-12-07 Thread Robert Nagy
sure, report it

On (2010-12-07 11:14), Edd Barrett wrote:
 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   
 0x205f0b800 poll_wait   15 -c--RW---f   
 0x20f898000 cond_wait   15 -c-C-W-d-f   
 0x210180800 cond_wait   15 -c-C-W-d-f   
 0x2087e6800 running 15 --P--f  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) 0x
   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 -  1.9
 +++ Makefile  7 Dec 2010 11:06:32 -
 @@ -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
   

Re: UPDATE: monodevelop 2.4.1

2010-12-07 Thread Edd Barrett
On Tue, Dec 07, 2010 at 12:35:01PM +0100, Robert Nagy wrote:
 sure, report it

https://bugzilla.novell.com/show_bug.cgi?id=657960

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



UPDATE: monodevelop 2.4.1

2010-12-06 Thread Edd Barrett
Hi,

Update to monodevelop 2.4.1.

Still has that weird deadlock at start which you can disable by either:
a) opening an xterm on top of the splash screen (WTF?!)
b) disabling the welcome screen in the preferences after initially using a).

OK?

Index: Makefile
===
RCS file: /cvs/ports/devel/monodevelop/Makefile,v
retrieving revision 1.9
diff -u -p -u -r1.9 Makefile
--- Makefile26 Nov 2010 07:19:00 -  1.9
+++ Makefile6 Dec 2010 16:56:26 -
@@ -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
--- distinfo15 Oct 2010 16:23:49 -  1.2
+++ distinfo6 Dec 2010 16:56:26 -
@@ -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: 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 -  1.4
+++ pkg/PLIST   6 Dec 2010 16:56:26 -
@@ -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



Re: UPDATE: monodevelop 2.4.1

2010-12-06 Thread David Coppa
On Mon, Dec 6, 2010 at 6:00 PM, Edd Barrett vex...@gmail.com wrote:
 Hi,

 Update to monodevelop 2.4.1.

 Still has that weird deadlock at start which you can disable by either:
 a) opening an xterm on top of the splash screen (WTF?!)
 b) disabling the welcome screen in the preferences after initially using a).

Just a stupid question (I've not tested monodevelop).

Why not disabling the welcome screen by default (i.e. patching the code)?

ciao,
david



Re: UPDATE: monodevelop 2.4.1

2010-12-06 Thread Robert Nagy
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.

On (2010-12-06 17:00), Edd Barrett wrote:
 Hi,
 
 Update to monodevelop 2.4.1.
 
 Still has that weird deadlock at start which you can disable by either:
 a) opening an xterm on top of the splash screen (WTF?!)
 b) disabling the welcome screen in the preferences after initially using a).
 
 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 -  1.9
 +++ Makefile  6 Dec 2010 16:56:26 -
 @@ -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 -  1.2
 +++ distinfo  6 Dec 2010 16:56:26 -
 @@ -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: 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 -  1.4
 +++ pkg/PLIST 6 Dec 2010 16:56:26 -
 @@ -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