[Mono-bugs] [Bug 47841][Cri] New - Crash when invoking embedded mono API from a Java thread
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 22 Aug 2003 17:31:19 -0400 (EDT)
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 tom.fukushima@autodesk.com.
http://bugzilla.ximian.com/show_bug.cgi?id=47841
--- shadow/47841 2003-08-22 17:31:19.000000000 -0400
+++ shadow/47841.tmp.19440 2003-08-22 17:31:19.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 47841
+Product: Mono/Runtime
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: tom.fukushima@autodesk.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Crash when invoking embedded mono API from a Java thread
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+We get a segmentation fault when invoking mono_jit_init from a loadlibrary
+created by a Java thread. This problem is serious because we need to be
+able to run some CLR code from a Java Servlet. The attached sample
+demonstrates the problem. This looks like it might be similar to the
+problem described in the "Embedding mono and (p)threads" thread
+http://lists.ximian.com/archives/public/mono-devel-list/2003-August/001734.html.
+
+Basically we have, Java calling a native method in a loadlibrary which then
+invokes a mono API.
+
+Steps to reproduce the problem:
+1. Unpack the attached tar file
+2. run: make
+3. run: make run
+
+Actual Results:
+Segmentation fault
+
+Expected Results:
+the result of running: make runnothread
+
+How often does this happen?
+Every time
+
+Additional Information:
+We need to have this resolved in order to finish some investigative work
+that we are doing.