|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
MySQL C library - segmentation fault on mysql_select_db() when using CC optimisation
Hello,
I have segmentation fault while trying to execute a binary that uses MySQL C API. An error occurs every time mysql_select_db() is called. The output says: Code:
in free(): error: free_pages: pointer to wrong page Abort trap (core dumped) Code:
COPT=-I /usr/local/include/mysql -L /usr/local/lib/mysql -O Code:
COPT=-I /usr/local/include/mysql -L /usr/local/lib/mysql I am not sure whether the problem is caused by MySQL C API bug or error in cc (or maybe error in programmer ) The OS is OpenBSD 4.2 GENERIC.MP amd64 Thank you for suggestions. Regards. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault error139 | delboy | FreeBSD Ports and Packages | 8 | 9th July 2009 06:32 PM |
MYSQL 's fault? | disappearedng | FreeBSD General | 3 | 14th October 2008 11:53 PM |
What include and shared library directories are searched by gcc | kasse | FreeBSD General | 3 | 16th July 2008 08:44 PM |
Segmentation fault (11) - Apache | ijk | FreeBSD Ports and Packages | 16 | 15th July 2008 11:04 AM |
Segmentation fault | ccc | FreeBSD General | 8 | 28th June 2008 02:15 PM |