php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19143 Segmentation fault upon attempt to login to horde
Submitted: 2002-08-28 06:20 UTC Modified: 2002-10-17 01:00 UTC
Votes:5
Avg. Score:4.6 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: ct at piglets dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.3.0 OS: Linux (Debian)
Private report: No CVE-ID: None
 [2002-08-28 06:20 UTC] ct at piglets dot com
I had a CVS version of Horde and Imp working smoothly, after a recent apt-get logins had failed. I think this was an upgrade of PHP. I have checked out the latest stable revisions of Horde and Imp from CVS, ensured that the test.php page shows no problems. PHP 4.1.2 is the current stable and testing version of PHP supplied in the debian distribution.

However, upon attempting to login you get a "document contains no data" situation after entering username and password, and the apache-ssl error log shows the following.

[notice] child pid 29720 exit signal Segmentation fault (11)

-=-


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-28 06:21 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [2002-09-03 18:02 UTC] ct at piglets dot com
Compiled the latest snapshot eventually, but it has not solved the problem.

[Mon Sep  2 15:09:56 2002] [notice] Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.3.0-dev configured -- resuming normal operations
[Mon Sep  2 15:09:56 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache-ssl/suexec)
[Mon Sep  2 15:09:56 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Sep  2 15:10:45 2002] [notice] child pid 10631 exit signal Segmentation fault (11)
 [2002-09-03 18:03 UTC] sniper@php.net
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.

Compile with --enable-debug (and use the snapshot)

 [2002-09-06 06:46 UTC] ct at piglets dot com
I'm not too sure exactly all you are looking for so I included as much as possible. It says no debugging symbols found a lot. This is probably because this is a debian package installed apache, but I have compiled php with --enable-debug and something appears to be showing here. I hope this helps.

CT.

(gdb) run -X
Starting program: /usr/sbin/apache-ssl -X
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Reading key for server anor.piglets.org:443
Launching... /usr/lib/apache-ssl/gcache
pid=25857
Reading key for server anor.piglets.org:443
Launching... /usr/lib/apache-ssl/gcache
pid=25858
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x4026284b in free () from /lib/libc.so.6
(gdb) bt
#0  0x4026284b in free () from /lib/libc.so.6
#1  0x402626d3 in free () from /lib/libc.so.6
#2  0x425e75f6 in mhash_free () from /usr/lib/libmhash.so.2
#3  0x40349682 in zif_mhash (ht=2, return_value=0x825560c, this_ptr=0x0, return_value_used=1)
    at /home/colin/download/php/php4-200209020300/ext/mhash/mhash.c:208
#4  0x40461a9c in execute (op_array=0x81540a4) at /home/colin/download/php/php4-200209020300/Zend/zend_execute.c:1601
#5  0x40461c21 in execute (op_array=0x8255194) at /home/colin/download/php/php4-200209020300/Zend/zend_execute.c:1643
#6  0x40461c21 in execute (op_array=0x81418a4) at /home/colin/download/php/php4-200209020300/Zend/zend_execute.c:1643
#7  0x40461c21 in execute (op_array=0x8153b04) at /home/colin/download/php/php4-200209020300/Zend/zend_execute.c:1643
#8  0x40461c21 in execute (op_array=0x8153cdc) at /home/colin/download/php/php4-200209020300/Zend/zend_execute.c:1643
#9  0x40461c21 in execute (op_array=0x81e3fe4) at /home/colin/download/php/php4-200209020300/Zend/zend_execute.c:1643
#10 0x40461c21 in execute (op_array=0x821bf9c) at /home/colin/download/php/php4-200209020300/Zend/zend_execute.c:1643
#11 0x40461c21 in execute (op_array=0x8143ebc) at /home/colin/download/php/php4-200209020300/Zend/zend_execute.c:1643
#12 0x4045052e in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/colin/download/php/php4-200209020300/Zend/zend.c:814
#13 0x4042a396 in php_execute_script (primary_file=0xbffff3a8) at /home/colin/download/php/php4-200209020300/main/main.c:1524
#14 0x404684de in apache_php_module_main (r=0x813badc, display_source_mode=0)
    at /home/colin/download/php/php4-200209020300/sapi/apache/sapi_apache.c:55
#15 0x40469020 in send_php (r=0x813badc, display_source_mode=0, filename=0x0)
    at /home/colin/download/php/php4-200209020300/sapi/apache/mod_php4.c:563
#16 0x40469085 in send_parsed_php (r=0x813badc) at /home/colin/download/php/php4-200209020300/sapi/apache/mod_php4.c:578
#17 0x08053be4 in ap_invoke_handler ()
#18 0x0806348c in ap_some_auth_required ()
#19 0x080634e8 in ap_process_request ()
#20 0x0805cce9 in ap_child_terminate ()
#21 0x0805ce7c in ap_child_terminate ()
#22 0x0805cf99 in ap_child_terminate ()
#23 0x0805d475 in ap_child_terminate ()
#24 0x0805db7d in main ()
#25 0x4020d0bf in __libc_start_main () from /lib/libc.so.6
(gdb)
 [2002-10-01 16:11 UTC] ct at piglets dot com
Hi, is there any progress on this issue? This is still treated as open I assume?
 [2002-10-01 16:17 UTC] jmoore@php.net
The backtrace you provided is of no use to us as you have not compiled with --enable-debug, please do this and then submit the resulting backtrace.

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.

Compile with --enable-debug (and use the snapshot)


Many thanks.

- James
 [2002-10-01 16:19 UTC] ct at piglets dot com
I think I misunderstood the form to change the status. Sorry... I hope this will do it...
 [2002-10-01 16:24 UTC] jmoore@php.net
feedback is the right status as I have asked you to produce a backtrace with --enable-debug turned on in your configure.

- James
 [2002-10-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 04 05:01:29 2024 UTC