-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[do-not-merge] [bockbuild] make macOS package with debug flags enabled #11706
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@monojenkins build OS X Package |
|
The change itself looks good |
@monojenkins build OS X Package |
@monojenkins build OS X Package |
Add the parent pid.
@monojenkins build OS X Package |
@monojenkins build OS X Package |
jonpryor
pushed a commit
to dotnet/android
that referenced
this pull request
Nov 30, 2018
Context: mono/mono#11706 Context: #2357 Context: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android/1239/console Sometimes a Jenkins build will timeout when executing the xamarin-android unit tests. The timeout *appears* to occur when `mono` is used to execute a process, the process "finishes," but the process never actually *exits*, thus "hanging". For example, [consider this build log fragment][0] (with timestamps): 23:37:48 Build succeeded. 23:37:48 0 Warning(s) 23:37:48 0 Error(s) 23:37:48 23:37:48 Time Elapsed 01:23:14.60 02:37:48 Build timed out (after 180 minutes). Marking the build as aborted. The "Build succeeded" message comes from an `msbuild` invocation. Once `msbuild` finished, we would expect it's process to exit. *It didn't*. Instead, the underlying `mono` process is *not* exiting, presumably deadlocked, until the overall job times out and is killed. Attempt to help identify the hang by using a "debug" mono/2018-08 system mono, built from [Mono PR #11706][1], which prints out additional messages around child process use: diff --git a/mono/metadata/w32process-unix.c b/mono/metadata/w32process-unix.c index 2db5dea7a705..fbd4731cacb2 100644 --- a/mono/metadata/w32process-unix.c +++ b/mono/metadata/w32process-unix.c @@ -2096,7 +2095,7 @@ process_create (const gunichar2 *appname, const gunichar2 *cmdline, if (argv) g_strfreev (argv); - mono_trace (G_LOG_LEVEL_DEBUG, MONO_TRACE_IO_LAYER_PROCESS, "%s: returning handle %p for pid %d", __func__, handle, pid); + g_printerr ("XXX-MONO: %s: returning handle %p for pid %d from %d\n", __func__, handle, pid, getpid()); This will hopefully allow @lewurm to continue investigations. [0]: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android/1237/console [1]: mono/mono#11706
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@monojenkins skip
@akoeplinger @alexischr I want to get a macOS package that is compiled with
CFLAGS='-O0 -ggdb3'
, is that the correct way to do it?Context: dotnet/android#2357