Bug 314615 (MONO58215) - WSDL/Mono Bug
Summary: WSDL/Mono Bug
Status: RESOLVED MOVED
Alias: MONO58215
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Lluis Sanchez
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-07 22:32 UTC by Mike Douglas
Modified: 2007-09-15 21:24 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
File in question (62.72 KB, text/plain)
2004-05-07 22:34 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:36:46 UTC


---- Reported by code_monkey@gooeylinux.org 2004-05-07 15:32:42 MST ----

Description of Problem:
With the latest mono (beta 1), Muine fails to build. The code in question
has not be changed in months and everyone is out of ideas so I thought I'd
file a bug here incase its a mono bug.

wsdl ./AmazonSearchService.wsdl
Mono Web Services Description Language Utility
System.InvalidOperationException: Process has not been started.
in <0x0003b> System.Diagnostics.Process:get_ExitCode ()
in <0x00050> (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:get_ExitCode ()
in <0x00239> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
(System.CodeDom.Compiler.CompilerParameters,string[],bool)
in <0x00055> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFile
(System.CodeDom.Compiler.CompilerParameters,string)
in <0x0051c>
System.Xml.Serialization.XmlSerializer:RunSerializerGenerationAux (object)
in <0x0001b> System.Xml.Serialization.XmlSerializer:RunSerializerGeneration
(object)
 
Writing file 'AmazonSearchService.cs'
make[2]: *** [AmazonSearchService.cs] Segmentation fault
make[2]: *** Deleting file `AmazonSearchService.cs'

Steps to reproduce the problem:
1. compile mono-0.91
2. compile Muine's deps
3. compile Muine 0.6.0

Actual Results:
creation of AmazonSearchService.cs seg faults

Expected Results:
AmazonSearchService.cs is created and compiled

How often does this happen? 
Almost everytime (it worked once)



---- Additional Comments From code_monkey@gooeylinux.org 2004-05-07 15:34:47 MST ----

Created an attachment (id=165995)
File in question




---- Additional Comments From latexer@gentoo.org 2004-05-08 11:52:34 MST ----

I've just run into this bug as well. Of note is that this only happens
*some* of the time. In the same shell, i can literally run the
command, hit the up arrow, and run it again; One will work fine, the
next time it will fail miserably:
peter@gonzo src $ !ws
wsdl ./AmazonSearchService.wsdl
Mono Web Services Description Language Utility
Writing file 'AmazonSearchService.cs'
peter@gonzo src $ wsdl ./AmazonSearchService.wsdl
Mono Web Services Description Language Utility
Writing file 'AmazonSearchService.cs'
System.InvalidOperationException: The process must exit before getting
the requested information.
in <0x0007a> System.Diagnostics.Process:get_ExitCode ()
in <0x00050> (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:get_ExitCode ()
in <0x00239>
Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
(System.CodeDom.Compiler.CompilerParameters,string[],bool)
in <0x00055> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFile
(System.CodeDom.Compiler.CompilerParameters,string)
in <0x0051c>
System.Xml.Serialization.XmlSerializer:RunSerializerGenerationAux (object)
in <0x0001b>
System.Xml.Serialization.XmlSerializer:RunSerializerGeneration (object)


Sounds like a race, where sometimes the exit code is being checked
before the process in question has finished doing its stuff.




---- Additional Comments From bugzilla@lwillis.plus.com 2004-05-08 12:26:42 MST ----

I've just seen this myself for the first time in about ~30
iterations). After seeing it the first time it now happens fairly
frequently!

I saw the following additional output in one run, but not the rest,
not sure if it's related:

* ERROR **: file mini-exceptions.c: line 261 (mono_handle_exception):
assertion failed: (jit_tls->end_of_stack)




---- Additional Comments From bugzilla@lwillis.plus.com 2004-05-08 12:50:06 MST ----

This is a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO58194 which seems to have more info on it ...



---- Additional Comments From bugzilla@lwillis.plus.com 2004-05-08 13:07:22 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO58194 ***

Imported an attachment (id=165995)

Unknown operating system unknown. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"