I have written one extension for PHP in c++ with the hep of this tutorial http://devzone.zend.com/1435/wrapping-c-classes-in-a-php-extension/. In my extension i am creating threads and executing mysql queries. The code is running fine but after running i am getting this error "Segmentation fault (core dumped)".
I tried "gdb" debugger and i am getting this
"Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff7eb2700 (LWP 11985)]"
let me know any way i find the causing this problem.