mono.git
13 years agoUpdate translationf files
Marek Safar [Mon, 6 Jun 2011 17:34:44 +0000 (18:34 +0100)]
Update translationf files

13 years agoDon't crash on invalid GetAwaiter
Marek Safar [Mon, 6 Jun 2011 15:45:43 +0000 (16:45 +0100)]
Don't crash on invalid GetAwaiter

13 years agoAdd more test files
Marek Safar [Mon, 6 Jun 2011 15:45:16 +0000 (16:45 +0100)]
Add more test files

13 years ago[697296] Fix documentation output for jagged arrays
Marek Safar [Mon, 6 Jun 2011 09:54:27 +0000 (10:54 +0100)]
[697296] Fix documentation output for jagged arrays

13 years agoAdd some caching for generic task
Marek Safar [Mon, 6 Jun 2011 09:23:08 +0000 (10:23 +0100)]
Add some caching for generic task

13 years agoUpdate test
Marek Safar [Mon, 6 Jun 2011 08:55:58 +0000 (09:55 +0100)]
Update test

13 years agoPersist more literals in full ast mode
Marek Safar [Mon, 6 Jun 2011 08:55:15 +0000 (09:55 +0100)]
Persist more literals in full ast mode

13 years agoUpdate LLVM backend to latest LLVM code.
Zoltan Varga [Sat, 4 Jun 2011 17:13:03 +0000 (19:13 +0200)]
Update LLVM backend to latest LLVM code.

13 years agoFix a corner case where an inlined bblock which had its next_bb set was the last...
Zoltan Varga [Sat, 4 Jun 2011 13:20:46 +0000 (15:20 +0200)]
Fix a corner case where an inlined bblock which had its next_bb set was the last bblock in a method. Fixes #693905.

13 years agoupdate tuner
Jb Evain [Sat, 4 Jun 2011 10:38:41 +0000 (12:38 +0200)]
update tuner

13 years agoMerge pull request #109 from rnagy/master
Zoltan Varga [Fri, 3 Jun 2011 23:01:00 +0000 (16:01 -0700)]
Merge pull request #109 from rnagy/master

Fix OpenBSD. KERN_PROC2 is not needed anymore here.

13 years agoAllow Android'd support_boehm=no to work.
Jonathan Pryor [Fri, 3 Jun 2011 21:17:59 +0000 (17:17 -0400)]
Allow Android'd support_boehm=no to work.

The AC_ARG_ENABLE(boehm, ..., ..., support_boehm=yes) resulted in
support_boehm always being 'yes', even for `--host=arm-linux-androidabi`,
which was not the intention. Using `support_boehm=${support_boehm:-yes}`
generates correct behavior.

13 years agoSimplify building with the Android NDK.
Jonathan Pryor [Fri, 3 Jun 2011 20:42:38 +0000 (16:42 -0400)]
Simplify building with the Android NDK.

Check --host against *-*-linux-android* for Android-specific configure fixes,
and improve **/Makefile.am to simplify Android support:

./configure \
--build=`./config.guess` \
--host=armv5-linux-androideabi \
--target=armv5-linux-androideabi \
--enable-nls=no --with-mcs-docs=no --enable-mcs-build=no \
CC="/path/to/ndk/arm-linux-androideabi-gcc --sysroot=/path/to/sysroot" \
AR="..." AS="..." CPP="..." CXX="..." LD="..." RANLIB="..." STRIP="..."
CFLAGS="-DARM_FPU_NONE=1" CXXFLAGS="-DARM_FPU_NONE=1"

See also Android NDK docs/STANDALONE-TOOLCHAIN.html.

The Android NDK/bionic is "interesting", in that it's lacking header files and
macros normally present on Linux which otherwise break the build (e.g. no
<link.h> which breaks Boehm support).  Using --host with an android target
works around the known issues, simplifying the building of libmonosgen-2.0.so
with the Android NDK toolchain.

