зеркало из https://github.com/mono/mail-archives.git
220 строки
7.2 KiB
HTML
220 строки
7.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [mono-android] New Mono 4.0.0. - Assertion failures on StringBuilder - Application crashes
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20New%20Mono%204.0.0.%20-%20Assertion%20failures%20on%0A%09StringBuilder%20-%20Application%20crashes&In-Reply-To=D7C394926CDE044A9287D0D6D87360B13926059230%40aumail01.PROJECTCENTRE.loc">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="007522.html">
|
|
<LINK REL="Next" HREF="007523.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[mono-android] New Mono 4.0.0. - Assertion failures on StringBuilder - Application crashes</H1>
|
|
<B>Andrew Sinclair</B>
|
|
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20New%20Mono%204.0.0.%20-%20Assertion%20failures%20on%0A%09StringBuilder%20-%20Application%20crashes&In-Reply-To=D7C394926CDE044A9287D0D6D87360B13926059230%40aumail01.PROJECTCENTRE.loc"
|
|
TITLE="[mono-android] New Mono 4.0.0. - Assertion failures on StringBuilder - Application crashes">andrew at magic5software.com
|
|
</A><BR>
|
|
<I>Tue Dec 6 10:55:44 EST 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="007522.html">[mono-android] New Mono 4.0.0. - Assertion failures on StringBuilder - Application crashes
|
|
</A></li>
|
|
<LI>Next message: <A HREF="007523.html">[mono-android] Build fails with Mono 4.0
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#7588">[ date ]</a>
|
|
<a href="thread.html#7588">[ thread ]</a>
|
|
<a href="subject.html#7588">[ subject ]</a>
|
|
<a href="author.html#7588">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Nirban,
|
|
|
|
|
|
|
|
I'm seeing this error too. I'd seen it occasionally before 4.0, but now it's
|
|
much more common. As you say, it seems to happen when there is an intense
|
|
period of object creation or operations and it seems quite random.
|
|
|
|
|
|
|
|
I did log a bug for this before 4.0,
|
|
<A HREF="http://bugzilla.xamarin.com/show_bug.cgi?id=2091.">http://bugzilla.xamarin.com/show_bug.cgi?id=2091.</A> I'm going to try and
|
|
create a repro for this, but if anybody else can make it happen reliably
|
|
then please add to that bug and hopefully it can be fixed quickly.
|
|
|
|
|
|
|
|
Cheers,
|
|
|
|
|
|
|
|
Andy
|
|
|
|
|
|
|
|
From: <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A>
|
|
[mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A>] On Behalf Of Nirban Dutta
|
|
Sent: 05 December 2011 23:10
|
|
To: <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid at lists.ximian.com</A>
|
|
Subject: [mono-android] New Mono 4.0.0. - Assertion failures on
|
|
StringBuilder - Application crashes
|
|
|
|
|
|
|
|
Hi,
|
|
|
|
|
|
|
|
With the new Mono for Android 4.0.0, we are getting assertion failures in
|
|
many places specially in String.Join, StringBuilder.Append, and similar
|
|
simple string operations.
|
|
|
|
It's random and happens when the application is processing lot of data like
|
|
inserting 100s of SQLite rows etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12-07 09:55:05.329: INFO/mono-stdout(1381): [ 12-07 09:55:05.869 1381:0x580
|
|
F/ ]
|
|
|
|
12-07 09:55:05.329: INFO/mono-stdout(1381): * Assertion at
|
|
../../../../mono/metadata/sgen-bridge.c:426, condition `!entry->is_bridge'
|
|
not met
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): Stacktrace:
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): at System.Text.StringBuilder..ctor
|
|
(string,int,int,int,int) <0x0012b>
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): at System.Text.StringBuilder..ctor
|
|
(string,int,int,int) <0x00047>
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): at System.Text.StringBuilder..ctor
|
|
(int) <0x00037>
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): at string.FormatHelper
|
|
(System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x0014f>
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): at string.Format
|
|
(System.IFormatProvider,string,object[]) <0x00027>
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): at string.Format (string,object)
|
|
<0x0004f>
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): at
|
|
ProjectCentre.Mobile.Shared.Business.Database.OperationHelpers.Condition.Set
|
|
FirstSqlParameterName () <0x000e3>
|
|
|
|
12-07 09:55:05.869: INFO/mono(1381): at
|
|
ProjectCentre.Mobile.Shared.Business.Database.OperationHelpers.Condition..ct
|
|
or
|
|
(ProjectCentre.Mobile.Shared.Business.Database.Tables.ColumnDefinition,objec
|
|
t) <0x000cb>
|
|
|
|
|
|
|
|
|
|
|
|
I have explicitly disposed all StringBuilder objects after use, but it is
|
|
still a issue which crashes and prompt for a forced close.
|
|
|
|
|
|
|
|
Please have a look on this for a fix.
|
|
|
|
|
|
|
|
Regards,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Nirban Dutta
|
|
|
|
|
|
|
|
|
|
Software Engineer
|
|
|
|
|
|
PROJECTCENTRE_LOGO_
|
|
|
|
|
|
|
|
|
|
P 1300 653 420 | M +61 432 675 543
|
|
|
|
Deloitte_TF50Winner
|
|
|
|
|
|
F +61 (0) 2 9420 8277
|
|
|
|
|
|
3 / 11 Orion Road, Lane Cove, NSW, Australia 2066
|
|
|
|
CADX PTY LTD DISCLAIMER: The information contained in this email message is
|
|
CONFIDENTIAL INFORMATION, and may also be LEGALLY PRIVILEGED, intended only
|
|
for the individual or entity named above. If you are not the intended
|
|
recipient, you are hereby notified that any use, review, dissemination,
|
|
distribution or copying of this document is strictly prohibited. If you have
|
|
received this document in error, please immediately notify us by email and
|
|
destroy the original message. CADX disclaims all liability and
|
|
responsibility for any direct or indirect loss or damage that may be
|
|
suffered by any recipient of this message
|
|
|
|
|
|
|
|
-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111206/97edc481/attachment-0001.html">http://lists.ximian.com/pipermail/monodroid/attachments/20111206/97edc481/attachment-0001.html</A>
|
|
-------------- next part --------------
|
|
A non-text attachment was scrubbed...
|
|
Name: not available
|
|
Type: image/jpeg
|
|
Size: 9716 bytes
|
|
Desc: not available
|
|
Url : <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111206/97edc481/attachment-0002.jpe">http://lists.ximian.com/pipermail/monodroid/attachments/20111206/97edc481/attachment-0002.jpe</A>
|
|
-------------- next part --------------
|
|
A non-text attachment was scrubbed...
|
|
Name: not available
|
|
Type: image/jpeg
|
|
Size: 25096 bytes
|
|
Desc: not available
|
|
Url : <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111206/97edc481/attachment-0003.jpe">http://lists.ximian.com/pipermail/monodroid/attachments/20111206/97edc481/attachment-0003.jpe</A>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="007522.html">[mono-android] New Mono 4.0.0. - Assertion failures on StringBuilder - Application crashes
|
|
</A></li>
|
|
<LI>Next message: <A HREF="007523.html">[mono-android] Build fails with Mono 4.0
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#7588">[ date ]</a>
|
|
<a href="thread.html#7588">[ thread ]</a>
|
|
<a href="subject.html#7588">[ subject ]</a>
|
|
<a href="author.html#7588">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
|
|
mailing list</a><br>
|
|
</body></html>
|