[Orca-users] Segmentation fault

Pablo Calvo jpcalvo at gmail.com
Tue Nov 3 12:35:11 PST 2009


Guys, we have problem. Take a look.
root at activador1 # pwd
/opt/RICHPse/bin
root at activador1 # ./se -d ../examples/disks.se
switch(argc<1>)
break;
refresh$(disk(STRUCTURE))
if (initialized<0> == <0>)
if (setup_diskinfo_inst() == <0>)
if (diskinfo_inst_initialized<0> == <1>)
path_tree = str2int_init()
tree = avlinit()
if (tree<4297422320> == <0>)
return tree<4297422320>;
if (path_tree<4297422320> == <0>)
input = fopen(</opt/RICHPse/path_to_inst>, <r>)
if (input<4296357248> == <0>)
while(fgets(buf<>, sizeof(buf<>), input<4296357248>) != <(nil)>)
if ((buf[0]<#> != <35>) && (buf[0]<#> != <10>))
if ((buf[0]<#> != <35>) && (buf[0]<#> != <10>))
if ((buf[0]<#> != <35>) && (buf[0]<#> != <10>))
if ((buf[0]<"> != <35>) && (buf[0]<"> != <10>))
p = strtok(buf<"/pci at 8,600000/SUNW,qlc at 2/fp at 0,0/ssd at w21000000878fbbf0,0"
5 "ssd"\n>, < >)
n = atoi(strtok(<(nil)>, < >))
path = strtok(p<"/pci at 8,600000/SUNW,qlc at 2/fp at 0,0/ssd at w21000000878fbbf0,0">, <">)
if (path</pci at 8,600000/SUNW,qlc at 2/fp at 0,0/ssd at w21000000878fbbf0,0> =~ </node>
.
.
.
return <0>;
if (GLOBAL_disk_info[5].short_name<(nil)> == <(nil)>)
ld = readdir(dirp<18446744071537951360>)
if (count<5> == GLOBAL_diskinfo_size<1028>)
dp = *((dirent_t *) ld<18446744071537974240>)
if (dp.d_name<c6t5006048452A67E68d13s1> == <.> ||
dp.d_name<c6t5006048452A67E68d13s1> == <..>)
if (!(dp.d_name<c6t5006048452A67E68d13s1> =~ <s0$>))
ld = readdir(dirp<18446744071537951360>)
if (count<5> == GLOBAL_diskinfo_size<1028>)
dp = *((dirent_t *) ld<18446744071537974288>)
Segmentation Fault (core dumped)

Please, help me!



More information about the Orca-users mailing list