13 years agoFix parsing of generic partial methods
Marek Safar [Fri, 3 Jun 2011 13:32:54 +0000 (14:32 +0100)]
Fix parsing of generic partial methods

13 years agoRemove gitattributes
Marek Safar [Fri, 3 Jun 2011 10:02:15 +0000 (11:02 +0100)]
Remove gitattributes

13 years agoMake mono_gc_pthread_create () call pthread_create () directly, so libgc pthread...
Zoltan Varga [Fri, 3 Jun 2011 13:23:22 +0000 (15:23 +0200)]
Make mono_gc_pthread_create () call pthread_create () directly, so libgc pthread redirection works again. Make mono_threads_pthread_create () call mono_gc_pthread_create () instead. Fixes the OpenBSD build among others.

13 years agoFix the previous change.
Zoltan Varga [Fri, 3 Jun 2011 10:28:52 +0000 (12:28 +0200)]
Fix the previous change.

13 years agoFix a warning.
Zoltan Varga [Fri, 3 Jun 2011 06:37:00 +0000 (08:37 +0200)]
Fix a warning.

13 years agoSupport RemoteEndpointMessageProperty.
Atsushi Eno [Fri, 3 Jun 2011 10:46:01 +0000 (19:46 +0900)]
Support RemoteEndpointMessageProperty.

13 years agoFix OpenBSD. KERN_PROC2 is not needed anymore here.
Robert Nagy [Fri, 3 Jun 2011 08:01:01 +0000 (10:01 +0200)]
Fix OpenBSD. KERN_PROC2 is not needed anymore here.

13 years agoBlock await inside unsafe context
Marek Safar [Fri, 3 Jun 2011 07:44:54 +0000 (08:44 +0100)]
Block await inside unsafe context

13 years agoAdd gitignore
Marek Safar [Fri, 3 Jun 2011 07:44:32 +0000 (08:44 +0100)]
Add gitignore

13 years agoFix NOMAP32BIT support in specific trampolines.
Zoltan Varga [Thu, 2 Jun 2011 21:40:02 +0000 (23:40 +0200)]
Fix NOMAP32BIT support in specific trampolines.

13 years agoFix openbsd build.
Robert Nagy [Thu, 2 Jun 2011 21:39:41 +0000 (23:39 +0200)]
Fix openbsd build.

13 years agoInitial async support for simple Task
Marek Safar [Thu, 2 Jun 2011 15:12:14 +0000 (16:12 +0100)]
Initial async support for simple Task

13 years ago[697674] Fixes MEF embedded string resources
Marek Safar [Thu, 2 Jun 2011 14:52:12 +0000 (15:52 +0100)]
[697674] Fixes MEF embedded string resources

13 years agoFix error number
Marek Safar [Wed, 1 Jun 2011 17:19:38 +0000 (18:19 +0100)]
Fix error number

13 years agoupdate tuner
Jb Evain [Thu, 2 Jun 2011 14:40:27 +0000 (16:40 +0200)]
update tuner

13 years agoupdate Mono.Cecil.Mdb
Jb Evain [Thu, 2 Jun 2011 14:39:24 +0000 (16:39 +0200)]
update Mono.Cecil.Mdb

13 years agoupdate Mono.Cecil
Jb Evain [Thu, 2 Jun 2011 14:39:06 +0000 (16:39 +0200)]
update Mono.Cecil

13 years agoHandle a vtable layout corner case.
Rodrigo Kumpera [Wed, 1 Jun 2011 17:55:30 +0000 (14:55 -0300)]
Handle a vtable layout corner case.

class.c (mono_class_inflate_generic_method_full_checked): Don't
inflate a method if the provided context won't change it.
This change, in particular, avoid inflating a generic method
of a non-generic class if the context has class only vars.

This fixes #696593 as the above was causing the vtable of
Class3 ending up with an inflated Class1::Method<> that
comes from inflated Class2<object> parent.
Then the parent override pass would collect a non-inflated
Class1::Method<> overide that would then not match the one
on the vtable causing Class3 to have an abstract method on
its vtable and thus failing to load.

