Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005551 [Baratine] minor always 10-10-13 10:33 11-25-13 17:59
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0005551: ArrayIndexOutOfBoundsException when replaying journal
Description Resin Professional 7.0.s130912 (built Thu, 12 Sep 2013 11:17:04 PDT)
Copyright(c) 1998-2012 Caucho Technology. All rights reserved.

[2013-10-07 15:57:20,620] WARNING Resin: 1015395.license -- 1 Resin server Ascentis

  1015395.license -- 1 Resin server

Starting Resin Professional on Mon, 07 Oct 2013 15:57:18 +0000 (UTC)

[2013-10-07 15:57:21,124] INFO ProxyCache: Proxy Cache disk-size=1024M memory-size=16M
[2013-10-07 15:57:21,286] INFO ResinSystem:
[2013-10-07 15:57:21,295] INFO ResinSystem: Resin Professional 7.0.s130912 (built Thu, 12 Sep 2013 11:17:04 PDT)
[2013-10-07 15:57:21,295] INFO ResinSystem:
[2013-10-07 15:57:21,295] INFO ResinSystem: Linux 2.6.32-358.11.1.el6.x86_64 amd64
[2013-10-07 15:57:21,296] INFO ResinSystem: Java(TM) SE Runtime Environment 1.8.0-ea-b94, UTF-8, en
[2013-10-07 15:57:21,296] INFO ResinSystem: Java HotSpot(TM) 64-Bit Server VM 25.0-b36, 64, mixed mode, Oracle Corporation
[2013-10-07 15:57:21,296] INFO ResinSystem:
[2013-10-07 15:57:21,297] INFO ResinSystem: user.name = root
[2013-10-07 15:57:23,208] INFO NetworkClusterActor:
[2013-10-07 15:57:23,215] INFO TcpPort: server listening to localhost:6800
[2013-10-07 15:57:23,272] INFO NetworkClusterActor:
java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at com.caucho.mauka.MaukaBlobOutputStream.writeTail(MaukaBlobOutputStream.java:368)
    at com.caucho.mauka.Row.insertBlobs(Row.java:114)
    at com.caucho.mauka.BlockLeaf.insert(BlockLeaf.java:107)
    at com.caucho.mauka.PageLeafImpl.put(PageLeafImpl.java:219)
    at com.caucho.mauka.PageActor.putImpl(PageActor.java:608)
    at com.caucho.mauka.PageActor.replayJournalPut(PageActor.java:807)
    at com.caucho.mauka.MaukaJournalImpl.replayJournal(MaukaJournalImpl.java:152)
    at com.caucho.mauka.MaukaJournalImpl.access$000(MaukaJournalImpl.java:45)
    at com.caucho.mauka.MaukaJournalImpl$ReplayJournalCallback.onItem(MaukaJournalImpl.java:244)
    at com.caucho.db.journal.JournalSegment.replay(JournalSegment.java:405)
    at com.caucho.db.journal.JournalStreamImpl.replay(JournalStreamImpl.java:68)
    at com.caucho.mauka.MaukaJournalImpl.replayJournal(MaukaJournalImpl.java:176)
    at com.caucho.mauka.PageActor.start(PageActor.java:104)
    at com.caucho.mauka.MaukaDatabase.<init>(MaukaDatabase.java:148)
    at com.caucho.mauka.DatabaseBuilder.build(DatabaseBuilder.java:310)
    at com.caucho.kraken.mauka.MaukaLocalBacking.start(MaukaLocalBacking.java:215)
    at com.caucho.kraken.entries.KrakenManager.start(KrakenManager.java:468)
    at com.caucho.kraken.cache.CacheSystemManager.start(CacheSystemManager.java:167)
    at com.caucho.env.system.ResinSystem.startSystems(ResinSystem.java:547)
    at com.caucho.env.system.ResinSystem.start(ResinSystem.java:514)
    at com.caucho.server.resin.Resin.start(Resin.java:866)
    at com.caucho.server.resin.Resin.initMain(Resin.java:985)
    at com.caucho.server.resin.Resin.main(Resin.java:1438)
