View Issue Details

IDProjectCategoryView StatusLast Update
0014473FPCDatabasepublic2014-11-18 11:24
ReporterTom Duncan Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
PlatformPower MacOSOS X 
Summary0014473: DBF shows no data on PowerPC OSX was DB GRID does not show any data
DescriptionThis seems to be only on a Powerpc platform.
I have been designing a Database program for a client, she has a powerpc and I have an Intel.
After many test versions, with access violation etc. I compiled a test version of the database only. It did run on the powerpc.
However on a dbgrid the title information was shown but no data was displayed.
I have been relying on Lazarus members for powerpc testing as I cannot see the result.

I have included a small test program with a dbf files to test this.
Steps To ReproduceRun the test program
Tagsdbf, dbgrid, powerpc
Fixed in Revision
FPCOldBugId0
FPCTarget
Attached Files

Activities

2009-09-01 11:12

 

Dbase_Test.zip (312,429 bytes)

Jonas Maebe

2011-10-15 16:10

manager   ~0053018

This seems to be mostly about dbgrid rather than tdbf -> Lazarus

Vincent Snijders

2011-10-16 12:50

manager   ~0053050

Is tdbf endian safe?

Vincent Snijders

2011-10-21 07:44

manager   ~0053229

Does this still happen with recent lazarus/fpc versions?

PowerPC Macs are a bit rare for us Lazarus developers too.

Reinier Olislagers

2013-11-17 08:35

developer   ~0071350

FPC trunk has had many DBF fixes; it would be useful if somebody with a PowerPC Mac could redo the test.

Reinier Olislagers

2014-10-06 06:38

developer   ~0078016

Tested on PowerPC Laz 1.2.2 by jwdietrich on the forum:
http://forum.lazarus.freepascal.org/index.php/topic,26041.msg159287.html#msg159287

"The latest Lazarus version that supports PowerPC is 1.2.2. Will that be OK?

With Lazarus 1.2.2 I get a table with headers only (see attached screenshot), which is obviously not intended."

Reinier Olislagers

2014-11-11 09:12

developer   ~0079088

Definitely an FPC issue see forum thread mentioned above.

Reinier Olislagers

2014-11-18 11:23

developer   ~0079198

Last edited: 2014-11-18 11:24

View 2 revisions

Tested on big endian MIPS with FPC trunk:
- dbftool creates and reads tablelevel 4 (DBase4) and 7 (Visual dBase VII) ok
- test dbf from this issue is identified as tablelevel 7, code page 1252 but no data shown => i.e. same symptom as on OSX PPC suggesting an endian issue

Reading dbf from this issue on x86 Windows does show data

Issue History

Date Modified Username Field Change
2009-09-01 11:12 Tom Duncan New Issue
2009-09-01 11:12 Tom Duncan Status new => assigned
2009-09-01 11:12 Tom Duncan Assigned To => Joost van der Sluis
2009-09-01 11:12 Tom Duncan File Added: Dbase_Test.zip
2009-09-02 08:26 Jonas Maebe Relationship added has duplicate 0014479
2009-09-02 08:29 Jonas Maebe Relationship deleted has duplicate 0014479
2011-10-15 16:09 Jonas Maebe FPCOldBugId => 0
2011-10-15 16:09 Jonas Maebe Assigned To Joost van der Sluis =>
2011-10-15 16:09 Jonas Maebe Status assigned => new
2011-10-15 16:10 Jonas Maebe Note Added: 0053018
2011-10-15 16:10 Jonas Maebe Project FPC => Lazarus
2011-10-16 12:50 Vincent Snijders Note Added: 0053050
2011-10-21 07:44 Vincent Snijders LazTarget => -
2011-10-21 07:44 Vincent Snijders Note Added: 0053229
2011-10-21 07:44 Vincent Snijders Status new => feedback
2012-02-04 13:42 Zeljan Rikalo Status feedback => assigned
2012-02-04 13:42 Zeljan Rikalo Assigned To => Jesus Reyes
2013-11-17 08:34 Reinier Olislagers Tag Attached: dbf
2013-11-17 08:34 Reinier Olislagers Tag Attached: dbgrid
2013-11-17 08:34 Reinier Olislagers Tag Attached: powerpc
2013-11-17 08:35 Reinier Olislagers Note Added: 0071350
2014-10-06 06:38 Reinier Olislagers Note Added: 0078016
2014-11-11 09:11 Reinier Olislagers Widgetset => Carbon
2014-11-11 09:11 Reinier Olislagers Product Version 2.2.4 =>
2014-11-11 09:11 Reinier Olislagers Summary DB GRID does not show any data => DBF shows no data on PowerPC OSX was DB GRID does not show any data
2014-11-11 09:12 Reinier Olislagers Note Added: 0079088
2014-11-11 09:12 Reinier Olislagers Project Lazarus => FPC
2014-11-11 09:12 Reinier Olislagers Assigned To Jesus Reyes =>
2014-11-11 09:12 Reinier Olislagers Status assigned => acknowledged
2014-11-18 11:23 Reinier Olislagers Note Added: 0079198
2014-11-18 11:24 Reinier Olislagers Note Edited: 0079198 View Revisions