[Mono-bugs] [Bug 82279][Nor] New - Interop to lib that can't load locks up mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 1 13:35:21 EDT 2007

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 danm at inin.com.


--- shadow/82279	2007-08-01 13:35:20.000000000 -0400
+++ shadow/82279.tmp.3271	2007-08-01 13:35:21.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 82279
+Product: Mono: Runtime
+Version: 1.2
+OS: RHEL 2.1
+OS Details: linux RHEL WS
+Status: NEW   
+Priority: Normal
+Component: interop
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: danm at inin.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Interop to lib that can't load locks up mono
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+ My mono app interops to a shared library.  Because of a dependency that 
+lib has I need to manually add an additional path to the $LD_LIBRARY_PATH 
+so it will load.  In the latest mono SVN (08/01/2007) if I execute my 
+mono app but forget to adjust the lib path mono just hangs forever.  I 
+also notice when I add the MONO_LOG_LEVEL=debug I see a message in my 
+console window about mono loadling my lib and that's the last output.  
+When loading my lib with dlopen() it correctly fails promptly with the 
+appropriate error.
+Steps to reproduce the problem:
+1. Make a mono app that interops to something.
+2. Put the library in a directory not on the lib search path
+3. run the mono app
+Actual Results:
+The mono app stalls indefiniately.  When the MONO_LOG_LEVEL=debug is used 
+you can clearly see it's attempting to load the library.
+Expected Results:
+The load library fails promptly and throws the appropriate C# error.
+How often does this happen? 
+Every time
+Additional Information:
+I'm using RedHat Enterprise Linux WS.

More information about the mono-bugs mailing list