java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at com.caucho.mauka.MaukaBlobOutputStream.writeTail(MaukaBlobOutputStream.java:368)
    at com.caucho.mauka.Row.insertBlobs(Row.java:114)
    at com.caucho.mauka.BlockLeaf.insert(BlockLeaf.java:107)
    at com.caucho.mauka.PageLeafImpl.put(PageLeafImpl.java:219)
    at com.caucho.mauka.PageActor.putImpl(PageActor.java:608)
    at com.caucho.mauka.PageActor.replayJournalPut(PageActor.java:807)
    at com.caucho.mauka.MaukaJournalImpl.replayJournal(MaukaJournalImpl.java:152)
    at com.caucho.mauka.MaukaJournalImpl.access$000(MaukaJournalImpl.java:45)
    at com.caucho.mauka.MaukaJournalImpl$ReplayJournalCallback.onItem(MaukaJournalImpl.java:244)
    at com.caucho.db.journal.JournalSegment.replay(JournalSegment.java:405)
    at com.caucho.db.journal.JournalStreamImpl.replay(JournalStreamImpl.java:68)
    at com.caucho.mauka.MaukaJournalImpl.replayJournal(MaukaJournalImpl.java:176)
    at com.caucho.mauka.PageActor.start(PageActor.java:104)
    at com.caucho.mauka.MaukaDatabase.<init>(MaukaDatabase.java:148)
    at com.caucho.mauka.DatabaseBuilder.build(DatabaseBuilder.java:310)
    at com.caucho.kraken.mauka.MaukaLocalBacking.start(MaukaLocalBacking.java:215)
    at com.caucho.kraken.entries.KrakenManager.start(KrakenManager.java:468)
    at com.caucho.kraken.cache.CacheSystemManager.start(CacheSystemManager.java:167)
    at com.caucho.env.system.ResinSystem.startSystems(ResinSystem.java:547)
    at com.caucho.env.system.ResinSystem.start(ResinSystem.java:514)
    at com.caucho.server.resin.Resin.start(Resin.java:866)
    at com.caucho.server.resin.Resin.initMain(Resin.java:985)
    at com.caucho.server.resin.Resin.main(Resin.java:1438)
Additional Information
Attached Files

- Relationships

- Notes
(0006342)
nam
10-23-13 16:09

I noticed in the readme file that it says 5551 was resolved, but we're still seeing the ArrayIndexOutOfBoundsException when restarting Resin. I only see the problem with more than 100 items in the store so when testing, you guys might want to add a few thousand items to try to make it easier to reproduce. The console output:

