|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15992 Segmentation fault (11)
Submitted: 2002-03-11 05:07 UTC Modified: 2002-04-04 07:38 UTC
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:3 (75.0%)
From: office at lunar dot com dot pl Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.1.2 OS: RH 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: office at lunar dot com dot pl
New email:
PHP Version: OS:


 [2002-03-11 05:07 UTC] office at lunar dot com dot pl
ibase_close function causes Segmentation fault (11) in Apache 1.3.23 web server.

Program received signal SIGSEGV, Segmentation fault.
0x40430c7c in memcpy () from /lib/i686/
(gdb) bt
#0  0x40430c7c in memcpy () from /lib/i686/
#1  0x00000000 in __strtol_internal (nptr=0x0, endptr=0x0, base=165,

If I comment out the ibase_close() from my PHP scripst all works well.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-11 06:07 UTC]
Can you provide more context of the backtrace (e.g. a few more lines from 'bt full') ?
 [2002-03-11 06:25 UTC] office at lunar dot com dot pl
No symbol table info available.

What else can I do to help?
 [2002-03-11 06:33 UTC]
Recompile php and the module (if not static already) with the configure line '--enable-debug'.
 [2002-03-11 06:51 UTC] office at lunar dot com dot pl
As before i did:

./configure --without-mysql --with-imap --with-imap-ssl --with-interbase --with-pgsql --with-kerberos --with-gettext --with-xml --with-apache=../apache_1.3.23/ --enable-track-vars --enable-debug > .log

Backtrace only outputs the same 2 lines after httpd crashes
 [2002-03-11 08:13 UTC]
Try compiling Apache with --enable-debug too.
 [2002-03-11 09:32 UTC] office at lunar dot com dot pl
Apache does not have en --enable-debug option but I compiled it with -g option in gcc and it still did not work.
I only get 2 lines of backtrace info :(
 [2002-04-04 07:38 UTC]
Fixed in today CVS (4.3.0-dev)

same as bug #15419 - #14558

you will find an example about how to use ibase_close() at:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 07:01:31 2024 UTC