Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002560 [Quercus] minor always 03-29-08 00:54 04-16-08 06:10
Reporter etzel View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.6 Product Version
  Product Build
Summary 0002560: ArrayIndexOutOfBoundsException in set_error_handler
Description Using today's SVN version of Resin I got this when starting Drupal 5.7:

java.lang.ArrayIndexOutOfBoundsException: 12
    at com.caucho.quercus.env.Env.setErrorHandler(Env.java:4270)
    ...
Steps To Reproduce
Additional Information Patch

Index: modules/quercus/src/com/caucho/quercus/env/Env.java
===================================================================
--- modules/quercus/src/com/caucho/quercus/env/Env.java (revision 3994)
+++ modules/quercus/src/com/caucho/quercus/env/Env.java (working copy)
@@ -264,8 +264,8 @@
 
   private LocaleInfo _locale;
 
- private Callback [] _prevErrorHandlers = new Callback[B_STRICT + 1];
- private Callback [] _errorHandlers = new Callback[B_STRICT + 1];
+ private Callback [] _prevErrorHandlers = new Callback[B_RECOVERABLE_ERROR + 1];
+ private Callback [] _errorHandlers = new Callback[B_RECOVERABLE_ERROR + 1];
 
   private Callback _prevExceptionHandler;
   private Callback _exceptionHandler;
Attached Files

- Relationships

- Notes
(0002931)
etzel
03-29-08 01:04

Some questions regarding bug reporting policy (sorry if this is not the right place to ask them)

1) should I report bugs found in SVN version or only in release version?
2) should I report such simple bugs?
3) should I provide patches?
 
(0002975)
nam
04-16-08 06:10

Generally, we do not allow 3rd party SVN commits but we do take patches as suggestions for fixes.
 

- Issue History
Date Modified Username Field Change
03-29-08 00:54 etzel New Issue
03-29-08 00:54 etzel Issue Monitored: etzel
03-29-08 01:04 etzel Note Added: 0002931
04-10-08 12:04 nam Status new => assigned
04-10-08 12:04 nam Assigned To  => nam
04-16-08 06:10 nam Status assigned => closed
04-16-08 06:10 nam Note Added: 0002975
04-16-08 06:10 nam Resolution open => fixed
04-16-08 06:10 nam Fixed in Version  => 3.1.6


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker