[Mono-bugs] [Bug 78767][Blo] New - incorrect TLS usage ...

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 5 10:47:02 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by michael at ximian.com.


--- shadow/78767	2006-07-05 10:47:02.000000000 -0400
+++ shadow/78767.tmp.11081	2006-07-05 10:47:02.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 78767
+Product: Mono: Runtime
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Blocker
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: michael at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: incorrect TLS usage ...
+Something -really- bad happens when dlopening libmono requiring libraries,
+as done by the OO.o integration.
+To debug that simply compile / run the attached sample in
+/usr/lib/ooo-2.0/program on a SLED10 system with the OpenOffice_org-mono
+package installed.
+If you build mono with the 'pthread TLS' support it works fine, if you do
+not - it crashes hideously inside ld-linux while executing a TLS operation
+inside libstdc++, [ although gdb will in fact hide most of the stack trace
+in this case - you need to do 'si' a lot to get near the real crash point ].
+#0  _dl_update_slotinfo (req_modid=4) at dl-tls.c:548
+#1  0xb7fbac69 in ___tls_get_addr (ti=0xb6eb1a6c) at dl-tls.c:707
+#2  0xb6e8b44b in __gnu_internal::get_global () at
+#3  0xb6e8b487 in __cxa_get_globals () at
+#4  0xb6e8af55 in __cxa_allocate_exception (thrown_size=8) at
+#5  0xb5a3846d in stoc_connector::OConnector::connect (this=0x8245ea8,
+    at /data/OpenOffice/OOO_2_0_2/io/source/connector/connector.cxx:102
+#6  0xb5a468ee in unourl_resolver::ResolverImpl::resolve (this=0x82447e8,
+    at
+#7  0xb717be06 in cppu::bootstrap () at
+#8  0xb73947ab in native_bootstrap () at
+#9  0xb7a0dca1 in ?? ()

More information about the mono-bugs mailing list