Crash on startup...

Willy Gardiol willy at gardiol.org
Mon May 28 21:47:06 UTC 2012


Ok, since alpha2, i am trying again with alpha3. My app uses GPS 
location.

Here is what i get:

D/dalvikvm( 2638): GC_EXTERNAL_ALLOC freed 886 objects / 61784 bytes in 
180ms
D/dalvikvm( 2638): DexOpt: --- BEGIN 'QtIndustrius-8.jar' (bootstrap=0) 
---
D/dalvikvm( 2638): DexOpt: --- END 'QtIndustrius-8.jar' (success) ---
D/dalvikvm( 2638): DEX prep 
'/data/data/org.kde.necessitas.ministro/files/qt/jar/QtIndustrius-8.jar': 
unzip in 107ms, rewrite 778ms
D/dalvikvm( 2638): Trying to load lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 
0x44ee8db8
D/dalvikvm( 2638): Added shared lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 
0x44ee8db8
D/dalvikvm( 2638): No JNI_OnLoad found in 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 
0x44ee8db8, skipping init
D/dalvikvm( 2638): Trying to load lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 
0x44ee8db8
D/dalvikvm( 2638): Added shared lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 
0x44ee8db8
D/dalvikvm( 2638): No JNI_OnLoad found in 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 
0x44ee8db8, skipping init
D/dalvikvm( 2638): Trying to load lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtNetwork.so 
0x44ee8db8
D/dalvikvm( 2638): Added shared lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtNetwork.so 
0x44ee8db8
D/dalvikvm( 2638): No JNI_OnLoad found in 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtNetwork.so 
0x44ee8db8, skipping init
D/dalvikvm( 2638): Trying to load lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtSensors.so 
0x44ee8db8
D/dalvikvm( 2638): Added shared lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtSensors.so 
0x44ee8db8
D/dalvikvm( 2638): No JNI_OnLoad found in 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtSensors.so 
0x44ee8db8, skipping init
D/dalvikvm( 2638): Trying to load lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtXml.so 
0x44ee8db8
D/dalvikvm( 2638): Added shared lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtXml.so 
0x44ee8db8
D/dalvikvm( 2638): No JNI_OnLoad found in 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtXml.so 
0x44ee8db8, skipping init
D/dalvikvm( 2638): Trying to load lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtSql.so 
0x44ee8db8
D/dalvikvm( 2638): Added shared lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtSql.so 
0x44ee8db8
D/dalvikvm( 2638): No JNI_OnLoad found in 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtSql.so 
0x44ee8db8, skipping init
D/dalvikvm( 2638): Trying to load lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtLocation.so 
0x44ee8db8
D/dalvikvm( 2638): Added shared lib 
/data/data/org.kde.necessitas.ministro/files/qt/lib/libQtLocation.so 
0x44ee8db8
W/dalvikvm( 2638): JNI WARNING: expected return type 'I'
W/dalvikvm( 2638):              calling 
Lorg/kde/necessitas/mobile/QtLocation;.supportedPositiongMethods ()J
W/dalvikvm( 2638):              in Ljava/lang/Runtime;.nativeLoad 
(Ljava/lang/String;Ljava/lang/ClassLoader;)Z (CallIntMethodV)
I/dalvikvm( 2638): "main" prio=5 tid=1 NATIVE
I/dalvikvm( 2638):   | group="main" sCount=0 dsCount=0 s=N 
obj=0x4001d8e0 self=0xccb0
I/dalvikvm( 2638):   | sysTid=2638 nice=0 sched=0/0 cgrp=default 
handle=-1345026008
I/dalvikvm( 2638):   | schedstat=( 1432554774 2489701166 237 )
I/dalvikvm( 2638):   at java.lang.Runtime.nativeLoad(Native Method)
I/dalvikvm( 2638):   at java.lang.Runtime.load(Runtime.java:408)
I/dalvikvm( 2638):   at java.lang.System.load(System.java:536)
I/dalvikvm( 2638):   at 
org.kde.necessitas.industrius.QtNative.loadQtLibraries(QtNative.java:100)
I/dalvikvm( 2638):   at 
org.kde.necessitas.industrius.QtActivityDelegate.loadApplication(QtActivityDelegate.java:244)
I/dalvikvm( 2638):   at java.lang.reflect.Method.invokeNative(Native 
Method)
I/dalvikvm( 2638):   at 
java.lang.reflect.Method.invoke(Method.java:521)
I/dalvikvm( 2638):   at 
org.kde.necessitas.origo.QtActivity.loadApplication(QtActivity.java:144)
I/dalvikvm( 2638):   at 
org.kde.necessitas.origo.QtActivity.access$200(QtActivity.java:77)
I/dalvikvm( 2638):   at 
org.kde.necessitas.origo.QtActivity$3$1$1.run(QtActivity.java:201)
I/dalvikvm( 2638):   at 
android.os.Handler.handleCallback(Handler.java:587)
I/dalvikvm( 2638):   at 
android.os.Handler.dispatchMessage(Handler.java:92)
I/dalvikvm( 2638):   at android.os.Looper.loop(Looper.java:123)
I/dalvikvm( 2638):   at 
android.app.ActivityThread.main(ActivityThread.java:4627)
I/dalvikvm( 2638):   at java.lang.reflect.Method.invokeNative(Native 
Method)
I/dalvikvm( 2638):   at 
java.lang.reflect.Method.invoke(Method.java:521)
I/dalvikvm( 2638):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
I/dalvikvm( 2638):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
I/dalvikvm( 2638):   at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 2638):
E/dalvikvm( 2638): VM aborting

Then of course, it crashes... What i am doing wrong here? I have 
downloaded the libs via Ministro II...
the same code works on Symbian, Maemo and MeeGo.

I know part of QtMobility is not supported, but i understood that 
QtLocation _should_ be working...


-- 
Willy Gardiol
willy at gardiol.org
www.gardiol.org
www.trackaway.org -> Track YOUR way the way you want!


More information about the Necessitas-devel mailing list