|
|
| Reporter | anonymous | Assigned To | user72 | |
|---|
| Priority | normal | Severity | crash | Reproducibility | always |
|---|
| Status | closed | Resolution | duplicate | |
|---|
| Product Version | | |
|---|
| Target Version | | Fixed in Version | | |
|---|
|
|
| Summary | 0001006: Division by 0 and runtime error 216 |
|---|
| Description | Unit JclSysInfo.pas contains an error in line 2306 " Freq := Round(Cycles / Ticks);". The function GetCPUSpeed(var CpuSpeed: TFreqInfo): Boolean; is called whenever a program is started (initialization) and causes on fast PCs a division by zero because Ticks = 0 !! Because this function is automatically called during initalization of the units, the programs are terminated immediately by runtime error 216. |
|---|
| Additional Information | The problem seems to be the same as Borland had it for Borland Pascal 7. The programs also terminated by a runtime error 216 on fast PCs (at that time). This time the Jedi unit JclSysInfo.pas causes the error on fast PCs.
My PC is a Intel P4 with 2.8 GHz and DDR-400 RAM. I used the newest JCL, JVCL and JCL Bug Fixes for the test. |
|---|
| Tags | No tags attached. |
|---|
|
|
| Fixed in GIT commit | |
|---|
| Fixed in SVN revision | |
|---|
| IDE version | |
|---|
|
|