Big explanation means tricky change, might break tons of stuff.

13 years agoImprove vtable layout tracing.
Rodrigo Kumpera [Wed, 1 Jun 2011 17:54:35 +0000 (14:54 -0300)]
Improve vtable layout tracing.

13 years ago[sgen] Split the minor scan function between parallel and non-parallel.
Mark Probst [Tue, 31 May 2011 21:04:26 +0000 (23:04 +0200)]
[sgen] Split the minor scan function between parallel and non-parallel.

In making the nursery collector configurable between parallel vs
non-parallel we made the scan function check which one it was for each
pointer encountered, which is a potential performance issue.  This
brings things back to normal.

13 years ago[sgen] Make nursery collector for parallel M&S non-parallel again.
Mark Probst [Tue, 31 May 2011 21:02:33 +0000 (23:02 +0200)]
[sgen] Make nursery collector for parallel M&S non-parallel again.

Thread synchronization for the parallel nursery collector is (still)
too high to pay off.  Also, it currently crashes on the corlib
testsuite.

It can now be turned on and off with the nursery_collector_is_parallel
variable.  We will make this configurable via MONO_GC_PARAMS once the
bug is found and fixed.

13 years ago[mdoc] Add MonoDevelop project files.
Jonathan Pryor [Tue, 31 May 2011 17:32:42 +0000 (13:32 -0400)]
[mdoc] Add MonoDevelop project files.

Code completion is nice...

13 years agoBetter test
Marek Safar [Tue, 31 May 2011 17:06:08 +0000 (18:06 +0100)]
Better test

13 years ago[697236] Generic type parameter attributes can precede variance modifiers
Marek Safar [Tue, 31 May 2011 16:57:52 +0000 (17:57 +0100)]
[697236] Generic type parameter attributes can precede variance modifiers

13 years ago[696822] Reset eval completion on error handling
Marek Safar [Tue, 31 May 2011 15:57:25 +0000 (16:57 +0100)]
[696822] Reset eval completion on error handling

13 years agoSupport WebHttpBinding configuration.
Atsushi Eno [Tue, 31 May 2011 11:56:30 +0000 (20:56 +0900)]
Support WebHttpBinding configuration.

13 years agoPersist parsed values of literal constants in full ast mode
Marek Safar [Tue, 31 May 2011 11:43:20 +0000 (12:43 +0100)]
Persist parsed values of literal constants in full ast mode

13 years agoFix location of numeric literals
Marek Safar [Tue, 31 May 2011 10:28:49 +0000 (11:28 +0100)]
Fix location of numeric literals

13 years agoFix some warnings.
Zoltan Varga [Tue, 31 May 2011 00:56:09 +0000 (02:56 +0200)]
Fix some warnings.

13 years agoRef parameter was not covered by ParameterInfo.IsOut. Fixed bug #696784.
Atsushi Eno [Tue, 31 May 2011 09:51:36 +0000 (18:51 +0900)]
Ref parameter was not covered by ParameterInfo.IsOut. Fixed bug #696784.

13 years agoEmit write barriers after/before volatile loads/stores.
Zoltan Varga [Mon, 30 May 2011 23:38:48 +0000 (01:38 +0200)]
Emit write barriers after/before volatile loads/stores.

13 years agobatch compiler fails on osx due to thread exaustion
Rodrigo Kumpera [Mon, 30 May 2011 21:31:24 +0000 (18:31 -0300)]
batch compiler fails on osx due to thread exaustion

13 years agoRegression test #696817
Rodrigo Kumpera [Mon, 30 May 2011 21:30:23 +0000 (18:30 -0300)]
Regression test #696817

13 years agoProperly handle field RVA under moving collector.
Rodrigo Kumpera [Mon, 30 May 2011 21:11:08 +0000 (18:11 -0300)]
Properly handle field RVA under moving collector.

* reflection.c (typebuilder_setup_fields): Alloc RVA data
on the image mempool so it works with a moving collector.

