[Mono-bugs] [Bug 431811] New: Process.HasExited does not work on Mono 2.0 runtime
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Oct 2 21:38:52 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=431811
Summary: Process.HasExited does not work on Mono 2.0 runtime
Product: Mono: Runtime
Version: 2.0
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Major
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: andrew at coupesonline.com
QAContact: mono-bugs at lists.ximian.com
Found By: Beta-Customer
The following code works fine under .NET and Mono 2.0 on Windows but does not
work on the Mac OS. On the mac, the process correctly starts the texeditor
app. The problem is that HasExited incorrectly returns true immediately even
though the window has not been closed.
Dim Progname As String =
Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) +
"Myfile.txt"
Dim proc As New Process()
With DAWproc.StartInfo
.FileName = Progname
.Verb = "Open"
.CreateNoWindow = True
End With
proc.Start()
While Not proc.HasExited
End While
The runtime error on the mac is:
mono(333,0xa000ed88) malloc: *** Deallocation of a pointer not malloced:
0x1a5898; This could be a double free(), or free() called with the middle of an
allocated block; Try setting environment variable MallocHelp to see tools to
help debug
This error occurs on the proc.Start() command.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list