ID:               44711
 User updated by:  m dot muncke at computer1020 dot at
 Reported By:      m dot muncke at computer1020 dot at
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: freeBSD-7.0-RELEASE
 PHP Version:      5.2.5
 New Comment:

gdb gdb /var/gdb.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging
symbols found)...
Core was generated by `gdb'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.5...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libreadline.so.7...(no debugging symbols
found)...done.
Loaded symbols for /lib/libreadline.so.7
Reading symbols from /lib/libncurses.so.7...(no debugging symbols
found)...done.
Loaded symbols for /lib/libncurses.so.7
Reading symbols from /usr/lib/libgnuregex.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgnuregex.so.4
Reading symbols from /lib/libc.so.7...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/lib/libthread_db.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libthread_db.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2837594d in calloc () from /lib/libc.so.7


Previous Comments:
------------------------------------------------------------------------

[2008-04-13 21:05:29] m dot muncke at computer1020 dot at

Problem is, when I run httpd -X and execute phpbug.php I receive a
Segfault with gdb.core ????!!!

------------------------------------------------------------------------

[2008-04-13 20:01:12] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------

[2008-04-13 19:36:13] m dot muncke at computer1020 dot at

php is running in mod_php
apache22
php modules installed: 
php-interbase, php-ftp, php-imap, php-pcre

------------------------------------------------------------------------

[2008-04-13 19:32:17] m dot muncke at computer1020 dot at

Description:
------------
while parsing a script that contains 
$x->query("select * from table");
I know that it is during parse because before query I can add
jdsgjg;
and there is no error message
I use a db_fbsql.php include file that contains the class DB;

I get Segmentation fault when I run httpd -X and execute the php but I
do not find a core file
When I run 
gdb httpd 
run -X 
I get a segfault in gdb
The same script was running under php 5.2.3 but does not under php
5.2.5
 

Reproduce code:
---------------
http://www.trackseller.com/phpbug.txt



Expected result:
----------------
execute php -> echo finished;
page returns empty.

Actual result:
--------------
I get a segfault but i do not find the core.
Can you tell me where I find that under freeBSD ?


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44711&edit=1

Reply via email to