언어 설정

Menu
Sites
Language
Tizen Crash

Hi,

This is a continuation of topic:
https://developer.tizen.org/forums/web-application-development/works-everywhere-except-on-tizen-device
I set it apart to focus on the crash.

I'm using a remote test device:
http://developer.samsung.com/remotetestlab/
to start following application through the browser:
http://creatures-of-gaia.com/tizen/
...and it crashes. (but only on Tizen devices. On other browsers, tizen web simulator and android, it runs flawlessly)

The curious thing is also how it crashes. It loads just fine, starts, and crashes a few seconds after without reason (the game is in an idle state). Here are the error logs:

ERROR    12-05 08:27:41.511    2695        2695    Tizen::Io    result Tizen::Io::_DbEnumeratorImpl::GetStringAt(int, Tizen::Base::String&) const(879) > [E_TYPE_MISMATCH] Trying to access column of different type.
ERROR    12-05 08:27:41.511    2695        2695    Tizen::Io    result Tizen::Io::_DbEnumeratorImpl::GetIntAt(int, int&) const(810) > [E_TYPE_MISMATCH] Trying to access column of different type.
ERROR    12-05 08:27:41.511    2695        2695    Tizen::Io    result Tizen::Io::_DbEnumeratorImpl::GetStringAt(int, Tizen::Base::String&) const(879) > [E_TYPE_MISMATCH] Trying to access column of different type.
ERROR    12-05 08:27:41.461    2695        2695    Tizen::Base::Collection    virtual result Tizen::Base::Collection::ArrayList::IndexOf(const Tizen::Base::Object&, int, int, int&) const(290) > [E_OBJ_NOT_FOUND] The arraylist is empty.
ERROR    12-05 08:27:41.461    2695        2695    Tizen::Base::Collection    virtual result Tizen::Base::Collection::ArrayList::Remove(const Tizen::Base::Object&)(393) > [E_OBJ_NOT_FOUND] Propagating.
DEBUG    12-05 08:27:27.531    12037        12037    ConsoleMessage    Last web app message, no errors or warnings so far.
DEBUG    12-05 08:27:17.091    12037        12037    ConsoleMessage    Everything all right!
DEBUG    12-05 08:27:11.461    12037        12037    ConsoleMessage    Starting app...

I wasn't able to locate where or why this crash occurs. I tested benchmarks using graphics, audio and pieces of code, but they ran just fine. I'm clueless.

Responses

8 댓글
Lakshmi Grandhi

From your crash report it shows that your application is trying to access arraylist beyond out if index range, not sure why it is happening in device not in simulator

Arnaud Dagnelies

Well, the browser does it, not the app. ;)

Arnaud Dagnelies

In javascript, asking for an out of bound index should only return "undefined" anyway. ...but I'll check if this may be the source of the browser crash. Stay tuned.

Arnaud Dagnelies

I just tested it, requesting an out of bound index in javascript returns "undefined" as it should and does not crash the browser.

Lakshmi Grandhi

Are you trying to access the array object without checking for "undefined" , that can cause crash.

Arnaud Dagnelies

What you describe should be reported as script error, not crash the browser. This is not the source of the problem anyway, accessing out of bound elements reports the error just fine, without crash.

The problem is that the tizen web engine / browser crashes without explanation ...all the other browsers I tested so far run the app flawlessly, without a single warning or error.

Arnaud Dagnelies

I spent a whole testing everything imaginable in the remote device browser, producing crash after crash, sometimes even freezing the whole device and requiring a reboot.

The interesting thing is, whenever I'm testing a small part of the game (like an isolated level), it works just fine. However, as soon as I start to test several together, it crashes, whatever the combination of individual working modules it is. Moreover, it doesn't crash when something specific happens but after several seconds while being idle. It feels like Tizen can't cope as the code or memory usage grows.

How to know what's wrong with tizen and why the browser or web app crashes?
 

Arnaud Dagnelies

Edit: (it was a bit unreadable)

I spent the whole day testing everything imaginable in the remote device browser, producing crash after crash, sometimes even freezing the whole device and requiring a reboot.

The interesting thing is, whenever I'm testing a small part of the game (like an isolated level), it works just fine. However, as soon as I start to test several parts together, it crashes. And this happens whatever the combination of individual working modules it is. Moreover, it doesn't crash when something specific happens but after several seconds while being idle. It feels like Tizen can't cope as the code or memory usage grows. Is it a memory leak? Is it wrong code execution?

It's really annoying, because the app itself is OK, every browser I tested so far confirms it, mobile or not. Only tizen crashes/freezes. How to know what's wrong with tizen and why the browser or web app crashes?