Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 07 17:29
    @directhex banned @CharlieIsHere
  • Oct 11 2018 17:23
    @directhex banned @deleteaccount1234567890
Filip Navara
@filipnavara
yep, one second
Zoltan Varga
@vargaz
try putting it in an unsafe (fixed *p = <...> {} block.
where <> is the same as the byref arg.
Filip Navara
@filipnavara
Interop.Crypto.EvpDigestUpdate
there's more of them though
yeah, already on it... but the CoreFX build will take a while and I may not catch all places
Zoltan Varga
@vargaz
just build that one assembly.
Filip Navara
@filipnavara
I know :)
It's getting a bit late for me so I am slower... Thanks for all the help!
Egor Bogatov
@EgorBo
let me stress-test the pinvoke(ref byte) scenario
Mono-LLVM needs a "ludicrous mode" switch - when it's ON, mono drops all volatile, emits noalias for arguments, enables tail-call, disables GC :smile:
or rather "Unity Burst mode"
Filip Navara
@filipnavara
still crashed with fixed, but it's very likely that I missed some places where the ref byte idiom is used.
it's all over the place in the Crypto P/Invokes
replacing it everywhere would likely take me an hour or so
Filip Navara
@filipnavara
Cannot think straight anymore, have to get some sleep. Thanks everyone! See you, tomorrow, or later today actually :)
Ryan Lucia
@CoffeeFlux
Night!
Filip Navara
@filipnavara
So, I did one more experiment today... I recompiled the whole runtime without optimizations in hopes that I would see some better stack trace
Guess what? I cannot reproduce the crashes anymore.
Zoltan Varga
@vargaz
thats pretty common.
Filip Navara
@filipnavara
Also pretty hard to diagnose
I had my share of them back in the day...we had to build our own compilers at one time to get all the necessary fixes :/
I run it like ~50 times in full run and ~50 times the reduced scenario from yesterday... and no crash
As soon as I put back -O1 it starts crashing instantly
That also explains the timeline when it started appearing on the CI
Marek Safar
@marek-safar
maybe you can write similar method in a new tests and try to hit it under some stress mode configuration to see if that crashes too
Filip Navara
@filipnavara
Maybe. I will have to think about the best approach.
Filip Navara
@filipnavara
sgen_conservatively_pin_objects_from (start=0x7fbb7600deb0, end=0x7fbb6c7393f0, start_nursery=0x7fbb78437008, end_nursery=0x70, pin_type=49909376) at sgen-gc.c:832
this does not sound right, does it?
(the last two parameters look like garbage)
Marek Safar
@marek-safar
^ @BrzVlad
Vlad Brezae
@BrzVlad
that looks too weird
maybe gdb is stupid when gcc optimizations are enabled ?
it has happened to me before
Filip Navara
@filipnavara
I'll printf debug it to make sure
it's equally likely that the stack becomes corrupted down the line
Filip Navara
@filipnavara
the addresses appear ok in printf
larsbj
@larsbj

Hi all! I hope it is OK to ask questions about Mono on Mac here :) If not, I'm sorry.

Is it possible to build .NET framework projects which targets .NET 4.8 with Mono? I get "The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application."

Alexander Köplinger
@akoeplinger
this actually landed today :smile:
Marek Safar
@marek-safar
yes but only using Mono nightly builds, we have not released the version supporting this
larsbj
@larsbj
Wow, that is awesome. Thanks! :) Been trying for weeks :)
larsbj
@larsbj
I'm on it :)
larsbj
@larsbj
And it worked! Thank you so much for your work, guys :) Have a nice weekend!
jonthewise
@jonthewise
Hey, so I'm trying to set up Mono on some servers in a lab that I have, but it's air-gapped. I have successfully created mirror repos for most of my needs (RHEL7 so I have an offline satellite server for base OS stuff, and then mirror repos for EPEL and RPMFusion) but I'm trying to mirror the Mono repository, and I'm having problems; it seems rsync isn't configured for the repo, so when I run rsync -avSHP --delete download.mono-project.com::repo/centos7-stable/ /mnt/c/Temp/MonoRepo/centos7-stable/ it just throws a connection error. Any ideas how I can get these files to a local disk so I can copy them into my lab?
If I have to, I can download the source and compile, but I would really prefer to use packages
Jo Shields
@directhex
I think yum has an option to download a package and all its dependencies to a local folder. I'd recommend that. So you don't get every package we've ever pushed to stable for years
Alexander Köplinger
@akoeplinger
you should be able to use the reposync tool to fetch packages as described in https://access.redhat.com/solutions/23016
jonthewise
@jonthewise
Aww snap! I will give those two angles a try; Going to have to build a RHEL box - I was trying to use Ubuntu in Windows to avoid building another server...
Jay Krell
@jaykrell
You can binary search for which lib/file/function being -O1 makes the difference. But it could be a set with some interrelation, making it a combinatorially explosive problem. Any chance for a reverse debugger here like rr or undo or Windows TTD?