[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3743.0. "Why does SHOW MCC 0 SAMPLE ALL ATTR crash??!!" by AEOEN1::BOURDILLON () Tue Sep 15 1992 15:43

On my system, there is an example (in mcc_examples) of the management
command SHOW MCC <inst> SAMPLE  in mcc_sample__show_char_mcc.c. This works
fine until you try SHOW MCC 0 SAMPLE ALL ATTR when it crashes. The screen dump
is given below :





MCC> show mcc 0 sample all char

MCC 0 SAMPLE_AM
AT 15-SEP-1992 17:36:38 Characteristics

Examination of attributes shows:
               Component Identification = "DECmcc SAMPLE AM"
                      Component Version = V1.2.0
MCC> show mcc 0 sample all attr
%SYSTEM-F-ACCVIO, access violation, reason mask=05, virtual address=0326800C, PC
=0005B936, PSL=0BC00009
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           0005B936  0005B936
                                                           00010E2F  00010E2F
                                                           0046EF87  0046EF87
                                                           0046E560  0046E560
                                                           0046E024  0046E024
                                                           000A3165  000A3165
                                                           0007ACAB  0007ACAB
                                                           0007546C  0007546C
                                                           00085BB1  00085BB1
                                                           000A326D  000A326D
                                                           000EFF3F  000EFF3F
                                                           000B00AB  000B00AB
                                                           000AFDB3  000AFDB3
                                                           000AFD35  000AFD35
                                                           000AF775  000AF775
                                                           000AF258  000AF258
                                                           000AF077  000AF077
                                                           001C8924  001C8924
                                                           001C9636  001C9636
                                                           001C813D  001C813D
                                                           001CB305  001CB305
                                                           001CA6DB  001CA6DB
                                                           001C7608  001C7608
                                                           001C5E0C  001C5E0C
                                                           000C5076  000C5076
MCC_MAIN        main                             7687      00000208  000020B4
                                                           0000596F  0000596F
MCC_KERNEL_INIT MCC_KERNEL_INITIALIZE             163      00000027  000059A3
                                                           0000594A  0000594A
AEOEN1\BEN>








	The version of mcc_sample__show_char_mcc.c was last edited (according
to the Modification History) on 12-Dec-1990 by TK and PL.


	Since my management SHOW is based on that in SAMPLE, I
get the same crash. I would appreciate a solution.



Ben


T.RTitleUserPersonal
Name
DateLines
3743.1How does your MM crash ?MOLAR::ROBERTSKeith Roberts - Network Management ApplicationsTue Sep 15 1992 19:088
  Ben,

  If you MM crashes the same way .. can you use the debugger to get any
  more information?  'set break/exception'

  I'll look into this further.

  /keith
3743.2found itMOLAR::ROBERTSKeith Roberts - Network Management ApplicationsTue Sep 15 1992 20:1419
  Ben,

  Don't know why this one escaped us .. or why no one else ever noticed
  it .. but I found the problem.

  The YOURMM and SAMPLE Management Modules are declaring MCC Descriptors
  pointers as static !!  But it shouldn't be.

  In the MCC_YOURMM__SHOW_CHAR_MCC.C module remove the words
  static and move the definition to be with the rest of the stack
  variables.

static MCC_T_Descriptor   *component_id_dsc      = { MCC_K_NULL_PTR };
static MCC_T_Descriptor   *component_version_dsc = { MCC_K_NULL_PTR };

  We're sorry about this .. and this will be fixed in the v1.3 release.

  /keith
3743.3Many thanksAEOEN1::BOURDILLONWed Sep 16 1992 17:0615
Keith,


Thank you very much for the prompt response and, more
importantly, the solution!

The SHOW now works fine with ALL ATTR and ALL CHAR.


I appreciate your help very much.



Ben.