Iblis Lin <iblis_at_hs.ntnu.edu.tw> wrote: > Accutally, I made it core dump via a julia script. > Please checkout this code I'm not familiar with juila, in most scripting languages cmd = `/usr/bin/make -f - -V MAKE_ENV` would run that command and assign the output to cmd. The make instance would be reading from stdin which is rather unknown at that point. Could you perhaps run that with ktrace? Eg. ktrace -i -t cnis -f /var/tmp/make.kt whatever command you ran kdump -m 128 -f /var/tmp/make.kt > /var/tmp/make.kd that would show what make is actually reading > └─[iblis_at_abeing ]% cat test.jl > makefile=""" > CATEGORIES= devel > > USES= > .include <bsd.port.mk>""" > > cmd = `/usr/bin/make -f - -V MAKE_ENV` > in_ = Pipe() > out, proc = open(cmd, "r", in_) > > print(in_, makefile) > close(in_) > > _at_assert success(proc) > close(out)Received on Tue Feb 28 2017 - 05:27:22 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC