UMR Purify error on C++ 5.3 (Solaris 8)

UMR: Uninitialized memory read
This is occurring while in:
std::ctype<char>::ctype(const std::ctype_base::mask*,bool,unsigned)+0x1e8 [opt/SUNWspro/WS6U2/lib/libCstd.a pc=0x439eac]
std::ctype_byname<char>::ctype_byname(const char*,unsigned)+0x30 [opt/SUNWspro/WS6U2/lib/libCstd.a pc=0x43b5c4]
__rwstd::facet_imp*__rwstd::facet_maker<std::ctype<char> >::maker_func(int,const char*,unsigned)+0x1fc [home/nicholr/src/GC_r/libGC_r.a pc=0x39396c]
__rwstd::facet_imp*std::locale::__make_explicit(const std::locale::id&,bool,int,__rwstd::facet_imp*(*)(int,const char*,unsigned))const+0x318 [opt/SUNWspro/WS6U2/lib/libCstd.a pc=0x44055c]
const __type_0&std::use_facet<std::ctype<char> >(const std::locale&,__type_0*)+0x1f0 [home/nicholr/src/GC_r/libGC_r.a pc=0x3936f0]
GCFacetBase::GCFacetBase(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)+0xb94 [home/nicholr/src/GC/GCFacetBase.cc:54 pc=0x391dfc]
locale transform(localeName.c_str());
#ifndef RWSTDNO_TEMPLATE_ON_RETURN_TYPE
const std::ctype<char>& ct = std::use_facet<std::ctype<char> >(transform);
#else
=> const std::ctype<char>& ct = std::use_facet(transform, (std::ctype<char>*)0);
#endif
main+0x18c [home/nicholr/src/ND/NDNodeLoad.cc:36 pc=0x111c6c]
_start+0x194         [opt/SUNWspro/WS6U2/lib/crt1.o pc=0x1084a4]
Reading 4 bytes from 0x5c42b4 in the heap.
Address 0x5c42b4 is 1020 bytes into a malloc'd block at 0x5c3eb8 of 1024 bytes.
This block was allocated from:
malloc+0x428 [home/nicholr/src/ND/rtlib.o pc=0xdb264]
c2n6Fi_Pv___1+0x28 [usr/lib/libCrun.so.1 pc=0xfeeb4dd4]
void*operator new(unsigned)+0x4 [home/nicholr/src/ND/rtlib.o pc=0x1070fc]
void*operator new[](unsigned)+0x4 [home/nicholr/src/ND/rtlib.o pc=0x107158]
const std::ctype_base::mask*std::ctype_byname<char>::get_mask_table(const char*)+0x58 [opt/SUNWspro/WS6U2/lib/libCstd.a pc=0x43b9f4]
std::ctype_byname<char>::ctype_byname(const char*,unsigned)+0x1c [opt/SUNWspro/WS6U2/lib/libCstd.a pc=0x43b5b0]
__rwstd::facet_imp*__rwstd::facet_maker<std::ctype<char> >::maker_func(int,const char*,unsigned)+0x1fc [home/nicholr/src/GC_r/libGC_r.a pc=0x39396c]
__rwstd::facet_imp*std::locale::__make_explicit(const std::locale::id&,bool,int,__rwstd::facet_imp*(*)(int,const char*,unsigned))const+0x318 [opt/SUNWspro/WS6U2/lib/libCstd.a pc=0x44055c]
const __type_0&std::use_facet<std::ctype<char> >(const std::locale&,__type_0*)+0x1f0 [home/nicholr/src/GC_r/libGC_r.a pc=0x3936f0]
GCFacetBase::GCFacetBase(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)+0xb94 [home/nicholr/src/GC/GCFacetBase.cc:54 pc=0x391dfc]
locale transform(localeName.c_str());
#ifndef RWSTDNO_TEMPLATE_ON_RETURN_TYPE
const std::ctype<char>& ct = std::use_facet<std::ctype<char> >(transform);
#else
=> const std::ctype<char>& ct = std::use_facet(transform, (std::ctype<char>*)0);
#endif
main+0x18c [home/nicholr/src/ND/NDNodeLoad.cc:36 pc=0x111c6c]
_start+0x194         [opt/SUNWspro/WS6U2/lib/crt1.o pc=0x1084a4]

You'll need to edit the makefile proc.mk, but it's not a complicated change.
Just add libsql10.a (or -lsql10 which means the same) to the link line; that should do the trick.

