Re: [users@httpd] seg fault when using mod_dbd

2013-09-18 Thread dnt
Found the error: res and row must be initialized with NULL, otherwise no memory will be allocated in the called functions. > - Original Message - > From: dnt > Sent: 09/18/13 01:02 PM > To: users@httpd.apache.org > Subject: [users@httpd] seg fault when using mod_dbd >

[users@httpd] seg fault when using mod_dbd

2013-09-18 Thread dnt
Hi, I want to use mod_dbd with MySQL on a system with CentOS 6.4 (x86_64). I can execute a select statement, but getting a row fails. Finally I get a segmentation fault. Attached is a simple test module which leads to the error. The log output until apr_dbd_get_row is as expected. Line 57 writes