J?rgen Keil wrote:
> I'm not exactly sure when it happened (somewhere between snv_98
> and snv_100), but starting a couple of weeks ago kmdb appears to
> have lost the ability to display parameter values in stack backtraces
> on the amd64 platform.
> 
> E.g. on an old build 82 or wiith an opensolaris snv_97 livecd,
> mdb -k / kmdb was able to show a stack backtrace like this:
> 
>> ::pgrep init | ::walk thread | ::findstack -v
> stack pointer for thread ffffff01c9373b20: ffffff0007b6fc00
> [ ffffff0007b6fc00 _resume_from_idle+0xf1() ]
>   ffffff0007b6fc40 swtch+0x17f()
>   ffffff0007b6fcd0 cv_timedwait_sig+0x194(ffffff01c939663a, ffffff01c9396600, 
> 719e2)
>   ffffff0007b6fd60 cv_waituntil_sig+0xbb(ffffff01c939663a, ffffff01c9396600, 
> ffffff0007b6fe80, 2)
>   ffffff0007b6fe40 poll_common+0x3dd(806b500, 1, ffffff0007b6fe80, 0)
>   ffffff0007b6fec0 pollsys+0xec(806b500, 1, 80475f8, 0)
>   ffffff0007b6ff10 sys_syscall32+0x101()
> 
> 
> But with snv_100 or newer, all I get is this:
> 
>> ::pgrep init | ::walk thread | ::findstack -v
> stack pointer for thread ffffff02d38dbb20: ffffff000f917c50
> [ ffffff000f917c50 _resume_from_idle+0xf1() ]
>   ffffff000f917c80 swtch+0x160()
>   ffffff000f917cf0 cv_timedwait_sig+0x1c0()
>   ffffff000f917d60 cv_waituntil_sig+0xb0()
>   ffffff000f917e40 poll_common+0x465()
>   ffffff000f917ec0 pollsys+0xe8()
>   ffffff000f917f10 sys_syscall32+0x101()
> 
> 
> Is it possible that the switch to the studio 12 compiler
> did break this kmdb  feature?


Yes, and it was noticed starting with daily.0925.

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6753543
6753543 is_argsaved() needs to be augmented for SS12

This is one of the fixes that's gone into the new
compilers, I'm not sure whether the patch (-08, iirc)
is available on sunsolve yet. I don't know whether the
tarball via opensolaris.org has been updated either, sorry.



James
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog


Reply via email to