[vwnc] StoreForMySQL - garbage collection problems?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] StoreForMySQL - garbage collection problems?

Thomas Gagné-2
I've noticed that while debugging StoreForMySQL I get different errors
at different times.  I'm beginning to think there's a problem with
garbage collections or another memory problem.  Things that work the
first time through sometimes fail the next time through with "bad
handle" errors from DLL/CC calls.  Other times things work OK.  I think
this is especially problematic with bind variables, but can't be sure
unless I build a debuggable version of the mysqlclient libraries.

--
Visit <http://tggagne.blogspot.com/> for more great reading.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] StoreForMySQL - garbage collection problems?

Terry Raymond
Thomas

You might also consider using PostgreSQl instead of
MySQL. Installing Store on PostgreSQL was pretty easy.

Terry
 
===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf
> Of Thomas Gagné
> Sent: Tuesday, April 01, 2008 4:31 PM
> To: vwnc
> Subject: [vwnc] StoreForMySQL - garbage collection problems?
>
> I've noticed that while debugging StoreForMySQL I get different errors
> at different times.  I'm beginning to think there's a problem with
> garbage collections or another memory problem.  Things that work the
> first time through sometimes fail the next time through with "bad
> handle" errors from DLL/CC calls.  Other times things work OK.  I think
> this is especially problematic with bind variables, but can't be sure
> unless I build a debuggable version of the mysqlclient libraries.
>
> --
> Visit <http://tggagne.blogspot.com/> for more great reading.
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] StoreForMySQL - garbage collection problems?

Alan Knight-2
In reply to this post by Thomas Gagné-2
It might well be. I had no problems running the Glorp test suite against the MySQL drivers, but the tests do tend to be fairly short.

At 04:31 PM 4/1/2008, Thomas Gagné wrote:
I've noticed that while debugging StoreForMySQL I get different errors
at different times.  I'm beginning to think there's a problem with
garbage collections or another memory problem.  Things that work the
first time through sometimes fail the next time through with "bad
handle" errors from DLL/CC calls.  Other times things work OK.  I think
this is especially problematic with bind variables, but can't be sure
unless I build a debuggable version of the mysqlclient libraries.

--
Visit < http://tggagne.blogspot.com/> for more great reading.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Cincom Smalltalk Development

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] StoreForMySQL - garbage collection problems?

Wallen, David

Thomas, please feel free to send me any code you’d like. The MySQL interface is still pretty fresh, and we’d like to find out about any real or potential bugs as soon as possible. If there are copyright issues, well, I’ll try to isolate whatever code is directly responsible, and use only that for the AR notes and test case(s).

 

Thanks much,

- Dave

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Alan Knight
Sent: Tuesday, April 01, 2008 1:47 PM
To: Thomas Gagné; vwnc
Subject: Re: [vwnc] StoreForMySQL - garbage collection problems?

 

It might well be. I had no problems running the Glorp test suite against the MySQL drivers, but the tests do tend to be fairly short.

At 04:31 PM 4/1/2008, Thomas Gagné wrote:

I've noticed that while debugging StoreForMySQL I get different errors
at different times.  I'm beginning to think there's a problem with
garbage collections or another memory problem.  Things that work the
first time through sometimes fail the next time through with "bad
handle" errors from DLL/CC calls.  Other times things work OK.  I think
this is especially problematic with bind variables, but can't be sure
unless I build a debuggable version of the mysqlclient libraries.

--
Visit < http://tggagne.blogspot.com/> for more great reading.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


--
Alan Knight [|], Cincom Smalltalk Development

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] StoreForMySQL - garbage collection problems?

Thomas Gagné-2
I've sent a .tgz to David.  I've not published it to the public
repository because I want to keep my image fairly clean and simple.  If
anyone else wants to try it let me know and I'll send it to them.

--
Visit <http://tggagne.blogspot.com/> for more great reading.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc