언어 설정

Menu
Sites
Language
Getting crash log/call stack

Hi,

I noticed that sometime when a game crashes the call stack window gets no information at all. This happen only occasinally but it's still annoying in paritcular for hard to track bugs. 

Do you guys know if there is another way to get crash / call stack information?

A second question but related to the one above. Sometime the tester manage to crash the application, is it possible to get the call stack information from the device even if the device was not connected to the computer at the moment of the crash?

 

Thanks for the help

Edited by: Stefano Zanetti on 14 10월, 2013

Responses

4 댓글
Stefano Zanetti

Just to clarify the logs in the /tizenproject/crash-info folder is consistent with the call stack I get in the Tizen IDE. So when I miss the call stack I also miss the information in the crash-info folder.

youngsik yoon

enter sdb shell by typing "sdb -d shell" from command line, and look at /opt/usr/share/crash on the device.

you can also find crash reports happend on device under /opt/user/share/crash/report/.

Stefano Zanetti

Thanks you Youngsik Yoon. This is helpful. 

Unfortunatelly the crash I'm investigating does not leave any tracks in this folder either.

The usual pop up "The application closed unexpectedly" does not show up. What I see is the application freezing for 3-4 seconds and then closes.

All I get is some logs

10-15 10:47:43.860 : ERROR / Tizen::Base::Collection ( 2659 : 2659 ) : virtual result Tizen::Base::Collection::ArrayList::Remove(const Tizen::Base::Object&)(393) > [E_OBJ_NOT_FOUND] Propagating.
10-15 10:47:43.860 : ERROR / Tizen::Base::Collection ( 2659 : 2659 ) : virtual result Tizen::Base::Collection::ArrayList::IndexOf(const Tizen::Base::Object&, int, int, int&) const(290) > [E_OBJ_NOT_FOUND] The arraylist is empty.
10-15 10:47:43.860 : ERROR / Tizen::Base::Collection ( 2659 : 2659 ) : virtual result Tizen::Base::Collection::ArrayList::Remove(const Tizen::Base::Object&)(393) > [E_OBJ_NOT_FOUND] Propagating.
10-15 10:47:44.915 : ERROR / Tizen::App ( 2659 : 2659 ) : virtual void Tizen::App::_ContextManager::OnApplicationTerminated(const Tizen::App::AppId&, int)(477) > Not registered pid(2701)
10-15 10:47:53.485 : ERROR / Tizen::Base::Collection ( 2659 : 2659 ) : virtual result Tizen::Base::Collection::ArrayList::IndexOf(const Tizen::Base::Object&, int, int, int&) const(290) > [E_OBJ_NOT_FOUND] The arraylist is empty.
10-15 10:47:53.485 : ERROR / Tizen::Base::Collection ( 2659 : 2659 ) : virtual result Tizen::Base::Collection::ArrayList::Remove(const Tizen::Base::Object&)(393) > [E_OBJ_NOT_FOUND] Propagating.
10-15 10:47:53.530 : ERROR / Tizen::Io ( 2659 : 2659 ) : result Tizen::Io::_DbEnumeratorImpl::GetStringAt(int, Tizen::Base::String&) const(879) > [E_TYPE_MISMATCH] Trying to access column of different type.
10-15 10:47:53.530 : ERROR / Tizen::Io ( 2659 : 2659 ) : result Tizen::Io::_DbEnumeratorImpl::GetIntAt(int, int&) const(810) > [E_TYPE_MISMATCH] Trying to access column of different type.
10-15 10:47:53.530 : ERROR / Tizen::Io ( 2659 : 2659 ) : result Tizen::Io::_DbEnumeratorImpl::GetStringAt(int, Tizen::Base::String&) const(879) > [E_TYPE_MISMATCH] Trying to access column of different type.

 

I guess the interesting line there could be the " virtual void Tizen::App::_ContextManager::OnApplicationTerminated(const Tizen::App::AppId&, int)(477) > Not registered pid(2701) ". Does that mean that application terminate was called automatically and that is the reason why it is not tracked as a crash?

 

Are this information familiar to anyone?

 

Thanks,

Stefano

 

youngsik yoon

I'm not sure... Please try clean and rebuild with release configuration. 

And also refer to below case. It looks similar problem.

https://developer.tizen.org/forums/native-application-development/application-sometimes-fails-launch