On Wed, May 13, 2009 at 8:47 AM, Chad Mynhier <cmynh...@gmail.com> wrote:
> I'm looking for some advice on how to approach fixing a bug in DTrace.
>
> The following script will cause dtrace(1M) to core dump:
>
> #!/usr/sbin/dtrace -s
>
> #pragma D option version=1.0
>
> this zio_t *io;
>
> inline char io_type = (this->io->io_type == ZIO_TYPE_NULL) ? '.' : '?';
>
> BEGIN
> {
>     exit(0);
> }

To add some more information here, in case anyone tries to reproduce
the problem:  I'm able to reproduce this core dump consistently on
SPARC, but I have trouble reproducing it consistently on x86, although
I have seen it on x86.  Jon Haslam noticed that he could reproduce it
consistently on x86 after removing the version reduction (snv_115 for
him.)  (But he did see at least one occurrence with the version
reduction in place.)

Chad
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to