Michael E. Corcoran
2007-Jun-29 22:01 UTC
[dtrace-discuss] dtrace and Xorg don''t always mix
I''m wondering if I should file a bug against this or is this just a case of a user doing something stupid :) I ran the following script on my desktop: #!/usr/sbin/dtrace -s pid9276:::entry { @counting[probefunc] = count(); } And my Xsession immediately crashed and through me back to the login screen. My OS is 5.11 snv_50 i86pc i386 i86pc with a dual core amd chip and 2G or memory. pid 9276 was Xorg, in case you couldn''t guess. So is this something that dtrace could/should have prevented or is there no way to know that this might cause some sort of problem. Xorg was taking up 40% cpu time so I wanted to see what it was doing :) Enabling specific probes seemed to work fine, but when I enabled all of them ... crash! Thanks, Mike -- This message posted from opensolaris.org
Hi Mike, That obviously shouldn''t happen. Do you have a core file? Adam On Fri, Jun 29, 2007 at 03:01:58PM -0700, Michael E. Corcoran wrote:> I''m wondering if I should file a bug against this or is this just a case of a user doing something stupid :) > > I ran the following script on my desktop: > > #!/usr/sbin/dtrace -s > > pid9276:::entry > { > @counting[probefunc] = count(); > } > > > And my Xsession immediately crashed and through me back to the login screen. My OS is > 5.11 snv_50 i86pc i386 i86pc with a dual core amd chip and 2G or memory. > > pid 9276 was Xorg, in case you couldn''t guess. > > So is this something that dtrace could/should have prevented or is there no way to know that this might cause some sort of problem. > > Xorg was taking up 40% cpu time so I wanted to see what it was doing :) Enabling specific probes seemed to work fine, but when I enabled all of them ... crash! > > Thanks, > > Mike > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl