[OmniOS-discuss] kstat -p gives segfault on OmniOS r151006

Garrett D'Amore garrett.damore at dey-sys.com
Sun Jun 23 07:38:45 EDT 2013


I've noticed lately that kstat seems to segfault when asked for a non existent stat. I have not had time to investigate further and I can't yet confirm that this problem exists in current illumos.  I will look soon though.  

Sent from my iPhone

On Jun 23, 2013, at 5:12 PM, Robin Smidsrød <robin at smidsrod.no> wrote:

> Hi everyone,
> 
> I'm having a problem with kstat -p segfaulting on me.
> 
> I've included the output from truss here:
> https://gist.github.com/robinsmidsrod/5844493
> 
> A user on irc (gcbirzan) confirmed that he did not get a segfault on a
> clean install of r151006, so it seems this might be related to some
> stmf_tgt-related configuration which is confusing kstat. He also
> confirmed that he got the same segfault on his system that has some
> iscsi targets setup. This is his exact uttering:
> 
> "<gcbirzan> I get the same :) but I always assumed it's because I hacked
> libiscsit to have more than 255 targets"
> 
> I have not hacked anything on my system, running standard versions of
> all software.
> 
> Any chance of a fix and a backport to stable?
> 
> Not sure what kind of info you'd need to debug things further, but ask
> and I shall provide.
> 
> -- Robin
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss


More information about the OmniOS-discuss mailing list