[Mono-bugs] [Bug 30051][Nor] New - GC_debug_malloc expects another argument

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
9 Sep 2002 14:27:05 -0000

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 jmmv@hispabsd.org.


--- shadow/30051	Mon Sep  9 10:27:05 2002
+++ shadow/30051.tmp.7605	Mon Sep  9 10:27:05 2002
@@ -0,0 +1,50 @@
+Bug#: 30051
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: NetBSD 1.6H (current)
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jmmv@hispabsd.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: GC_debug_malloc expects another argument
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+By some reason, the function GC_debug_malloc problem of boehm-gc expects
+another argument in NetBSD; this happens in mono/metadata/threads.c.
+After examining the include header 'gc.h', I've found that this extra
+parameter is added if GC_ADD_CALLER gets defined by other checks. In
+NetBSD, this macro is defined, and therefore, the extra argument is expected.
+I'm using boehm-gc 6.1 and mono 0.15.
+Some #ifdef's should be added where this function is called to check if
+GC_ADD_CALLER is needed.
+Steps to reproduce the problem:
+1. Get a NetBSD box, install devel/boehm-gc and then try to compile the
+threads.c file.
+Actual Results:
+threads.c does not compile.
+Expected Results:
+How often does this happen? 
+Additional Information: