Page MenuHomeSchine - Phabricator

Starmade | inventory search filter crashes you
Closed, FinishedPublic

Description

If you have 2 or more rows of search results, scrolling in the inventory will immediately crash you with this stacktrace. It's fine if you only have blocks on the 1st row.

[2015-11-28 18:12:07] java.lang.ArrayIndexOutOfBoundsException: -1
[2015-11-28 18:12:07] 	at obfuscated.zH.a(SourceFile:473)
[2015-11-28 18:12:07] 	at obfuscated.zH.a(SourceFile:413)
[2015-11-28 18:12:07] 	at obfuscated.zH.b_(SourceFile:296)
[2015-11-28 18:12:07] 	at obfuscated.avV.b_(SourceFile:177)
[2015-11-28 18:12:07] 	at obfuscated.avm.b_(SourceFile:36)
[2015-11-28 18:12:07] 	at obfuscated.avm.b_(SourceFile:36)
[2015-11-28 18:12:07] 	at obfuscated.awX.b_(SourceFile:55)
[2015-11-28 18:12:07] 	at obfuscated.awz.b_(SourceFile:173)
[2015-11-28 18:12:07] 	at obfuscated.axh.b_(SourceFile:66)
[2015-11-28 18:12:07] 	at obfuscated.BS.c(SourceFile:1036)
[2015-11-28 18:12:07] 	at obfuscated.BD.b_(SourceFile:188)
[2015-11-28 18:12:07] 	at obfuscated.mF.b_(SourceFile:250)
[2015-11-28 18:12:07] 	at obfuscated.mC.b_(SourceFile:162)
[2015-11-28 18:12:07] 	at obfuscated.hC.e(SourceFile:847)
[2015-11-28 18:12:07] 	at obfuscated.he.b(SourceFile:716)
[2015-11-28 18:12:07] 	at obfuscated.he.b_(SourceFile:368)
[2015-11-28 18:12:07] 	at obfuscated.atS.e(SourceFile:782)
[2015-11-28 18:12:07] 	at obfuscated.atS.a(SourceFile:1167)
[2015-11-28 18:12:07] 	at obfuscated.C.h(SourceFile:2788)
[2015-11-28 18:12:07] 	at obfuscated.NU.run(SourceFile:92)
[2015-11-28 18:12:07] 	at java.lang.Thread.run(Unknown Source)

How to reproduce:

  • Resize your inventory so it's only 5 inventory slots wide or so
  • Search for something that gives you 1 hit, and search for something that gives you 6 or more hits (so a second row is used)
  • Scroll in the inventory, the one that uses 2 or more rows will crash you

Log:

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.19504 (Dev)
Category
Engine
First occurrence (version)
0.19501 (Dev)
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

lancake updated the task description. (Show Details)Nov 28 2015, 5:22 PM
lancake shifted this object from the S1 Public space to the S3 Starmade space.
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake edited Serverconfig (server.cfg). (Show Details)
lancake edited Clientconfig (settings.cfg). (Show Details)
lancake added a subscriber: lancake.
lancake created this task.
lancake raised the priority of this task from to Release Blocker.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptNov 28 2015, 5:22 PM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
lancake set Task Type to Bug.Nov 28 2015, 5:22 PM
lancake set Category to Engine.
lancake set Affected Gamemode(s) to Single and Multi.
lancake set First occurrence (version) to 0.19501 (Dev).
lancake set Reproducible to Yes.
lancake set Last tested (version) to 0.19503 (Dev).
lancake set OS-Specific to No.
lancake set Hardware-Specific to No.
lancake set Video Card Vendor to uncertain.
lancake claimed this task.

-Confirmed-

lancake moved this task from Open / Validated to Confirmed on the Issue Navigation board.
lancake changed the task status from Open to In Queue (Game).
Restricted Application edited projects, added Game Development, Starmade; removed Issue Navigation. · View Herald TranscriptNov 28 2015, 5:23 PM
schema added a subscriber: schema.Nov 28 2015, 5:36 PM
schema changed the task status from In Queue (Game) to Resolved.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptNov 28 2015, 5:36 PM
lancake closed this task as Closed.

-QA Testing-

Fix confirmed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptNov 28 2015, 6:37 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
lancake changed Last tested (version) from 0.19503 (Dev) to 0.19504 (Dev).Nov 28 2015, 6:37 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Dec 4 2015, 9:49 PM
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:21 PM