clone 558240 -1 severity -1 important reassign -1 libmysqlcppconn4,libmysqlcppconn-stlport4 found -1 1.1.0~r786-2 retitle -1 missing visibility markup makes OOo unable to catch exception -> crash block 558240 by -1 tag -1 + pending tag 558240 + pending thanks
On Fri, Nov 27, 2009 at 11:27:49PM +1100, Tim Richardson wrote: > I get this on two servers; one local and therefore using the latest sid > packages, but one on my webhoster which is a slightly older version of mysql. > So it's not mysql dependant. OK. > Repeat but this time choose native driver in step 2. > After the password dialog is completed, crash. > > Same for my localhost server. Upstream had an idea: --- snip --- IIRC, there's one piece on our patch which dealt with this, search for the class declaration of SQLException (and other exceptions): There, we replace CPPCONN_PUBLIC_FUNC with CPPCONN_PUBLIC_EXCEPTION, which ensures the proper export for those exception's type information. I assume you're building with-system-mysqlcppconn. I'd say you need apply some equivalent of this patch to your system-mysqlcppconn. Basically, CPPCONN_PUBLIC_EXCEPTION is defined as SAL_DLLPUBLIC_EXPORT, but not sure what this actually is for your compiler. Probably '__attribute__ ((visibility("default"))) --- snip --- and it seems it was it. We need the patch in our libmysqlcppconn4 and OOo needs to be rebuilt. Already verified on amd64 and a rebuilt 1:3.2.0~ooo320m6-1 that it doesn't crash anymore. Need to verify this on i386, too but I think that should be it. Grüße/Regards, Rene -- .''`. René Engelhard -- Debian GNU/Linux Developer : :' : http://www.debian.org | http://people.debian.org/~rene/ `. `' r...@debian.org | GnuPG-Key ID: D03E3E70 `- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org