ID: 13156
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: IMAP related
Operating System: Linux 2.2.16
PHP Version: 4.0CVS-2001-09-05
New Comment:

This also happened with earlier version at least since the 4.0.7-dev tree.

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

[2001-09-05 17:40:40] [EMAIL PROTECTED]

When sorting big folders (>4500 msgs) php crashes with a segfault and produces this 
bt:

Program received signal SIGSEGV, Segmentation fault.
0x4010d55c in realloc () at malloc.c:3135
3135    malloc.c: No such file or directory.
(gdb) bt
#0  0x4010d55c in realloc () at malloc.c:3135
#1  0x81de067 in fs_resize (block=0x8559b98, size=2048) at fs_unix.c:46
#2  0x81ef766 in imap_sort (stream=0x84f8e60, charset=0x0, spg=0x851da98, 
pgm=0x83ca1f0, flags=1) at imap4r1.c:1629
#3  0x81d37d6 in mail_sort (stream=0x84f8e60, charset=0x0, spg=0x851da98, 
pgm=0x83ca1f0, flags=1) at mail.c:3557
#4  0x80aa5b9 in zif_imap_sort (ht=5, return_value=0x8525594, this_ptr=0x0, 
return_value_used=1) at php_imap.c:2532
#5  0x817f0ba in execute (op_array=0x8445090) at ./zend_execute.c:1590
#6  0x817f298 in execute (op_array=0x83c6874) at ./zend_execute.c:1630
#7  0x815a274 in zend_execute_scripts (type=8, file_count=3) at zend.c:807
#8  0x80893cf in php_execute_script (primary_file=0xbffff3c8) at main.c:1310
#9  0x816620c in apache_php_module_main (r=0x831bdac, display_source_mode=0) at 
sapi_apache.c:90
#10 0x808589e in send_php ()
#11 0x8085906 in send_parsed_php ()
#12 0x8189aa9 in ap_invoke_handler ()
#13 0x819f01f in process_request_internal ()
#14 0x819f092 in ap_process_request ()
#15 0x8195c96 in child_main ()
#16 0x8195e55 in make_child ()
#17 0x8195fd6 in startup_children ()
#18 0x819665c in standalone_main ()
#19 0x8196e8c in main ()
#20 0x400d3a8e in __libc_start_main () at ../sysdeps/generic/libc-start.c:93

This is my config line:

'./configure' \
'--with-mysql=/usr' \
'--with-imap=/home/jan/software/imap-2001' \
'--with-zlib=yes' \
'--with-xml' \
'--with-mcal=/usr' \
'--with-ftp' \
'--with-config-file-path=/etc/httpd' \
'--with-apache=/home/jan/software/apache_1.3.20' \
'--enable-inline-optimization' \
'--enable-track-vars' \
'--enable-magic-quotes' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-ftp' \
'--enable-memory-limit' \
'--enable-wddx' \
'--enable-debug' \
'--with-gettext' \
'i386-suse-linux-gnu' \


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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to