[imp] Redirect.php imp 2.3.7-cvs problem

Oakes, Edward B eoakes@RADFORD.EDU
Tue, 21 Aug 2001 11:53:00 -0400


Ok, Finally I have a backtrace of this.
Once again we know that we are having a
problem with the imap_sort routine in
mailbox.php with some users.

This is where we die:

$new = imap_sort($imp['stream'], 0, 0, SE_UID, 'UNSEEN');

Let me know what else I can do.


#0  0xdfb0012e in realloc () from /usr/lib/libc.so.1
#1  0xdf8f8e7a in fs_resize (block=0x8334900, size=2048) at osdep.c:46
#2  0xdf910c57 in imap_sort (stream=0x8296198, 
    charset=0x363 <Address 0x363 out of bounds>, spg=0x82fd220,
pgm=0x80ebb78, 
    flags=1) at imap4r1.c:1627
#3  0xdf8f4a5f in mail_sort (stream=0x8296198, charset=0x0,
spg=0x82fd220, 
    pgm=0x80ebb78, flags=1) at mail.c:3557
#4  0xdf832a6c in php_if_imap_sort (ht=5, return_value=0x82fd204, 
    this_ptr=0x0, return_value_used=1) at php_imap.c:2773
#5  0xdf7d4bd4 in execute (op_array=0x80de904) at ./zend_execute.c:1504
#6  0xdf7e7213 in zend_execute_scripts (type=8, file_count=3) at
zend.c:752
#7  0xdf800834 in php_execute_script (primary_file=0x8047bb8) at
main.c:1206
#8  0xdf7fb99b in apache_php_module_main (r=0x80fcecc,
display_source_mode=0)
    at sapi_apache.c:89
#9  0xdf7fc8ec in send_php (r=0x80fcecc, display_source_mode=0, 
    filename=0x80fdb04 "/user/disk00a/imp23cvs/horde/imp/mailbox.php")
    at mod_php4.c:536
#10 0xdf7fc929 in send_parsed_php (r=0x80fcecc) at mod_php4.c:547
#11 0x8056a57 in ap_invoke_handler (r=0x80fcecc) at http_config.c:517
#12 0x806a5ad in process_request_internal (r=0x80fcecc) at
http_request.c:1307
#13 0x806a60c in ap_process_request (r=0x80fcecc) at http_request.c:1323
#14 0x8061985 in child_main (child_num_arg=0) at http_main.c:4209
#15 0x8061b1c in make_child (s=0x80a9bfc, slot=0, now=998408995)
    at http_main.c:4313
#16 0x8061c77 in startup_children (number_to_start=5) at
http_main.c:4395
#17 0x8062268 in standalone_main (argc=2, argv=0x8047d60) at
http_main.c:4683
#18 0x8062ac7 in main (argc=2, argv=0x8047d60) at http_main.c:5010