View Issue Details

IDProjectCategoryView StatusLast Update
0034268FPCDocumentationpublic2018-09-30 10:39
ReporterPierre MullerAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSlinuxOS Version
Product Version3.3.1Product Build 
Target Version3.2.0Fixed in Version3.3.1 
Summary0034268: Some fpcdocs examples crash on execution on linux machine
Description 3 examples fail consistantly on linux:
stringex/ex14
sysutex/ex59
and
sysutex/ex60


./ex14 > ex14.log
Runtime error 216 at $0000000000424F91
  $0000000000424F91 STRUPPER, line 61 of ../inc/genstr.inc
  $0000000000421EAC SYSENTRY, line 141 of system.pp

make[1]: *** [ex14.log] Error 216


./ex59 > ex59.log
An unhandled exception occurred at $00000000004316AD:
EAccessViolation: Access violation
  $00000000004316AD GENERICANSISTRLOWER, line 492 of ../objpas/sysutils/sysstr.inc
  $000000000040027B main, line 14 of ex59.pp

make[1]: *** [ex59.log] Error 217


make[1]: Entering directory `/home/muller/pas/trunk/fpcdocs/sysutex'
./ex60 > ex60.log
An unhandled exception occurred at $00000000004316DD:
EAccessViolation: Access violation
  $00000000004316DD GENERICANSISTRUPPER, line 504 of ../objpas/sysutils/sysstr.inc
  $000000000040027B main, line 14 of ex60.pp

make[1]: *** [ex60.log] Error 217
TagsNo tags attached.
Fixed in Revision1512.
FPCOldBugId0
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2018-09-30 10:39

administrator   ~0111100

Fixed. These examples should actually fail on all OS-es:

A const PChar is now read-only. If the old examples worked on some platforms, that is a compiler bug.

Issue History

Date Modified Username Field Change
2018-09-12 23:54 Pierre Muller New Issue
2018-09-12 23:54 Pierre Muller Status new => assigned
2018-09-12 23:54 Pierre Muller Assigned To => Michael Van Canneyt
2018-09-30 10:39 Michael Van Canneyt Fixed in Revision => 1512.
2018-09-30 10:39 Michael Van Canneyt Note Added: 0111100
2018-09-30 10:39 Michael Van Canneyt Status assigned => resolved
2018-09-30 10:39 Michael Van Canneyt Fixed in Version => 3.3.1
2018-09-30 10:39 Michael Van Canneyt Resolution open => fixed