Fixes #696817

13 years agoMerge pull request #97 from skolima/master
Marek Habersack [Mon, 30 May 2011 20:18:53 +0000 (13:18 -0700)]
Merge pull request #97 from skolima/master

Second part of Microsoft.Build.Construction: loading project files

13 years agoFix invalid instantiations on method calls.
Rodrigo Kumpera [Mon, 30 May 2011 18:58:27 +0000 (15:58 -0300)]
Fix invalid instantiations on method calls.

* verify.c: Disalow GTDs on method position.

Fixes #656913

13 years agoFix sgen under xen
Rodrigo Kumpera [Mon, 30 May 2011 15:21:32 +0000 (12:21 -0300)]
Fix sgen under xen

13 years agoMerge pull request #107 from duarten/master
Gonzalo Paniagua Javier [Mon, 30 May 2011 01:06:53 +0000 (18:06 -0700)]
Merge pull request #107 from duarten/master

Allow a thread to set its interruption state

13 years agoThreads can now self-interrupt, as expected
Duarte Nunes [Sun, 29 May 2011 20:38:21 +0000 (21:38 +0100)]
Threads can now self-interrupt, as expected

13 years ago[MSBuild] Microsoft.Build.Construction loading project files
Leszek 'skolima' Ciesielski [Fri, 29 Apr 2011 20:40:22 +0000 (22:40 +0200)]
[MSBuild] Microsoft.Build.Construction loading project files

13 years ago[sgen] Allocate small IDs for worker threads.
Mark Probst [Sat, 28 May 2011 15:06:15 +0000 (17:06 +0200)]
[sgen] Allocate small IDs for worker threads.

Worker threads require SMR to work because they use the lock-free
internal allocator, so they need to have a small ID.  We introduce a
new function in mono-threads that just allocates and registers a small
ID for a thread.

13 years ago[xbuild] Add property $(SkipCopyUnchangedFiles)
Ankit Jain [Fri, 27 May 2011 19:49:16 +0000 (01:19 +0530)]
[xbuild] Add property $(SkipCopyUnchangedFiles)

Microsoft.Common.targets: Use new property
$(SkipCopyUnchangedFiles) to control SkipUnchangedFiles property
of the various Copy tasks. Also, allow skipping when
copying CopyToOutputDirectory files in PreserveNewest case.

Patch from Tom Philpot <tom.philpot@logos.com>

13 years agoMerge pull request #106 from XTZGZoReX/master
Marek Safar [Fri, 27 May 2011 10:05:20 +0000 (03:05 -0700)]
Merge pull request #106 from XTZGZoReX/master

mcs: Remove ctest target (dead NET_1_0 code)

13 years agomcs: Remove ctest target (dead NET_1_0 code).
XTZGZoReX [Fri, 27 May 2011 12:03:21 +0000 (14:03 +0200)]
mcs: Remove ctest target (dead NET_1_0 code).

13 years agoAdd test for XmlMembersMapping.TypeName and .Namespace (not very useful yet...)
Atsushi Eno [Fri, 27 May 2011 08:29:05 +0000 (17:29 +0900)]
Add test for XmlMembersMapping.TypeName and .Namespace (not very useful yet...)

13 years agoFill type info in MessagePartDescription from XmlSerializer-based wsdl importer.
Atsushi Eno [Fri, 27 May 2011 08:24:01 +0000 (17:24 +0900)]
Fill type info in MessagePartDescription from XmlSerializer-based wsdl importer.

It still needs some fixes to import message elements.

13 years agoFix HEAVY_STATS
Rodrigo Kumpera [Thu, 26 May 2011 23:36:39 +0000 (20:36 -0300)]
Fix HEAVY_STATS

13 years agoAdd stats for the nursery allocator
Rodrigo Kumpera [Thu, 26 May 2011 23:36:23 +0000 (20:36 -0300)]
Add stats for the nursery allocator

