OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005167 [php5] regular use minor have not tried 2014-04-22 15:20 2014-04-22 15:20
Reporter dam View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0005167: pcre should be linked without stack recursion
Description For example websvn uses php5 pcre for analysis and markup which requires massive stackspace to
be configure in /opt/csw/apache2/etc/envvars like
  ulimit -s 1000000
Otherwise the https process crashes with stack overflow:

... (endless match recursions)
 fbef6c94 match (8529921, 82cdf88, 8529920, 2, feffda60, 0) + 10122
 fbef6e7c match (8529921, 82cdf85, 8529920, 2, feffda60, 0) + 1030a
 fbef6c94 match (8529920, 82cdf88, 8529920, 2, feffda60, 0) + 10122
 fbef6e7c match (8529920, 82cdf85, 8529920, 2, feffda60, 0) + 1030a
 fbee83e7 match (8529920, 82cdf80, 8529920, 2, feffda60, 0) + 1875
 fbf0179d php_pcre_exec (82cdf58, feffdbf0, 8529920, 629db, 0, 0) + cfd
 fbf06bc7 php_pcre_match_impl (82ba3b8, 8529920, 629db, 84c4a98, 0, 0) + 2d7
 fbf068c1 php_do_pcre_match (2, 84c4a98, 0, 0, 1, 0) + a1
 fbf0740d zif_preg_match (2, 84c4a98, 0, 0, 1, 81a3770) + 1c
 fc0ebc55 zend_do_fcall_common_helper_SPEC (82e8568, fc430e38, feffddc8, fc0f14f2, fc4945c8, 0) + c95
 fc0f15dd ZEND_DO_FCALL_SPEC_CONST_HANDLER (82e8568, 0, 10, fc0ea7bf) + f9
 fc0eaa0a execute (81b2050, 0, 2, fc0c545e) + 259
 fc0c59fe zend_execute_scripts (8, 0, 3, 0, feffe7d0, 0) + 5ae

The solution is to dynamically link against correctly compiled pcre or statically link against updated pcre.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker