DTraceAsmProfiler: IllegalStateException: Non-zero error code from dtrace: 1

Vsevolod Tolstopyatov qwwdfsad at gmail.com
Tue Mar 29 14:15:02 UTC 2022


Hi,

I would like to investigate the issue, luckily I have a pretty similar OS X
setup.

The problem is -- I cannot build your project as it requires unpublished to
sonatype javapoet-maven-plugin. javapoet-maven-plugin is not installable
locally due to its build issues. Could you please make `mvn install` of
string-format pass? Pushing pre-built jar with javapoet to the repo also
should do the trick. As a last resort, it's okay to even share the
resulting benchmarks.jar, though it will require an extra work from me to
properly sandbox it without affecting dtrace.

Meanwhile I will try to reproduce the problem on another project with Java
17.


--
Best regards,
Vsevolod Tolstopyatov


On Mon, Mar 28, 2022 at 4:24 PM Aleksey Shipilev <shade at redhat.com> wrote:

> On 2/9/22 00:28, Petr Janeček wrote:
> > What can I do to help isolate the problem?
>
> It is likely a MacOS permissions problem when using dtrace. There is no
> Mac machine in my lab to
> reproduce and therefore fix it. You might want to tinker with
> DTraceAsmProfiler.java: instrument
> invocation lines, read errors, etc, come up with the patch.
>
> --
> Thanks,
> -Aleksey
>
>


More information about the jmh-dev mailing list