From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,55ecd1095e92181c X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-23 15:02:49 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: "Kenneth Block" Newsgroups: comp.unix.tru64 References: Subject: Re: C++ Exception runtime problem X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: Date: Mon, 23 Sep 2002 22:10:15 GMT NNTP-Posting-Host: 16.47.202.125 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1032819015 16.47.202.125 (Mon, 23 Sep 2002 15:10:15 PDT) NNTP-Posting-Date: Mon, 23 Sep 2002 15:10:15 PDT Organization: Compaq, part of the new hp Xref: archiver1.google.com comp.unix.tru64:8699 By any chance, do you have a class called Mutex? If so, it could be interfering with the class of the same name that exists in libcxx.so. "Major" wrote in message news:abdd6ed8.0209231339.28d6c3f7@posting.google.com... > I am trying to port a multi-threaded (pthreads) C++ application to > Tru64 and have managed to successfully compile and link it, but it > will not run, when executing the program I get the following error > (below). Any ideas about the cause/solutions would be appreciated, it > seems to happen before my code even begins execution: > > uname: OSF1 mymachine T5.1 585 alpha > > compiler: Compaq C++ V6.5-014 for Compaq Tru64 UNIX T5.1-9 (Rev. 585) > Compiler Driver V6.5-014 (cxx) cxx Driver > > compiler flags: > cxx -x cxx -using_std -pthread -tweak -call_shared > -D__USE_STD_IOSTREAM -D_TS_ERRNO -DALPHA -DALPHA5 -DI18N_COMPILE > -DUNSAFE_STRLEN -g -D_RWSTD_CONTAINER_BUFFER_SIZE=1 -DSVR4 -DDEBUG > -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS ... > > Error: > > myProgram > exception system: exiting due to multiple internal errors: > exception dispatch or unwind stuck in infinite loop > exception dispatch or unwind stuck in infinite loop > exception system: exiting due to multiple internal errors: > exception dispatch or unwind stuck in infinite loop > exception dispatch or unwind stuck in infinite loop > Abort (core dumped) > > > > Here is the stack trace: > dbx version 5.1 > Type 'help' for help. > Core file created by program "jfd" > > thread 0x8 signal IOT/Abort trap at >*[_sigprocmask, 0x3ff800d2118] > bne a3, 0x3ff800d2120 > (dbx) where > > 0 _sigprocmask(0x3ff00000000, 0x50ffe0000, 0x3ff8011a1f8, 0x6, 0x3ff80171424) [0x3ff800d2118] > 1 __sigprocmask(0x3ff8011a1f8, 0x6, 0x3ff80171424, 0x0, 0x3ff80190250) > [0x3ff800d420c] > 2 abort(0x3ff807f2210, 0x20, 0x0, 0x0, 0x600000000) [0x3ff8019024c] > 3 __exc_raise_status_exception(0x0, 0x0, 0x0, 0x0, 0x3ff800beeb0) > [0x3ff807f220c] > 4 exc_raise_status_exception(0x0, 0x0, 0x3ff800beeb0, 0x0, > 0x3ff807f2f04) [0x3ff807f227c] > 5 exc_dispatch_exception(0x11fffbf50, 0x7, 0x11fff9e80, 0x140000000, > 0x20c000) [0x3ff807f2f00] > 6 exc_raise_signal_exception(0x60ffe0003, 0x80, 0x0, 0x3ff805c87c8, > 0x1) [0x3ff807f39e0] > 7 (unknown)() [0x3ff805b7bf0] > 8 __nxm_thread_kill(0x10, 0x1, 0x0, 0x0, 0x3ff800d7ab4) > [0x3ff805c87c8] > 9 pthread_kill(0x0, 0x0, 0x0, 0x1, 0x3ff00000000) [0x3ff805b6034] > 10 (unknown)() [0x3ff805be7cc] > 11 __tis_raise(0x3ff00000000, 0x50ffe0000, 0x3ff8011a1f8, 0x6, > 0x3ff80171424) [0x3ff8011a1f4] > 12 raise(0x3ff8011a1f8, 0x6, 0x3ff80171424, 0x0, 0x3ff801901d0) > [0x3ff80171420] > 13 abort(0x3ff807f2210, 0x3ff800beeb0, 0x3ff805b7940, 0x0, > 0x600000000) [0x3ff801901cc] > 14 __exc_raise_status_exception(0x0, 0x0, 0x0, 0x0, 0x3ff800beeb0) > [0x3ff807f220c] > 15 exc_raise_status_exception(0x0, 0x0, 0x3ff800beeb0, 0x0, > 0x3ff807f2f04) [0x3ff807f227c] > 16 exc_dispatch_exception(0x11fffbf50, 0x11fffb088, 0x11fffab00, 0x0, > 0x3ff807f23ac) [0x3ff807f2f00] > 17 exc_raise_exception(0x0, 0x0, 0x0, 0x0, 0x0) [0x3ff807f2400] > 18 __exc_raise_status_exception(0x0, 0x3ff807f2244, 0x0, 0x0, 0x0) > [0x3ff807f2244] > 19 exc_raise_status_exception(0x0, 0x0, 0x0, 0x11fffb6d9, > 0x3ff807f2f04) [0x3ff807f227c] > 20 exc_dispatch_exception(0x11fffbf50, 0x3ffc0004300, 0x11fffb640, > 0x174400003b95, 0x3ff80010fd0) [0x3ff807f2f00] > 21 exc_raise_signal_exception(0xb0ffe0003, 0x80, 0x0, 0x3ff81f1ab68, > 0x1) [0x3ff807f39e0] > 22 (unknown)() [0x3ff805b7bf0] > 23 Lock__13InternalMutexXv() [0x3ff81f1ab64] > 24 lock__5MutexXv() [0x3ff81f2a0f0] > 25 __ct__13Iostream_initXv() [0x3ff81f28c38] > 26 __init_sti__cxxl_init_cxx_2e91e52e() [0x3ff81f160a8]