Summary: | mono-1.0.5-r3 failes under emerge -u mono | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Troels Richter <troels> |
Component: | New packages | Assignee: | dotnet project <dotnet> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
mono-1.0.5-r3-debug-mcs-crash.diff
emerge mono pipe StdOut and StdErr mono emerge trace log |
Description
Troels Richter
2005-01-31 15:06:20 UTC
Does removing mono and emerging mono-1.0.5 solve this? (I suggest using "quickpkg" to make a binary tarball of your mono-1.0.2 before doing this, so you can easily and quickly get back to your previous 1.0.2 install) I've had some sneaking suspicions that the new mono-1.0.5-r{3,4} are using stuff from /etc/mono/ in exising installs, so you may also need to move the /etc/mono directory to /etc/mono.bak as well (CONFIG_PROTECT will keep it from being removed when you unmerge mono). Please give that a try and let me know if this helps anything. Thanks. I've tried the things you suggested, but without any luck. First I unemerged mono with emerge -C mono. Then I renamed the etc/mono directory At last emerged the newest mono version, but the exact same fail occured. Then i tried to emerging some of the other versions. 1.05, 1.05-r2, 1.05-r1 failed in the same way. 1.04 worked for me. Created attachment 50189 [details, diff]
mono-1.0.5-r3-debug-mcs-crash.diff
Can you please try applying this patch to the 1.0.5-r3 ebuild, and emerging it
again? This should hopefully give us some more verbose debugging info.
It may make *way* too much output for the screen, in which case i'll have to
cook you up a new patch that outputs all the info to a file you can then attach
here.
Try this and we'll see if the output is small enough to grab and get posted
here. Thanks.
Here is the error message after enabling tracing: . . . ENTER: System.Text.StringBuilder:InternalEnsureCapacity (int)(this:0x1b80ab88[System.Text.StringBuilder mcs.exe], 31, ) . . . . ENTER: (wrapper managed-to-native) System.String:InternalAllocateStr (int)(58, ) . . . . LEAVE: (wrapper managed-to-native) System.String:InternalAllocateStr (int)[STRING:0x1b97ca18:] . . . . ENTER: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string,int,int)([STRING:0x1b97ca18:], 0, [STRING:0x1b4627d0:System.NullReferenceException], 0, 29, ) . . . . LEAVE: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string,int,int) . . . LEAVE: System.Text.StringBuilder:InternalEnsureCapacity (int) . . . ENTER: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string)([STRING:0x1b97ca18:System.NullReferenceException], 29, [STRING:0xc6b6930:: ], ) . . . LEAVE: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string) . . LEAVE: System.Text.StringBuilder:Append (string)[System.Text.StringBuilder:0x1b80ab88] . . ENTER: System.Exception:get_Message ()(this:0x1b804c00[System.NullReferenceException mcs.exe], ) . . LEAVE: System.Exception:get_Message ()[STRING:0x1b97cab0:A null value was found where an object instance was required.] . . ENTER: System.Text.StringBuilder:Append (string)(this:0x1b80ab88[System.Text.StringBuilder mcs.exe], [STRING:0x1b97cab0:A null value was found where an object instance was required.], ) . . . ENTER: System.Text.StringBuilder:InternalEnsureCapacity (int)(this:0x1b80ab88[System.Text.StringBuilder mcs.exe], 92, ) . . . . ENTER: (wrapper managed-to-native) System.String:InternalAllocateStr (int)(116, ) . . . . LEAVE: (wrapper managed-to-native) System.String:InternalAllocateStr (int)[STRING:0x1b986cc0:] . . . . ENTER: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string,int,int)([STRING:0x1b986cc0:], 0, [STRING:0x1b97ca18:System.NullReferenceException: ], 0, 31, ) . . . . LEAVE: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string,int,int) . . . LEAVE: System.Text.StringBuilder:InternalEnsureCapacity (int) . . . ENTER: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string)([STRING:0x1b986cc0:System.NullReferenceException: ], 31, [STRING:0x1b97cab0:A null value was found where an object instance was required.], ) . . . LEAVE: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string) . . LEAVE: System.Text.StringBuilder:Append (string)[System.Text.StringBuilder:0x1b80ab88] . . ENTER: System.Text.StringBuilder:Append (string)(this:0x1b80ab88[System.Text.StringBuilder mcs.exe], [STRING:0x80dcf30:], ) . . . ENTER: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string)([STRING:0x1b986cc0:System.NullReferenceException: A null value was found where an object instance was required.], 92, [STRING:0x80dcf30:], ) . . . LEAVE: (wrapper managed-to-native) System.String:InternalStrcpy (string,int,string) . . LEAVE: System.Text.StringBuilder:Append (string)[System.Text.StringBuilder:0x1b80ab88] . . ENTER: System.Text.StringBuilder:ToString ()(this:0x1b80ab88[System.Text.StringBuilder mcs.exe], ) . . . ENTER: System.String:InternalSetLength (int)(this:[STRING:0x1b986cc0:System.NullReferenceException: A null value was found where an object instance was required.], 92, ) . . . LEAVE: System.String:InternalSetLength (int) . . LEAVE: System.Text.StringBuilder:ToString ()[STRING:0x1b986cc0:System.NullReferenceException: A null value was found where an object instance was required.] . LEAVE: System.Exception:ToString ()[STRING:0x1b986cc0:System.NullReferenceException: A null value was found where an object instance was required.] LEAVE: (wrapper runtime-invoke) System.Object:runtime_invoke_string (object,intptr,intptr,intptr)[System.String:0x1b986cc0] Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required. That all looks like the method traces that are handling generating the string for the exception. The actual point where the exception happens is prolly further above that. Any chance you have more of that output? Created attachment 50838 [details]
emerge mono pipe
This log is made by "emerge mono > mono_emerge_log.txt"
All the exceptions are going to stderr, not stdin, so you'll have to grab that as well. The current stuff you patched doesn't have any of the necessary info. Thanks. Created attachment 50878 [details]
StdOut and StdErr
This file should include both standard out and standard error.
Hope this is useful
Did you run "emerge sync" since applying that patch? If so, you need to re-apply it, as all the changes will have been lost. Your attachment with stdout and stderr still doesn't have the trace info, which makes me think the change to add the trace info isn't still applied in your version of the ebuild. Thanks. Created attachment 51076 [details]
mono emerge trace log
Sorry, here is a new version.
That *still* doesn't have the necessary trace info. I need the output like from your comment #4, but i need the stuff way before what you pasted there. Are there any newer versions of mono besides 1.0.2 that work for you? 1.0.4*? Thanks. Sorry, this is going nowhere :) Like I mentioned in comment 2 1.04 works fine. Maybe I should wait until you hopefully makes an ebuild of the new 1.1 version? Yeah, sorry it's being such a pain just to get some useful debugging info. I've just commited mono-1.1.4 to the tree, if you want to test that instead. It's package.masked until further notice, as it has some compat issues with mono consuming apps. Marking NEEDINFO. I'm unable to reproduce here, and don't have enough info to know what's going on here. Please feel free to re-open if you can get me a trace with more details, a backtrace of the mono process that is running mcs when it bombs, anything if you can to try to find out why this is happening. Thanks. |