Bug 306579 - App crashes instantly and never executes with alpha4
Summary: App crashes instantly and never executes with alpha4
Status: RESOLVED DUPLICATE of bug 306210
Alias: None
Product: Necessitas
Classification: Applications
Component: Android QtCreator (show other bugs)
Version: alpha4
Platform: Android Android 2.x
: NOR critical
Target Milestone: Unspecified
Assignee: BogDan Vatra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 01:48 UTC by Jon Heron
Modified: 2012-09-11 14:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: http://commits.kde.org/android-qt/ebab12678bd0dde27c8ebd2d32a60b5c31e3bc41


Attachments
compile output from Necessitas (3.67 KB, text/plain)
2012-09-11 01:50 UTC, Jon Heron
Details
logcat of crash (131.69 KB, text/plain)
2012-09-11 01:51 UTC, Jon Heron
Details
adb crash log from emulator (8.95 KB, text/plain)
2012-09-11 14:18 UTC, izar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Heron 2012-09-11 01:48:23 UTC
Sorry for the poor posting! Not sure how I screwed that up! ;)
It seems that a few of us are having the same problems, see here https://groups.google.com/forum/?fromgroups=#!topic/android-qt/INIlLAEFAxU
I am trying to deploy to a 2.2 device via USB from a Fedora16_64 box.
Latest Ministro using any of the lib repositories has the same result.
Above is the compile output log from necessitas and the logcat crash log.
A small test app that I created from alpha4 can be downloaded here:
www.theherons.ca/downloads
login: temp
pass: necessitas

Best regards,
Jon Heron 


Reproducible: Always

Steps to Reproduce:
1.download test app
2.clean and rebuild
3.deploy to device
Actual Results:  
App tries to start then black screen before crash

Expected Results:  
App should start on device
Comment 1 Jon Heron 2012-09-11 01:50:45 UTC
Created attachment 73804 [details]
compile output from Necessitas
Comment 2 Jon Heron 2012-09-11 01:51:23 UTC
Created attachment 73805 [details]
logcat of crash
Comment 3 Jon Heron 2012-09-11 01:58:58 UTC
Forgot to mention, this line from logcat seems be where it goes bad:
I/UsageStats(  119): Unexpected resume of com.android.launcher2 while already resumed in org.kde.necessitas.example.testAlpha4
Hope that helps!
Jon
Comment 4 BogDan Vatra 2012-09-11 07:03:01 UTC

*** This bug has been marked as a duplicate of bug 306210 ***
Comment 5 izar 2012-09-11 14:12:53 UTC
@bogdan- this doesn't seem like it has anything to do with  bug 306210!
that bug is about an error caused by some sort of link code, and here we arn't talking about anything that has to do with our own code but with necessitas code. simply any app we run crashes immediately.
 
(In reply to comment #4)
> 
> 
> *** This bug has been marked as a duplicate of bug 306210 ***

@jon-
the line you mentioned appears several times and i believe isn't related to this bug.
the trouble began at line 1768:
I/DEBUG   (   46): signal 11 (SIGSEGV), fault addr fffffffc

(In reply to comment #3)
> Forgot to mention, this line from logcat seems be where it goes bad:
> I/UsageStats(  119): Unexpected resume of com.android.launcher2 while
> already resumed in org.kde.necessitas.example.testAlpha4
> Hope that helps!
> Jon
Comment 6 izar 2012-09-11 14:18:25 UTC
Created attachment 73823 [details]
adb crash log from emulator

log from the moment i launched the app till crash.
deployed qt libs earlier.

ubuntu 12.04 x64.
Comment 7 BogDan Vatra 2012-09-11 14:23:58 UTC
This http://commits.kde.org/android-qt/ebab12678bd0dde27c8ebd2d32a60b5c31e3bc41 commit fixes more than one bug, it fixes also "atomics for armv5 thumb architectue", which is the root cause of your bug.