Repository navigation
Closed
Description
$ mono tools/paket.exe install
Paket version 0.27.9.0
found: /Users/henrik.feldt/dev/logary/logary/paket.dependencies
* Assertion at processes.c:2595, condition `mp' not met
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Diagnostics.Process.ExitCode_internal (intptr) <0xffffffff>
at System.Diagnostics.Process.get_HasExited () <0x00027>
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.get_HasExited () <0xffffffff>
at Paket.Utils/[email protected] (System.Diagnostics.Process) <0x0001b>
at Microsoft.FSharp.Collections.ArrayModule.loop@218-25<T> (Microsoft.FSharp.Core.FSharpFunc`2<T, bool>,T[],int,int) <0x00039>
at Microsoft.FSharp.Collections.ArrayModule.Exists<T> (Microsoft.FSharp.Core.FSharpFunc`2<T, bool>,T[]) <0x0007f>
at Paket.Utils.waitForUnlocked@211 (System.Diagnostics.Process,string,System.DateTime,System.TimeSpan,int) <0x000cf>
at Paket.Utils.acquireLock@209 (string,System.Diagnostics.Process,string,System.DateTime,System.TimeSpan,int) <0x000e3>
at Paket.Utils.RunInLockedAccessMode<a> (string,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, a>) <0x000f3>
at Paket.Dependencies.Install (bool,bool,bool) <0x00067>
at Paket.Program/[email protected] (Microsoft.FSharp.Core.Unit) <0x00297>
at Paket.Program/[email protected] (Microsoft.FSharp.Core.Unit) <0x00236>
at Paket.Program/[email protected] (Microsoft.FSharp.Core.Unit) <0x004a6>
at <StartupCode$paket>.$Paket.Program.main@ () <0x00d79>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 mono 0x000f2e96 mono_handle_native_sigsegv + 342
1 mono 0x001462ca sigabrt_signal_handler + 122
2 libsystem_platform.dylib 0x99ee5deb _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 libsystem_c.dylib 0x9311529c abort + 155
5 mono 0x002946b1 monoeg_log_default_handler + 129
6 mono 0x002947ab monoeg_assertion_message + 107
7 mono 0x00271a1e process_wait + 782
8 mono 0x002738c7 GetExitCodeProcess + 167
9 mono 0x001d7348 ves_icall_System_Diagnostics_Process_ExitCode_internal + 24
10 ??? 0x028ae6e4 0x0 + 42657508
11 ??? 0x028ae650 0x0 + 42657360
12 ??? 0x028ae5f8 0x0 + 42657272
13 ??? 0x028ae53c 0x0 + 42657084
14 ??? 0x028ae4f2 0x0 + 42657010
15 ??? 0x028ae498 0x0 + 42656920
16 ??? 0x028ada50 0x0 + 42654288
17 ??? 0x028ad604 0x0 + 42653188
18 ??? 0x028acd44 0x0 + 42650948
19 ??? 0x028acbe0 0x0 + 42650592
20 ??? 0x028abff8 0x0 + 42647544
21 ??? 0x028abce7 0x0 + 42646759
22 ??? 0x028aba27 0x0 + 42646055
23 ??? 0x007eab62 0x0 + 8301410
24 ??? 0x007eb2f6 0x0 + 8303350
25 mono 0x0004868f mono_jit_runtime_invoke + 751
26 mono 0x002077ff mono_runtime_invoke + 127
27 mono 0x0020d641 mono_runtime_exec_main + 401
28 mono 0x0020d3ea mono_runtime_run_main + 682
29 mono 0x000bddbd mono_jit_exec + 93
30 mono 0x000c0090 mono_main + 7904
31 mono 0x0003afa0 main + 768
32 mono 0x0003ac95 start + 53
Debug info from gdb:
Executing commands in '/tmp/mono-gdb-commands.aWSIVZ'.
(lldb) process attach --pid 4286
error: Aborting reading of commands after command #0: 'process attach --pid 4286' failed with error: attach failed: process did not stop (no such process or permission problem?)
Aborting after_file command execution, command file: '/tmp/mono-gdb-commands.aWSIVZ' failed.
Metadata
Metadata
Assignees
Labels
No labels
Activity
haf commentedon Feb 12, 2015
Probably related: https://bugzilla.xamarin.com/show_bug.cgi?id=26514
forki commentedon Feb 12, 2015
Da Fuq? Any ideas what this is? It's deep down in mono runtime, right?
On Feb 12, 2015 5:37 PM, "Henrik Feldt" [email protected] wrote:
haf commentedon Feb 12, 2015
mono/mono@97866fc
haf commentedon Feb 12, 2015
How very annoying!
forki commentedon Feb 12, 2015
ouch. do you see a workaround for us in paket?
haf commentedon Feb 12, 2015
Yes, there's one in the bug thread here: https://bugzilla.xamarin.com/show_bug.cgi?id=25720
Testing HEAD currently...
haf commentedon Feb 12, 2015
Ok, one yak shaved, n to go.
haf commentedon Feb 12, 2015
next yak
forki commentedon Feb 12, 2015
could you please test 0.27.10?
haf commentedon Feb 12, 2015
Afraid it's still not working...
haf commentedon Feb 12, 2015
Updated bugzilla https://bugzilla.xamarin.com/show_bug.cgi?id=25720
haf commentedon Feb 13, 2015
He's written about another way to do the workaround in the bugzilla thread... Perhaps that's a working workaround?
Reorder conditions to reduce the mono bug in #599
Filter processes by ID not by comparision - relates to #599
forki commentedon Feb 13, 2015
The only difference is to compare processes by ID, right? I added this and I reordered the conditions to reduce the no. of HasExited calls see fbd9c5b
I'm not sure if that helps, but please look at 0.27.13.
If that doesn't work we might use Process.ExitTime somehow.
haf commentedon Feb 13, 2015
Yes, that did it! Thanks a heap! I can now leave some yaks unshaven!
haf commentedon Feb 13, 2015
On the up-side, I might have instigated a reproducible-builds drive for the mono project ;)
forki commentedon Feb 13, 2015
Cool.