Skip to content

Releases: STSSoft/STSdb4

STSdb 4.0.8

03 Sep 09:51

Choose a tag to compare

ver. 4.0.8 (2015-09-03)

  • changed: SortedSetExtensions now generates the same expressions for .NET and Mono. (thanks to corminlu from GitHub)

  • changed: DecimalExtensions now generates the same expressions for .NET and Mono.

  • improved: FindNext, FindAfter, FindBefore, FindPrev methods of SortedSet.

    The Mono Project has adopted the .NET implementations for some of their libraries.

STSdb 4.0.7

26 Feb 11:51

Choose a tag to compare

ver. 4.0.7 (2015-01-13)

bug fixed: SortedSetExtension.ConstructFromSortedArray finally works under Mono

Even after the bug fix, there are problems under Mono. Simple insert of 10 000 000 records with random keys randomly fails with mono runtime error:

//--- Stacktrace:

at at (wrapper managed-to-native) object.__icall_wrapper_mono_gc_alloc_obj (intptr,intptr) at (wrapper alloc) object.AllocSmall (intptr) at STSdb4.Database.XTable`2.set_Item (long,STSdb4.General.Collections.Tick) [0x00002] in /home/chris/Desktop/STSdb4/STSdb4/Database/XTable.cs:36 at STSdb4.GettingStarted.Program.Example () [0x0007b] in /home/chris/Desktop/STSdb4/STSdb4.GettingStarted/Program.cs:77 at STSdb4.GettingStarted.Program.Main (string[]) [0x00001] in /home/chris/Desktop/STSdb4/STSdb4.GettingStarted/Program.cs:28 at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr)

Native stacktrace:

/usr/bin/mono() [0x4b73d8]
/usr/bin/mono() [0x50f13b]
/usr/bin/mono() [0x423d22]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f2a24df9340]
/usr/bin/mono() [0x5fb127]
/usr/bin/mono() [0x5fc703]
/usr/bin/mono() [0x5d86ff]
/usr/bin/mono() [0x5ddefe]
/usr/bin/mono() [0x5de3b9]
/usr/bin/mono() [0x5f4719]
/usr/bin/mono() [0x5f47e4]
[0x41c3f133]
Debug info from gdb:

Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Operation not permitted. No threads.

Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries

used by your application.
//---

This error in mono runtime is already reported in bugzilla: https://bugzilla.xamarin.com/show_bug.cgi?id=25751 We hope that it will be fixed soon.