0 Replies Latest reply: Apr 24, 2008 5:45 AM by 807581 RSS

    unsupported architecture or file format error at line 13 of file 'dbxrc'

      Hi ,

      I have downloaded sun studio 12

      bash-3.00# version
      Machine hardware: i86pc
      OS version: 5.10
      Processor type: i386
      Hardware: i86pc

      The following components are installed on your system:

      Sun Studio 12
      Sun Studio 12 C Compiler
      Sun Studio 12 C++ Compiler
      Sun Studio 12 Tools.h++ 7.1
      Sun Studio 12 C++ Standard 64-bit Class Library
      Sun Studio 12 Garbage Collector
      Sun Studio 12 Fortran 95
      Sun Studio 12 Debugging Tools (including dbx)
      Sun Studio 12 IDE
      Sun Studio 12 Debugger GUI
      Sun Studio 12 Performance Analyzer (including collect, ...)
      Sun Studio 12 X-Designer
      Sun Studio 12 VIM editor
      Sun Studio 12 XEmacs editor
      Sun Studio 12 Performance Library
      Sun Studio 12 LockLint
      Sun Studio 12 Building Software (including dmake)
      Sun Studio 12 Documentation Set
      Sun Studio 12 /usr symbolic links and GNOME menu item

      version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12
      version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9 SunOS_i386 Patch 124864-01 2007/07/25
      version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.3 SunOS_i386 Patch 127002-01 2007/07/18
      version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.6 SunOS_i386 Patch 124873-01 2007/07/12
      version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Analyzer 7.6 SunOS_i386 Patch 126996-01 2007/07/17
      version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19


      I am basically trying to analyze the core file that has been generated during a directory server 6 crash.

      I am continuously getting the following error when running the opencore command from the pkg_app script

      # ./opencore
      dbx: /opt/suresh/pkg_app/app/ns-slapd has unsupported architecture or file format
      error at line 13 of file 'dbxrc'
      dbx: warning: using the alternate init file: dbxrc

      I have set the following environment variables

      dbxenv core_lo_pathmap on
      dbxenv suppress_startup_message 6.2
      pathmap /distr/sundirsvr/6.2EE/ds6/lib/64 $PWD/app
      pathmap /distr/sundirsvr/6.2EE/ds6/lib/sparcv9 $PWD/app
      pathmap /distr/sundirsvr/6.2EE/dsee6/private/lib/sasl2/sparcv9 $PWD/app
      pathmap /distr/sundirsvr/6.2EE/dsee6/private/lib/sparcv9 $PWD/app
      pathmap /lib $PWD/app
      pathmap /lib/sparcv9 $PWD/app
      pathmap /platform/sun4v/lib/sparcv9 $PWD/app
      pathmap /usr/lib/sparcv9 $PWD/app
      pathmap /usr/platform/SUNW,Sun-Fire-T200/lib $PWD/app
      loadobject -exclude libposix4.so
      debug $PWD/app/ns-slapd $COREFILE

      What could be the reason for the above error being shown continuously. Am I missing anything ?