13 years agoSanitize assertions in the unmanaged object allocator.
Rodrigo Kumpera [Thu, 26 May 2011 22:05:26 +0000 (19:05 -0300)]
Sanitize assertions in the unmanaged object allocator.

13 years agoChange the managed allocator so the tlab wastage trick works with it enabled.
Rodrigo Kumpera [Thu, 26 May 2011 20:45:15 +0000 (17:45 -0300)]
Change the managed allocator so the tlab wastage trick works with it enabled.

13 years agoBound tlab wastage to SGEN_MAX_NURSERY_WASTE.
Rodrigo Kumpera [Thu, 26 May 2011 15:39:58 +0000 (12:39 -0300)]
Bound tlab wastage to SGEN_MAX_NURSERY_WASTE.

* sgen-gc.c: When a new tlab is needed we check if we should
alloc the object directly into the nursery and spare discarding
the current tlab.

This reduces nursery wastage by 5x on httplistener. It's a silly
test, but should how important this change is.

13 years agoCleanup and move nursery allocator tunables to sgen-gc.h
Rodrigo Kumpera [Thu, 26 May 2011 15:39:23 +0000 (12:39 -0300)]
Cleanup and move nursery allocator tunables to sgen-gc.h

13 years agoAdd nursery wastage accounting under heavy stats
Rodrigo Kumpera [Thu, 26 May 2011 23:08:32 +0000 (20:08 -0300)]
Add nursery wastage accounting under heavy stats

13 years agoIntroduce mono_sgen_nursery_retire_region.
Rodrigo Kumpera [Thu, 26 May 2011 14:25:07 +0000 (11:25 -0300)]
Introduce mono_sgen_nursery_retire_region.

* sgen-nursery-allocator.c: Add function that is notified of
wasted tlab space.

13 years agoImplement nursery allocation tracking.
Rodrigo Kumpera [Wed, 25 May 2011 04:54:13 +0000 (01:54 -0300)]
Implement nursery allocation tracking.

* sgen-nursery-allocator.c: Add lighweight logging of
all nursery operations done by the allocator and have
functions that spill the data. This is very helpfull to
debug and analyse nursery related issues.

13 years agoImplement lock free nursery allocation.
Rodrigo Kumpera [Tue, 17 May 2011 06:23:30 +0000 (03:23 -0300)]
Implement lock free nursery allocation.

* sgen-gc.c (mono_gc_try_alloc_obj_nolock): Now try to
expand the TLAB or allocate directly from the nursery.

* sgen-nursery-allocator.c (alloc_from_fragment): Use
M. Michael's linked-list removal to have a lock-free
walkable linked-list. SMR is not required since we never
reclaim fragments.

13 years agoUse a separate field to hold freed fragments
Rodrigo Kumpera [Tue, 17 May 2011 03:38:13 +0000 (00:38 -0300)]
Use a separate field to hold freed fragments

13 years agoKill nursery_next, now each fragment has a bump pointer.
Rodrigo Kumpera [Tue, 17 May 2011 02:51:11 +0000 (23:51 -0300)]
Kill nursery_next, now each fragment has a bump pointer.

13 years agoAdd mono_sgen_can_alloc_size and trim some unusued parts of the API
Rodrigo Kumpera [Mon, 16 May 2011 21:38:48 +0000 (18:38 -0300)]
Add mono_sgen_can_alloc_size and trim some unusued parts of the API

13 years agoFinish spliting sgen-nursery-allocator into a separate compilation unit
Rodrigo Kumpera [Sat, 14 May 2011 22:43:40 +0000 (19:43 -0300)]
Finish spliting sgen-nursery-allocator into a separate compilation unit

13 years agoExport mono_sgen_get_nursery_clear_policy from sgen-gc
Rodrigo Kumpera [Sat, 14 May 2011 21:38:35 +0000 (18:38 -0300)]
Export mono_sgen_get_nursery_clear_policy from sgen-gc

13 years agoRename functions that will be part of the nursery-allocator API.
Rodrigo Kumpera [Sat, 14 May 2011 21:26:11 +0000 (18:26 -0300)]
Rename functions that will be part of the nursery-allocator API.

