Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2003-04

interbase, ibase60 and fpc1.1 (cvs-update) broken

8 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Siegfried Goericke

Hi all,

I have installed and applied succesfull all patches from the dbgrid_dist.tar.gz.

all access to dbase and interbase(firebird) produce a access violation. (mysql not tested). Passwords, username, path - all ok. and set to my environment.

The next step was to run the ibtest from the fpc1.1 source tree and the same access violation occurs:

testib

An unhandled exception occurred at 0x080824E3 :
EAccessViolation : Access violation
0x080824E3

Then I tested the ibase60 unit, the following error occurs:

./testib60

Connecting to testdb.gdb: OK.
Starting Transaction : Runtime error 216 at 0x08055623 0x08055623
0xBFFFED64
0x4007FDD7
0x08059DAD
0x080486A7(gdb) run

the next step was to compile with debug option and this is the output:

[New Thread 1024 (LWP 3241)]
Connecting to testdb.gdb: OK.
Starting Transaction :
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 3241)]
0x4007fa25 in isc_start_multiple () from /usr/lib/libgds.so

Can anybody help me?

p.s.
hi jesus, I send this also to the fpc-devel list
thx

Regards/Gruss Siggi

Reply by email

Unknown author
to Siegfried Goericke
Siegfried Goericke wrote 8 lines
Hi all, I have installed and applied succesfull all patches from the dbgrid_dist.tar.gz. all access to dbase and interbase(firebird) produce a access violation. (mysql not tested). Passwords, username, path - all ok. and set to my environment.

Is this 1.1 or 1.0 ?

Show quoted text 30 lines
The next step was to run the ibtest from the fpc1.1 source tree and the same access violation occurs: > testib An unhandled exception occurred at 0x080824E3 : EAccessViolation : Access violation 0x080824E3 Then I tested the ibase60 unit, the following error occurs: > ./testib60 Connecting to testdb.gdb: OK. Starting Transaction : Runtime error 216 at 0x08055623 0x08055623 0xBFFFED64 0x4007FDD7 0x08059DAD 0x080486A7(gdb) run the next step was to compile with debug option and this is the output: [New Thread 1024 (LWP 3241)] Connecting to testdb.gdb: OK. Starting Transaction : Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 3241)] 0x4007fa25 in isc_start_multiple () from /usr/lib/libgds.so Can anybody help me?

Did you try this in version 1.0 ? It works with that version for me. If it does not work in version 1.1, one of the compiler guys will have to look at it...

Michael.

Reply by email

Jesus Reyes
to Siegfried Goericke: I have installed and applied succesfull all patches from the dbgrid_dist.tar.gz. all…

It seems that TIBQuery.IsCursorOpen its not implemented, it simply returns false, this prevents buffer allocation.

I set

function TIBQuery.IsCursorOpen: Boolean;
begin
  Result := (FDatabasenil);
end;

but I'm not sure if that is enought, at least the test proyect in dbgrid_dist runs ok. still there are problems on closing the program, I'm investigating...

if somebody wants to try here is the link to the lazarus proyect and fcl/db patches (without this report):
http://mx.geocities.com/jesusrmx/lazarus/dbgrid_dist.tar.gz

Regards.

Jesus Reyes.

--- Siegfried Goericke escribió: > Hi all,

Show quoted text 54 lines
I have installed and applied succesfull all patches from the dbgrid_dist.tar.gz. all access to dbase and interbase(firebird) produce a access violation. (mysql not tested). Passwords, username, path - all ok. and set to my environment. The next step was to run the ibtest from the fpc1.1 source tree and the same access violation occurs: > testib An unhandled exception occurred at 0x080824E3 : EAccessViolation : Access violation 0x080824E3 Then I tested the ibase60 unit, the following error occurs: > ./testib60 Connecting to testdb.gdb: OK. Starting Transaction : Runtime error 216 at 0x08055623 0x08055623 0xBFFFED64 0x4007FDD7 0x08059DAD 0x080486A7(gdb) run the next step was to compile with debug option and this is the output: [New Thread 1024 (LWP 3241)] Connecting to testdb.gdb: OK. Starting Transaction : Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 3241)] 0x4007fa25 in isc_start_multiple () from /usr/lib/libgds.so Can anybody help me? p.s. hi jesus, I send this also to the fpc-devel list thx -- Regards/Gruss Siggi _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

