[Mono-bugs] [Bug 52102][Nor] New - Use of a file-based ResourceManager leads to a crash (SIGSEGV)
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 12 Jan 2004 06:26:24 -0500 (EST)
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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=52102
--- shadow/52102 2004-01-12 06:26:24.000000000 -0500
+++ shadow/52102.tmp.21890 2004-01-12 06:26:24.000000000 -0500
@@ -0,0 +1,72 @@
+Bug#: 52102
+Product: Mono/Class Libraries
+Version: unspecified
+OS: SUSE 9.0
+OS Details:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bruno@clisp.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Use of a file-based ResourceManager leads to a crash (SIGSEGV)
+
+Description of Problem:
+Use of a file-based ResourceManager leads to a crash (SIGSEGV), probably
+through endless recursion.
+
+
+Steps to reproduce the problem:
+Install mono-0.28.
+Get into a de_DE.UTF-8 locale.
+Create hello.cs and hello1.resx.
+$ monoresgen hello1.resx hello.resources
+$ mcs -resource:hello.resources hello.cs -o hello.mono.exe
+$ mint hello.mono.exe
+$ mono hello.mono.exe
+
+Actual Results:
+$ mint hello.mono.exe
+Speicherzugriffsfehler
+$ mono hello.mono.exe
+Speicherzugriffsfehler
+
+
+Expected Results:
+$ mint hello.mono.exe
+Hello World!
+$ mono hello.mono.exe
+Hello World!
+
+
+How often does this happen?
+Reproducible.
+
+Additional Information:
+mint and mono also crash when executing the exe produced by pnet-0.56 for
+the same program.
+
+------- Additional Comments From bruno@clisp.org 2003-12-12 09:33 -------
+Created an attachment (id=6208)
+hello.cs (source code)
+
+
+------- Additional Comments From bruno@clisp.org 2003-12-12 09:35 -------
+Created an attachment (id=6209)
+hello1.resx (neutral resource source code)
+
+
+------- Additional Comments From vargaz@freemail.hu 2003-12-13 11:55 -------
+This is actually due to an infinite recursion in
+ResourceManager:InternalGetResourceSet:320.
+
+------- Additional Comments From gonzalo@ximian.com 2004-01-12 06:26 -------
+Fixed in CVS.
+
+With your test case, you have to create a 'resdir' directory and put
+hello.de.resources inside of that directory for it to work.