AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Delphi und Dual Core

Ein Thema von Bernhard Geyer · begonnen am 24. Feb 2006 · letzter Beitrag vom 24. Feb 2006
Antwort Antwort
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#1

Delphi und Dual Core

  Alt 24. Feb 2006, 07:32
Könnnte jemand mit einem Dual Core das unter UPDATE: Cores Duo/Solo: "My God, they're full of flaws", Eintrag "MOST Delphi programs don't work on this processors!!!!!!" nachvollziehen?
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
Benutzerbild von Union
Union

Registriert seit: 18. Mär 2004
Ort: Luxembourg
3.487 Beiträge
 
Delphi 7 Enterprise
 
#2

Re: Delphi und Dual Core

  Alt 24. Feb 2006, 12:38
Der Typ der das auf geek.com gepostet hat ist ja ein Super-Schlaumeier Das funktioniert auch auf ganz normalen aktuellen Rechnern nicht.
Zumal es ja wohl auch sinnlos ist einen solchen Wert in eine Uhrzeit zu stopfen.

Programm:
Delphi-Quellcode:
program Project2;

{$APPTYPE CONSOLE}

uses
  ExceptionLog,
  SysUtils;

begin
   Writeln(FormatDateTime('hh:nn:ss',5e+9));
   Readln;
end.
Ausgabe (mit EurekaLog):

Code:
An error has occurred during program execution.
Please read the following information for further details.

EurekaLog 4.5.4

Application:
-------------------------------------------------------
  1.1 Start Date     : Fri, 24 Feb 2006 13:34:07 +0100
  1.2 Name/Description: Project2.exe
  1.3 Version Number :
  1.4 Parameters     :

Exception:
----------------------------------------------
  2.1 Date  : Fri, 24 Feb 2006 13:34:07 +0100
  2.2 Address: 0040970B
  2.3 Module : Project2.exe
  2.4 Type  : EIntOverflow
  2.5 Message: Integer overflow.

Computer:
---------------------------------
  4.1 Name       : OFWS3000
  4.2 User       : Union
  4.3 Total Memory: 1023 Mb
  4.4 Free Memory : 329 Mb
  4.5 Total Disk : 14,65 Gb
  4.6 Free Disk  : 1,25 Gb

Operating System:
-------------------------------------
  5.1 Type   : Microsoft Windows XP
  5.2 Build # : 2600
  5.3 Update : Service Pack 2
  5.4 Language: Deutsch (Deutschland)

Call Stack Information:
-----------------------------------------------------------
|Address |Module  |Unit|Class|Procedure/Method     |Line|
-----------------------------------------------------------
|7C91D917|ntdll.dll|    |     |NtDuplicateObject    |    |
|7C91E64C|ntdll.dll|    |     |NtSetInformationThread|    |
-----------------------------------------------------------

Modules Information:
-------------------------------------------------------------------------------------------------------------------------------------
|Handle |Name       |Description                                    |Version      |Size  |Path                                |
-------------------------------------------------------------------------------------------------------------------------------------
|00400000|Project2.exe|                                                |              |254464 |C:\Programme\Borland\Delphi7\Projects|
|5B0F0000|uxtheme.dll |Microsoft UxTheme-Bibliothek                   |6.0.2900.2180 |219648 |C:\WINDOWS\system32                  |
|5D450000|comctl32.dll|Common Controls Library                        |5.82.2900.2180|611328 |C:\WINDOWS\system32                  |
|66000000|HookDLL.DLL |SetupHook                                      |1.1.0.8       |4608   |C:\WINDOWS\system32                  |
|71A00000|WS2HELP.dll |Windows Socket 2.0 Helper für Windows NT       |5.1.2600.2180 |19968  |C:\WINDOWS\system32                  |
|71A10000|WS2_32.dll |Windows Socket 2.0 32-Bit DLL                  |5.1.2600.2180 |82944  |C:\WINDOWS\system32                  |
|71A30000|wsock32.dll |Windows Socket-32-Bit-DLL                      |5.1.2600.2180 |24576  |C:\WINDOWS\system32                  |
|76330000|IMM32.DLL  |Windows XP IMM32 API Client DLL                |5.1.2600.2180 |110080 |C:\WINDOWS\system32                  |
|76BB0000|PSAPI.DLL  |Process Status Helper                          |5.1.2600.2180 |23040  |C:\WINDOWS\system32                  |
|770F0000|oleaut32.dll|                                                |5.1.2600.2180 |553472 |C:\WINDOWS\system32                  |
|774B0000|ole32.dll  |Microsoft OLE für Windows                      |5.1.2600.2726 |1285120|C:\WINDOWS\system32                  |
|77BD0000|version.dll |Version Checking and File Installation Libraries|5.1.2600.2180 |18944  |C:\WINDOWS\system32                  |
|77BE0000|msvcrt.dll |Windows NT CRT DLL                             |7.0.2600.2180 |343040 |C:\WINDOWS\system32                  |
|77D10000|user32.dll |Client-DLL für Windows XP USER-API             |5.1.2600.2622 |578560 |C:\WINDOWS\system32                  |
|77DA0000|advapi32.dll|Erweitertes Windows 32 Base-API                |5.1.2600.2180 |677888 |C:\WINDOWS\system32                  |
|77E50000|RPCRT4.dll |Remote Procedure Call Runtime                  |5.1.2600.2180 |581120 |C:\WINDOWS\system32                  |
|77EF0000|GDI32.dll  |GDI Client DLL                                 |5.1.2600.2818 |280064 |C:\WINDOWS\system32                  |
|77FC0000|Secur32.dll |Security Support Provider Interface            |5.1.2600.2180 |55808  |C:\WINDOWS\system32                  |
|7C800000|kernel32.dll|Client-DLL für Windows NT-Basis-API            |5.1.2600.2180 |1057280|C:\WINDOWS\system32                  |
|7C910000|ntdll.dll  |DLL für NT-Layer                               |5.1.2600.2180 |733696 |C:\WINDOWS\system32                  |
-------------------------------------------------------------------------------------------------------------------------------------

