From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5f5fdc334849c662 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-06-14 07:19:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail Message-ID: <3EEB2EDF.FC1730AD@_delete-this_hp.com> From: Joe Mario X-Mailer: Mozilla 4.79 [en] (X11; U; OSF1 V5.1 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Program crashing while exiting. Need help!! References: <8d55bd93.0306091352.4e46ff5@posting.google.com> <3EE5F5EF.FF98B13D@_delete-this_hp.com> <8d55bd93.0306110925.22e68e4d@posting.google.com> <3EE78113.E9EB071F@_delete-this_hp.com> <8d55bd93.0306121154.6898498@posting.google.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Date: Sat, 14 Jun 2003 14:39:00 GMT NNTP-Posting-Host: 16.141.0.18 X-Complaints-To: abuse@HP.com X-Trace: news.cpqcorp.net 1055601540 16.141.0.18 (Sat, 14 Jun 2003 07:39:00 PDT) NNTP-Posting-Date: Sat, 14 Jun 2003 07:39:00 PDT Organization: Hewlett-Packard Company Xref: archiver1.google.com comp.unix.tru64:10058 Ranga: I'm not sure I understand your second paragraph. The only supported way to link a program with threads is to use the driver and to specify -pthread. It is not recommended that you call the linker directly to link threaded programs and it is not recommended that you link with libpthread.so directly. Using the -pthread driver flag allows the driver to properly link with the threads library. Joe Ranga wrote: > > Thanks for the solution. > > I did the above check that you mentioned and we don't have the needed > patch. I searched and searched on the hp site without much help. I > find the hp site very unhelpful & difficult to browse. I couldn't find > the patch. Our sysad installed lots of patches 2 days back but that > didn't help (I couldn't find the symbol that U mentioned). > > I guess for now, I will go the with the workaround of putting -pthread > option on the linker line and not linking in -lpthread, -lrt, -lxti. > That makes the exe not crash. Of course, I am wary of this problem. > > Regards, > Ranga.