_________________________________________________________ Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email

Jesus Reyes
to Jesus Reyes

Sorry, I should say that I was using 1.0.8-pre1. With 1.1 I get Access Violation too, but I can debug!. here is what gdb shows:

GNU gdb 5.0mdk-11mdk Linux-Mandrake 8.0
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-mandrake-linux"... (gdb) r
Starting program: /home/prog/work/Lazarus/dbgrid/testdbgrid [New Thread 1024 (LWP 2635)]

Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 1024 (LWP 2635)]
$0812537b in _SYSTEM_ROUND$EXTENDED ()
(gdb) bt
#0 $0812537b in _SYSTEM_ROUND$EXTENDED ()
#1 $08100784 in TGTKOBJECT__INTSENDMESSAGE3 (LM_MESSAGE=1085, SENDER=$0, DATA=$8179a60, this=$817afe4)
at gtkobject.inc:2240
#2 $080c24bf in CNSENDMESSAGE (LM_MESSAGE=1085, SENDER=$0, DATA=$8179a60) at controls.pp:1090
#3 $08120ce0 in TAPPLICATION__INITIALIZE (this=$817ae84) at application.inc:216
#4 $081359e3 in main () at testdbgrid.lpr:10

Jesus Reyes.

Jesus Reyes escribió: It seems that >TIBQuery.IsCursorOpen its not implemented, it simply

returns false, this prevents buffer allocation.

Show quoted text 18 lines
I set function TIBQuery.IsCursorOpen: Boolean; begin Result := (FDatabasenil); end; but I'm not sure if that is enought, at least the test proyect in dbgrid_dist runs ok. still there are problems on closing the program, I'm investigating... if somebody wants to try here is the link to the lazarus proyect and fcl/db patches (without this report): http://mx.geocities.com/jesusrmx/lazarus/dbgrid_dist.tar.gz

_________________________________________________________ Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email

Marc Weustink
to Jesus Reyes
Jesus Reyes wrote
Sorry, I should say that I was using 1.0.8-pre1. With 1.1 I get Access Violation too, but I can debug!. here is what gdb shows:

[SNIP]

Show quoted text 9 lines
Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 1024 (LWP 2635)] $0812537b in _SYSTEM_ROUND$EXTENDED () (gdb) bt #0 $0812537b in _SYSTEM_ROUND$EXTENDED () #1 $08100784 in TGTKOBJECT__INTSENDMESSAGE3 (LM_MESSAGE=1085, SENDER=$0, DATA=$8179a60, this=$817afe4) at gtkobject.inc:2240

This looks like a Lazarus problem and not a DB problem

Marc

Reply by email

Siegfried Goericke
to Marc Weustink
Marc Weustink wrote 18 lines
At 13:21 23-4-2003 -0500, Jesus Reyes wrote: >Sorry, I should say that I was using 1.0.8-pre1. With 1.1 I get >Access Violation too, but I can debug!. here is what gdb shows: [SNIP] >Program received signal SIGFPE, Arithmetic exception. >[Switching to Thread 1024 (LWP 2635)] >$0812537b in _SYSTEM_ROUND$EXTENDED () >(gdb) bt >#0 $0812537b in _SYSTEM_ROUND$EXTENDED () >#1 $08100784 in TGTKOBJECT__INTSENDMESSAGE3 (LM_MESSAGE=1085, >SENDER=$0, DATA=$8179a60, this=$817afe4) > at gtkobject.inc:2240 This looks like a Lazarus problem and not a DB problem Marc

Hi all,
I think this are 2 problems there are independend from each other.

