|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2098 crash when reading a large mailbox, but no imap functions involved
Submitted: 1999-08-17 20:36 UTC Modified: 2002-06-16 08:37 UTC
From: chuck at horde dot org Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 3.0 Latest CVS (17/08/1999) OS: RH Linux 6.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: chuck at horde dot org
New email:
PHP Version: OS:


 [1999-08-17 20:36 UTC] chuck at horde dot org
Backtrace: (this is produced by the current version of IMP reading a very large mailbox. But it doesn't involve an IMAP function, so I'm not sure where to look).

Program received signal SIGSEGV, Segmentation fault.
0x8069f1f in read_next_token (tcm=0x81a36e0, token=0xbfffe6f8, 
    phplval=0xbfffeb88) at token_cache.c:177
177		return (*token)->token_type;
(gdb) bt
#0  0x8069f1f in read_next_token (tcm=0x81a36e0, token=0xbfffe6f8, 
    phplval=0xbfffeb88) at token_cache.c:177
#1  0x8063fe7 in phplex (phplval=0xbfffeb88) at main.c:496
#2  0x809ff45 in phpparse () at /usr/lib/bison.simple:431
#3  0x8065565 in php3_parse (yyin=0x81d5d78) at main.c:1548
#4  0x8065740 in apache_php3_module_main (r=0x81d3414, fd=19, 
    display_source_mode=0, preprocessed=0) at main.c:1934
#5  0x8062df9 in send_php3 ()
#6  0x8062e5a in send_parsed_php3 ()
#7  0x80b1803 in ap_invoke_handler ()
#8  0x80c4549 in process_request_internal ()
#9  0x80c45ac in ap_process_request ()
#10 0x80bc33e in child_main ()
#11 0x80bc4cc in make_child ()
#12 0x80bc629 in startup_children ()
#13 0x80bcc46 in standalone_main ()
#14 0x80bd3b3 in main ()
#15 0x400d0cb3 in __libc_start_main (main=0x80bd08c <main>, argc=2, 
    argv=0xbffffba4, init=0x804b57c <_init>, fini=0x8124cec <_fini>, 
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffb9c)
    at ../sysdeps/generic/libc-start.c:78


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:37 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Sep 28 13:01:23 2020 UTC