[Mono-bugs] [Bug 541577] Function return inconsistent ulong value, which has dummy parameter of a Class and a ulong (re-occurrence of Bug 426264)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 28 19:13:54 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=541577

User Yasuaki.Hasegawa at fujixerox.co.jp added comment
http://bugzilla.novell.com/show_bug.cgi?id=541577#c2





--- Comment #2 from YASUAKI HASEGAWA <Yasuaki.Hasegawa at fujixerox.co.jp>  2009-09-28 17:13:53 MDT ---
Hi! Zoltan,

I applied this patch to the Mono-2.4.2.3 source.
As the result the problem was fixed with expected result.
Thank you!

bash-3.00# /opt/mono/bin/gmcs -out:a-solaris.exe a.cs
bash-3.00# /opt/mono/bin/mono a-solaris.exe
getSecondArg : perm = 8000000000000FFF
getSecondArg : perm = 8000000000000FFF
Main : Successfully terminated.

But another problem was found describled as below.
Unfortunately this is a show-stopper bug for the MindTouch Deki.
Should I file another report for the problem ?

(1) "make check" reported a couple of asserts

bash-3.00# grep '** ERROR **' /mono-2.4.2.3.log | sort | uniq
** ERROR **: file mini-sparc.c: line 1253 (emit_pass_other): should not be
reached
** ERROR **: file mini-sparc.c: line 3702 (mono_arch_output_basic_block):
should not be reached

(2) MindTouch Deki's server-side process (running on Mono) was suddenly
terminated while normal operation with the same assertion as above.

As far as I know the error don't happen on previous Mono-2.0.1 on the same
platform.

bash-3.00# /etc/init.d/dekiwiki start
Starting MindTouch Deki API: mindtouch.host.exe.

** ERROR **: file mini-sparc.c: line 1253 (emit_pass_other): should not be
reached
aborting...
Stacktrace:

  at MindTouch.Deki.Logic.PermissionsBL.PermissionsToArray (ulong) <0xffffffff>
  at MindTouch.Deki.Logic.PermissionsBL.PermissionsToArray (ulong) <0x00038>
  at MindTouch.Deki.RoleBE.ToXml (string,ulong) <0x000a4>
  at MindTouch.Deki.RoleBE.ToXml (string,MindTouch.Deki.RoleBE) <0x0004c>
  at MindTouch.Deki.UserBE.ToXmlVerbose (string,bool) <0x00354>
  at MindTouch.Deki.DekiWikiService/<GetUser>d__4.MoveNext () <0x000f4>
  at MindTouch.Dream.Coroutine.Iterate
(System.Collections.Generic.IEnumerator`1<MindTouch.Dream.IYield>,MindTouch.Tasking.TaskEnv,System.Action`1<System.Exception>)
<0x00114>
  at MindTouch.Dream.Coroutine.Iterate<MindTouch.Dream.DreamMessage>
(System.Collections.Generic.IEnumerator`1<MindTouch.Dream.IYield>,MindTouch.Dream.Result`1<MindTouch.Dream.DreamMessage>)
<0x000b4>
  at MindTouch.Dream.DreamFeatureChain.Handler_DreamMessage
(MindTouch.Dream.DreamMessage) <0x004f8>
  at (wrapper delegate-invoke)
System.Action`1<MindTouch.Dream.DreamMessage>.invoke_void__this___DreamMessage
(MindTouch.Dream.DreamMessage) <0xffffffff>
  at System.VoidClosure`1<MindTouch.Dream.DreamMessage>.Closure () <0x00024>
  at (wrapper delegate-invoke) System.VoidHandler.invoke_void__this__ ()
<0xffffffff>
  at MindTouch.Tasking.TaskEnv.InvokeNow (System.VoidHandler) <0x00054>
  at MindTouch.Dream.Task.New (System.VoidHandler) <0x00024>
  at MindTouch.Dream.DreamFeatureChain.Handler
(MindTouch.Dream.Result`1<MindTouch.Dream.DreamMessage>) <0x0036c>
  at (wrapper delegate-invoke)
System.Action`1<MindTouch.Dream.Result`1<MindTouch.Dream.DreamMessage>>.invoke_void__this___Result`1<DreamMessage>
(MindTouch.Dream.Result`1<MindTouch.Dream.DreamMessage>) <0xffffffff>
  at
MindTouch.Tasking.TaskEnv/<>c__DisplayClass6`1<MindTouch.Dream.Result`1<MindTouch.Dream.DreamMessage>>.<Invoke>b__4
() <0x0004c>
  at (wrapper delegate-invoke) System.VoidHandler.invoke_void__this__ ()
<0xffffffff>
  at
MindTouch.Threading.ElasticThreadPool.MindTouch.Threading.IDispatchHost.ProcessWorkItem
(System.VoidHandler) <0x00018>
  at MindTouch.Threading.DispatchThread.DispatchLoop () <0x0016c>
  at (wrapper delegate-invoke) System.Threading.ThreadStart.invoke_void__this__
() <0xffffffff>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr) <0xffffffff>
Abort

p.s.
I'll attach a file which logged complete result of "make check" test.
* 20090929-mono-2.4.2.3.zip

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list