sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
<GitHub-m-labs> [artiq] whitequark commented on issue #1107: This is really a bug in llvmlite escaping code. https://github.com/m-labs/artiq/issues/1107#issuecomment-405771096
<GitHub-m-labs> [misoc] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/misoc/commit/57ebe119d80beabad30d232fc3c9229882042807
<GitHub-m-labs> misoc/master 57ebe11 Sebastien Bourdeauducq: spi2: do not use INTERMDISABLE...
<bb-m-labs> build #447 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/447
<GitHub-m-labs> [artiq] sbourdeauducq pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/5e62910a8d14...31f4f8792aae
<GitHub-m-labs> artiq/master 31f4f87 Sebastien Bourdeauducq: sayma: add Urukul and Zotino to example device_db
<GitHub-m-labs> artiq/master 25170a5 Sebastien Bourdeauducq: sayma: add back Urukul and Zotino
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/e71cbe53a688172b399fe61c4370112de37256c6
<GitHub-m-labs> artiq/master e71cbe5 Sebastien Bourdeauducq: firmware: cleanup Cargo.lock
ronyrus has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
<bb-m-labs> build #1722 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1722
ronyrus has joined #m-labs
<bb-m-labs> build #908 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/908
<bb-m-labs> build #2519 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2519
rohitksingh_work has joined #m-labs
sb0 has quit [Quit: Leaving]
<bb-m-labs> build #1723 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1723
<bb-m-labs> build #909 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/909
<bb-m-labs> build #2520 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2520
attie has quit [Ping timeout: 276 seconds]
Ultrasauce has quit [Ping timeout: 276 seconds]
ronyrus has quit [*.net *.split]
_whitelogger has joined #m-labs
rqou has joined #m-labs
_florent_ has joined #m-labs
rohitksingh_wor1 has joined #m-labs
rohitksingh_work has quit [Ping timeout: 240 seconds]
<rjo> bb-m-labs: force build --props=package=artiq-board,artiq_target=kasli,artiq_variant=luh artiq-board
<bb-m-labs> build forced [ETA 25m38s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> bb-m-labs: force build --props=package=artiq-board,artiq_target=kasli,artiq_variant=hub artiq-board
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<bb-m-labs> build #1724 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1724
<bb-m-labs> build forced [ETA 22m07s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #1725 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1725
cjbe__ has quit [Read error: Connection reset by peer]
<rjo> bb-m-labs: force build --props=package=artiq-board,artiq_target=kasli,artiq_variant=ptb artiq-board
<bb-m-labs> build forced [ETA 22m07s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> bb-m-labs: force build --props=package=artiq-board,artiq_target=kasli,artiq_variant=hub artiq-board
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<bb-m-labs> build #1726 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1726
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build forced [ETA 19m53s]
<bb-m-labs> build #1727 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1727
rohitksingh_wor1 has quit [Read error: Connection reset by peer]
sb0 has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #m-labs
<d_n|a> What would you suggest for debugging what is presumably memory corruption on the kernel CPU?
<d_n|a> I'm getting ERROR(runtime::session): session aborted: invalid kernel CPU pointer: 0xe6969328 – pretty sure it's a function pointer codegen issue, but any suggestions beyond staring at the generated LLVM IR?
<whitequark> d_n|a: basically none. there are no tools available to instrument the kernel CPU
<d_n|a> That's what I gathered, yeah – just wanted to make sure I'm not missing anything
<d_n|a> whitequark: Thanks for the confirmation, though, intense staring shall commence. Are there any areas surrounding codgen for calling an array of function pointers you would be suspicious of?
<whitequark> not off the top of my head
<whitequark> hm, any chance those are actually method pointers?
<whitequark> or maybe those are closure pointers with an expired environment?
<d_n|a> They are method pointers
<whitequark> can you show me the code?
<d_n|a> I'm working on a test case. Might not be related to function pointers after all, but memory corruption from something else
<d_n|a> whitequark: Oh, by the way, do you have any suggestions regarding the recursive setup() call use case from the eval_kernel discussion (#1089)? I might take a stab at implementing string eval, but if there is a cleaner way, I'd much prefer that
<d_n|a> Basically, is there a way to get a closure/delegate/... of the form `typeof(f) = { RetType function(void*, ArgTypes) fn; void* ctx; }` which is invoked as `f(args) -> fn(ctx, args)`, so that I could have a list of member functions with compatible signatures but different self types?
<whitequark> d_n|a: I think string eval is a horrible idea and the right way to solve genericism is what I suggested in the issue.
<whitequark> however, the macros idea is reasonably okay
<whitequark> if macros are implemented, they should be done on AST level, not string level
<whitequark> there's already AST nodes for quasiquotation, though they work in a slightly different way than what macros need
<d_n|a> From my perspective, there is no difference at all between them in terms of hygiene – you'd always need to provide the source code for a complete function, and there are no weird corner cases
<whitequark> sure there are, you can splice an expression in place of an identifier if you use strings
<d_n|a> Well, yeah, but the generated code is easily inspectable as a standalone fragment, and there is no weird scoping to take care of – if you put an expression in place of a type, it just won't compile
<d_n|a> But that's a discussion to have over a (virtual) beverage on a long evening some other day
<d_n|a> Right now, I'm really just interested in solving the recursive tree setup issue without my language designer hat on
<d_n|a> I'd be glad for any pointers in that regard, as the amount of copypasta piling up in my codebase is slowly reaching the point where I'm considering just implementing string eval to be done with it.
<d_n|a> whitequark: ^
<whitequark> I'll try to do something about it
<d_n|a> That would be great, thanks – design ideas might also be helpful if you don't get around to it yourself
<d_n|a> I'm just not sure whether I understood the intent behind the current closure design
<d_n|a> Hmm, seems like that function pointer issue might actually be related to the fact that some of the function pointers called involved an RPC call and numpy arrays. I'll open an issue if I ever find a nice test case
<whitequark> what do you mean "intent behind the current closure design"?
<whitequark> the closures are the way they are to avoid heap allocations
<whitequark> since there's no heap.
rohitksingh has quit [Quit: Leaving.]
X-Scale has quit [Ping timeout: 248 seconds]
X-Scale has joined #m-labs