Re: [Sablevm-developer] SableVM hangs during database connection
Brought to you by:
egagnon
From: Chris P. <chr...@ma...> - 2004-06-17 22:54:06
|
Roman Kennke wrote: > Hi, > > >>>>I found another issue, this time related to a database connection with >>>>MySQL. During sending an update, the hole connection seems to hang >>>>infinitely. >>> >>> >>>Update: I've done a lot of tests, during which I got it running on >>>Linux. I used a new MySQL driver for this. Unfortunately my testprog >>>does still not run under FreeBSD. I will attach my testprog. >> >>Hi Roman, >> >>I think you forgot to attach the test case. > > > Oh, sorry. As always, I forgot the attachment ;-) > > In order to run the test, you need a MySQL database set up this way: > > CREATE DATABASE test; > GRANT ALL PRIVILEGES ON test.* TO test IDENTIFIED BY 'test'; > GRANT ALL PRIVILEGES ON test.* TO test@localhost IDENTIFIED BY 'test'; > USE test; > CREATE TABLE ( > test LONGBLOB > ); > > and of course you need the MySQL JDBC driver (I used version 3.0.14). > > I hope, someone is willing and able to run this. Eventually someone will get to it. I don't know if we have a FreeBSD machine. If you were able to provide shell access to somebody it might be faster. Anyway, can you try ./configure --enable-debugging-features --with-threading=switch ? I have no idea either, but it's apparently another threading bug. If you have linuxthreads available for FreeBSD and it's not a pain to use them, that would be worth trying out. Cheers, Chris |