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 uploaded the ktrace to the gi
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`
> would run that command
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 reading from stdin whic
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 w
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...
___
fre
Hi,
I encounted core dump with `make -f - ...`
The backtrace:
Core was generated by `/usr/bin/make -f - -V MAKE_JOBS_NUMBER'.
Program terminated with signal 10, Bus error.
#0 Hash_FindEntry (t=, key=) at
/usr/src/contrib/bmake/hash.c:231
231 if (e->namehash == h && strcmp(e