ID:               33058
 User updated by:  jas at cs dot yorku dot ca
 Reported By:      jas at cs dot yorku dot ca
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Redhat 7.3
 PHP Version:      4.3.11
 New Comment:

If it helps, I compiled again without the mysql support, and php
works.

strange?

I'm just running the "php" command straight from
sapi/cli/php.

jas.


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

[2005-05-18 18:40:09] [EMAIL PROTECTED]

Are you sure you're not trying to load an extension compiled for 4.3.4
?

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

[2005-05-18 18:32:40] jas at cs dot yorku dot ca

here is the backtrace requested... sorry for omitting that..

GNU gdb 6.0
Copyright 2003 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 "i686-pc-linux-gnu"...
(gdb) run
Starting program: /tmp/php-4.3.11/sapi/cli/php 

Program received signal SIGSEGV, Segmentation fault.
0x4207fa78 in strcmp () from /lib/i686/libc.so.6
(gdb) bt
#0  0x4207fa78 in strcmp () from /lib/i686/libc.so.6
#1  0x400d7840 in obj_name_cmp ()
   from /cs/local/packages/mysql-4.0.13/lib/mysql/libmysqlclient.so.12
#2  0x400d77d8 in obj_name_cmp ()
   from /cs/local/packages/mysql-4.0.13/lib/mysql/libmysqlclient.so.12
#3  0x400b1388 in getrn ()
   from /cs/local/packages/mysql-4.0.13/lib/mysql/libmysqlclient.so.12
#4  0x4207a058 in malloc () from /lib/i686/libc.so.6
#5  0x400b10fb in lh_insert ()
   from /cs/local/packages/mysql-4.0.13/lib/mysql/libmysqlclient.so.12
#6  0xbfffddd0 in ?? ()

it appears the problem is related to mysql?
seems strange since mysql didn't change when I moved from 4.3.10 to
4.3.11, but php did... hmm.

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

[2005-05-18 17:02:10] [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

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.



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

[2005-05-18 16:37:47] jas at cs dot yorku dot ca

Description:
------------
Hi.

I am experiencing a "similar" problem to bug ID 32783 (marked "bogus")
with PHP 4.3.11.

I was running php 4.3.4.  I tried to upgrade to 4.3.11.
The compile went flawlessly.  However, when I tried to run a "make
install", the "install pear" component failed with a seg fault. 
Similarly, if you just run "php -v", there is a segfault.

I tried to use the Apache module that came with php 4.3.11 with the
existing (4.3.4) lib/php structure, and that worked.  However, I
couldn't use pear to do any upgrades...

hop 301 % php -v
Segmentation fault
hop 302 % gdb php
GNU gdb 6.0
Copyright 2003 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 "i686-pc-linux-gnu"...
(gdb) run -v
Starting program: /cs/local/bin/php -v

Program received signal SIGSEGV, Segmentation fault.
0x4207fa78 in strcmp () from /lib/i686/libc.so.6
(gdb) quit

---

I downgraded to php-4.3.10.  It compiled perfectly, and everything just
works - the php command, and the module.
pear was able to upgrade all of my modules just fine.

I too have a redhat-7.3 base.

Jason.



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


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

Reply via email to