Regareds/Gruss Siggi

Reply by email

Siegfried Goericke
to Unknown author: Is this 1.1 or 1.0 ? Did you try this in version 1.0 ? It works with that version for me.…

Am Mittwoch, 23. April 2003 19:17 schrieb

Show quoted text 11 lines
On Wed, 23 Apr 2003, Siegfried Goericke wrote: > Hi all, > > I have installed and applied succesfull all patches from the > dbgrid_dist.tar.gz. > > all access to dbase and interbase(firebird) produce a access violation. > (mysql not tested). Passwords, username, path - all ok. and set to my > environment. Is this 1.1 or 1.0 ?

This is in version 1.1, in version 1.0.7 it works.

Show quoted text 35 lines
> The next step was to run the ibtest from the fpc1.1 source tree and the > same access violation occurs: > > testib > An unhandled exception occurred at 0x080824E3 : > EAccessViolation : Access violation > 0x080824E3 > > > Then I tested the ibase60 unit, the following error occurs: > > ./testib60 > Connecting to testdb.gdb: OK. > Starting Transaction : Runtime error 216 at 0x08055623 > 0x08055623 > 0xBFFFED64 > 0x4007FDD7 > 0x08059DAD > 0x080486A7(gdb) run > > > the next step was to compile with debug option and this is the output: > > [New Thread 1024 (LWP 3241)] > Connecting to testdb.gdb: OK. > Starting Transaction : > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1024 (LWP 3241)] > 0x4007fa25 in isc_start_multiple () from /usr/lib/libgds.so > > Can anybody help me? Did you try this in version 1.0 ? It works with that version for me. If it does not work in version 1.1, one of the compiler guys will have to look at it...
Show quoted text 5 lines
Michael. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
Gruss Siggi

Reply by email

Siegfried Goericke
to Jesus Reyes: Sorry, I should say that I was using 1.0.8-pre1. With 1.1 I get Access Violation too, but…

Am Mittwoch, 23. April 2003 20:21 schrieb Jesus Reyes I think this is fixed with the actual cvs version from fpc and lazarus

Show quoted text 61 lines
Sorry, I should say that I was using 1.0.8-pre1. With 1.1 I get Access Violation too, but I can debug!. here is what gdb shows: GNU gdb 5.0mdk-11mdk Linux-Mandrake 8.0 Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-mandrake-linux"... (gdb) r Starting program: /home/prog/work/Lazarus/dbgrid/testdbgrid [New Thread 1024 (LWP 2635)] Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 1024 (LWP 2635)] $0812537b in _SYSTEM_ROUND$EXTENDED () (gdb) bt #0 $0812537b in _SYSTEM_ROUND$EXTENDED () #1 $08100784 in TGTKOBJECT__INTSENDMESSAGE3 (LM_MESSAGE=1085, SENDER=$0, DATA=$8179a60, this=$817afe4) at gtkobject.inc:2240 #2 $080c24bf in CNSENDMESSAGE (LM_MESSAGE=1085, SENDER=$0, DATA=$8179a60) at controls.pp:1090 #3 $08120ce0 in TAPPLICATION__INITIALIZE (this=$817ae84) at application.inc:216 #4 $081359e3 in main () at testdbgrid.lpr:10 Jesus Reyes. >Jesus Reyes escribió: > It seems that >TIBQuery.IsCursorOpen its not implemented, it simply returns false, this prevents buffer allocation. > I set > > function TIBQuery.IsCursorOpen: Boolean; > begin > Result := (FDatabasenil); > end; > > but I'm not sure if that is enought, at least the test proyect in > dbgrid_dist runs ok. still there are problems on closing the > program, > I'm investigating... > > if somebody wants to try here is the link to the lazarus proyect > and > fcl/db patches (without this report): > http://mx.geocities.com/jesusrmx/lazarus/dbgrid_dist.tar.gz _________________________________________________________ Do You Yahoo!? La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
Gruss Siggi

Reply by email