[Mono-bugs] [Bug 323524] Mono 1.2.3 Solaris build has problems with Socket.BeginConnect

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 15 05:35:15 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=323524#c2


Burkhard Linke <burkhard.linke at CeBiTec.Uni-Bielefeld.DE> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |burkhard.linke at CeBiTec.Uni-Bielefeld.DE
         OS/Version|Other                                           |Solaris 10
           Platform|Other                                           |i386
            Version|1.2                                             |1.2.5




--- Comment #2 from Burkhard Linke <burkhard.linke at CeBiTec.Uni-Bielefeld.DE>  2007-11-15 03:35:15 MST ---
I can reproduce the bug with Mono 1.2.5.1 using Solaris 10/x86. The patches
mentioned in bug 323695 are already applied to mono/io-layer/sockets.c in the
release, so they won't help in this case.

I've stumbled about this bug while using the mysql-connector library; using a
synchronus connect instead of BeginConnect in the mysql code solved the
problem, but I get random errors during execution of database queries, e.g.

0: 1c3 -> 1c3
1: 0 -> 0
2: 43 -> 43
3: 43 -> 43
4: bffa2400 -> bec7c000
5: bfab30c0 -> bfab0780
6: bfa97f40 -> 1a5b48c0
7: 0 -> 0
8: bfe78000 -> bfe78000
9: bfe48d07 -> bfe48d07
10: bfe4fc6b -> bfe4fc6b
11: 4d -> 4d
12: 19 -> 400
13: 0 -> 0
14: bfe4fc6b -> bfe4fc6b
15: 3b -> 3b
16: 292 -> 216
17: bfa97f10 -> 1a5b4890
18: 43 -> 43
Register contents changed
Stacktrace:

  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_object_new_ptrfree (intptr) <0x00004>
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_object_new_ptrfree (intptr) <0xffffffff>
  at System.ComponentModel.Component..ctor () <0x00014>
  at System.Data.Common.DbCommand..ctor () <0x0000a>
  at MySql.Data.MySqlClient.MySqlCommand..ctor () <0x00011>
  at (wrapper remoting-invoke-with-check)
MySql.Data.MySqlClient.MySqlCommand..ctor () <0xffffffff>
..

and

Stacktrace:


** ERROR **: file mini.c: line 8681 (mono_get_lmf): should not be reached
aborting...
Abort

I'm preparing a mono version with debug output to get more information about
the problem itself.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list