List:MySQL++« Previous MessageNext Message »
From:Sinisa Milivojevic Date:May 25 2004 3:27pm
Subject:Re: seg fault on all example programs
View as plain text  
Mike wrote:
> 
> Correct, none work.  Even the sinisa_ex...
> 
> lin-dev:~/mysql++-1.7.9/examples# ./simple1
> Segmentation fault
> lin-dev:~/mysql++-1.7.9/examples# ./sinisa_ex
> Segmentation fault
> lin-dev:~/mysql++-1.7.9/examples#
> 
> That's all it will do.  Any ideas on how to pursue this?  How to even 
> get a better error message or even start to dig into this to find a 
> solution?
> 


Your case is quite special.

First check that C API include files and lib are from the same version. 
Simply check whether you have only one instance of either.

Then use gdb and see where and why it crashes.


-- 

Sincerely,

-- 
For technical support contracts, go to https://order.mysql.com/?ref=msmi
    __  ___     ___ ____  __
   /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <sinisa@stripped>
  / /|_/ / // /\ \/ /_/ / /__   MySQL AB
/_/  /_/\_, /___/\___\_\___/   Full time Developer and Support Coordinator
        <___/   www.mysql.com   Larnaca, Cyprus

Thread
seg fault on all example programsMike21 May
  • Re: seg fault on all example programsSinisa Milivojevic21 May
    • Re: seg fault on all example programsMike21 May
      • Re: seg fault on all example programsSinisa Milivojevic22 May
        • Re: seg fault on all example programsMike22 May
          • Re: seg fault on all example programsSinisa Milivojevic25 May