View Issue Details

IDProjectCategoryView StatusLast Update
0035137LazarusDatabase Componentspublic2019-02-23 20:52
ReporterValdir MarcosAssigned ToJesus Reyes 
Status resolvedResolutionno change required 
Platform32 and 64bitOSWindows and LinuxOS Version7 and 10
Product Version2.0Product Build 
Target VersionFixed in Version 
Summary0035137: DBGrid causes Segmentation Fault (SQLdb with Firebird)
DescriptionThis issue is being discussed on:
DBGrid causes Segmentation Fault,39971.0.html

Please check the attached small sample.
Steps To Reproduce1. Please, adapt FormCreate event from sample example:

procedure TForm1.FormCreate(Sender: TObject);
  IBConnection1.Connected := False;
  IBConnection1.HostName := 'your server/3050';
  IBConnection1.DatabaseName := 'your database';
  IBConnection1.UserName := 'your user';
  IBConnection1.Password := 'your password';
  IBConnection1.CharSet := 'UTF8';
  IBConnection1.Connected := True;


2. Run the application.
3. Click on "Connect" button.
4. Click on DBGrid.
Additional InformationAccording to users r.lukasiak and Paul Reeves, issue also happens on Gentoo Linux and openSUSE Leap 42.3.
TagsNo tags attached.
Fixed in Revision
Attached Files


Valdir Marcos

2019-02-22 21:55


FBMonitor-SQLDB.tar.gz (4,603 bytes)

Valdir Marcos

2019-02-22 21:59

reporter   ~0114351

According to user Paul Reeves:

"The only requirement is that there needs to be one additional connection to the database, perhaps by isql, or flamerobin or whatever.

As I mentioned previously, after changing the components for the UIB equivalents everything 'just works'. It is possible that I might have changed some obscure setting while changing the components, but even then, the app should not crash when using SQLDB."


2019-02-23 14:16

reporter   ~0114363

maybe not bug and using error.
Look at the discussions topic.

Jesus Reyes

2019-02-23 20:52

developer   ~0114374

Confirmed, bad dataset component setup.

Issue History

Date Modified Username Field Change
2019-02-22 21:55 Valdir Marcos New Issue
2019-02-22 21:55 Valdir Marcos File Added: FBMonitor-SQLDB.tar.gz
2019-02-22 21:59 Valdir Marcos Note Added: 0114351
2019-02-23 14:16 Soner Note Added: 0114363
2019-02-23 20:39 Jesus Reyes Assigned To => Jesus Reyes
2019-02-23 20:39 Jesus Reyes Status new => assigned
2019-02-23 20:52 Jesus Reyes LazTarget => -
2019-02-23 20:52 Jesus Reyes Note Added: 0114374
2019-02-23 20:52 Jesus Reyes Status assigned => resolved
2019-02-23 20:52 Jesus Reyes Resolution open => no change required