Bug 19249 - BuildManager constructor causes ThreadCreationFailed
Summary: BuildManager constructor causes ThreadCreationFailed
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: Ms.Build (show other bugs)
Version: 3.2.x
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-04-23 14:31 UTC by Anton Tayanovskyy
Modified: 2014-04-23 14:31 UTC (History)
1 user (show)

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


Attachments

Description Anton Tayanovskyy 2014-04-23 14:31:10 UTC
To reproduce:

test.fsx:

#r "Microsoft.Build"
new Microsoft.Build.Execution.BuildManager()

fsharpi --exec test.fsx

Unhandled Exception:
System.SystemException: Thread creation failed.
  at System.Threading.Thread.Start () [0x00000] in <filename unknown>:0
  at Microsoft.Build.Internal.BuildNodeManager..ctor (Microsoft.Build.Execution.BuildManager buildManager) [0x00000] in <filename unknown>:0
  at Microsoft.Build.Execution.BuildManager.get_BuildNodeManager () [0x00000] in <filename unknown>:0
  at Microsoft.Build.Execution.BuildManager.Finalize () [0x00000] in <filename unknown>:0

Environment: latest Ubuntu Trusty with "mono-complete", "fsharp" packages, Mono 3.2.8 and also 3.4.1.

Same error when trying to build and start an executable.

Note You need to log in before you can comment on or make changes to this bug.