Install fails (was Re: ANNOUNCE: Beagle 0.3.0 and Beagle-Xesam 0.1)
I have what I'm sure is a minority problem, but would welcome any suggestions. I run on a Fedore 6 box which is managed centrally, i.e. I do not have root privileges. I have been able in the past to install beagle (up through 0.2.18) by a modest amount of hacking about and installing other things as well, including my own mono-1.2.2.1, in my own local tree. But I'm losing with beagle-0.3.0 (and mono 1.2.5.2). Mono-1.2.5.2 builds and installs OK, and beagle-0.3.0 builds OK, but any attempt to run anything beyond the trivial fails. So although MONO_GAC_PREFIX=..:/home/ht/lcontrib ./beagle-config prints out the usage message, MONO_GAC_PREFIX=..:/home/ht/lcontrib ./beagle-config BeagleServer (where /home/ht/lcontrib is the root of my local installation area, i.e. /home/ht/lcontrib/lib/mono/gac is where the mono installation puts things) produces a segfault with the following trace: at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x4 at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x at System.Text.StringBuilder.InternalEnsureCapacity (int) [0x000b1] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Text/StringBuilder.cs:681 I've used strace and as far as I can see the obvious files are coming from my new installation, and only very vanilla stuff is coming from the underlying /usr/lib or /lib. . . Any clues as to where I should look ? Thanks ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED] URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails (was Re: ANNOUNCE: Beagle 0.3.0 and Beagle-Xesam 0.1)
I run on a Fedore 6 box which is managed centrally, i.e. I do not have root privileges. I have been able in the past to install beagle (up through 0.2.18) by a modest amount of hacking about and installing other things as well, including my own mono-1.2.2.1, in my own local tree. But I'm losing with beagle-0.3.0 (and mono 1.2.5.2). Mono-1.2.5.2 builds and installs OK, and beagle-0.3.0 builds OK, but any attempt to run anything beyond the trivial fails. beagle and related tools, read some files from sysconfdir. Make sure that is correctly setup when you run ./configure. Also, for beagle-config to work uninstalled, you might have to run 'make install' once to make sure the global config files are installed in $sysconfdir/beagle/config-files. I am not sure if this is what is causing your problem, but it could be. - dBera -- - Debajyoti Bera @ http://dtecht.blogspot.com beagle / KDE fan Mandriva / Inspiron-1100 user ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails (was Re: ANNOUNCE: Beagle 0.3.0 and Beagle-Xesam 0.1)
Hi, Just to add to what dBera said: On 12/3/07, Henry S. Thompson [EMAIL PROTECTED] wrote: produces a segfault with the following trace: at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x4 at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x at System.Text.StringBuilder.InternalEnsureCapacity (int) [0x000b1] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Text/StringBuilder.cs:681 Could you post the entire output of this crash? Joe ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails
D Bera writes: I run on a Fedore 6 box which is managed centrally, i.e. I do not have root privileges. I have been able in the past to install beagle (up through 0.2.18) by a modest amount of hacking about and installing other things as well, including my own mono-1.2.2.1, in my own local tree. But I'm losing with beagle-0.3.0 (and mono 1.2.5.2). Mono-1.2.5.2 builds and installs OK, and beagle-0.3.0 builds OK, but any attempt to run anything beyond the trivial fails. beagle and related tools, read some files from sysconfdir. Make sure that is correctly setup when you run ./configure. Also, for beagle-config to work uninstalled, you might have to run 'make install' once to make sure the global config files are installed in $sysconfdir/beagle/config-files. Thanks, but a) they're all there and b) the strace suggests we're not getting that far, in that 'etc/beagle' appears nowhere in the trace output. . . There are a number of pairs of lines along these lines: open(/amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/etc/mono/assemblies/mscorlib/mscorlib.config, O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(/home/ht/.mono/assemblies/mscorlib/mscorlib.config, O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) but I don't see any assemblies subdir in old vanilla mono installations, so I don't think that's an issue. . . Thanks anyway, ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED] URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails
Joe Shaw writes: Could you post the entire output of this crash? Thanks for looking -- here it is: MONO_GAC_PREFIX=/group/ltg/projects/lcontrib ./beagle-config BeagleSearch *** Running uninstalled Config.exe *** Debug: Loading old config Beagle.Util.NetworkingConfig from networking.xml Stacktrace: at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x4 at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x at System.Text.StringBuilder.InternalEnsureCapacity (int) [0x000b1] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Text/StringBuilder.cs:681 at System.Text.StringBuilder.set_Capacity (int) [0x00017] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Text/StringBuilder.cs:142 at Mono.Unix.UnixEnvironment.get_MachineName () [0xb] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/Mono.Posix/Mono.Unix/UnixEnvironment.cs:55 at Beagle.Util.NetworkingConfig..ctor () 0x0001d at (wrapper runtime-invoke) Beagle.Util.ConfigSection.runtime_invoke_void (object,intptr,intptr,intptr) 0x at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[]) 0x4 at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[]) 0x at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00040] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:385 at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x0] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:396 at System.Reflection.ConstructorInfo.Invoke (object[]) [0xf] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 at System.Activator.CreateInstance (System.Type,bool) [0x00084] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System/Activator.cs:260 at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping,bool,bool) [0x000ac] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:226 at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping,bool,bool) [0x00031] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:193 at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping) [0x00057] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:184 at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00028] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:87 at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader) [0x0001c] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/System.XML/System.Xml.Serialization/XmlSerializer.cs:358 at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader) [0x0002c] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/System.XML/System.Xml.Serialization/XmlSerializer.cs:347 at System.Xml.Serialization.XmlSerializer.Deserialize (System.IO.Stream) [0xe] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/System.XML/System.Xml.Serialization/XmlSerializer.cs:328 at Beagle.Util.Conf.CreateOldConfig (string,System.Type) [0x00044] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/beagle-0.3.0/Util/Config.cs:556 at Beagle.Util.Conf.CheckOldConfig () [0x0004e] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/beagle-0.3.0/Util/Config.cs:413 at Beagle.Util.Conf..cctor () [0x0008e] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/beagle-0.3.0/Util/Config.cs:163 at (wrapper runtime-invoke) Beagle.Util.Conf.runtime_invoke_void (object,intptr,intptr,intptr) 0x at ConfigTool.Main (string[]) [0x0016d] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/beagle-0.3.0/tools/Config.cs:206 at ConfigTool.Main (string[]) [0x000bc] in
Re: Install fails
at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x4 at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x at System.Text.StringBuilder.InternalEnsureCapacity (int) [0x000b1] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Text/StringBuilder.cs:681 at System.Text.StringBuilder.set_Capacity (int) [0x00017] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Text/StringBuilder.cs:142 at Mono.Unix.UnixEnvironment.get_MachineName () [0xb] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/Mono.Posix/Mono.Unix/UnixEnvironment.cs:55 get_machinename() crasher ... where have I seen this before ? Maybe this ? https://bugzilla.novell.com/show_bug.cgi?id=MONO82460 - dBera -- - Debajyoti Bera @ http://dtecht.blogspot.com beagle / KDE fan Mandriva / Inspiron-1100 user ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails
Hi, On 12/3/07, D Bera [EMAIL PROTECTED] wrote: at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x4 at (wrapper managed-to-native) System.String.InternalAllocateStr (int) 0x at System.Text.StringBuilder.InternalEnsureCapacity (int) [0x000b1] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Text/StringBuilder.cs:681 at System.Text.StringBuilder.set_Capacity (int) [0x00017] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/corlib/System.Text/StringBuilder.cs:142 at Mono.Unix.UnixEnvironment.get_MachineName () [0xb] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/Mono.Posix/Mono.Unix/UnixEnvironment.cs:55 get_machinename() crasher ... where have I seen this before ? Maybe this ? https://bugzilla.novell.com/show_bug.cgi?id=MONO82460 Looks like it, yeah. Unfortunately it's a Mono bug, and it seems to be deep enough in Mono XmlSerializer magic that we can't work around it. Joe ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails
Hi again, get_machinename() crasher ... where have I seen this before ? Maybe this ? https://bugzilla.novell.com/show_bug.cgi?id=MONO82460 Looks like it, yeah. Unfortunately it's a Mono bug, and it seems to be deep enough in Mono XmlSerializer magic that we can't work around it. Oh wait, maybe not. I missed a stack frame: at Mono.Unix.UnixEnvironment.get_MachineName () [0xb] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/Mono.Posix/Mono.Unix/UnixEnvironment.cs:55 at Beagle.Util.NetworkingConfig..ctor () 0x0001d at (wrapper runtime-invoke) Beagle.Util.ConfigSection.runtime_invoke_void (object,intptr,intptr,intptr) 0x Can we work around this somehow in the Beagle.Util.NetworkingConfig class constructor? Joe ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails
Hi, at Mono.Unix.UnixEnvironment.get_MachineName () [0xb] in /amd/nfs/hippocampus/disk/ptn057/projects/lcontrib/src/mono-1.2.5.2/mcs/class/Mono.Posix/Mono.Unix/UnixEnvironment.cs:55 at Beagle.Util.NetworkingConfig..ctor () 0x0001d at (wrapper runtime-invoke) Beagle.Util.ConfigSection.runtime_invoke_void (object,intptr,intptr,intptr) 0x Can we work around this somehow in the Beagle.Util.NetworkingConfig class constructor? How about I use System.Environment.MachineName instead of Mono.Unix.UnixEnvironment.MachineName ? Seems to work with long names too... (I tried with a 24-char name). - dBera -- - Debajyoti Bera @ http://dtecht.blogspot.com beagle / KDE fan Mandriva / Inspiron-1100 user ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails
Hi, On 12/3/07, D Bera [EMAIL PROTECTED] wrote: How about I use System.Environment.MachineName instead of Mono.Unix.UnixEnvironment.MachineName ? Seems to work with long names too... (I tried with a 24-char name). Yeah, let's do that. S.E.MachineName just calls gethostname() in an internal call in the runtime. M.U.UE.MachineName calls the same thing, but does it using P/Invoke and apparently doesn't do it correctly. So even if it worked, the results would be exactly the same. Thanks, Joe ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers
Re: Install fails
How about I use System.Environment.MachineName instead of Mono.Unix.UnixEnvironment.MachineName ? Seems to work with long names too... (I tried with a 24-char name). Yeah, let's do that. S.E.MachineName just calls gethostname() in an internal call in the runtime. M.U.UE.MachineName calls the same thing, but does it using P/Invoke and apparently doesn't do it correctly. So even if it worked, the results would be exactly the same. Done. r4252. - dBera -- - Debajyoti Bera @ http://dtecht.blogspot.com beagle / KDE fan Mandriva / Inspiron-1100 user ___ Dashboard-hackers mailing list Dashboard-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/dashboard-hackers