PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #15992 Segmentation fault (11)
Submitted:11 Mar 2002 5:07am UTC Modified: 4 Apr 2002 7:38am UTC
From:office at lunar dot com dot pl Assigned to:
Status:Closed Category:InterBase related
Version:4.1.2 OS:RH 7.2
Votes:4 Avg. Score:4.8 ± 0.4 Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%) Same OS:3 (75.0%)
View/Vote Developer Edit Submission

[11 Mar 2002 5:07am 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/libc.so.6
(gdb) bt
#0  0x40430c7c in memcpy () from /lib/i686/libc.so.6
#1  0x00000000 in __strtol_internal (nptr=0x0, endptr=0x0, base=165,
group=128)

If I comment out the ibase_close() from my PHP scripst all works well.
[11 Mar 2002 6:07am UTC] mfischer@php.net
Can you provide more context of the backtrace (e.g. a few more lines
from 'bt full') ?
[11 Mar 2002 6:25am UTC] office at lunar dot com dot pl
No symbol table info available.

What else can I do to help?
[11 Mar 2002 6:33am UTC] mfischer@php.net
Recompile php and the module (if not static already) with the configure
line '--enable-debug'.
[11 Mar 2002 6:51am 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
[11 Mar 2002 8:13am UTC] sander@php.net
Try compiling Apache with --enable-debug too.
[11 Mar 2002 9:32am 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 :(
[4 Apr 2002 7:38am UTC] daniela@php.net
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:
http://www.php.net/manual/en/function.ibase-close.php

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC