[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.
http://bugzilla.ximian.com/show_bug.cgi?id=78767
--- 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:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: JIT
+AssignedTo: lupus at ximian.com
+ReportedBy: michael at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+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
+../../../../libstdc++-v3/libsupc++/eh_globals.cc:58
+#3 0xb6e8b487 in __cxa_get_globals () at
+../../../../libstdc++-v3/libsupc++/eh_globals.cc:71
+#4 0xb6e8af55 in __cxa_allocate_exception (thrown_size=8) at
+../../../../libstdc++-v3/libsupc++/eh_alloc.cc:154
+#5 0xb5a3846d in stoc_connector::OConnector::connect (this=0x8245ea8,
+sConnectionDescription=@0xbfbcb8f0)
+ at /data/OpenOffice/OOO_2_0_2/io/source/connector/connector.cxx:102
+#6 0xb5a468ee in unourl_resolver::ResolverImpl::resolve (this=0x82447e8,
+rUnoUrl=@0xbfbcb9e4)
+ at
+/data/OpenOffice/OOO_2_0_2/remotebridges/source/unourl_resolver/unourl_resolver.cxx:193
+#7 0xb717be06 in cppu::bootstrap () at
+/data/OpenOffice/OOO_2_0_2/cppuhelper/source/bootstrap.cxx:605
+#8 0xb73947ab in native_bootstrap () at
+/data/OpenOffice/OOO_2_0_2/cli_ure/source/bootstrap/native_glue.cxx:147
+#9 0xb7a0dca1 in ?? ()
More information about the mono-bugs
mailing list