[Mono-bugs] [Bug 637680] New: Running console or GTK apps remotely results in stack trace

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 7 18:30:45 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=637680#c0


           Summary: Running console or GTK apps remotely results in stack
                    trace
    Classification: Mono
           Product: Mono Tools for Visual Studio
           Version: 2.0
          Platform: x86-64
        OS/Version: openSUSE 11.3
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Run in Mono
        AssignedTo: jpobst at novell.com
        ReportedBy: mchristensen at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test
           Blocker: ---


monotools-server-gui-2.0.7180-1.9
mono-core-2.8-39.1.x86_64
Windows Vista 64
VS 2k10
monotools vsix 7509


When trying to run a console or GTKsharp application remotely, I get a stack
trace on Linux in the console:


===============================
  ListenerCallback Exception: System.ComponentModel.Win32Exception:
ApplicationName='/usr/bin/gnome-terminal', CommandLine=' --disable-factory
--title "MonoTools Session" -e "bash -c 'cd
/tmp/monotools-WindowsFormsApplication1 ; /usr/bin/mono --debug 
WindowsFormsApplication1.exe  ; echo; read -p \"Press any key to continue...\"
-n1;'"', CurrentDirectory=''
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 
  at MonoTools.Server.ProcessWrapper.Start () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) MonoTools.Server.ProcessWrapper:Start
()
  at MonoTools.Server.GnomeTerminal.StartConsoleProcess (System.String command,
System.String arguments, System.String workingDirectory, IDictionary`2
environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00000]
in <filename unknown>:0 
  at MonoTools.Server.TerminalManager.StartConsoleProcess (System.String
command, System.String arguments, System.String workingDirectory, IDictionary`2
environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00000]
in <filename unknown>:0 
  at MonoTools.Server.RunExecutableRemotelySession.StartProcess
(System.Xml.XmlDocument options) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.RunExecutableRemotelySession.Start
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.BaseSession.ProcessRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.SessionManager.RouteSessionRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.MonoToolsServer.RouteRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.MonoToolsServer.ListenerCallback (IAsyncResult result)
[0x00000] in <filename unknown>:0 
CreateProcess: Unfinished quote.


======================================

And an error on windows:

System.ComponentModel.Win32ExceptionApplicationName='/usr/bin/gnome-terminal',
CommandLine=' --disable-factory --title "MonoTools Session" -e "bash -c 'cd
/tmp/monotools-WindowsFormsApplication1 ; /usr/bin/mono --debug 
WindowsFormsApplication1.exe  ; echo; read -p \"Press any key to continue...\"
-n1;'"', CurrentDirectory=''  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 
  at MonoTools.Server.ProcessWrapper.Start () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) MonoTools.Server.ProcessWrapper:Start
()
  at MonoTools.Server.GnomeTerminal.StartConsoleProcess (System.String command,
System.String arguments, System.String workingDirectory, IDictionary`2
environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00000]
in <filename unknown>:0 
  at MonoTools.Server.TerminalManager.StartConsoleProcess (System.String
command, System.String arguments, System.String workingDirectory, IDictionary`2
environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00000]
in <filename unknown>:0 
  at MonoTools.Server.RunExecutableRemotelySession.StartProcess
(System.Xml.XmlDocument options) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.RunExecutableRemotelySession.Start
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.BaseSession.ProcessRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.SessionManager.RouteSessionRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.MonoToolsServer.RouteRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.MonoToolsServer.ListenerCallback (IAsyncResult result)
[0x00000] in <filename unknown>:0 System.ComponentModel.Win32Exception:
ApplicationName='/usr/bin/gnome-terminal', CommandLine=' --disable-factory
--title "MonoTools Session" -e "bash -c 'cd
/tmp/monotools-WindowsFormsApplication1 ; /usr/bin/mono --debug 
WindowsFormsApplication1.exe  ; echo; read -p \"Press any key to continue...\"
-n1;'"', CurrentDirectory=''
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 
  at MonoTools.Server.ProcessWrapper.Start () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) MonoTools.Server.ProcessWrapper:Start
()
  at MonoTools.Server.GnomeTerminal.StartConsoleProcess (System.String command,
System.String arguments, System.String workingDirectory, IDictionary`2
environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00000]
in <filename unknown>:0 
  at MonoTools.Server.TerminalManager.StartConsoleProcess (System.String
command, System.String arguments, System.String workingDirectory, IDictionary`2
environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00000]
in <filename unknown>:0 
  at MonoTools.Server.RunExecutableRemotelySession.StartProcess
(System.Xml.XmlDocument options) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.RunExecutableRemotelySession.Start
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.BaseSession.ProcessRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.SessionManager.RouteSessionRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.MonoToolsServer.RouteRequest
(System.Net.HttpListenerContext context) [0x00000] in <filename unknown>:0 
  at MonoTools.Server.MonoToolsServer.ListenerCallback (IAsyncResult result)
[0x00000] in <filename unknown>:0

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list