[Orca-users] orca 0.27 core dumped in Solaris 10.
Sergio Nunez Alvira
snunez8 at fastmail.fm
Fri Jan 5 13:11:03 PST 2007
Hi Friends.
I have running my orca software. Include the next line in
/opt/orca_0.27/lib/orcallator.se file:
strcpy(short_name, GLOBAL_disk_info[j].short_name);
before
if (GLOBAL_disk_info[j].short_name == nil) { break; }
line
Regards.
Sergio.
On Fri, 05 Jan 2007 09:04:37 -0800, "Sergio Nunez Alvira"
<snunez8 at fastmail.fm> said:
> Hi list.
>
> I had some problems with orca installation procedure. I have gcc 3.3.2,
> perl 5.8.5, solaris 10 sparc and orca 0.27, but when I try start orca, I
> have a core dump.
>
>
> Versions are:
>
> root at server # gcc -v
> Reading specs from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --disable-nls
> Thread model: posix
> gcc version 3.3.2
> root at server #
>
>
> root at server # perl -V
> Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
> Platform:
> osname=solaris, osvers=2.9, archname=sun4-solaris
> uname='sunos 5.9 generic sun4u sparc sunw,ultra-5_10 solaris '
> config_args='-Dcc=gcc -B/usr/ccs/bin/'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -pipe
> -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64',
> optimize='-O',
> cppflags='-fno-strict-aliasing -pipe -I/usr/local/include
> -I/opt/gnu/include'
> ccversion='', gccversion='3.3.2', gccosandvers='solaris2.9'
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
> alignbytes=8, prototype=define
> Linker and Libraries:
> ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib -L/opt/gnu/lib
> '
> libpth=/usr/local/lib /opt/gnu/lib /usr/lib /usr/ccs/lib
> libs=-lsocket -lbind -lnsl -lgdbm -ldb -ldl -lm -lc
> perllibs=-lsocket -lbind -lnsl -ldl -lm -lc
> libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
> cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: USE_LARGE_FILES
> Built under solaris
> Compiled at Jul 28 2004 04:13:13
> @INC:
> /usr/local/lib/perl5/5.8.5/sun4-solaris
> /usr/local/lib/perl5/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5
> /usr/local/lib/perl5/site_perl
> .
> root at server #
>
>
>
>
> Next is a segment of errors when I run orca with debug option:
>
>
>
>
> root at server # /opt/RICHPse/bin/se.sparcv9 -d -DWATCH_OS
> /opt/orca-0.27/lib/orcallator.se
>
> ......
>
> if (RAW_disk_map<1> == <1>)
> raw_disk_map()
> strcpy(first_name<>, GLOBAL_disk_info[0].short_name<sd1>)
> first_len = strlen(first_name<sd1>)
> for(i = <0>
> ; i<0> < RAW_disk_count<11>; 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> < <1024>; j++)
> j = <0>
> strcpy(short_name<>, GLOBAL_disk_info[0].short_name<sd1>)
> if (j<0> > <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<sd1>) == <0>)
> j++;
> strcpy(short_name<sd1>, GLOBAL_disk_info[1].short_name<ssd2>)
> if (j<1> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd2>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<ssd2>) == <0>)
> j++;
> strcpy(short_name<ssd2>, GLOBAL_disk_info[2].short_name<ssd3>)
> if (j<2> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd3>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<ssd3>) == <0>)
> j++;
> strcpy(short_name<ssd3>, GLOBAL_disk_info[3].short_name<sd3>)
> if (j<3> > <0>)
> if (strncmp(first_name<sd1>, short_name<sd3>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<sd3>) == <0>)
> strcpy(long_name<>, GLOBAL_disk_info[3].long_name<c2t0d0>)
> strcpy(RAW_disk[0].long_name[0]<s>, long_name<c2t0d0>)
> break;
> i++;
> if (strncmp(RAW_disk[1].short_name[1]<d>, <st>, <2>) != <0>)
> if (strncmp(RAW_disk[1].short_name[1]<d>, <fd>, <2>) != <0>)
> for(j = <0>
> ; j<3> < <1024>; j++)
> j = <0>
> strcpy(short_name<sd3>, GLOBAL_disk_info[0].short_name<sd1>)
> if (j<0> > <0>)
> if (strcmp(RAW_disk[1].short_name[1]<d>, short_name<sd1>) == <0>)
> j++;
> strcpy(short_name<sd1>, GLOBAL_disk_info[1].short_name<ssd2>)
> if (j<1> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd2>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[1].short_name[1]<d>, short_name<ssd2>) == <0>)
> j++;
> strcpy(short_name<ssd2>, GLOBAL_disk_info[2].short_name<ssd3>)
> if (j<2> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd3>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[1].short_name[1]<d>, short_name<ssd3>) == <0>)
> j++;
> strcpy(short_name<ssd3>, GLOBAL_disk_info[3].short_name<sd3>)
> if (j<3> > <0>)
> if (strncmp(first_name<sd1>, short_name<sd3>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[1].short_name[1]<d>, short_name<sd3>) == <0>)
> j++;
> strcpy(short_name<sd3>, GLOBAL_disk_info[4].short_name<sd0>)
> if (j<4> > <0>)
> if (strncmp(first_name<sd1>, short_name<sd0>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[1].short_name[1]<d>, short_name<sd0>) == <0>)
> strcpy(long_name<c2t0d0>, GLOBAL_disk_info[4].long_name<c2t1d0>)
> strcpy(RAW_disk[1].long_name[1]<d>, long_name<c2t1d0>)
> break;
> i++;
> if (strncmp(RAW_disk[2].short_name[2]<1>, <st>, <2>) != <0>)
> if (strncmp(RAW_disk[2].short_name[2]<1>, <fd>, <2>) != <0>)
> for(j = <0>
> ; j<4> < <1024>; j++)
> j = <0>
> strcpy(short_name<sd0>, GLOBAL_disk_info[0].short_name<sd1>)
> if (j<0> > <0>)
> if (strcmp(RAW_disk[2].short_name[2]<1>, short_name<sd1>) == <0>)
> strcpy(long_name<c2t1d0>, GLOBAL_disk_info[0].long_name<c0t0d0>)
> strcpy(RAW_disk[2].long_name[2]<1>, long_name<c0t0d0>)
> break;
> i++;
> if (strncmp(RAW_disk[3].short_name[3]<4>, <st>, <2>) != <0>)
> if (strncmp(RAW_disk[3].short_name[3]<4>, <fd>, <2>) != <0>)
> for(j = <0>
> ; j<0> < <1024>; j++)
> j = <0>
> strcpy(short_name<sd1>, GLOBAL_disk_info[0].short_name<sd1>)
> if (j<0> > <0>)
> if (strcmp(RAW_disk[3].short_name[3]<4>, short_name<sd1>) == <0>)
> j++;
> strcpy(short_name<sd1>, GLOBAL_disk_info[1].short_name<ssd2>)
> if (j<1> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd2>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[3].short_name[3]<4>, short_name<ssd2>) == <0>)
> j++;
> strcpy(short_name<ssd2>, GLOBAL_disk_info[2].short_name<ssd3>)
> if (j<2> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd3>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[3].short_name[3]<4>, short_name<ssd3>) == <0>)
> j++;
> strcpy(short_name<ssd3>, GLOBAL_disk_info[3].short_name<sd3>)
> if (j<3> > <0>)
> if (strncmp(first_name<sd1>, short_name<sd3>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[3].short_name[3]<4>, short_name<sd3>) == <0>)
> j++;
> strcpy(short_name<sd3>, GLOBAL_disk_info[4].short_name<sd0>)
> if (j<4> > <0>)
> if (strncmp(first_name<sd1>, short_name<sd0>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[3].short_name[3]<4>, short_name<sd0>) == <0>)
> j++;
> strcpy(short_name<sd0>, GLOBAL_disk_info[5].short_name<ssd0>)
> if (j<5> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd0>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[3].short_name[3]<4>, short_name<ssd0>) == <0>)
> j++;
> strcpy(short_name<ssd0>, GLOBAL_disk_info[6].short_name<ssd1>)
> if (j<6> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd1>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[3].short_name[3]<4>, short_name<ssd1>) == <0>)
> j++;
> strcpy(short_name<ssd1>, GLOBAL_disk_info[7].short_name<ssd4>)
> if (j<7> > <0>)
> if (strncmp(first_name<sd1>, short_name<ssd4>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[3].short_name[3]<4>, short_name<ssd4>) == <0>)
> strcpy(long_name<c0t0d0>,
> GLOBAL_disk_info[7].long_name<c5t60003BA4E7B8900042F786960000F8D6d0>)
> strcpy(RAW_disk[3].long_name[3]<4>,
> long_name<c5t60003BA4E7B8900042F786960000F8D6d0>)
> break;
> i++;
> if (strncmp(RAW_disk[4].short_name[4]<.>, <st>, <2>) != <0>)
> if (strncmp(RAW_disk[4].short_name[4]<.>, <fd>, <2>) != <0>)
> for(j = <0>
> ; j<7> < <1024>; j++)
> j = <0>
> strcpy(8D6d0<ssd4>, GLOBAL_disk_info[0].short_name<sd1>)
> if (j<0> > <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd1>) == <0>)
> j++;
> strcpy(8D6d0<sd1>, GLOBAL_disk_info[1].short_name<ssd2>)
> if (j<1> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd2>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd2>) == <0>)
> j++;
> strcpy(8D6d0<ssd2>, GLOBAL_disk_info[2].short_name<ssd3>)
> if (j<2> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd3>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd3>) == <0>)
> j++;
> strcpy(8D6d0<ssd3>, GLOBAL_disk_info[3].short_name<sd3>)
> if (j<3> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd3>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd3>) == <0>)
> j++;
> strcpy(8D6d0<sd3>, GLOBAL_disk_info[4].short_name<sd0>)
> if (j<4> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd0>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd0>) == <0>)
> j++;
> strcpy(8D6d0<sd0>, GLOBAL_disk_info[5].short_name<ssd0>)
> if (j<5> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd0>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd0>) == <0>)
> j++;
> strcpy(8D6d0<ssd0>, GLOBAL_disk_info[6].short_name<ssd1>)
> if (j<6> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd1>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd1>) == <0>)
> j++;
> strcpy(8D6d0<ssd1>, GLOBAL_disk_info[7].short_name<ssd4>)
> if (j<7> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd4>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd4>) == <0>)
> j++;
> strcpy(8D6d0<ssd4>, GLOBAL_disk_info[8].short_name<ssd5>)
> if (j<8> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd5>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd5>) == <0>)
> j++;
> strcpy(8D6d0<ssd5>, GLOBAL_disk_info[9].short_name<sd3,a>)
> if (j<9> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd3,a>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd3,a>) == <0>)
> j++;
> strcpy(8D6d0<sd3,a>, GLOBAL_disk_info[10].short_name<sd3,b>)
> if (j<10> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd3,b>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd3,b>) == <0>)
> j++;
> strcpy(8D6d0<sd3,b>, GLOBAL_disk_info[11].short_name<sd3,c>)
> if (j<11> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd3,c>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd3,c>) == <0>)
> j++;
> strcpy(8D6d0<sd3,c>, GLOBAL_disk_info[12].short_name<sd3,d>)
> if (j<12> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd3,d>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd3,d>) == <0>)
> j++;
> strcpy(8D6d0<sd3,d>, GLOBAL_disk_info[13].short_name<sd3,e>)
> if (j<13> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd3,e>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd3,e>) == <0>)
> j++;
> strcpy(8D6d0<sd3,e>, GLOBAL_disk_info[14].short_name<sd3,f>)
> if (j<14> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd3,f>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd3,f>) == <0>)
> j++;
> strcpy(8D6d0<sd3,f>, GLOBAL_disk_info[15].short_name<sd0,a>)
> if (j<15> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd0,a>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd0,a>) == <0>)
> j++;
> strcpy(8D6d0<sd0,a>, GLOBAL_disk_info[16].short_name<sd0,b>)
> if (j<16> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd0,b>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd0,b>) == <0>)
> j++;
> strcpy(8D6d0<sd0,b>, GLOBAL_disk_info[17].short_name<sd0,c>)
> if (j<17> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd0,c>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd0,c>) == <0>)
> j++;
> strcpy(8D6d0<sd0,c>, GLOBAL_disk_info[18].short_name<sd0,d>)
> if (j<18> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd0,d>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd0,d>) == <0>)
> j++;
> strcpy(8D6d0<sd0,d>, GLOBAL_disk_info[19].short_name<sd0,e>)
> if (j<19> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd0,e>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd0,e>) == <0>)
> j++;
> strcpy(8D6d0<sd0,e>, GLOBAL_disk_info[20].short_name<sd0,f>)
> if (j<20> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd0,f>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd0,f>) == <0>)
> j++;
> strcpy(8D6d0<sd0,f>, GLOBAL_disk_info[21].short_name<sd0,g>)
> if (j<21> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<sd0,g>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<sd0,g>) == <0>)
> j++;
> strcpy(8D6d0<sd0,g>, GLOBAL_disk_info[22].short_name<ssd4,c>)
> if (j<22> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd4,c>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd4,c>) == <0>)
> j++;
> strcpy(8D6d0<ssd4,c>, GLOBAL_disk_info[23].short_name<ssd4,h>)
> if (j<23> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd4,h>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd4,h>) == <0>)
> j++;
> strcpy(8D6d0<ssd4,h>, GLOBAL_disk_info[24].short_name<ssd5,c>)
> if (j<24> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd5,c>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd5,c>) == <0>)
> j++;
> strcpy(8D6d0<ssd5,c>, GLOBAL_disk_info[25].short_name<ssd5,h>)
> if (j<25> > <0>)
> if (strncmp(first_name<sd1>, 8D6d0<ssd5,h>, first_len<3>) == <0>)
> if (strcmp(RAW_disk[4].short_name[4]<.>, 8D6d0<ssd5,h>) == <0>)
> j++;
> strcpy(8D6d0<ssd5,h>, GLOBAL_disk_info[26].short_name<(nil)>)
> Segmentation Fault (core dumped)
> root at server #
>
>
>
> Please, any idea with that? hope your help.
>
> Regards.
>
> Sergio.
>
> --
> http://www.fastmail.fm - And now for something completely different
>
>
> _______________________________________________
> Orca-users mailing list
> Orca-users at orcaware.com
> http://www.orcaware.com/mailman/listinfo/orca-users
--
http://www.fastmail.fm - The professional email service
More information about the Orca-users
mailing list