List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:March 10 2005 2:23am
Subject:Re: Segmentation fault->Result res = query.store();
View as plain text  
On Wed, Mar 09, 2005 at 05:25:45PM -0800, Marco Turchi wrote:
> >
> >Do you have a backtrace?  If using bash:
> >
> >	export LD_LIBRARY_PATH=/path/to/mysql++/tarball/lib/.libs
> >	ulimit -c unlimited
> >	examples/.libs/resetdb
> >	gdb examples/.libs/resetdb core
> >	> bt
> > 
> 
> I've used you command, but I've these results, that, I suppose, are not 
> correct:
> 
> 
> Core was generated by `.libs/resetdb'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libmysqlpp.so.4...done.
> Loaded symbols for /usr/local/lib/libmysqlpp.so.4

I'm not sure if core dump files save the libraries they were run with...
would make sense if they did.  If this is so, it is still using the
lib from /usr/local/lib instead of the one you compiled with.

This could explain why there is no info in the backtrace (stripped libs?).

You may need to delete the core files, make sure LD_LIBRARY_PATH is set,
and run resetdb again to make a new core dump.


> then I have seen that I'm using the version 1.7.30,  it's a problem?

1.7.30 should be fine.

- Chris

Thread
Segmentation fault->Result res = query.store();Marco Turchi9 Mar
  • Re: Segmentation fault->Result res = query.store();Warren Young9 Mar
    • Re: Segmentation fault->Result res = query.store();Marco Turchi9 Mar
      • Re: Segmentation fault->Result res = query.store();Marco Turchi9 Mar
        • Re: Segmentation fault->Result res = query.store();Warren Young9 Mar
          • Re: Segmentation fault->Result res = query.store();Marco Turchi9 Mar
      • Re: Segmentation fault->Result res = query.store();Warren Young9 Mar
  • Re: Segmentation fault->Result res = query.store();Chris Frey9 Mar
    • Re: Segmentation fault->Result res = query.store();Warren Young9 Mar
      • Re: Segmentation fault->Result res = query.store();Marco Turchi10 Mar
        • Re: Segmentation fault->Result res = query.store();Chris Frey10 Mar
          • Re: Segmentation fault->Result res = query.store();Marco Turchi10 Mar
            • Re: Segmentation fault->Result res = query.store();Chris Frey10 Mar
              • Re: Segmentation fault->Result res = query.store();Marco Turchi10 Mar
                • Re: Segmentation fault->Result res = query.store();Chris Frey10 Mar
                  • Re: Segmentation fault->Result res = query.store();Marco Turchi10 Mar
                    • Re: Segmentation fault->Result res = query.store();Earl Miles11 Mar
                      • Re: Segmentation fault->Result res = query.store();Warren Young11 Mar
        • Re: Segmentation fault->Result res = query.store();Warren Young11 Mar
          • Re: Segmentation fault->Result res = query.store();Warren Young11 Mar
            • Re: Segmentation fault->Result res = query.store();Chris Frey11 Mar
              • Re: Segmentation fault->Result res = query.store();Warren Young12 Mar
      • mysql++ installdon thompson10 Mar
        • Re: mysql++ install solveddon thompson10 Mar