
|
If you were logged in you would be able to see more operations.
|
|
|
|
Issue Links:
|
Relate
|
|
|
|
This issue is related to:
|
|
CORE-1452
Client library crashes when attempting to process an event received just prior to disconnection
|
|
|
|
|
|
|
|
SFID: 1489433#
Submitted By: thomashauck
I'am useing Firebird 1.5.3 on Windows XP SP2. I
recompiled the fbclient with VS.Net 2003. In my app i
use the event notification so i get notifyed if one of
the tables are changed. When the app is closed, i first
deregister the event notification and than disconnect
from the database. Sometimes the disconnect will
produce a acceass violation exactly on this line of the
fbclient source code.
// Clear context reference for the associated event handler
// to avoid SEGV during shutdown
if (port->port_async) {
port->port_async->port_context = NULL; << access violation
}
The "port->port_async" is pointing to some wild address
how is not anywhere in the address space of the app or
any of the dll's
If i use a older gds32.dll (version 1.5.1.4481) renamed
to fbclient.dll everything is OK.
If i use the orginal fbclient.dll (version 1.5.3.4870)
from the Firebird Download, VS.Net 2003 will come up
with a "unhandled execption" by disconnecting from the
database.
If i'am not useing the eventnotification of firebird
everything works fine, and there is no execption by
disconnecting from the database.
Befor i forget. I have more than one Database
connections open, but the event notification is allways
in the first connection to firebird, and is the last
one to disconnect.
It is not reproducable all the time. It works on some
PC's and on some others it will produce the exeption.
To me it looks as if the "port->port_async" variable is
in some state of the disconnet a "wild" pointer, and
depending on his value, the exeption is raised or not.
Good luck in finding the bug.
Thomas
|
|
Description
|
SFID: 1489433#
Submitted By: thomashauck
I'am useing Firebird 1.5.3 on Windows XP SP2. I
recompiled the fbclient with VS.Net 2003. In my app i
use the event notification so i get notifyed if one of
the tables are changed. When the app is closed, i first
deregister the event notification and than disconnect
from the database. Sometimes the disconnect will
produce a acceass violation exactly on this line of the
fbclient source code.
// Clear context reference for the associated event handler
// to avoid SEGV during shutdown
if (port->port_async) {
port->port_async->port_context = NULL; << access violation
}
The "port->port_async" is pointing to some wild address
how is not anywhere in the address space of the app or
any of the dll's
If i use a older gds32.dll (version 1.5.1.4481) renamed
to fbclient.dll everything is OK.
If i use the orginal fbclient.dll (version 1.5.3.4870)
from the Firebird Download, VS.Net 2003 will come up
with a "unhandled execption" by disconnecting from the
database.
If i'am not useing the eventnotification of firebird
everything works fine, and there is no execption by
disconnecting from the database.
Befor i forget. I have more than one Database
connections open, but the event notification is allways
in the first connection to firebird, and is the last
one to disconnect.
It is not reproducable all the time. It works on some
PC's and on some others it will produce the exeption.
To me it looks as if the "port->port_async" variable is
in some state of the disconnet a "wild" pointer, and
depending on his value, the exeption is raised or not.
Good luck in finding the bug.
Thomas |
Show » |
|
Sender: dimitr
Logged In: YES
user_id=61270
Known issue that does not exist in v2.0.