View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0037971 | FPC | Compiler | public | 2020-10-23 16:56 | 2020-10-23 22:00 |
Reporter | Reiner Sombrowsky | Assigned To | Sven Barth | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Product Version | 3.2.0 | ||||
Fixed in Version | 3.3.1 | ||||
Summary | 0037971: Schwerwiegender Fehler im Exception-Handling | ||||
Description | Im Anhang ein einfaches Project (ohne Binaries), das bei CPU64-Übersetzung nicht korrekt funktioniert und sogar einen Absturz bringt, bei der mit TaskKill der Prozess gekillt werden muss. Bei Comilation mit CPU32 funktioniert alles korrekt. Die in Klammern alternative Funktion arbeitet sowohl bei CPU32 als auch bei CPU64. Für die Suche des Fehlers brauchte ich eine sehr lange Zeit. Die beiliegende ZIP-Datei beinhaltet keine Binaries! | ||||
Steps To Reproduce | Übersetzung des Lazarus-Projekts mit CPU32 und Ausführung ->Funktion ok Übersetzung des Lazarus-Projekts mit CPU64 und Ausführung ->Funktion fehlerhaft (eventuell TaskKill notwendig) | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
FPCOldBugId | |||||
FPCTarget | - | ||||
Attached Files |
|
duplicate of | 0034772 | resolved | Sergei Gorelkin | Win64 (seh) compiled exe crashes, because implicit finally handler is entered twice. |
|
|
|
AFAIK this is a known bug with 3.2.0: exit in a finally block behaves badly. IIRC this was fixed in fpc trunk. |
|
There is indeed no error in Trunk anymore. Considering that implicit finally blocks are involved here as well I assume that this is indeed fixed by the fix of 0034772. Let's hope that we can merge that to 3.2.1... Also: next time please post bug reports in English. While most of the Core devs do understand German the main language here is English. And if possible don't have the examples depend on the LCL (though I have to admit that I didn't manage to reproduce it in a smaller example either). |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-10-23 16:56 | Reiner Sombrowsky | New Issue | |
2020-10-23 16:56 | Reiner Sombrowsky | File Added: exception_check.zip | |
2020-10-23 21:12 | Bart Broersma | Note Added: 0126496 | |
2020-10-23 22:00 | Sven Barth | Assigned To | => Sven Barth |
2020-10-23 22:00 | Sven Barth | Status | new => resolved |
2020-10-23 22:00 | Sven Barth | Resolution | open => duplicate |
2020-10-23 22:00 | Sven Barth | Fixed in Version | => 3.3.1 |
2020-10-23 22:00 | Sven Barth | FPCTarget | => - |
2020-10-23 22:00 | Sven Barth | Note Added: 0126497 | |
2020-10-23 22:00 | Sven Barth | Relationship added | duplicate of 0034772 |