Closed Bug 818924 Opened 7 years ago Closed 4 years ago

Android crash in libc on call to an undefined javascript function (triggered by older version of Pacman Canvas app)

Categories

(Firefox for Android :: General, defect, critical)

19 Branch
All
Android
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX

People

(Reporter: eviljeff, Unassigned)

Details

(Keywords: crash, Whiteboard: [native-crash])

Crash Data

This bug was filed from the Socorro interface and is 
report bp-689a24ec-2c68-40d9-854f-32cf52121206 .
=============================================================
Andrew - Can I get more information here?
Flags: needinfo?(awilliamson)
Yeah sorry, I filed it on the device and thought it would pull across more information.

It was from the Pacman Canvas app. Crashes on Android; doesn't on FxOS/Desktop. 
https://marketplace.firefox.com/app/pacman-canvas-early-beta/
Flags: needinfo?(awilliamson)
Whiteboard: [native-crash]
The developer has fixed the app now so it no longer crashes. The bug should still be fixed if possible though.
The question is what kind of code triggered this. As the developer seems to have identified that, could we get a record of that here, please?
Hello,
I am the dev of the app that seems to have caused the crash.
The bug that occured in the corresponding version of the app was a call to an undefined javascript function.
(In reply to chregi.glatthard from comment #5)
> The bug that occured in the corresponding version of the app was a call to
> an undefined javascript function.

Is it possible to create a minimized testcase that just has such a call and see if it also shows this behavior (crash on Android)? If so, we'd love to have that on there.
Even if calling such a function might not be correct JS code, we shouldn't crash our JS engine with it.
Summary: crash in libc → Android crash in libc on call to an undefined javascript function (triggered by older version of Pacman Canvas app)
Component: Web Apps → General
QA Contact: aaron.train
chregi.glatthard, could you please help us with a testcase here? See comment #6, we'd be really happy to get our hands on some code that causes this crash so we can debug.
Flags: needinfo?(chregi.glatthard)
Hello,
sorry for taking such a long time to answer.

I guess to recreate this you would just have to build an app with javascript.
In it there should be a loop and in the loop you would have to call an undefined funtion.

i.e:

function animationLoop() {

undefinedfunction();

animationLoop();

}

That was all I know there was, which could have caused the error from my side.
Flags: needinfo?(chregi.glatthard)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.