Bug 58805 - fsharpi quits with mono_os_mutex_trylock: pthread_mutex_trylock failed with "Invalid argument" (22)
Summary: fsharpi quits with mono_os_mutex_trylock: pthread_mutex_trylock failed with "...
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: io-layer (show other bugs)
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-08-16 09:58 UTC by Jon Sporring
Modified: 2017-08-28 22:54 UTC (History)
3 users (show)

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


Attachments

Description Jon Sporring 2017-08-16 09:58:38 UTC
I've just installed mono 5.2 on top of the earlier stable. When I start fsharpi and immediately press crtl-d to quit, then the program often quits with an error. I seem to be able to provoke it consistently by starting and stopping twice.

Best, Jon

---------

$ fsharpi

F# Interactive for F# 4.1
Freely distributed under the Apache 2.0 Open Source License

For help type #help;;

$ fsharpi

F# Interactive for F# 4.1
Freely distributed under the Apache 2.0 Open Source License

For help type #help;;

> mono_os_mutex_trylock: pthread_mutex_trylock failed with "Invalid argument" (22)
Abort trap: 6
$ mono --version
Mono JIT compiler version 5.2.0.215 (d15-3/da80840 Thu Jul 20 16:43:07 EDT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          yes(3.6.0svn-mono-master/8b1520c)
	GC:            sgen (concurrent by default)

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