X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Sun, 21 Apr 2002 18:23:56 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Alex Vinokur" Message-Id: <7458-Sun21Apr2002182355+0300-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (alexvn@bigfoot.com) Subject: Re: uclock_t & gcc 3.0.4 on Windows-2000 References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Alex Vinokur" > Newsgroups: comp.os.msdos.djgpp > Date: Sun, 21 Apr 2002 15:17:15 +0200 > > start_uclock_ = 35292 > end_uclock_ = 35306 > start_uclock_ = -29321 > end_uclock_ = -29307 > Assertion failed at xxx.h line 34: start_uclock_ >= 0 > Exiting due to signal SIGABRT > Raised at eip=00007c8e > eax=000bf9ec ebx=00000120 ecx=00000000 edx=00000000 esi=00000054 edi=0003fb60 > ebp=000bfa98 esp=000bf9e8 program=D:\_T02_P~1\a.exe > cs: sel=01f7 base=01e80000 limit=000cffff > ds: sel=01ff base=01e80000 limit=000cffff > es: sel=01ff base=01e80000 limit=000cffff > fs: sel=01cf base=00012150 limit=0000ffff > gs: sel=020f base=00000000 limit=0010ffff > ss: sel=01ff base=01e80000 limit=000cffff > App stack: [000bfb60..0003fb60] Exceptn stack: [0003fabc..0003db7c] > > Call frame traceback EIPs: > 0x00007bb4 > 0x00007c8e > 0x000057f9 > 0x00017cc6 > 0x0000161b > 0x00005278 > ######################### > > We can see that behavior of uclock_t is not long-long-behavior. > > Any explanation? I can suggest two possible explanations: - the C++ library has a bug when printing long long variables via cout (did you try an equivalent C program?); - uclock tries to reprogram the system timer chip, but Windows 2000, being of the NT family, doesn't let you do so.