From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,55ecd1095e92181c,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-23 14:39:11 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: mlhoyt@hotmail.com (Major) Newsgroups: comp.unix.tru64 Subject: C++ Exception runtime problem Date: 23 Sep 2002 14:39:10 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 216.183.18.189 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032817150 11481 127.0.0.1 (23 Sep 2002 21:39:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 23 Sep 2002 21:39:10 GMT Xref: archiver1.google.com comp.unix.tru64:8697 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]