* sgen-gc.c: Move more nursery-allocator behavior to
the new file.

13 years agoMove more nursery fragment code from sgen-gc.c
Rodrigo Kumpera [Sat, 14 May 2011 21:04:04 +0000 (18:04 -0300)]
Move more nursery fragment code from sgen-gc.c

13 years agoMove nursery fragment handling to a separate file
Rodrigo Kumpera [Sat, 14 May 2011 18:56:15 +0000 (15:56 -0300)]
Move nursery fragment handling to a separate file

13 years agoMerge pull request #104 from XTZGZoReX/master
Marek Safar [Thu, 26 May 2011 10:08:57 +0000 (03:08 -0700)]
Merge pull request #104 from XTZGZoReX/master

[repl] Make some output consistent.

13 years ago[repl] Make some output consistent.
XTZGZoReX [Thu, 26 May 2011 11:40:26 +0000 (13:40 +0200)]
[repl] Make some output consistent.

13 years agoInferred type argument cannot be of method group
Marek Safar [Thu, 26 May 2011 08:28:42 +0000 (09:28 +0100)]
Inferred type argument cannot be of method group

13 years agoAdd more async infrastructure
Marek Safar [Thu, 26 May 2011 08:28:14 +0000 (09:28 +0100)]
Add more async infrastructure

13 years agoNew test.
Marek Safar [Wed, 25 May 2011 17:18:03 +0000 (18:18 +0100)]
New test.

13 years agoDon't report ambiguous property error when one of the candidates is not C# compatible
Marek Safar [Wed, 25 May 2011 14:52:28 +0000 (15:52 +0100)]
Don't report ambiguous property error when one of the candidates is not C# compatible

13 years agoThe TLS shutdown race only happen in signal based STW. Disable work-around for mach.
Rodrigo Kumpera [Wed, 25 May 2011 18:56:39 +0000 (15:56 -0300)]
The TLS shutdown race only happen in signal based STW. Disable work-around for mach.

13 years agoFix mul_imm under amd64
Rodrigo Kumpera [Wed, 25 May 2011 18:00:41 +0000 (15:00 -0300)]
Fix mul_imm under amd64

13 years agoEnable llvm support for the new Monitor.Enter () wrapper.
Zoltan Varga [Wed, 25 May 2011 11:29:13 +0000 (13:29 +0200)]
Enable llvm support for the new Monitor.Enter () wrapper.

13 years agoFix a warning.
Zoltan Varga [Wed, 25 May 2011 11:15:35 +0000 (13:15 +0200)]
Fix a warning.

13 years agoFix mono-cq under sgen.
Rodrigo Kumpera [Wed, 25 May 2011 06:40:56 +0000 (03:40 -0300)]
Fix mono-cq under sgen.

* mono-cq.c: Don't store to managed fields directly, use
MONO_OBJECT_SETREF. Don't memset a block of memory with
roots, use mono_gc_bzero.

This fixes random crashes in my sgen_par_tlab branch.
Hopefully all of them.

13 years agoImplement AOT support for the new Monitor.Enter () wrapper.
Zoltan Varga [Wed, 25 May 2011 02:15:11 +0000 (04:15 +0200)]
Implement AOT support for the new Monitor.Enter () wrapper.

13 years agoDisable v4 monitor.enter fastpath under aot and llvm
Rodrigo Kumpera [Tue, 24 May 2011 23:16:20 +0000 (20:16 -0300)]
Disable v4 monitor.enter fastpath under aot and llvm

13 years agoReapply the fast v4 monitor enter IL. AOT and LLVM are possibly broken.
Rodrigo Kumpera [Tue, 24 May 2011 23:09:49 +0000 (20:09 -0300)]
Reapply the fast v4 monitor enter IL. AOT and LLVM are possibly broken.

