[Orca-users] Fw: Segmentation fault using 1.35

Renaat Dumon renaat_dumon at hotmail.com
Tue Nov 26 05:56:01 PST 2002


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20021126/84e7834e/attachment.html>


More information about the Orca-users mailing list