Re: bmake core dump

2017-02-27 Thread Simon J. Gerraty
Iblis Lin wrote: > > 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 > > > > I

Re: bmake core dump

2017-02-27 Thread Iblis Lin
On Mon, Feb 27, 2017 at 10:27:17PM -0800, Simon J. Gerraty wrote: > Iblis Lin 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` >

Re: bmake core dump

2017-02-27 Thread Simon J. Gerraty
Iblis Lin 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

Re: bmake core dump

2017-02-27 Thread Iblis Lin
On Mon, Feb 27, 2017 at 11:06:43AM -0800, Simon J. Gerraty wrote: > Hi Iblis > > > I encounted core dump with `make -f - ...` > > can you share the content of stdin? or a relevant snippet? > > Also what version of bmake? (make -r -f /dev/null -V MAKE_VERSION) > > Your patch risks overflow, so

Re: bmake core dump

2017-02-27 Thread Simon J. Gerraty
Hi Iblis > I encounted core dump with `make -f - ...` can you share the content of stdin? or a relevant snippet? Also what version of bmake? (make -r -f /dev/null -V MAKE_VERSION) Your patch risks overflow, so would like to reproduce first... ___