Discussion:
[Firebird-devel] Problem with Windows fbclient.dll on Wine 0.9.13
Doychin Bondzhev
2006-05-26 08:42:06 UTC
Permalink
I'm using Database Workbench on Wine and in order to connect to local firebird server on linux I have to install client libraries for windows in Wine.

Until Wine 0.9.13 everything was fine but after instaling this version I can't connect to firebird becouse I get Access Vioalation in GDS32.dll.

I think there is something wrong with this version of Wine.

Does any of you have an idea how I can find the reason for this AV? I tryed with both 1.5 and 2.0RC2 Firebird clients and they both crash the same way.

thanks in advance

Doychin
Milan Babuskov
2006-05-26 12:09:07 UTC
Permalink
Post by Doychin Bondzhev
I'm using Database Workbench on Wine and in order to connect to local
firebird server on linux I have to install client libraries for windows
in Wine.
Why not use FlameRobin which is native on Linux?
Post by Doychin Bondzhev
Until Wine 0.9.13 everything was fine but after instaling this version I
can't connect to firebird becouse I get Access Vioalation in GDS32.dll.
I think there is something wrong with this version of Wine.
Does any of you have an idea how I can find the reason for this AV? I
tryed with both 1.5 and 2.0RC2 Firebird clients and they both crash the
same way.
I doubt anyone on this list would be able to help. (Maybe Martijn is lurking
and knows all about it?) You stand much better chance asking Wine developers.
--
Milan Babuskov
http://www.flamerobin.org
Doychin Bondzhev
2006-05-26 13:44:05 UTC
Permalink
Post by Milan Babuskov
Post by Doychin Bondzhev
I'm using Database Workbench on Wine and in order to connect to local
firebird server on linux I have to install client libraries for
windows in Wine.
Why not use FlameRobin which is native on Linux?
FlameRobin sucks. It lacks lots of features I need. I'm from the people
who try to eliminate all the manual work that can be accomplished by
some programs.

I doubt that Martijn can help me with this mostly because the problem is
not in his program but instead in GDS32.dll (there I see the AV).

If I could attach that process to windows debugger I could find the code
where this exception is generated but on Wine I'm not sure how to do
this ;-(.

That's why I asked this question here where someone could give me a hint
how to make this exception message more informative and to trace the
problematic win32 call that breaks firebird client.

Doychin
Jorge Andrés Brugger
2006-05-26 14:08:00 UTC
Permalink
FlameRobin is growing. Give them some time to get big and automated. :)
See http://www.flamerobin.org/dokuwiki/doku.php?id=wiki:roadmap
The best of Flamerobin is that it´s OpenSource!

