jadonk / jadonk/rowboat

RowboatBench crashed when running 2d tests

Open
#164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-migrated Priority-Medium Type-Defect
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1.check on the 2d tests
2.click on the back button on your device
3.the app will crash

What is the expected output? What do you see instead?
Unfortunately, RowboatBench has stopped.

What version of the product are you using? On what operating system?
htc one xl, evita:4.0.3

Please provide any additional information below.
The following Error log will appear:
07-10 18:00:25.788: E/DEBUG(14511): Surface destroyed
07-10 18:00:25.868: W/dalvikvm(14511): threadid=11: thread exiting with
uncaught exception (group=0x40a94a08)
07-10 18:00:25.868: E/AndroidRuntime(14511): FATAL EXCEPTION: Thread-1350
07-10 18:00:25.868: E/AndroidRuntime(14511): java.lang.NullPointerException
07-10 18:00:25.868: E/AndroidRuntime(14511): at
rowboat.benchmark.runner.G2dBenchTwoThread.drawFrame(G2dBenchTwoThread.java:40)
07-10 18:00:25.868: E/AndroidRuntime(14511): at
rowboat.benchmark.runner.G2dBenchBase.drawFrame(G2dBenchBase.java:166)
07-10 18:00:25.868: E/AndroidRuntime(14511): at
rowboat.benchmark.runner.G2dBenchBase.run(G2dBenchBase.java:143)
07-10 18:00:25.868: E/AndroidRuntime(14511): at
java.lang.Thread.run(Thread.java:864)
07-10 18:00:29.572: D/Process(14511): killProcess, pid=14511
07-10 18:00:29.572: D/Process(14511):
dalvik.system.VMStack.getThreadStackTrace(Native Method)
07-10 18:00:29.572: D/Process(14511):
java.lang.Thread.getStackTrace(Thread.java:599)
07-10 18:00:29.572: D/Process(14511):
android.os.Process.killProcess(Process.java:807)
07-10 18:00:29.582: D/Process(14511):
com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeIni
t.java:104)
07-10 18:00:29.582: D/Process(14511):
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
07-10 18:00:29.582: D/Process(14511):
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
07-10 18:00:29.582: I/Process(14511): Sending signal. PID: 14511 SIG: 9
```

Original issue reported on code.google.com by `maxchen....@gmail.com` on 10 Jul 2012 at 11:33

Attachments:
- [rowboatErrorLog.txt](https://storage.googleapis.com/google-code-attachments/rowboat/issue-164/comment-0/rowboatErrorLog.txt)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with rowboat.benchmark.runner.G2dBenchTwoThread.drawFrame at line 40, then inspect the calls from G2dBenchBase.drawFrame and G2dBenchBase.run shown in the stack trace. Reproduce the crash by running the 2d tests and pressing the device back button. Done means the app no longer throws the reported NullPointerException or crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.