AW: [Orca-users] Fw: Segmentation fault using 1.35

Schuster, Stefan Stefan.Schuster at dzi.lu
Tue Nov 26 07:35:02 PST 2002


Hi Renaat,

I think you´ve to comment the following line in your orcallator file (USE_RAWDISK):

// Define the different parts of the system you want to examine.
#ifdef WATCH_OS
#define WATCH_CPU               1
#define WATCH_MUTEX             1
#define WATCH_NET               1
#define WATCH_TCP               1
#define WATCH_NFS_CLIENT        1
#define WATCH_NFS_SERVER        1
#define WATCH_MOUNTS            1
//#define USE_RAWDISK           1
#define WATCH_DISK              1
#define WATCH_DNLC              1
#define WATCH_INODE             1
#define WATCH_RAM               1
#define WATCH_PAGES             1
#endif

I hope this works, i had the same trouble. Have a nice day.

Bye,
Stefan
            
                      \\\|///
                    \\  ~ ~  //
                     (  @ @  )
 ------------------oOOo-(_)-oOOo----------------------------------                
     ______       Stefan Schuster                   
    /_____/\      
   /____ \\ \     Systeme und Datenbanken
  /_____\ \\ /    
 /_____/ \/ / /   DZ BANK International S.A.  Tel.:+352-44903-5367
/_____/ /   \//\  4, rue Thomas Edison     Fax :+352-44903-75367
\_____\//\   / /  L-1445 Luxembourg-Strassen 
 \_____/ / /\ /   E-Mail stefan.schuster at dzi.lu 
  \_____/ \\ \    
   \_____\ \\     
    \_____\/
-----------------------------Oooo---------------------------------
                      oooO  (   )
                      (   )  ) /
                       \ (  (_/
                        \_)

> -----Ursprüngliche Nachricht-----
> Von:	Renaat Dumon [SMTP:renaat_dumon at hotmail.com]
> Gesendet am:	Dienstag, 26. November 2002 14:57
> An:	orca-users at orcaware.com
> Betreff:	[Orca-users] Fw: Segmentation fault using 1.35
> 
>  
> Hi all,
>  
> orcallator is bailing out on me on one of my systems with a "segmentation fault".  I know this problem has been posted before but I can't find any solution in the (now abandoned) Yahoo group system
>  
> In short, I'm using Solaris 8, on a E-4500 with a couple of T3 arrays for storage.
> I'm using SE 3.3,  and 1.35 for orcallator/orca
>  
> The problem seems to be related to enumerating the raw disks, where it tries to reference an element in an array, with index (nil)
>  
> Here's an excerpt from the debug log:
> 
> if (RAW_disk_map<1> == <1>)
> raw_disk_map()
> strcpy(first_name<>, GLOBAL_disk_info[0].short_name<md10>)
> first_len = strlen(first_name<md10>)
> for(i = <0>
> ; i<0> < RAW_disk_count<22>; i++)
> i = <0>
> if (strncmp(RAW_disk[0].short_name[0]<s>, <st>, <2>) != <0>)
> if (strncmp(RAW_disk[0].short_name[0]<s>, <fd>, <2>) != <0>)
> for(j = <0>
> ; j<0> < <512>; j++)
> j = <0>
> strcpy(short_name<>, GLOBAL_disk_info[0].short_name<md10>)
> if (j<0> > <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md10>) == <0>)
> j++;
> strcpy(short_name<md10>, GLOBAL_disk_info[1].short_name<md20>)
> if (j<1> > <0>)
> if (strncmp(first_name<md10>, short_name<md20>, first_len<4>) == <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md20>) == <0>)
> j++;
> strcpy(short_name<md20>, GLOBAL_disk_info[2].short_name<md0>)
> if (j<2> > <0>)
> if (strncmp(first_name<md10>, short_name<md0>, first_len<4>) == <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md0>) == <0>)
> j++;
> strcpy(short_name<md0>, GLOBAL_disk_info[3].short_name<md11>)
> if (j<3> > <0>)
> if (strncmp(first_name<md10>, short_name<md11>, first_len<4>) == <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md11>) == <0>)
> j++;
> strcpy(short_name<md11>, GLOBAL_disk_info[4].short_name<md21>)
> if (j<4> > <0>)
> if (strncmp(first_name<md10>, short_name<md21>, first_len<4>) == <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md21>) == <0>)
> j++;
> strcpy(short_name<md21>, GLOBAL_disk_info[5].short_name<md1>)
> if (j<5> > <0>)
> if (strncmp(first_name<md10>, short_name<md1>, first_len<4>) == <0>)> > if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md1>) == <0>)
> j++;
> strcpy(short_name<md1>, GLOBAL_disk_info[6].short_name<(nil)>)
> Segmentation fault
> 
>  
>  
>  
> Thanks for shedding some light on this,
>  
> Renaat Dumon


**********************************************************************
The information transmitted is intended only for the person or entity 
to which it is addressed and may contain confidential and/or 
privileged material. If you are not the intended recipient, please 
contact the sender by E-Mail return and then delete this message from 
your system. You should not copy or use it or disclose its contents to 
any other person. If any part of this message is illegible or if you 
suspect that the message may have been intercepted or amended, 
please contact the sender. DZ BANK International S.A. cannot 
accept any responsibility for the accurancy or completeness of this 
message without further investigation.
**********************************************************************






More information about the Orca-users mailing list