Bug 4557 - NGit causes MonoDevelop to hang on exit
Summary: NGit causes MonoDevelop to hang on exit
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2012-04-20 10:03 UTC by Miguel de Icaza [MSFT]
Modified: 2015-08-20 03:23 UTC (History)
4 users (show)

Tags: upstream
Is this bug a regression?: ---
Last known good build:


Attachments
Stack trace (21.47 KB, application/octet-stream)
2012-04-20 10:03 UTC, Miguel de Icaza [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Miguel de Icaza [MSFT] 2012-04-20 10:03:30 UTC
Created attachment 1715 [details]
Stack trace

Stack trace is attached

Output of -QUIT:

Full thread dump:

"Threadpool worker" tid=0x0xb08fb000 this=0x0x9c8f540 thread handle 0x42d state : interrupted state owns ()

"Threadpool worker" tid=0x0xb0d05000 this=0x0x12929150 thread handle 0xe47 state : interrupted state owns ()

"IO Threadpool worker" tid=0x0xb07f9000 this=0x0x99fc000 thread handle 0x429 state : interrupted state owns ()

"Threapool monitor" tid=0x0xb052f000 this=0x0x691ec78 thread handle 0x40e state : interrupted state owns ()

"Threadpool worker" tid=0x0xb0631000 this=0x0x691ebd0 thread handle 0x40f state : interrupted state owns ()

"<threadpool thread>" tid=0x0xb07d7000 this=0x0x99fc150 thread handle 0x428 state : interrupted state owns ()

"GUI Thread" tid=0x0xacb642c0 this=0x0x56df18 thread handle 0x403 state : waiting on 0x400 : Event  owns ()

"<unnamed thread>" tid=0x0xb07b5000 this=0x0x99fc2a0 thread handle 0x425 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <IL 0x00021, 0xffffffff>
  at System.Threading.Thread.Sleep (int) [0x00017] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:374
  at System.IO.KeventWatcher.Monitor () [0x000b6] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.IO/KeventWatcher.cs:233
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Syntax highlighting" tid=0x0xb0a7f000 this=0x0x9c8fc78 thread handle 0xd35 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne () [0x00015] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/WaitHandle.cs:352
  at Mono.TextEditor.Highlighting.SyntaxModeService.ProcessQueue () [0x00047] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs:310
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Background dispatcher" tid=0x0xb040b000 this=0x0x56d888 thread handle 0x40b state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne () [0x00015] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/WaitHandle.cs:352
  at MonoDevelop.Ide.DispatchService.backgroundDispatcher () [0x00055] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:290
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"<unnamed thread>" tid=0x0xb1413000 this=0x0x128d9738 thread handle 0x1473 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <IL 0x00021, 0xffffffff>
  at System.Threading.Thread.Sleep (int) [0x00017] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:374
  at Mono.Remoting.Channels.Unix.UnixConnectionPool.ConnectionCollector () [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixConnectionPool.cs:111
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Autosave" tid=0x0xb0b81000 this=0x0xb55f000 thread handle 0x4d8 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne () [0x00015] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/WaitHandle.cs:352
  at MonoDevelop.SourceEditor.AutoSave.AutoSaveThread () [0x00005] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/AutoSave.cs:130
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Background parser" tid=0x0xb050d000 this=0x0x9cdc5e8 thread handle 0x420 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne (int,bool) [0x00032] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/WaitHandle.cs:376
  at MonoDevelop.Projects.Dom.Parser.ProjectDomService.WaitForParseJob (int) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom.Parser/ProjectDomService.cs:700
  at MonoDevelop.Projects.Dom.Parser.ProjectDomService.ParserUpdateThread () [0x00005] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom.Parser/ProjectDomService.cs:766
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"<unnamed thread>" tid=0x0xb100b000 this=0x0x1291cdc8 thread handle 0x1426 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <IL 0x00023, 0xffffffff>
  at System.Net.Sockets.Socket.Accept () [0x0003b] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket.cs:542
  at System.Net.Sockets.TcpListener.AcceptSocket () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/TcpListener.cs:193
  at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.WaitForConnections () [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs:216
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Timer-Scheduler" tid=0x0xb0e07000 this=0x0xa463348 thread handle 0x10db state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
  at System.Threading.WaitHandle.WaitOne (int,bool) [0x00032] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/WaitHandle.cs:376
  at System.Threading.WaitHandle.WaitOne (int) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/WaitHandle.cs:387
  at System.Threading.Timer/Scheduler.SchedulerThread () [0x0022d] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Timer.cs:382
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"<unnamed thread>" tid=0x0xb0f09000 this=0x0x128d9000 thread handle 0x1423 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <IL 0x00023, 0xffffffff>
  at System.Net.Sockets.Socket.Accept () [0x0003b] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket.cs:542
  at Mono.Unix.UnixListener.AcceptSocket () [0x0001c] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/Mono.Posix/Mono.Unix/UnixListener.cs:94
  at (wrapper remoting-invoke-with-check) Mono.Unix.UnixListener.AcceptSocket () <IL 0x00038, 0xffffffff>
  at Mono.Remoting.Channels.Unix.UnixServerChannel.WaitForConnections () [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixServerChannel.cs:178
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Connect thread github.com session" tid=0x0xb1515000 this=0x0x2689fbd0 thread handle 0x79e state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal (intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&) <IL 0x00028, 0xffffffff>
  at System.Net.Sockets.Socket.Receive_nochecks (byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1347
  at System.Net.Sockets.Socket.Receive (byte[],int,int,System.Net.Sockets.SocketFlags) [0x00070] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket.cs:1577
  at System.Net.Sockets.NetworkStream.Read (byte[],int,int) [0x00067] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/NetworkStream.cs:397
  at Sharpen.InputStream.Read (byte[],int,int) [0x00034] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/Sharpen/Sharpen/InputStream.cs:88
  at NSch.IO.GetByte (byte[],int,int) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/IO.cs:125
  at NSch.Session.Read (NSch.Buffer) [0x00008] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/Session.cs:997
  at NSch.Session.Run () [0x00031] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/Session.cs:1479
  at Sharpen.Thread.InternalRun () [0x00006] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/Sharpen/Sharpen/Thread.cs:74
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Connect thread github.com session" tid=0x0xb120f000 this=0x0x21dc19d8 thread handle 0x88a state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal (intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&) <IL 0x00028, 0xffffffff>
  at System.Net.Sockets.Socket.Receive_nochecks (byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1347
  at System.Net.Sockets.Socket.Receive (byte[],int,int,System.Net.Sockets.SocketFlags) [0x00070] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket.cs:1577
  at System.Net.Sockets.NetworkStream.Read (byte[],int,int) [0x00067] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/NetworkStream.cs:397
  at Sharpen.InputStream.Read (byte[],int,int) [0x00034] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/Sharpen/Sharpen/InputStream.cs:88
  at NSch.IO.GetByte (byte[],int,int) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/IO.cs:125
  at NSch.Session.Read (NSch.Buffer) [0x00008] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/Session.cs:997
  at NSch.Session.Run () [0x00031] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/Session.cs:1479
  at Sharpen.Thread.InternalRun () [0x00006] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/Sharpen/Sharpen/Thread.cs:74
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Connect thread github.com session" tid=0x0xb110d000 this=0x0x214b1dc8 thread handle 0x77f state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal (intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&) <IL 0x00028, 0xffffffff>
  at System.Net.Sockets.Socket.Receive_nochecks (byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1347
  at System.Net.Sockets.Socket.Receive (byte[],int,int,System.Net.Sockets.SocketFlags) [0x00070] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket.cs:1577
  at System.Net.Sockets.NetworkStream.Read (byte[],int,int) [0x00067] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/NetworkStream.cs:397
  at Sharpen.InputStream.Read (byte[],int,int) [0x00034] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/Sharpen/Sharpen/InputStream.cs:88
  at NSch.IO.GetByte (byte[],int,int) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/IO.cs:125
  at NSch.Session.Read (NSch.Buffer) [0x00008] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/Session.cs:997
  at NSch.Session.Run () [0x00031] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/Session.cs:1479
  at Sharpen.Thread.InternalRun () [0x00006] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/Sharpen/Sharpen/Thread.cs:74
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>

"Connect thread github.com session" tid=0x0xb1311000 this=0x0x267e0c78 thread handle 0x623 state : interrupted state owns ()
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal (intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&) <IL 0x00028, 0xffffffff>
  at System.Net.Sockets.Socket.Receive_nochecks (byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1347
  at System.Net.Sockets.Socket.Receive (byte[],int,int,System.Net.Sockets.SocketFlags) [0x00070] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/Socket.cs:1577
  at System.Net.Sockets.NetworkStream.Read (byte[],int,int) [0x00067] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System/System.Net.Sockets/NetworkStream.cs:397
  at Sharpen.InputStream.Read (byte[],int,int) [0x00034] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/Sharpen/Sharpen/InputStream.cs:88
  at NSch.IO.GetByte (byte[],int,int) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/IO.cs:125
  at NSch.Session.Read (NSch.Buffer) [0x00008] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/Session.cs:997
  at NSch.Session.Run () [0x00031] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/NSch/NSch/Session.cs:1479
  at Sharpen.Thread.InternalRun () [0x00006] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/contrib/Sharpen/Sharpen/Thread.cs:74
  at System.Threading.Thread.StartInternal () [0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Threading/Thread.cs:703
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>
Comment 1 Mikayla Hutchinson [MSFT] 2012-04-23 08:11:41 UTC
Looks like the git addin has some non-background threads running. If they're not important, they should be background. If they're important, we should show cancellation UI while waiting.
Comment 2 Alan McGovern 2012-04-30 16:47:06 UTC
This seems to be a bug in jgit. JSch contains api to ensure the threads it uses are marked as background threads, but jgit never invokes these calls. I'll patch ngit in the appropriate place and upstream the fix.
Comment 3 Alan McGovern 2012-05-01 06:14:32 UTC
Fixed with commit 864d72f82099cc01. The connect thread will be marked as a background thread, but other actions such as pulling/pushing won't be. It seems to be the least invasive option.
Comment 4 Alan McGovern 2012-05-01 06:46:37 UTC
I'm leaving this bug open while I upstream the fix.
Comment 5 Mikayla Hutchinson [MSFT] 2012-05-01 13:33:18 UTC
Will the UI show cancellation (or at least status) UI for pulling/pushing?
Comment 6 Alan McGovern 2012-06-29 20:04:22 UTC
The underlying library doesn't support cancellation so it's unlikely that we'll be able to display any useful cancellation UI.
Comment 7 Lluis Sanchez 2013-07-03 04:52:50 UTC
Can this bug be closed?
Comment 8 Marius Ungureanu 2013-09-13 12:12:50 UTC
Any action which uses Transports can be cancelled through its GitMonitor. Our UI only allows this for the initial pull which is implemented in master right now.

What to do with this report?
Comment 9 Alan McGovern 2013-09-13 12:51:47 UTC
Leave it open. The underlying library still doesn't support cancellation so the fix i applied is still a hack around the issue.
Comment 10 Marius Ungureanu 2014-04-28 10:56:01 UTC
This is patched in my JGit version. Should we just close this? (I think they won't bother fixing it.)
Comment 11 Marius Ungureanu 2014-08-24 21:13:51 UTC
Closing this for libgit2 branch.

There is nothing to test, I suppose.
Comment 12 Abhishek 2015-05-05 13:41:30 UTC
@Marius, I have tried but not sure how to reproduce this issue at my end.

Could you please provide me steps so that I can reproduce and verify this issue
at my end.

Thanks.
Comment 13 Marius Ungureanu 2015-05-05 13:42:10 UTC
Try quitting XS. If that works, we're bug free. :P
Comment 14 Abhishek 2015-05-05 13:54:29 UTC
I have checked this issue with XamarinStudio-6.0.0.541.Now this issue is working fine.
As Per comment 11 and 13,I am closing this issue.

Thanks.