Linux with mysql and c++API

I'am trying to connect to an Mysql database trough c++ API (1.7.8)
The program compiles just fine but when i try to run it I get the message
Segmentation fault core dump....

When I try to run the program with the strace command I can see that the 
program connects to the database and retrives information from the selected 
table........
But just at it's about to complete it preformes the core dump.

The follwing seems to be the problem:
munmap(0xfec54533, 1096976036) = -1 EINVAL (Invalid argument)

The arguments that I use seem to be correct code vise???

Can anyone give me a hint?

Jarle

Reply via email to