Registers:
-----------------------------
EAX: 0012FFB4   EDI: 008F2628
EBX: 0012FB0C  ESI: 00403907
ECX: 0040BEB3   ESP: 0012FAF8
EDX: 008F2628   EIP: 0040BEDA

Stack:              Memory Dump:
------------------   ---------------------------------------------------------------------------
0012FDD8: 0012FE4E  0040970B: F7 B3 80 41 43 00 05 5A 95 0A 00 89 11 89 41 04  ...AC..Z......A.
0012FDDC: 0012FE08   0040971B: 5B 5D C2 08 00 55 8B EC 83 C4 F8 56 8B 75 0C C6  []...U.....V.u..
0012FDE0: 004097F1   0040972B: 45 FF 00 66 83 F8 18 73 4D 66 83 FA 3C 73 47 66  E..f...sMf..<sGf
0012FDE4: 20000000   0040973B: 83 F9 3C 73 41 66 81 FE E8 03 73 3A 0F B7 C0 69  ..<sAf....s:...i
0012FDE8: 41F2A05F  0040974B: C0 80 EE 36 00 0F B7 D2 69 D2 60 EA 00 00 03 C2  ...6....i.`.....
0012FDEC: 0012FE04   0040975B: 0F B7 D1 69 D2 E8 03 00 00 03 C2 0F B7 D6 03 C2  ...i............
0012FDF0: 00000018   0040976B: 89 45 F8 DB 45 F8 D8 35 8C 97 40 00 8B 45 08 DD .E..E..5..@..E..
0012FDF4: 0012FFAC  0040977B: 18 9B C6 45 FF 01 8A 45 FF 5E 59 59 5D C2 08 00  ...E...E.^YY]...
0012FDF8: 00433548   0040978B: 00 80 CB A4 4C 55 8B EC 83 C4 F8 53 56 57 8B F9  ....LU.....SVW..
0012FDFC: 000000FF  0040979B: 8B F2 8B D8 66 8B 45 08 50 8D 45 F8 50 8B CF 8B ....f.E.P.E.P...
0012FE00: 00000000   004097AB: D6 8B C3 E8 6D FF FF FF 84 C0 75 0A A1 40 69 43  ....m.....u..@iC
0012FE04: 0012FE3C  004097BB: 00 E8 47 E3 FF FF DD 45 F8 5F 5E 5B 59 59 5D C2  ..G....E._^[YY].
0012FE08: 0012FE1C  004097CB: 04 00 8D 40 00 55 8B EC 83 C4 F4 53 56 57 8B F9  ...@.U.....SVW..
0012FE0C: 00409CA2   004097DB: 8B F2 8B D8 8D 45 FC 50 FF 75 10 FF 75 0C 8D 45  .....E.P.u..u..E
0012FE10: 0012FE48   004097EB: F4 E8 EB FE FF FF 8B 45 F4 8D 4D FE 66 BA 60 EA .......E..M.f.`.
0012FE14: 20000000   004097FB: E8 EC E2 FF FF 56 8B CB 0F B7 45 FE 66 BA 3C 00  .....V....E.f.<.
Ibi fas ubi proxima merces
sudo /Developer/Library/uninstall-devtools --mode=all
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#3

Re: Delphi und Dual Core

  Alt 24. Feb 2006, 13:08
Man sollte doch erst alles selbst testen
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
generic

Registriert seit: 24. Mär 2004
Ort: bei Hannover
2.415 Beiträge
 
Delphi XE5 Professional
 
#4

Re: Delphi und Dual Core

  Alt 24. Feb 2006, 13:46
wer sich fragt: warum eigendlich integer overflow?

5e+9 (5000000000) ist eingendlich (wie ein datetime) ein extended.

intern in FormatDateTime wird DecodeTime aufgerufen.
welches wiederum DateTimeToTimeStamp aufruf.
diese funktion schlägt fehl.
Coding BOTT - Video Tutorials rund um das Programmieren - https://www.youtube.com/@codingbott
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:07 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz