| | 248 | |
| | 249 | == Notes on shared handles == |
| | 250 | |
| | 251 | At Haiku !r26820 with SMP disabled in the bootmenu I get the following output from `make`: |
| | 252 | {{{ |
| | 253 | make[4]: Entering directory `/ToBe/Mono/mcs' |
| | 254 | make PROFILE=basic all |
| | 255 | make[5]: Entering directory `/ToBe/Mono/mcs' |
| | 256 | Stacktrace: |
| | 257 | |
| | 258 | at (wrapper managed-to-native) System.IO.MonoIO.Open (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,System.IO.FileOptions,System.IO.MonoIOError&) <0x00004> |
| | 259 | at (wrapper managed-to-native) System.IO.MonoIO.Open (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,System.IO.FileOptions,System.IO.MonoIOError&) <0xffffffff> |
| | 260 | at System.IO.FileStream..ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions) <0x00230> |
| | 261 | at System.IO.FileStream..ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) <0x0001f> |
| | 262 | at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) <0xffffffff> |
| | 263 | at System.IO.File.OpenRead (string) <0x00024> |
| | 264 | at Mono.CSharp.Driver.Parse (Mono.CSharp.CompilationUnit) <0x0001f> |
| | 265 | at Mono.CSharp.Driver.Parse () <0x00062> |
| | 266 | at Mono.CSharp.Driver.Compile () <0x00021> |
| | 267 | at Mono.CSharp.Driver.Main (string[]) <0x0005a> |
| | 268 | at (wrapper runtime-invoke) Mono.CSharp.Driver.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff> |
| | 269 | Abort |
| | 270 | make[6]: *** [build/deps/basic-profile-check.exe] Abort |
| | 271 | make[6]: Entering directory `/ToBe/Mono/mcs' |
| | 272 | *** The contents of your 'monolite' directory may be out-of-date |
| | 273 | *** You may want to try 'make get-monolite-latest' |
| | 274 | make[6]: *** [do-profile-check-monolite] Error 1 |
| | 275 | make[6]: Leaving directory `/ToBe/Mono/mcs' |
| | 276 | make[5]: *** [do-profile-check] Error 2 |
| | 277 | make[5]: Leaving directory `/ToBe/Mono/mcs' |
| | 278 | make[4]: *** [profile-do--basic--all] Error 2 |
| | 279 | }}} |
| | 280 | The corresponding serial output is in the [http://dev.haiku-os.org/ticket/2572 Ticket]. At least it does not hang Haiku this way. |