View Issue Details

IDProjectCategoryView StatusLast Update
0033338FPCPackagespublic2018-03-06 13:58
ReporterStephanoAssigned ToMichael Van Canneyt 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionProduct Build 
Target Version3.1.1Fixed in Version3.2.0 
Summary0033338: FPReport designer: Group header band with ReprintedHeader set to rsPage freezes designer
Description- Create a new report with data
- add data and group header bands with memos
- set both bands' properties for the report to run
- Set group header band's ReprintedHeader to [rsPage]
- Preview report
The designer will freeze
TagsNo tags attached.
Fixed in Revision38433
FPCOldBugId
FPCTarget
Attached Files

Activities

Stephano

2018-03-06 11:34

developer   ~0106927

Actually i am encountering freezes without even setting ReprintedHeader.
I noticed that freezes are related to GroupHeaderBand, and it happens sometime on the 2nd preview attempt.

Michael Van Canneyt

2018-03-06 11:38

administrator   ~0106928

Hm. Seems like something is not correctly reset after a RunReport.

Can you try to confirm that the error is in RunReport, not in RenderReport ?

Stephano

2018-03-06 12:43

developer   ~0106934

Last edited: 2018-03-06 12:44

View 2 revisions

I debugged the standalone designer and the SIGSEGV is in RunReport indeed.

Can you set fpc fpreport units with debug info?

Stephano

2018-03-06 12:48

developer  

Groupheaderfreezebug2.json (6,909 bytes)

Stephano

2018-03-06 12:50

developer   ~0106935

I uploaded a reproducible case. You need firebird's standard employee.fdb, and change the database path in the json file.

Michael Van Canneyt

2018-03-06 13:25

administrator   ~0106937

to compile fpc fpreport with debug info, I compile with
make clean all OPT=-gl

I will check the case you provided, thanks!

Michael Van Canneyt

2018-03-06 13:50

administrator   ~0106939

Fixed. Result of refactoring, and no testing with GroupHeader without groupfooter.

Stephano

2018-03-06 13:58

developer   ~0106941

The AV can occur even with a group footer. But that case seems to have been solved as well.

Issue History

Date Modified Username Field Change
2018-03-06 10:47 Stephano New Issue
2018-03-06 10:47 Stephano Status new => assigned
2018-03-06 10:47 Stephano Assigned To => Michael Van Canneyt
2018-03-06 10:47 Stephano Severity minor => major
2018-03-06 11:34 Stephano Note Added: 0106927
2018-03-06 11:38 Michael Van Canneyt Note Added: 0106928
2018-03-06 12:43 Stephano Note Added: 0106934
2018-03-06 12:44 Stephano Note Edited: 0106934 View Revisions
2018-03-06 12:48 Stephano File Added: Groupheaderfreezebug2.json
2018-03-06 12:50 Stephano Note Added: 0106935
2018-03-06 13:25 Michael Van Canneyt Note Added: 0106937
2018-03-06 13:49 Michael Van Canneyt Project Lazarus => FPC
2018-03-06 13:50 Michael Van Canneyt Fixed in Revision => 38433
2018-03-06 13:50 Michael Van Canneyt Note Added: 0106939
2018-03-06 13:50 Michael Van Canneyt Status assigned => resolved
2018-03-06 13:50 Michael Van Canneyt Fixed in Version => 3.2.0
2018-03-06 13:50 Michael Van Canneyt Resolution open => fixed
2018-03-06 13:50 Michael Van Canneyt Target Version => 3.1.1
2018-03-06 13:58 Stephano Note Added: 0106941
2018-03-06 13:58 Stephano Status resolved => closed