[Lazarus] External SIGSEGV when trying to use data module components

2015-04-11 Thread brian
Hi all, I'm writing an application which uses Firebird embedded. My setup is currently Lazarus 1.2.6 with FPC 2.6.4, but I have the 1.4 RC3 files to install if anybody thinks that should make a difference. I'm using the AMD64 version of Lazarus and Debian 7.6 multihome, with i386 architecture

Re: [Lazarus] External SIGSEGV when trying to use data module components

2015-04-11 Thread brian
On Sat, 11 Apr 2015 18:01:13 +0200, Luca Olivetti wrote: El 11/04/15 a les 17:48, brian ha escrit: My problem is a simple one to describe - the program compiles correctly, but the moment I try to do anything with the objects in the data module, I get an immediate 'external SIGSEGV'. When I

Re: [Lazarus] External SIGSEGV when trying to use data module components

2015-04-11 Thread SPRL AFOR
At the moment you use components from the DataModule, are you sure it has been instantiated and thet you call a null object ? It happens quite often that I forget to create the DataModule BEFORE using it. Antonio. Le 11/04/2 015 17:48, brian a écrit : Hi all, I'm writing an application which

Re: [Lazarus] External SIGSEGV when trying to use data module components

2015-04-11 Thread Luca Olivetti
El 11/04/15 a les 17:48, brian ha escrit: My problem is a simple one to describe - the program compiles correctly, but the moment I try to do anything with the objects in the data module, I get an immediate 'external SIGSEGV'. When I say do anything with them, this is as simple as adding a

Re: [Lazarus] External SIGSEGV when trying to use data module components

2015-04-11 Thread brian
On Sat, 11 Apr 2015 11:48:57 -0400, you wrote: I moved checking for the file and then creating the database if it didn't already exist from the OnShow event of the tab to the last possible moment in the processing, and that seems to have sorted it. I don't understand why, but I'm not