cubi76041 / adosbox

Automatically exported from code.google.com/p/adosbox
0 stars 0 forks source link

aDosBox crashes during multitouch #134

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On a multitouch device, press two fingers down and with a third finger move 
across the screen
2. aDosBox crashes.

Various permutations of the above will also cause crash, and also with fewer 
than three fingers.

What version of the product are you using? On what operating system?
Using adosbox 0.2.5 on Android 4.0.4 on a Droid Bionic

Please provide any additional information below.

Following the stack trace led me to the last responsible line in aDosBox java 
code, which is line 152 in Video.java -- 
DifferentTouchInput$MultiTouchInput.process(). I believe the culprit is an 
incorrect use of MotionEvent.getX() -- instead of "i", which may be outside the 
valid input range for getX, use getPointerId(i), similar to what was used 
previously in the same function.

This is my initial assessment, so I may be inadequately debugging -- note that 
the final exception is thrown from MotionEvent.nativeGetAxisValue and is an 
"IllegalArgumentException: pointerIndex out of range" which may substantiate my 
diagnosis.

Original issue reported on code.google.com by Programm...@gmail.com on 11 Dec 2012 at 4:06

GoogleCodeExporter commented 9 years ago
Same problem on a HTC Ville. Could it be qhd resolution related?

Original comment by jvan...@gmail.com on 22 Dec 2012 at 2:49

GoogleCodeExporter commented 9 years ago
I have exactly the same problem with multitouching using games like xargon or 
hocus pocus.

Original comment by riwan.cu...@gmail.com on 2 Feb 2014 at 5:34

GoogleCodeExporter commented 9 years ago
same problem here on lenovo a850+, colorovo tablet and cat b15 phone

Original comment by Chrochti...@gmail.com on 18 Sep 2014 at 11:54

GoogleCodeExporter commented 9 years ago
Same problem here lg g2.

Original comment by aytuncpo...@gmail.com on 18 Nov 2014 at 6:25