Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Beagle and Ballnux: More Mono?

  • Subject: Re: Beagle and Ballnux: More Mono?
  • From: Hadron <hadronquark@xxxxxxxxxxxxxx>
  • Date: Sun, 27 Jan 2008 06:13:10 +0100
  • Cancel-lock: sha1:z5S5R1/DpEMSHEoUc1iHEQescbI=
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAKlBMVEUEAgJbIBVoY15hUCmc FhbtGBOVZkLntRzywheujjymop7OsJ7u07Lq6eilId+TAAAACXBIWXMAAABIAAAASABGyWs+AAAB 60lEQVQ4y83STUgVURjG8f85k6j3lp6xTS6MMaGNGiP0DQVhtAssolbWLAJBau2mYnLRx06Ckhbl bIooBGkXGAZBFPQxcKNNdNNNRMid46LIdDot7nTHcaZ9Zzk/znvmfXgk/zjyv4ftqhjkvRvF0Cp6 txWCoPbQKQKD/Hw5D5a7gqbDWg/WqzvT4oq52AzQFYCE6QBo4ffPqKYqWwD0fpDg+vWbQj1STy4B OMvpqBjhg1R9LsgZAxLCx8Ay/AAwIaKXsoMEtzwA8RlMAHyFvhkYR1IivODAh6nB+5raUagAZUfS g+v6YG4ed0d2HQGsGBiXlg8xAN78JwMQ7x6if68sAaEH8K2a/KGuDFsvZVc/30/+zcE+fMIGeDEk pFVhR/rdFoMAvB+WuM8bue+kyWv2kqSb3niNgBWy2xxL0n3beAAgMitWvgw2lCYIiuujk6Uy4Ca0 HjbUa/UuB5tmdRTpgpZEWq0+VcnAzBvWYsji7LM8rM5pMxflR2VPHsRABjw6gE727Rk7NbEGrM7b ZwHn6oFD8CUFcWtrtUfRelB0K8XmFFpqUB1RbYIlkgrU4bRYsG3b0/VQSinYKMD+1Q6w5KfgAGDM uQUdtU3qFKYAzDzx5LXro3rNHq/bNWwM8pvHo3c/PjifCeAPa9eNC9aoFNgAAAAaelRYdEpQRUct Q29sb3JzcGFjZQAAeNozAgAAMwAzERZ+YwAAACp6VFh0SlBFRy1TYW1wbGluZy1mYWN0b3JzAAB4 2jOqMNIxrDDUMawwBAARgwLpBsTKKAAAAABJRU5ErkJggg==
  • Newsgroups: comp.os.linux.advocacy
  • Organization: http://en.wikipedia.org/wiki/Quark
  • References: <7775096.rNaxP1sDDk@xxxxxxxxxxxxxxx> <7CJmj.82663$K27.14459@xxxxxxxxxxxxxxxxxxxxxx> <a17eec31-1a3a-4511-9952-0f7e62e9f912@xxxxxxxxxxxxxxxxxxxxxxxxxx> <8TSmj.49405$k27.18522@xxxxxxxxxxxxxxxxxxxxxx>
  • User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (i686-pc-linux-gnu Debian-Lenny)
  • Xref: ellandroad.demon.co.uk comp.os.linux.advocacy:599002
Linonut <linonut@xxxxxxxxxxxxx> writes:

D> * dBera peremptorily fired off this memo:
>
>> On Jan 26, 12:05 pm, Linonut <lino...@xxxxxxxxxxxxx> wrote:
>>> * Roy Schestowitz peremptorily fired off this memo:
>>>
>>> > Open letter to OpenSUSE users [about Beagle]
>>>
>>> > ,----[ Quote ]
>>> >| * We would be extremely happy if beagle only used C# for all its operations.
>>> >| Unfortunately, we have to depend on a lot of C libraries for indexing certain
>>> >| files. Sometimes memory leaks (the C type) and segmentation faults happen in
>>> >| them. These are harder to spot since mono does not know about the memory
>>> >| allocated in the C libraries.
>>> > `----
>>>
>>> >http://dtecht.blogspot.com/2008/01/open-letter-to-opensuse-users.html
>>>
>>> Doesn't the Mono team know how to use valgrind?
>>
>> What has mono to do with C libraries ?
>
> Read the above.  Valgrind will help them find the problems in the C
> libraries.
>
> And, after a couple minutes looking, I find that they /do/ seem to know
> about valgrind at Mono:

Pity you hadn't looked before showing off to the "advocates" eh?

>
>    http://www.mono-project.com/Debugging#Using_Valgrind_on_Mono
>
>     Using Valgrind on Mono


LOL

Liarnut tries a big "I am" and then falls flat on his face.

Ever the hard core developer eh?

And for those NOT in the know, garbage collection is nigh on impossible
for dynamic languages who can  "hide" allocations from the memory master
...

,----
| Recent valgrind versions are able to deal with for self-modifying
| programs (which is what the mono JIT does) by using the --smc-check=all
| option.
`----

Valgrind has been extended to try to manage just that.

(before you start gobbing off, consider having a pointer to memory. You
then call a routine to "encode" that pointer as, say, an ascii string in
hex or somesuch. You then delete the pointer but do NOT call free or
equivalent. You then convert that ascii/hex string back to a memory
pointer. God help you if the GC has removed the memory. WTF?!?!?!?! I
never told it to do that .....)

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index