Similar Messages

  • Error when install wlss22 on solaris 10 x86

    encountered error during installation of wlss22 (solaris build) on my solaris 10 x86
    pls help
    $./wlss220_solaris32.bin
    bash: ./wlss220_solaris32.bin: Invalid argument

    As per the installation guide:
    http://e-docs.bea.com/wlcp/wlss22/install/quickstart.html
    # Execute the installation program for your operating system. To execute the Linux or Solaris binary installation program:
    chmod a+x ./wlss220_linux32.bin
    ./wlss220_linux32.bin

  • Purify error with std::string, -xarch=v8plusa -mt

    Using WS6U2, latest patches, on Solaris 8 with latest patch cluster (as of a few days ago):
    string.cpp:
    #include <string>
    using namespace std;
    int main(int argc, char * argv[])
       string val1 = "hello";
       string val2 = "world";
       string copy( val1 );
       copy = val2;
       return 0;
    CC -V
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-12 2002/12/16
    purify -versionVersion 2002a.06.00 Solaris 2
    purify -always-use-cache-dir -cache-dir=`pwd`/cache CC -g -xarch=v8plusa -mt string.cpp -o stringAnd we get some rather nasty errors: three Free Memory Reads, two Free Memory Writes, and one Freeing Unallocated Memory. However, remove either of the "-mt" or "-xarch=v8plusa" options, and all is well - no memory errors at all. So it seems that this problem only affects the multithreaded v8plusa specific implementation of std::string.
    In the case where it fails ("-mt -xarch=v8plusa"), purify complains as follows:
    **** Purify instrumented string (pid 13888 at Tue Feb 18 16:42:31 2003)
    * Purify 2002a.06.00 Solaris 2 (32-bit) Copyright (C) 1992-2002 Rational Software Corp. All rights reserved.
    * For contact information type: "purify -help"
    * For TTY output, use the option "-windows=no"
    * Command-line: ./string
    * Options settings: -max-threads=2500 -follow-child-processes=yes \
    -leaks-at-exit=yes -chain-length=16 -report-pmrs=yes -threads=yes -purify \
    -always-use-cache-dir \
    -cache-dir=/home/rational/src/experiments/string/cache \
    -purify-home=/usr/local/software/rational/releases/purify.sol.2002a.06.00 \
    -threads=yes -use-internal-locks=yes -thread_stack_change=0x4000 \
    -mt_safe_malloc=yes
    * License successfully checked out.
    * Command-line: ./string
    **** Purify instrumented string (pid 13888) ****
    FMR: Free memory read:
    * This is occurring while in:
         long __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >::__references()const [string_ref:193]
         void std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__unLink() [string:913]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string() [string:297]
         main [string.cpp:15]
         _start         [crt1.o]
    * Reading 4 bytes from 0xa6d30 in the heap.
    * Address 0xa6d30 is 24 bytes into a freed block at 0xa6d18 of 47 bytes.
    * This block was allocated from:
         malloc [rtlib.o]
         c2n6Fi_Pv___1 [libCrun.so.1]
         void*operator new(unsigned) [rtlib.o]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__getRep(unsigned,unsigned) [libCstd.so.1]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string(const char*,const std::allocator<char>&) [libCstd.so.1]
         main [string.cpp:9]
         _start         [crt1.o]
    * There have been 0 frees since this block was freed from:
         free [rtlib.o]
         c2k6FPv_v___1 [libCrun.so.1]
         void operator delete(void*) [rtlib.o]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [libCstd.so.1]
         main [string.cpp:13]
         _start         [crt1.o]
    **** Purify instrumented string (pid 13888) ****
    FMR: Free memory read:
    * This is occurring while in:
         pthread_mutex_destroy [libthread.so.1]
         RWSTDMutex::~RWSTDMutex() [stdmutex.h:167]
         __rwstd::__string_ref_rep<std::allocator<char> >::~__string_ref_rep #Nvariant 1() [string.cpp]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >::~__string_ref() [string.cpp]
         void __rwstd::__destroy<__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> > >(__type_0*) [memory:177]
         void std::allocator_interface<std::allocator<char>,__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> > >::destroy(__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*) [memory:513]
         void std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__unLink() [string:915]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string() [string:297]
         main [string.cpp:15]
         _start         [crt1.o]
    * Reading 2 bytes from 0xa6d18 in the heap.
    * Address 0xa6d18 is at the beginning of a freed block of 47 bytes.
    * This block was allocated from:
         malloc [rtlib.o]
         c2n6Fi_Pv___1 [libCrun.so.1]
         void*operator new(unsigned) [rtlib.o]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__getRep(unsigned,unsigned) [libCstd.so.1]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string(const char*,const std::allocator<char>&) [libCstd.so.1]
         main [string.cpp:9]
         _start         [crt1.o]
    * There have been 0 frees since this block was freed from:
         free [rtlib.o]
         c2k6FPv_v___1 [libCrun.so.1]
         void operator delete(void*) [rtlib.o]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [libCstd.so.1]
         main [string.cpp:13]
         _start         [crt1.o]
    **** Purify instrumented string (pid 13888) ****
    FMW: Free memory write:
    * This is occurring while in:
         pthread_mutex_destroy [libthread.so.1]
         RWSTDMutex::~RWSTDMutex() [stdmutex.h:167]
         __rwstd::__string_ref_rep<std::allocator<char> >::~__string_ref_rep #Nvariant 1() [string.cpp]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >::~__string_ref() [string.cpp]
         void __rwstd::__destroy<__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> > >(__type_0*) [memory:177]
         void std::allocator_interface<std::allocator<char>,__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> > >::destroy(__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*) [memory:513]
         void std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__unLink() [string:915]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string() [string:297]
         main [string.cpp:15]
         _start         [crt1.o]
    * Writing 2 bytes to 0xa6d1e in the heap.
    * Address 0xa6d1e is 6 bytes into a freed block at 0xa6d18 of 47 bytes.
    * This block was allocated from:
         malloc [rtlib.o]
         c2n6Fi_Pv___1 [libCrun.so.1]
         void*operator new(unsigned) [rtlib.o]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__getRep(unsigned,unsigned) [libCstd.so.1]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string(const char*,const std::allocator<char>&) [libCstd.so.1]
         main [string.cpp:9]
         _start         [crt1.o]
    * There have been 0 frees since this block was freed from:
         free [rtlib.o]
         c2k6FPv_v___1 [libCrun.so.1]
         void operator delete(void*) [rtlib.o]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [libCstd.so.1]
         main [string.cpp:13]
         _start         [crt1.o]
    **** Purify instrumented string (pid 13888) ****
    FMW: Free memory write:
    * This is occurring while in:
         pthread_mutex_destroy [libthread.so.1]
         RWSTDMutex::~RWSTDMutex() [stdmutex.h:167]
         __rwstd::__string_ref_rep<std::allocator<char> >::~__string_ref_rep #Nvariant 1() [string.cpp]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >::~__string_ref() [string.cpp]
         void __rwstd::__destroy<__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> > >(__type_0*) [memory:177]
         void std::allocator_interface<std::allocator<char>,__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> > >::destroy(__rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*) [memory:513]
         void std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__unLink() [string:915]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string() [string:297]
         main [string.cpp:15]
         _start         [crt1.o]
    * Writing 2 bytes to 0xa6d18 in the heap.
    * Address 0xa6d18 is at the beginning of a freed block of 47 bytes.
    * This block was allocated from:
         malloc [rtlib.o]
         c2n6Fi_Pv___1 [libCrun.so.1]
         void*operator new(unsigned) [rtlib.o]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__getRep(unsigned,unsigned) [libCstd.so.1]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string(const char*,const std::allocator<char>&) [libCstd.so.1]
         main [string.cpp:9]
         _start         [crt1.o]
    * There have been 0 frees since this block was freed from:
         free [rtlib.o]
         c2k6FPv_v___1 [libCrun.so.1]
         void operator delete(void*) [rtlib.o]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [libCstd.so.1]
         main [string.cpp:13]
         _start         [crt1.o]
    **** Purify instrumented string (pid 13888) ****
    FMR: Free memory read:
    * This is occurring while in:
         unsigned std::basic_string<char,std::char_traits<char>,std::allocator<char> >::length()const [string:1346]
         void std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__unLink() [string:916]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string() [string:297]
         main [string.cpp:15]
         _start         [crt1.o]
    * Reading 4 bytes from 0xa6d38 in the heap.
    * Address 0xa6d38 is 32 bytes into a freed block at 0xa6d18 of 47 bytes.
    * This block was allocated from:
         malloc [rtlib.o]
         c2n6Fi_Pv___1 [libCrun.so.1]
         void*operator new(unsigned) [rtlib.o]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__getRep(unsigned,unsigned) [libCstd.so.1]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string(const char*,const std::allocator<char>&) [libCstd.so.1]
         main [string.cpp:9]
         _start         [crt1.o]
    * There have been 0 frees since this block was freed from:
         free [rtlib.o]
         c2k6FPv_v___1 [libCrun.so.1]
         void operator delete(void*) [rtlib.o]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [libCstd.so.1]
         main [string.cpp:13]
         _start         [crt1.o]
    **** Purify instrumented string (pid 13888) ****
    FUM: Freeing unallocated memory:
    * This is occurring while in:
         free [rtlib.o]
         c2k6FPv_v___1 [libCrun.so.1]
         void operator delete(void*) [rtlib.o]
         void std::allocator<char>::deallocate(void*,unsigned) [memory:396]
         void std::allocator_interface<std::allocator<char>,char>::deallocate(char*,unsigned) [memory:493]
         void std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__unLink() [string:916]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string() [string:297]
         main [string.cpp:15]
         _start         [crt1.o]
    * Attempting to free block at 0xa6d18 already freed.
    * This block was allocated from:
         malloc [rtlib.o]
         c2n6Fi_Pv___1 [libCrun.so.1]
         void*operator new(unsigned) [rtlib.o]
         __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >*std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__getRep(unsigned,unsigned) [libCstd.so.1]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string(const char*,const std::allocator<char>&) [libCstd.so.1]
         main [string.cpp:9]
         _start         [crt1.o]
    * There have been 1 frees since this block was freed from:
         free [rtlib.o]
         c2k6FPv_v___1 [libCrun.so.1]
         void operator delete(void*) [rtlib.o]
         std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) [libCstd.so.1]
         main [string.cpp:13]
         _start         [crt1.o]
    **** Purify instrumented string (pid 13888) ****
    Current file descriptors in use: 5
    FIU: file descriptor 0: <stdin>
    FIU: file descriptor 1: <stdout>
    FIU: file descriptor 2: <stderr>
    FIU: file descriptor 26: <reserved for Purify internal use>
    FIU: file descriptor 27: <reserved for Purify internal use>
    **** Purify instrumented string (pid 13888) ****
    Purify: Searching for all memory leaks...
    Memory leaked: 0 bytes (0%); potentially leaked: 0 bytes (0%)
    Purify Heap Analysis (combining suppressed and unsuppressed blocks)
    Blocks Bytes
    Leaked 1 47
    Potentially Leaked 3 107
    In-Use 26 123707
    Total Allocated 30 123861
    **** Purify instrumented string (pid 13888) ****
    Thread Summary : 1 threads in existence
    * Thread 0 [main thread]
    Stack Limit : (0xff3f0000 0xffbf0000), size = 0x800000
    **** Purify instrumented string (pid 13888) ****
    * Program exited with status code 0.
    * 6 access errors, 6 total occurrences.
    * 0 bytes leaked.
    * 0 bytes potentially leaked.
    * Basic memory usage (including Purify overhead):
    331996 code
    92532 data/bss
    131072 heap (peak use)
    1856 stack
    * Shared library memory usage (including Purify overhead):
    1456 libpure_solaris2_init.so.1 (shared code)
    252 libpure_solaris2_init.so.1 (private data)
    2255839 libCstd.so.1_pure_p3_c0_105022037_58_32_3592668S (shared code)
    28588 libCstd.so.1_pure_p3_c0_105022037_58_32_3592668S (private data)
    54269 libCrun.so.1_pure_p3_c0_105022037_58_32_1244656S (shared code)
    24688 libCrun.so.1_pure_p3_c0_105022037_58_32_1244656S (private data)
    139048 libm.so.1_pure_p3_c0_105022037_58_32_1289524S (shared code)
    1224 libm.so.1_pure_p3_c0_105022037_58_32_1289524S (private data)
    3968 libw.so.1_pure_p3_c0_105022037_58_32_1187000S (shared code)
    0 libw.so.1_pure_p3_c0_105022037_58_32_1187000S (private data)
    132888 libthread.so.1_pure_p3_c0_105022037_58_32_1408248S (shared code)
    26192 libthread.so.1_pure_p3_c0_105022037_58_32_1408248S (private data)
    1105144 libc.so.1_pure_p3_c0_105022037_58_32_1180272S (shared code)
    111036 libc.so.1_pure_p3_c0_105022037_58_32_1180272S (private data)
    2404 libdl.so.1_pure_p3_c0_105022037_58_32_5292S (shared code)
    4 libdl.so.1_pure_p3_c0_105022037_58_32_5292S (private data)
    13192 libinternal_stubs.so.1 (shared code)
    932 libinternal_stubs.so.1 (private data)
    31866 librt.so.1_pure_p3_c0_105022037_58_32_1269024S (shared code)
    2044 librt.so.1_pure_p3_c0_105022037_58_32_1269024S (private data)
    44541 libaio.so.1_pure_p3_c0_105022037_58_32_1227208S (shared code)
    6104 libaio.so.1_pure_p3_c0_105022037_58_32_1227208S (private data)
    14112 libc_psr.so.1_pure_p3_c0_105022037_58_32 (shared code)
    0 libc_psr.so.1_pure_p3_c0_105022037_58_32 (private data)

    I've run this same testcase with -xarch={generic,v8,v8a,v8plus,v8plusa,v9,v9a}, which are the only architectures I can try. Both -xarch=v8plus and -xarch=v8plusa generate code which has the issues identified above. All of the other targets are OK according to purify. What I don't understand is that the symlinks in the SUNWspro/lib/{arch} directories for all of the v8 variants point to the same libCstd in /usr/lib.
    I've also upgraded to the newest version of purify from Rational:
    purify -versionVersion 2003.06.00 Solaris 2
    Could someone from Sun please see if they can reproduce this problem?
    Thanks.

  • Error in creating user for solaris

    Hi.....
    I am using IDM 6.0 version and configured resource solaris in IDM...but when tried to assign a user to solaris....the user is getting created in solaris box and resource exit for that user...but when tried to click on user for display or to update getting the Error
    ERROR:Unresolved rule: getDefaultShell.
    I dont know what to do...can any one help me please.....

    I got solution to my question i had to import shellrule file from /sample directory to IDM.

  • Error while creating zone inside Solaris 11.2 beta ldom

    hi
    i have installed solaris 11.2 in ldom (sparc ovm 3.1 )
    and i try to create zone inside guest domain , it always give this error
    Error occurred during execution of 'generated-transfer-3442-1' checkpoint.
            Failed Checkpoints:
            Checkpoint execution error:
                    Error refreshing publishers, 0/1 catalogs successfully updated:
                    Framework error: code: 28 reason: Operation too slow. Less than 1024 bytes/sec transfered the last 30 seconds
                    URL: 'http://pkg.oracle.com/solaris/beta/solaris/catalog/1/catalog.summary.C' (happened 4 times)
    Installation: Failed.  See install log at /system/volatile/install.3442/install_log
    ERROR: auto-install failed.

    You might want to tune PKG_CLIENT_LOWSPEED_TIMEOUT before running "zoneadm install"
    For example:
    # export PKG_CLIENT_LOWSPEED_TIMEOUT=300

  • Install error for Oracle 10g on Solaris x86 64-bit.  NETCA won't run

    Hi All,
    I'm installing Oracle 10.2.0.1 on Solaris x86 64-bit. I run the Oracle installer and all runs well until the NETCA portion of the install. It then errors (error file below). When i attempt to run NETCA outside of the installer i'm getting the same error output. I have verified my OS version and that all dependent packages are installed. I'm not sure what is causing this. Any help would be greatly appriciated.
    thanks, dave
    ERROR FILE:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xFEEF24E8
    Function=strchr+0x8
    Library=/lib/libc.so.1
    Current Java thread:
         at oracle.net.common.NetGetEnv.getDNSDomain(Native Method)
         at oracle.net.ca.ConfigureProfile.setDefaultProfileParams(Unknown Source)
         at oracle.net.ca.InitialSetup.setupConfigObjects(Unknown Source)
         at oracle.net.ca.InitialSetup.<init>(Unknown Source)
         at oracle.net.ca.NetCA.main(Unknown Source)
    Dynamic libraries:
    0x8050000      /data1/oracle/oracle/jdk/jre/bin/java
    0xfefc0000      /lib/libthread.so.1
    0xfefd0000      /lib/libdl.so.1
    0xfeed0000      /lib/libc.so.1
    0xfea00000      /data1/oracle/oracle/jdk/jre/lib/i386/client/libjvm.so
    0xfee80000      /usr/lib/libCrun.so.1
    0xfee50000      /lib/libsocket.so.1
    0xfedc0000      /lib/libnsl.so.1
    0xfeda0000      /lib/libm.so.1
    0xfeeb0000      /usr/lib/libsched.so.1
    0xfe9a0000      /lib/libm.so.2
    0xfed50000      /lib/libscf.so.1
    0xfe980000      /lib/libdoor.so.1
    0xfe960000      /lib/libuutil.so.1
    0xfe940000      /lib/libmd5.so.1
    0xfe920000      /lib/libmp.so.2
    0xfe8e0000      /data1/oracle/oracle/jdk/jre/lib/i386/native_threads/libhpi.so
    0xfe890000      /data1/oracle/oracle/jdk/jre/lib/i386/libverify.so
    0xfe850000      /data1/oracle/oracle/jdk/jre/lib/i386/libjava.so
    0xfe830000      /data1/oracle/oracle/jdk/jre/lib/i386/libzip.so
    0xf1a00000      /usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3
    0xfc780000      /usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3
    0xf13c0000      /data1/oracle/oracle/jdk/jre/lib/i386/libawt.so
    0xf0f90000      /data1/oracle/oracle/jdk/jre/lib/i386/libmlib_image.so
    0xf0f30000      /data1/oracle/oracle/jdk/jre/lib/i386/motif21/libmawt.so
    0xf0d50000      /usr/dt/lib/libXm.so.4
    0xf0cf0000      /usr/openwin/lib/libXt.so.4
    0xf0cc0000      /usr/openwin/lib/libXext.so.0
    0xf1890000      /usr/openwin/lib/libXtst.so.1
    0xf0c30000      /usr/openwin/lib/libX11.so.4
    0xf0be0000      /usr/openwin/lib/libdps.so.5
    0xf0a90000      /usr/openwin/lib/libSM.so.6
    0xf0a70000      /usr/openwin/lib/libICE.so.6
    0xf0a30000      /data1/oracle/oracle/lib32/libnjni10.so
    0xefe00000      /data1/oracle/oracle/lib32/libclntsh.so.10.1
    0xefc60000      /data1/oracle/oracle/lib32/libnnz10.so
    0xf0a10000      /lib/libkstat.so.1
    0xefc40000      /lib/libgen.so.1
    0xefc20000      /lib/librt.so.1
    0xefbf0000      /lib/libaio.so.1
    0xefbd0000      /data1/oracle/oracle/lib32/libldapjclnt10.so
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 343K [0xf1e00000, 0xf1ea0000, 0xf22e0000)
    eden space 512K, 55% used [0xf1e00000, 0xf1e467f8, 0xf1e80000)
    from space 64K, 96% used [0xf1e80000, 0xf1e8f798, 0xf1e90000)
    to space 64K, 0% used [0xf1e90000, 0xf1e90000, 0xf1ea0000)
    tenured generation total 1408K, used 338K [0xf22e0000, 0xf2440000, 0xf5e00000)
    the space 1408K, 24% used [0xf22e0000, 0xf2334ab8, 0xf2334c00, 0xf2440000)
    compacting perm gen total 4096K, used 3580K [0xf5e00000, 0xf6200000, 0xf9e00000)
    the space 4096K, 87% used [0xf5e00000, 0xf617f170, 0xf617f200, 0xf6200000)
    Local Time = Tue Aug 29 13:49:22 2006
    Elapsed Time = 225
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
    #

    I have the same problem on Linux Debian 3.0.
    My /etc/hosts looks like:
    127.0.0.1     localhost.localdomain     localhost
    #192.168.100.1     bt.lan.home     bt
    #192.168.100.5     jacek.lan.home     jacek
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhostsPlease help.

  • Error in mount FAT in Solaris 10 x86.

    Hi all,
    I did try mount an FAT partition in Solaris, but I receive an error, see:
    # /usr/bin/prtpart /dev/rdsk/c1d0p0 -ldevs
    Fdisk information for device /dev/rdsk/c1d0p0
    ** NOTE **
    /dev/dsk/c1d0p0 - Physical device referring to entire physical disk
    /dev/dsk/c1d0p1 - p4 - Physical devices referring to the 4 primary partitions
    /dev/dsk/c1d0p5 ... - Virtual devices referring to logical partitions
    Virtual device names can be used to access EXT2 and NTFS on logical partitions
    /dev/dsk/c1d0p1 IFS: NTFS
    /dev/dsk/c1d0p2 WIN95 Extended(LBA)
    /dev/dsk/c1d0p5 IFS: NTFS
    /dev/dsk/c1d0p6 IFS: NTFS
    */dev/dsk/c1d0p7 WIN95 FAT32(Upto 2047GB)*
    in bold is the partition that I want mount.
    dir that I want mount in:
    # pwd
    /mnt/windows
    # mount -F pcfs /dev/dsk/c1d0p7 /mnt/windows
    mount: /dev/dsk/c1d0p7 is already mounted or /mnt/windows is busy
    /dev/dsk/c1d0p7 is not mounted, when I navigate to mnt/windows it is void..
    what is wrong?
    thanks to all...

    Well, you can't stand in the directory you are trying to mount, if you stand in '/mnt/windows' you will not be able to mount anything over it. (thats what 'busy' means in this context).
    Basically your pwd can be anything except the mountpoint.
    Hence, try a 'cd /' first, then try again.
    .7/M.

  • Error on Installing 10gr2 on solaris 8

    Hi ,
    I am Installing Oracle 10gR2 on Sun Sparc server with Solaris 8 installed.
    I had installed all the required packages on it. But while installation links the files it gives the error, the output from the install log is :-
    INFO: Start output from spawned process:
    INFO: ----------------------------------
    INFO:
    INFO: Linking /oracle/home/app/product/10.2.0/Db_1/precomp/lib/proc
    INFO: ld.so.1: ld: fatal: libld.so.4: open failed: No such file or directory
    ld.so.1: ld: fatal: relocation error: file /usr/ccs/bin/sparcv9/ld: symbol ld64_main: referenced symbol not found
    INFO: make: Fatal error:
    INFO: *** Error code 137
    INFO: Command failed for target `
    INFO: /oracle/home/app/product/10.2.0/Db_1/precomp/lib/proc'
    INFO: End output from spawned process.
    The Ld is found in path /usr/ccs/bin but still it is giving error, so can anybody help me to how to link this ld properly to complete the installation.
    Thanks
    Hardip

    Hi Friends,
    I made a Fresh Install of Solaris 10 on my Machine and updated all the latest patches. Now the Oracle 10g Installation worked fine without any error.
    Thanks
    Hardip

  • Error in Installing webutil on solaris server [solved alternatively]

    I am trying to install webutil on the solaris server but I am getting following error when I am trying to run the application in Internet explorer.
    Loading http://oradev.hmppd:7777/forms/java/frmwebutil.jar from JAR cache
    Loading http://oradev.hmppd:7777/forms/java/frmall_jinit.jar from JAR cache
    Loading http://oradev.hmppd:7777/forms/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    Forms Applet version is : 10.1.2.0
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at oracle.forms.webutil.common.VBeanCommon.<clinit>(VBeanCommon.java:156)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I have completed all the setup steps for webutil as given in the document. When I use the same steps on windows it works but when I am trying to do it on solaris it
    is giving error.
    Kindly reply as soon as possible as I am in the middle of an implementation..
    Your kind attention and suggestions are valueable
    Thanks for the same
    Shyamal Kumar
    Message was edited by:
    Shyamal Kumar

    I have updated the class path. But what do i have to do in jvm.
    Any way there is one more solution which worked.
    Step 1 . Install Oracle Forms 10.1.2.0.2
    Step 2. Copy jacob.jar in java home
    Step 3. Copy jacob.dll into webutil directory in forms directory.
    Thats it.

  • JRE error when starting runInstaller on Solaris 8

    Help! I'm getting the following error when I try to start ./runInstaller :
    "The Java Runtime Environment was not found at /tmp/OraInstall/jre/bin/jre. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.1.7 or higher and try again.
    : No such file or directory"
    Since Solaris 8 already comes with 1.1.8 and 1.2.2 installed what could be causing this?
    Thanks!
    Evan
    [email protected]

    This could be a problem with mounting of CD.
    If you are not using Solaris Volume Management software. Execute the following commands as root user.
    prompt> mkdir /cdrom
    prompt> mount -r -F hsfs device_name /cdrom
    prompt> exit
    Regards
    Ranga
    null

  • A user has the authorizations in his UMR, but error still appearing

    Hi all,
                I have an issue with several issue in a company i am working for. The issue is the following:
    When a user wants to do something SAP gives an authorization error for an authorization that the user has in his UMR. When i remove any other role, the user can execute the transaction.
    I have seen the RZ10 looking for auth/auth_number_in_userbuffer but it does not exist!!!! what can i do????????
    Thanks In advance!!!

    Hi,
    Firstly, auth/auth_number_in_userbuffer is obsolete. Check for parameter auth/new_buffering. The value should be set to 4. Also, ensure that the PFCG_TIME_DEPENDENCY job is scheduled and running every day.
    Refer to SAP note 209899 for more information on the new parameter.
    Regards,
    Raghu

  • Confusing error building existing code on Solaris 10 Intel (AMD64)

    I have Solaris 10 on AMD64, using the bundled GCC
    gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
    I'm attempting to build part of our large C++ application and am getting a strange link error:
    ld: fatal: relocation error: file: ./obj_g/amd64-solaris10-gcc40/mksdic.o section: .rel.debug_info symbol: : relocation against a discarded symbol,
            symbol is part of discarded section: .gnu.linkonce.t._ZNK18CompressedADFSARep21get_transition_vectorEv
    collect2: ld returned 1 exit statusThe mangled symbol (containing ADFSARep) refers to a member function in the code.
    Googling for this error only returns hits on people attempting to bootstrap GCC itself, and comes down to an incompatibility between Solaris ld and GNU ld. From what I've read elsewhere the recommendation is to use GNU as but Sun ld, so I'm completely confused.
    Simple C++ programs work fine, of course. The executable in question uses several .o files as well as a number of static libraries. However, I can get a similar error if I construct a command-line that just links two of the object files without including any of the static libraries.
    I also tried with GCC 4.0.x, same result.
    Any and all help and suggestions are appreciated.
    Tom Emerson

    Try to ask your question in Solaris 10 x86 forum, since the question seems to be amd64 specific.
    Also, could you provide (if possible) those two c++ files source which object files fail to link along with the command line.
    As a side note, would you consider an option to migrate your project to SunStudio?

  • Error when installing Nagios on solaris 11

        Hello,
    I'm following these instructions (Building and Deploying Nagios on Oracle Solaris 11)  on how to build and install Nagios on a solaris 11 x86 box.  I get all the way to pkg install then I receive this error:
    root-/opt # pkg install nagios
    WARNING: The boot environment being modified is not the active one.  Changes
    made will not be reflected on the next boot.
               Packages to install:  1
                Services to change:  1
           Create boot environment: No
    Create backup boot environment: No
    DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
    Completed                                1/1     1294/1294    15.1/15.1    0B/s
    PHASE                                          ITEMS
    Installing new actions                        1/1407Action install failed for 'nagios' (pkg://ops-software/nagios):
      KeyError: 'gid'
    The Boot Environment solaris-2-backup-1 failed to be updated. A snapshot was taken before the failed attempt and is mounted here /tmp/tmpeH7KLq. Use 'beadm unmount solaris-2-backup-10' and then 'beadm activate solaris-2-backup-10' if you wish to boot to this BE.
    pkg: An unexpected error happened during install: 'gid'
    Traceback (most recent call last):
      File "/usr/bin/pkg", line 6373, in handle_errors
        __ret = func(*args, **kwargs)
      File "/usr/bin/pkg", line 6359, in main_func
        pargs=pargs, **opts)
      File "/usr/bin/pkg", line 2177, in install
        update_index=update_index)
      File "/usr/bin/pkg", line 1950, in __api_op
        ret_code = __api_execute_plan(_op, _api_inst)
      File "/usr/bin/pkg", line 1523, in __api_execute_plan
        api_inst.execute_plan()
      File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 2706, in execute_plan
        self._img.imageplan.execute()
      File "/usr/lib/python2.6/vendor-packages/pkg/client/imageplan.py", line 4210, in execute
        p.execute_install(src, dest)
      File "/usr/lib/python2.6/vendor-packages/pkg/client/pkgplan.py", line 516, in execute_install
        dest.install(self, src)
      File "/usr/lib/python2.6/vendor-packages/pkg/actions/group.py", line 80, in install
        if (cur_attrs["gid"] != self.attrs["gid"]):
    KeyError: 'gid'
    pkg: This is an internal error in pkg(5) version f840f00cdeff.  Please log a
    Service Request about this issue including the information above and this
    message.
    root-/opt #
    I've installed other packages with pkg so I don't think its a error with the utility.  I've tried with 2 different versions of Nagios (4.0.7 and 4.0.8) both times getting the same error.  Has anyone seen this error before? any ideas on whats causing it?
    Thanks

    I have not done this myself, and the error you got should be more clear. What version of Solaris 11 are you using?  I think the issue may be in the default GID that is assigned. The instructions don't add a GID to the group action:
    group groupname=nagios
    user username=nagios group=nagios
    The pkg(5) manpage says this is optional:
         gid
             The group's unique numerical id. The  default  value  is the first free group under 100.
    You may want to add a specific GID to see if it solves the issue:
    group groupname=nagios gid=nnn   (where nnn is an unused group ID)
    -- Alan

  • Error messages during booting of Solaris 8 zone

    I have installed a Solaris 8 zone from a flash archive of a Solaris 8 server that is currently in production. I get no errors during the installation of the zone and when I boot the zone I get the following messages on the zone console:
    SunOS Release 5.8 Version Generic_Virtual 64-bit
    Copyright 1983-2000 Sun Microsystems, Inc. All rights reserved
    Hostname: madison1xl
    The system is coming up. Please wait.
    NIS domainname is eam.rjf.com
    operation failed, Not owner
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    device name given is not a stream device (No such device or address)
    operation failed, Not owner
    operation failed, Not owner
    operation failed, Not owner
    operation failed, Not owner
    operation failed, Not owner
    operation failed, Not owner
    operation failed, Not owner
    operation failed, Not owner
    operation failed, Not owner
    operation failed, Not owner
    Sun BluePrints network security settings applied.
    syslog service starting.
    I am not sure what is causing these errors. The zone appears to be running properly, but I am concerned that something is not starting during the boot process. /var/adm/messages file does not show any errors. Thanks for any help you can give me.

    Thanks. That helped alot. I found out that all the messages came from a start up script named nddconfig. Since the ngz cannot change anything about devices this was causing a lot of errors. I stopped the script from starting and now do not receive any errors.

  • Tt_open() Fail, no Error code too.. from solaris 10 x86  to solaris 8 spac

    when i try remote tt_open() alway fail. in solaris10 x86
    between solaris10 x86 and solaris8 spac. it is version problem?
    but strange one is solaris8-spac can be open to solaris10-x86.
    this is my test list.
    1. solaris 8(spac) can be tt_open() to solaris10(x86).. : Sucess (solaris8->solaris10)
    2. solaris10(x86) can be tt_open() to solaris10(x86).. : Sucess(solaris10->solaris10)
    3. solaris8(spac) can be tt_open() to solaris8(spac) : Sucess(solaris8->solaris8)
    4. solaris10(x86) can not tt_open() to solaris8(spac) : Fail (solaris10->solaris8)
    plese some body tell me how can do that.. it is each version problem? or not..
    getting session is sucess but can not be tt_open..
    here is source code and log file. this code almost same to tooltalk reference document.
    and before the system (solaris 8-spac) we are normally use like this.
    somebody any solution?
    /////////////////////////////////// code  ////////////////////////////////////////
    tt_status status;
    char* sessid;
        sessid = findRemoteSession(remHostId);
        cout << "RemHostId: " << remHostId << endl;
        cout << "sessid: " << sessid << endl;
        if( !sessid )
            throw PDPBException("Requested Host Not Responsive");
        status = tt_default_session_set(sessid);
        cout << "status: " << status << endl;
        if( status != TT_OK )
           throw PDTTException(status);
    title = tt_open();
    cout << "Try tt_Open() => title : " << title << endl;  // << this return is Null  when i try remote tt_open() to (solaris10->solaris8)
    if(TT_OK != (status = tt_ptr_error(title)))
       cout << "tt_ptr_error" << endl;       ///// ERROR alwasy..................
       throw PDTTException(status);
    zip = tt_fd();
    if(TT_OK != (status = tt_int_error(zip)))
       throw PDTTException(status);
    /////////////////////////////////// Code end  ///////////////////////////////////////////////////////////////////////////// log ////////////////////////////////////////
    master is alive
    looking for master:0:
    located master:0 (P 01 862 1289637086 1 1 102 10.10.104.165 5 master)
    RemHostId: master
    sessid: P 01 862 1289637086 1 1 102 10.10.104.165 5 master
    status: 0
    Try tt_Open() => title : N.18KZFF 01 862 1289637086 1 1 102 10.10.104.165 5 master
    init Func()
    init Func() End
    End init masterHostId: master
    sourceName: RECEIVER_REMOTE
    Start init masterHostId: client1
    RemHostId: client1
    client1is alive
    looking for client1:0:
    located cc60:0 (P 01 585 1289637086 1 1 102 10.10.104.164 5 client1)
    RemHostId: client1
    sessid: P 01 585 1289637086 1 1 102 10.10.104.164 5 client1
    status: 0
    Try tt_Open() => title :
    tt_ptr_error
    ///////////////////////////////////// log End ////////////////////////////////////////

    No. Packet capturing is not working in non-global zones.
    You can not manipulate network interfaces in a non global zones at all. You can add some types of devices to the non global zones, but no network adapters.
    All ip filtering, packet capturing business can only be done in the global zone.
    regards,
    Imre

Maybe you are looking for