7 messages in com.mysql.lists.plusplusRe: Segmentation Fault on pass2
FromSent OnAttachments
Michael Lovett04 Oct 2004 09:21 
Warren Young05 Oct 2004 05:04 
Michael Lovett05 Oct 2004 05:06 
Warren Young05 Oct 2004 05:40 
Warren Young05 Oct 2004 07:51 
Michael Lovett05 Oct 2004 08:21 
Michael Lovett06 Oct 2004 03:13 
Subject:Re: Segmentation Fault on pass2
From:Michael Lovett (mlov@morpace.com)
Date:10/06/2004 03:13:30 AM
List:com.mysql.lists.plusplus

Thanks for the nudge.

We were able to compile a separate version of 3.3 on this box and try mysql++
with that. It worked, fine, as expected.

Not sure why the Red Hat 3.x compatibility library exhibited the behavior that
it did.

Guess there's nothing that beats the real thing!

Thanks for your replies

M

Warren Young <mysq@etr-usa.com> 10/05/04 10:51AM >>>

Michael Lovett wrote:

The source line executing is

query << "select server_name_tx from tblTabServer";

Unless something else in MySQL++ has scribbled on the memory heap by this point, I don't see how this line can cause a crash other than with a buggy standard library. The fact that the problem doesn't happen on a 'native' GCC 3 system heightens one's suspicions.

Can you not upgrade to GCC 3.x on this system? I'd recommend going no higher than 3.3, as MySQL++ isn't confirmed to run on 3.4 yet. I recall 3.0.4 being available for RH7.2, possibly from Red Hat themselves.