dbx error

hello all,

When i try to load a program in Sun Studio 11 it gives me this error and exits,

connecting to dbx has failed: wait(2) failure

i tried executing the command dbx , it said some segmentation fault and core dumped.

here is the output of the command 'pstack core'

-

core 'core' of 3352: dbx

d2514327 cpc_close (0) + 17

080f4466 ? (0, 1, 186a3, 1f, 0, 846cfc8)

080f4600 ? (0, 0, d26c0df8, 8046d88, 80f199e, 80f1900)

080f467b hwcfuncs_open (80f1900, 837689c, 8428a94, 8428a98, 8428a9c) + 23

080f199e ? (d259fd10, 16, 80471f4, 80471f4, 8202fd6, 8047390)

080f326c hwc_get_cpc_cpuver (8047390, 80472b4, 83884c0, 0, 80471ec, 6f48794d) + 14

08202fd6 __1cJColl_Ctrl2t5B6Mi_v_ (846cfc8, 1) + 11e

08200333 __1cMsp_new_state6FpnGTarget__pnLDbxCollCtrl__ (83884c0) + 27

080f9b42 main (1, 80472b4, 80472bc) + 13e

080f0e0a _start (1, 80473f8, 0, 80473fc, 804744e, 8047463) + 7a

here is the output of the command 'truss -f dbx'

http://www.geocities.com/anand_bheemaraju/files/dump.txt

regards,

Anand B

[1125 byte] By [anand-ba] at [2007-11-26 16:32:16]
# 1
Do you have the latest patches applied? Can you try unsetting LD_LIBRARY_PATH?Paul
Paul_Floyda at 2007-7-8 22:56:52 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

I found this thread in opensolaris>bugs section,

http://www.opensolaris.org/jive/thread.jspa?messageID=40111

I have the sun studio 11 installed in the base dir /export/home/opt

I can't get the patch http://www.tools.de/solaris/opensolaris/k7-cpc.patch installed in my system. Can you give me some info on how to go about installing it. since there is no file called opteron_pcbe.c in my system. By the way i am having an AMD Athlon 32 bit processor without cpc.

I found this patch http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-120762

but it is not helping me. Am i doing something wrong here ?

regards,

Anand B

anand-ba at 2007-7-8 22:56:52 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

> I found this thread in opensolaris>bugs section,

>

> http://www.opensolaris.org/jive/thread.jspa?messageID=

> 40111

Are you running OpenSolaris? If you are, then I don't believe that it is possible to install patches, at least, not with the version of sun studio that you can download from opensolaris.com.

> I have the sun studio 11 installed in the base dir

> /export/home/opt

>

> I can't get the patch

> http://www.tools.de/solaris/opensolaris/k7-cpc.patch

> installed in my system. Can you give me some info on

> how to go about installing it. since there is no file

> called opteron_pcbe.c in my system. By the way i am

> having an AMD Athlon 32 bit processor without cpc.

This is a 3rd party patch for part of the OpenSolaris source code. Do you have this installed?

> I found this patch

> http://sunsolve.sun.com/search/document.do?assetkey=ur

> n:cds:docid:1-21-120762

What error do you get?

Normally, you need to be root, and to use the -G option for Sun Studio patches.

Paul

Paul_Floyda at 2007-7-8 22:56:52 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4

If you install Sun Studio 11 using the installer that comes with it (instead

of using a tarball) then you'll be able to install some Sun Studio patches.

The important one is the 'dbx' patch. I think you're using an intel/amd

processor, not sparc?

Here are the patch numbers.

121023 dbx - sparc

121616 dbx - intel

More information is here:

http://www.genunix.org/wiki/index.php/Sun_Studio_Patches

I think the opensolaris group is working on getting a new tarball

with more patches applied in it. You can check the Sun Studio

download page on opensolaris.org to see if an updated tarball

is available yet.

ChrisQuenellea at 2007-7-8 22:56:52 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5
Thanks it solved my problem.-- Anand B --
anand-ba at 2007-7-8 22:56:52 > top of Java-index,Development Tools,Solaris and Linux Development Tools...