13 years agoRevert "Reapply 171e69041898f488f332c5a2fad71e40f5863c5d fixed to compile under linux."
Marek Habersack [Tue, 24 May 2011 23:01:25 +0000 (01:01 +0200)]
Revert "Reapply 171e69041898f488f332c5a2fad71e40f5863c5d fixed to compile under linux."

This reverts commit 20c6d0aaea815512306a916ef7701233d671200d. This break Linux (64-bit) compilation
in a different place:

make[7]: Entering directory `/home/src/build/mono/mono/mcs/class/aot-compiler'
MONO_PATH='./../../class/lib/build/' > build_aot.log 2>&1 /home/src/build/mono/mono/runtime/mono-wrapper --aot=bind-to-runtime-version --debug ./../../class/lib/build//mscorlib.dll || (cat build_aot.log; exit 1)
Mono Ahead of Time compiler - compiling assembly /home/src/build/mono/mono/mcs/class/lib/build/mscorlib.dll
* Assertion: should not be reached at aot-compiler.c:2061

Stacktrace:

Native stacktrace:

/home/src/build/mono/mono/mono/mini/mono() [0x493c71]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60) [0x2abc620abc60]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x2abc622edd05]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x186) [0x2abc622f1ab6]
/home/src/build/mono/mono/mono/mini/mono() [0x5d93ff]
/home/src/build/mono/mono/mono/mini/mono() [0x5d9523]
/home/src/build/mono/mono/mono/mini/mono() [0x476caa]
/home/src/build/mono/mono/mono/mini/mono() [0x477e99]
/home/src/build/mono/mono/mono/mini/mono() [0x478890]
/home/src/build/mono/mono/mono/mini/mono() [0x47eb90]
/home/src/build/mono/mono/mono/mini/mono(mono_main+0x1425) [0x46f435]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff) [0x2abc622d8eff]
/home/src/build/mono/mono/mono/mini/mono() [0x4125b9]

Debug info from gdb:

82 ../sysdeps/unix/syscall-template.S: No such file or directory.
[Thread debugging using libthread_db enabled]
[New Thread 0x2aaaab988700 (LWP 22577)]
[New Thread 0x2abc63c00700 (LWP 22576)]
[New Thread 0x2abc639ff700 (LWP 22575)]
[New Thread 0x2abc637fe700 (LWP 22574)]
[New Thread 0x2abc635fd700 (LWP 22573)]
[New Thread 0x2abc633fc700 (LWP 22572)]
[New Thread 0x2abc631fb700 (LWP 22571)]
[New Thread 0x2abc62ffa700 (LWP 22570)]
0x00002abc620aacbd in read () at ../sysdeps/unix/syscall-template.S:82
in ../sysdeps/unix/syscall-template.S
  9 Thread 0x2abc62ffa700 (LWP 22570)  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  8 Thread 0x2abc631fb700 (LWP 22571)  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  7 Thread 0x2abc633fc700 (LWP 22572)  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  6 Thread 0x2abc635fd700 (LWP 22573)  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  5 Thread 0x2abc637fe700 (LWP 22574)  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  4 Thread 0x2abc639ff700 (LWP 22575)  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  3 Thread 0x2abc63c00700 (LWP 22576)  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
  2 Thread 0x2aaaab988700 (LWP 22577)  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
* 1 Thread 0x2abc6264f480 (LWP 22560)  0x00002abc620aacbd in read () at ../sysdeps/unix/syscall-template.S:82

Thread 9 (Thread 0x2abc62ffa700 (LWP 22570)):

Thread 8 (Thread 0x2abc631fb700 (LWP 22571)):

Thread 7 (Thread 0x2abc633fc700 (LWP 22572)):

Thread 6 (Thread 0x2abc635fd700 (LWP 22573)):

Thread 5 (Thread 0x2abc637fe700 (LWP 22574)):

Thread 4 (Thread 0x2abc639ff700 (LWP 22575)):

Thread 3 (Thread 0x2abc63c00700 (LWP 22576)):

Thread 2 (Thread 0x2aaaab988700 (LWP 22577)):

Thread 1 (Thread 0x2abc6264f480 (LWP 22560)):

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted
make[7]: *** [../../class/lib/build//mscorlib.dll.so] Error 1

13 years agoReapply 171e69041898f488f332c5a2fad71e40f5863c5d fixed to compile under linux.
Rodrigo Kumpera [Tue, 24 May 2011 21:57:54 +0000 (18:57 -0300)]
Reapply 171e69041898f488f332c5a2fad71e40f5863c5d fixed to compile under linux.

* boehm-gc.c:
* sgen-gc.c:
* null-gc.c: Since utils can't use internal symbols from metadata
pass the critical method test function as a callback during initialization.

* mono-threads.c: Use the new callback instead of mono_gc_is_critical_method
or mono_runtime_is_gc_critical.

13 years ago[asp.net] Don't throw an exception if a session item being released does not have...
Marek Habersack [Tue, 24 May 2011 09:12:43 +0000 (11:12 +0200)]
[asp.net] Don't throw an exception if a session item being released does not have a lock.

It can happen when the item is being released after its associated session has ended.

13 years agoFix global schema component resolution issue in ids and identity constraints.
Atsushi Eno [Tue, 24 May 2011 04:02:37 +0000 (13:02 +0900)]
Fix global schema component resolution issue in ids and identity constraints.

The old code cause incorrect duplicate ID errors when XmlSchemas is involved
(global components were not resolved correctly and it's not simple to make
minor fix).
This is part of bugfix #670945.

13 years agoRevert "Implement fast il wrapper for v4 Monitor.Enter."
Marek Habersack [Mon, 23 May 2011 23:46:18 +0000 (01:46 +0200)]
Revert "Implement fast il wrapper for v4 Monitor.Enter."

This reverts commit 171e69041898f488f332c5a2fad71e40f5863c5d. The newly introduced mono_runtime_is_critical_method function
breaks pedump link as follows:

/home/src/build/mono/mono/mono/utils/mono-threads.c:385: undefined reference to `mono_runtime_is_critical_method'
/usr/bin/ld: pedump: hidden symbol `mono_runtime_is_critical_method' isn't defined
/usr/bin/ld: final link failed: Bad value

13 years agoImplement fast il wrapper for v4 Monitor.Enter.
Rodrigo Kumpera [Mon, 23 May 2011 21:27:07 +0000 (18:27 -0300)]
Implement fast il wrapper for v4 Monitor.Enter.

* monitor.c (mono_monitor_get_fast_enter_method): Add support
for v4 Enter.

* monitor.c (mono_monitor_is_il_fastpath_wrapper): New function
that returns true for any of the monitor il wrappers.

* runtime.c (mono_runtime_is_critical_method): New function
that reports if a given method is critical and must not be interrupted.

* mono-threads.c (is_thread_in_critical_region): As the runtime if
the top method is critical in addition to the GC.

* method-to-ir.c (mini_emit_inst_for_method): Enable the IL fastpath
for v4 Monitor.Enter.

13 years agoBetter handle broken types when loading default value.
Rodrigo Kumpera [Mon, 23 May 2011 18:02:56 +0000 (15:02 -0300)]
Better handle broken types when loading default value.

* class.c (mono_class_get_field_token): Don't bail out on broken types
if the fields array loaded fine.

* class.c (mono_class_get_field_default_value): Return NULL instead of
asserting if the constant row lookup fails.

* icall.c (ves_icall_MonoField_GetRawConstantValue): Raise an exception
if the default value lookup fails.

Fixes #693937

13 years agoFixed #include ordering for stat()
Jeffrey Stedfast [Wed, 18 May 2011 19:43:14 +0000 (15:43 -0400)]
Fixed #include ordering for stat()

13 years agoSupport named wildcard in UriTemplate matching. Fixed bug #693996.
Atsushi Eno [Mon, 23 May 2011 11:31:00 +0000 (20:31 +0900)]
Support named wildcard in UriTemplate matching. Fixed bug #693996.