From: Date: August 6 2004 10:08pm Subject: where i can find patch-3.3.2.diff??? List-Archive: http://lists.mysql.com/plusplus/3325 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi folks, I just found from the archive of mysql-plusplus group that there is another patch (patch-3.3.2.diff) for gcc3.3.2. I cannot find it at mysql.com website. Where I can find it? Or Somebody please email me a copy of it? I am suspecting all the troubles I went thru and time wasted for the last few days are due to this patch. Why not it is posted at the website??? Thanks in advance Yigong -----Original Message----- From: Liu, Yigong [mailto:Yigong.Liu@stripped]=20 Sent: Friday, August 06, 2004 3:23 PM To: sinisa@stripped Cc: robin.imrie@stripped; plusplus@stripped; Liu, Yigong Subject: RE: gdb cannot read simple1 Hi there, Thanks for the reply. The simple1 which worked is a modified version, in which I changed to connect to a remote server which does exist. Since I cannot run a local server, the original simple1 always crashes. And I am trying to find out why exception handling is not working here. Suppose the "cannot connect" exception should be caught instead of crash with coredump? Also I tried the custom.pl patch (by Warren Young?), it still fails at examples/custom[1-4].cc. However with custom.pl which Bryan posted Feb 10 with Jim Peden fix, I can compile all the example code smoothly. So with Bryan's 3.3 patch and custom.pl, I can compile the whole package smoothly. I also tried ./configure --enable-exception. However, exception handling still not work for me. I just hand-build simple1.cc and from gdb I saw the following stack-trace: Program terminated with signal 6, Aborted. =2E.. #0 0xff19bb54 in _libc_kill () from /usr/lib/libc.so.1 (gdb) bt #0 0xff19bb54 in _libc_kill () from /usr/lib/libc.so.1 #1 0xff1357c4 in abort () from /usr/lib/libc.so.1 #2 0xff261acc in __cxxabiv1::__terminate(void (*)()) ( handler=3D0xff1356bc ) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47 #3 0xff261b04 in std::terminate() () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57 Could you give me any hints what is wrong? Thanks a lot! Yigong -----Original Message----- From: Sinisa Milivojevic [mailto:sinisa@stripped]=20 Sent: Friday, August 06, 2004 2:51 PM To: Liu, Yigong Cc: robin.imrie@stripped; plusplus@stripped Subject: Re: gdb cannot read simple1 Liu, Yigong writes: > HI there, >=20 > I still have the exception problem with simple1. Basically if simple1 > found no database server to connect to, it will crash the program > instead of raising the appropriate exceptions. >=20 > I tried to run gdb to debug it, however, gdb complains that it is not an > executable or cannot read the format. However I tried other programs > compiled with the same compiled, gdb can handle them correctly. >=20 > Any tricks I need before I can use gdb to debug it? >=20 > Thanks > Yigong >=20 >=20 You said before that simple worked for you. What changed ????=20 To build it for debugging you have to compile it manually. Also, you can not expect to have things running if patching did not succeed.=20 So go back and try to patch it withoum problems. You will have to fix things manually for the failed patches. --=20 Sincerely, --=20 For technical support contracts, go to https://order.mysql.com/?ref=3Dmsmi __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic / /|_/ / // /\ \/ /_/ / /__ MySQL AB /_/ /_/\_, /___/\___\_\___/ Full time Developer and Support Coordinator <___/ www.mysql.com Larnaca, Cyprus ------------------------------------------------------------------------ ------------------------ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. =20 If you have received it in error, please notify the sender immediately and delete the original. Any unauthorized use of this email is prohibited. ------------------------------------------------------------------------ ------------------------ [mf2] --=20 MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=3DYigong.Liu@stripped ---------------------------------------------------------------------------= --------------------- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. =20 If you have received it in error, please notify the sender immediately and delete the original. Any unauthorized use of this email is prohibited. ---------------------------------------------------------------------------= --------------------- [mf2]