$ bin/resin.sh console
...
[add 1,000 items to store]
[hit ctrl-c to stop Resin]
$ bin/resin.sh console
[2013-10-23 15:54:42,898] INFO ProxyCache: Proxy Cache disk-size=1024M memory-size=64M
[2013-10-23 15:54:42,971] INFO ResinSystem:
[2013-10-23 15:54:42,971] INFO ResinSystem: Resin Professional 7.0.s131022 (built Tue, 22 Oct 2013 09:31:17 PDT)
[2013-10-23 15:54:42,971] INFO ResinSystem:
[2013-10-23 15:54:42,972] INFO ResinSystem: Linux 2.6.32-358.23.2.el6.x86_64 amd64
[2013-10-23 15:54:42,972] INFO ResinSystem: OpenJDK Runtime Environment 1.7.0_45-mockbuild_2013_10_23_08_18-b00, UTF-8, en
[2013-10-23 15:54:42,972] INFO ResinSystem: OpenJDK 64-Bit Server VM 24.45-b08, 64, mixed mode, Oracle Corporation
[2013-10-23 15:54:42,972] INFO ResinSystem:
[2013-10-23 15:54:42,972] INFO ResinSystem: user.name = jwillis
[2013-10-23 15:54:43,037] INFO NetworkClusterActor:
[2013-10-23 15:54:43,043] INFO TcpPort: server listening to localhost:6800
[2013-10-23 15:54:43,101] INFO NetworkClusterActor:
java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at com.caucho.mauka.ColumnBlob.insertBlob(ColumnBlob.java:152)
        at com.caucho.mauka.Row.copyBlobs(Row.java:128)
        at com.caucho.mauka.PageLeafImpl$PageEntry.read(PageLeafImpl.java:835)
        at com.caucho.mauka.BlockLeaf.addEntry(BlockLeaf.java:376)
        at com.caucho.mauka.PageLeafImpl.split(PageLeafImpl.java:313)
        at com.caucho.mauka.PageActor.splitPage(PageActor.java:691)
        at com.caucho.mauka.PageActor.putImpl(PageActor.java:623)
        at com.caucho.mauka.PageActor.replayJournalPut(PageActor.java:812)
        at com.caucho.mauka.MaukaJournalImpl.replayJournal(MaukaJournalImpl.java:152)
        at com.caucho.mauka.MaukaJournalImpl.access$000(MaukaJournalImpl.java:45)
        at com.caucho.mauka.MaukaJournalImpl$ReplayJournalCallback.onItem(MaukaJournalImpl.java:244)
        at com.caucho.db.journal.JournalSegment.replay(JournalSegment.java:409)
        at com.caucho.db.journal.JournalStreamImpl.replay(JournalStreamImpl.java:70)
        at com.caucho.mauka.MaukaJournalImpl.replayJournal(MaukaJournalImpl.java:176)
        at com.caucho.mauka.PageActor.start(PageActor.java:104)
        at com.caucho.mauka.MaukaDatabase.<init>(MaukaDatabase.java:148)
        at com.caucho.mauka.DatabaseBuilder.build(DatabaseBuilder.java:310)
        at com.caucho.kraken.mauka.MaukaLocalBacking.start(MaukaLocalBacking.java:218)
        at com.caucho.kraken.entries.KrakenManager.start(KrakenManager.java:481)
        at com.caucho.kraken.KrakenSystem.start(KrakenSystem.java:167)
        at com.caucho.kraken.cluster.ProKrakenSystem.start(ProKrakenSystem.java:87)
        at com.caucho.env.system.ResinSystem.startSystems(ResinSystem.java:551)
        at com.caucho.env.system.ResinSystem.start(ResinSystem.java:518)
        at com.caucho.server.resin.Resin.start(Resin.java:963)
        at com.caucho.boot.StartAllCommand.startForeground(StartAllCommand.java:217)
        at com.caucho.boot.StartAllCommand.doCommand(StartAllCommand.java:124)
        at com.caucho.boot.ConsoleCommand.doCommand(ConsoleCommand.java:62)
        at com.caucho.boot.ConsoleCommand.doCommand(ConsoleCommand.java:43)
        at com.caucho.boot.AbstractBootCommand.doCommand(AbstractBootCommand.java:176)
        at com.caucho.boot.AbstractBootCommand.doCommand(AbstractBootCommand.java:67)
        at com.caucho.boot.ResinBoot.main(ResinBoot.java:88)
 
(0006356)
ferg
11-25-13 17:59

If similar stack trace appears in the future, please file with a new bug report. The underlying issues are generally different; they just happen to have a similar exception.
 

- Issue History
Date Modified Username Field Change
10-10-13 10:33 nam New Issue
10-10-13 10:33 nam Description Updated
10-14-13 15:32 nam Project Quercus => Resin
10-22-13 10:39 ferg Project Resin => Baratine
10-23-13 16:09 nam Note Added: 0006342
11-25-13 17:59 ferg Note Added: 0006356
11-25-13 17:59 ferg Assigned To  => ferg
11-25-13 17:59 ferg Status new => closed
11-25-13 17:59 ferg Resolution open => fixed
11-25-13 17:59 ferg Fixed in Version  => 0.8.1


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