httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dnt" <...@gmx.com>
Subject Re: [users@httpd] seg fault when using mod_dbd
Date Wed, 18 Sep 2013 11:53:35 GMT
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
> 
> 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 the last line into the log before I get the seg fault.
> 
> If I disable random access in the call of apr_dbd_select the seg fault already happens
in line 56 when calling apr_dbd_get_row.
> 
> Do you have an idea whats wrong?
> 
> Installed are the current packages of CentOS 6.4
> httpd-2.2.15
> apr-util-1.3.9
> apr-util-mysql-1.3.9
> mysql-5.1.69
> 
> Thanks in advance
> Dominic


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message