Bug #1044

avatar

ObjectDisposedException printed in the console when quitting smuxi (under SingleApplicationInstance code)

Added by Andrés G. Aragoneses 3508 days ago. Updated 3493 days ago.

Status:New Start:04/29/2015
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Common
Target version:-
Complexity:

High

Found in Version:

Votes: 0

Description

I've recently git-pulled master branch, and after using the client a bit, I quitted the app, and found this in the terminal:

Unhandled Exception:
System.ObjectDisposedException: The object was used after being disposed.
at Mono.Unix.UnixListener.CheckDisposed () [0x00000] in <filename unknown>:0
at Mono.Unix.UnixListener.Stop () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Mono.Unix.UnixListener:Stop ()
at Mono.Remoting.Channels.Unix.UnixServerChannel.StopListening (System.Object data) [0x00000] in <filename unknown>:0
at System.Runtime.Remoting.Channels.Ipc.Unix.IpcServerChannel.StopListening (System.Object data) [0x00000] in <filename unknown>:0
at System.Runtime.Remoting.Channels.Ipc.Unix.IpcChannel.StopListening (System.Object data) [0x00000] in <filename unknown>:0
at System.Runtime.Remoting.Channels.Ipc.IpcChannel.StopListening (System.Object data) [0x00000] in <filename unknown>:0
at System.Runtime.Remoting.Channels.ChannelServices.UnregisterChannel (IChannel chnl) [0x00000] in <filename unknown>:0
at Smuxi.Common.SingleApplicationInstance`1[Smuxi.Frontend.Gnome.CommandLineInterface].Dispose (Boolean disposing) [0x00014] in /home/knocte/Documents/Code/OpenSource/smuxi/src/Common/SingleApplicationInstance.cs:245
at Smuxi.Common.SingleApplicationInstance`1[Smuxi.Frontend.Gnome.CommandLineInterface].Finalize () [0x00000] in /home/knocte/Documents/Code/OpenSource/smuxi/src/Common/SingleApplicationInstance.cs:94
make: *** [run-gnome] Error 255

Granted, it's probably a mono bug, but maybe Smuxi should add a try-catch somewhere to achieve better cleanup?

History

Updated by Mirco Bauer 3493 days ago

avatar
  • Category set to Common
  • Complexity set to High

This is annoying but harmless. Smuxi should not hide the issue, because the code has critical sections.

Also available in: Atom PDF