Meanwhile, have you tried IBExpert? (http://www.ibexpert.com/)
Post by Doychin Bondzhev
Post by Milan Babuskov
Post by Doychin Bondzhev
I'm using Database Workbench on Wine and in order to connect to
local firebird server on linux I have to install client libraries
for windows in Wine.
Why not use FlameRobin which is native on Linux?
FlameRobin sucks. It lacks lots of features I need. I'm from the
people who try to eliminate all the manual work that can be
accomplished by some programs.
I doubt that Martijn can help me with this mostly because the problem
is not in his program but instead in GDS32.dll (there I see the AV).
If I could attach that process to windows debugger I could find the
code where this exception is generated but on Wine I'm not sure how to
do this ;-(.
That's why I asked this question here where someone could give me a
hint how to make this exception message more informative and to trace
the problematic win32 call that breaks firebird client.
Doychin
--
Jorge Andrés Brugger
Informática
DASU - Obra Social del Personal de la Universidad Nacional de la Patagonia
Comodoro Rivadavia, Chubut, Argentina
Teléfono (0297) 446-4444 int. 103
Correo electrónico: ***@dasu.com.ar
Website: www.dasu.com.ar
Martijn Tonies
2006-05-26 14:13:01 UTC
Permalink
Post by Doychin Bondzhev
Post by Milan Babuskov
Post by Doychin Bondzhev
I'm using Database Workbench on Wine and in order to connect to
local firebird server on linux I have to install client libraries
for windows in Wine.
Why not use FlameRobin which is native on Linux?
FlameRobin sucks. It lacks lots of features I need. I'm from the
people who try to eliminate all the manual work that can be
accomplished by some programs.
I doubt that Martijn can help me with this mostly because the problem
is not in his program but instead in GDS32.dll (there I see the AV).
If I could attach that process to windows debugger I could find the
code where this exception is generated but on Wine I'm not sure how to
do this ;-(.
That's why I asked this question here where someone could give me a
hint how to make this exception message more informative and to trace
the problematic win32 call that breaks firebird client.
Perhaps this could help? This is about running Database Workbench
under Wine on FreeBSD:
http://www.upscene.com/documentation/dbw_freebsd_wine.htm

If you get it working with certain steps, please let me know so it can
be documented.

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
Alex Peshkov
2006-05-26 14:18:03 UTC
Permalink
Post by Doychin Bondzhev
I'm using Database Workbench on Wine and in order to connect to
local firebird server on linux I have to install client libraries
for windows in Wine.
Try an old joke - copy fbclient.dll gds32.dll. It helps on win9x.
Doychin Bondzhev
2006-05-26 15:48:05 UTC
Permalink
I have it working but with Wine 0.9.10 and 0.9.12.

Also there is one important think in order to use DBW with FB client. You
have to copy msvcp60.dll from Firebird directory to system32.

Doychin

----- Original Message -----
From: "Martijn Tonies" <***@upscene.com>
To: <firebird-***@lists.sourceforge.net>
Sent: Friday, May 26, 2006 7:11 PM
Subject: Re: [Firebird-devel] Problem with Windows fbclient.dll on Wine
0.9.13
Post by Martijn Tonies
Post by Doychin Bondzhev
Post by Milan Babuskov
Post by Doychin Bondzhev
I'm using Database Workbench on Wine and in order to connect to
local firebird server on linux I have to install client libraries
for windows in Wine.
Why not use FlameRobin which is native on Linux?
FlameRobin sucks. It lacks lots of features I need. I'm from the
people who try to eliminate all the manual work that can be
accomplished by some programs.
I doubt that Martijn can help me with this mostly because the problem
is not in his program but instead in GDS32.dll (there I see the AV).
If I could attach that process to windows debugger I could find the
code where this exception is generated but on Wine I'm not sure how to
do this ;-(.
That's why I asked this question here where someone could give me a
hint how to make this exception message more informative and to trace
the problematic win32 call that breaks firebird client.
Perhaps this could help? This is about running Database Workbench
http://www.upscene.com/documentation/dbw_freebsd_wine.htm
If you get it working with certain steps, please let me know so it can
be documented.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
marius popa
2006-05-29 12:22:01 UTC
Permalink
Post by Doychin Bondzhev
I'm using Database Workbench on Wine and in order to connect to local
firebird server on linux I have to install client libraries for windows in
Wine.
Until Wine 0.9.13 everything was fine but after instaling this version I
can't connect to firebird becouse I get Access Vioalation in GDS32.dll.
I think there is something wrong with this version of Wine.
hmm try the new wine maybe is better http://winehq.com/?announce=1.118
can you get an backtrace or debug the error you have ?


Does any of you have an idea how I can find the reason for this AV? I tryed
Post by Doychin Bondzhev
with both 1.5 and 2.0RC2 Firebird clients and they both crash the same
way.
--
developer flamerobin.org
Doychin Bondzhev
2006-05-29 13:59:02 UTC
Permalink
0.9.12 is the last one I can confirm that works. I have to wait for an
updated rpm for Fedora 5 or 4 before I can test with 0.9.14.

I posted my problem here because I wanted someone to give me an advice
how to backtrace the problem.

Doychin
Post by Doychin Bondzhev
I'm using Database Workbench on Wine and in order to connect to
local firebird server on linux I have to install client libraries
for windows in Wine.
Until Wine 0.9.13 everything was fine but after instaling this
version I can't connect to firebird becouse I get Access Vioalation
in GDS32.dll.
I think there is something wrong with this version of Wine.
hmm try the new wine maybe is better http://winehq.com/?announce=1.118
can you get an backtrace or debug the error you have ?
Does any of you have an idea how I can find the reason for this AV?
I tryed with both 1.5 and 2.0RC2 Firebird clients and they both
crash the same way.
--
developer flamerobin.org <http://flamerobin.org>
Alex Peshkov
2006-05-29 14:05:04 UTC
Permalink
Post by Doychin Bondzhev
0.9.12 is the last one I can confirm that works. I have to wait for an
updated rpm for Fedora 5 or 4 before I can test with 0.9.14.
I posted my problem here because I wanted someone to give me an advice
how to backtrace the problem.
Can you build fbclient.dll yourself from source code?
Doychin Bondzhev
2006-05-30 02:38:02 UTC
Permalink
No I don't have VIsual studio here or MS C++ compiler. I'm a java developer.

Doychin

----- Original Message -----
From: "Alex Peshkov" <***@insi.yaroslavl.ru>
To: <firebird-***@lists.sourceforge.net>
Sent: Monday, May 29, 2006 7:04 PM
Subject: Re: [Firebird-devel] Problem with Windows fbclient.dll on Wine
0.9.13
Post by Alex Peshkov
Post by Doychin Bondzhev
0.9.12 is the last one I can confirm that works. I have to wait for an
updated rpm for Fedora 5 or 4 before I can test with 0.9.14.
I posted my problem here because I wanted someone to give me an advice
how to backtrace the problem.
Can you build fbclient.dll yourself from source code?
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
Dimitry Sibiryakov
2006-05-30 06:26:13 UTC
Permalink
Post by Alex Peshkov
Can you build fbclient.dll yourself from source code?
According to messages on ibase.ru forum, the problem may be related
to wine's advapi32.dll.
--
SY, Dimitry Sibiryakov.
Doychin Bondzhev
2006-05-30 07:13:49 UTC
Permalink
Actually when I run DBW from terminal I see that wine shows some calls
to this dll and right after that crash occurs.

There is some change in there between 0.9.12 and 0.9.13 that crashes
firebird client library.

Doychin
Post by Dimitry Sibiryakov
Post by Alex Peshkov
Can you build fbclient.dll yourself from source code?
According to messages on ibase.ru forum, the problem may be related
to wine's advapi32.dll.
Alex Peshkov
2006-05-30 07:26:30 UTC
Permalink
Post by Doychin Bondzhev
Actually when I run DBW from terminal I see that wine shows some calls
to this dll and right after that crash occurs.
There is some change in there between 0.9.12 and 0.9.13 that crashes
firebird client library.
Did you try advapi from old wine?
Doychin Bondzhev
2006-05-30 08:51:18 UTC
Permalink
I will try it but I'm not sure this is possible. There could be some
dependencies.

Doychin
Post by Alex Peshkov
Post by Doychin Bondzhev
Actually when I run DBW from terminal I see that wine shows some calls
to this dll and right after that crash occurs.
There is some change in there between 0.9.12 and 0.9.13 that crashes
firebird client library.
Did you try advapi from old wine?
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Doychin Bondzhev
2006-05-30 09:25:10 UTC
Permalink
No change I used the advapi32.dll.so from 0.9.10 with 0.9.13 and there
was not change. I got the same error.

Doychin
Andy Neverowsky
2006-05-30 10:20:02 UTC
Permalink
Post by Doychin Bondzhev
Actually when I run DBW from terminal I see that wine shows some calls
to this dll and right after that crash occurs.
There is some change in there between 0.9.12 and 0.9.13 that crashes
firebird client library.
Post by Dimitry Sibiryakov
According to messages on ibase.ru forum, the problem may be related
to wine's advapi32.dll.
That me wrote to ibase.ru forum about problem.
Today I get and build last wine version (0.9.14).
Good thing that now after calls to fbclient.dll (from
FB-2.0-RC2-12654) there is not hangs but errors.
After some tricking ALL WORKS FINE! And fbclient and IBExpert.
Sorry, I'he not much time now and may write all late.

Doychin Bondzhev
2006-05-30 10:49:58 UTC
Permalink
I managed to track the problem down to a call to AllocateAndInitializeSid

More specifically the crash is triggered in case the result of the call
to this function is not 0;

Doychin
Post by Dimitry Sibiryakov
Post by Alex Peshkov
Can you build fbclient.dll yourself from source code?
According to messages on ibase.ru forum, the problem may be related
to wine's advapi32.dll.
Loading...