Crash on startup... (CRASHING MINISTRO?)

Harri Pasanen harri at mpaja.com
Tue May 29 21:16:03 UTC 2012


Have you checked your emulator has enough space in system drive for all
Qt libs?

I think I had that problem both on device and emulator at some point,
and the failure mode was not always obvious...

I'm not sure if Ministro now checks for required space prior to download?

Just my 2 guesses...

-Harri



On 05/29/2012 10:36 PM, Willy Gardiol wrote:
>
>  This is the logcat:
>
>  D/AndroidRuntime( 4651):>>>>>>>>>>>>>>  AndroidRuntime START
>  <<<<<<<<<<<<<<
>  D/AndroidRuntime( 4651): CheckJNI is ON
>  D/AndroidRuntime( 4651): --- registering native functions ---
>  I/ActivityManager(   59): Starting activity: Intent { flg=0x10000000
>  cmp=org.gar
>  diol.trackaway_supporter/org.kde.necessitas.origo.QtActivity }
>  D/AndroidRuntime( 4651): Shutting down VM
>  D/jdwp    ( 4651): adbd disconnected
>  I/AndroidRuntime( 4651): NOTE: attach of thread 'Binder Thread #3' failed
>  I/ActivityManager(   59): Start proc org.gardiol.trackaway_supporter
>  for activit
>  y org.gardiol.trackaway_supporter/org.kde.necessitas.origo.QtActivity:
>  pid=4659
>  uid=10037 gids={3003, 1015}
>  D/dalvikvm( 4659): GC_EXTERNAL_ALLOC freed 675 objects / 53704 bytes
>  in 143ms
>  I/ActivityManager(   59): Start proc org.kde.necessitas.ministro for
>  service org
>  .kde.necessitas.ministro/.MinistroService: pid=4671 uid=10038 gids={3003}
>  I/ActivityManager(   59): Displayed activity
>  org.gardiol.trackaway_supporter/org
>  .kde.necessitas.origo.QtActivity: 3344 ms (total 3344 ms)
>  D/dalvikvm( 4671): Trying to load lib
>  /data/data/org.kde.necessitas.ministro/lib
>  /libchmode.so 0x44e7e470
>  D/dalvikvm( 4671): Added shared lib
>  /data/data/org.kde.necessitas.ministro/lib/l
>  ibchmode.so 0x44e7e470
>  D/dalvikvm( 4671): No JNI_OnLoad found in
>  /data/data/org.kde.necessitas.ministro
>  /lib/libchmode.so 0x44e7e470, skipping init
>  D/dalvikvm(  119): GC_EXPLICIT freed 743 objects / 41648 bytes in 1719ms
>  D/dalvikvm(  262): GC_EXPLICIT freed 45 objects / 2192 bytes in 1860ms
>  W/ActivityManager(   59): Timeout executing service:
>  ServiceRecord{450b8c30 org.
>  kde.necessitas.ministro/.MinistroService}
>  I/Process (   59): Sending signal. PID: 4671 SIG: 3
>  I/dalvikvm( 4671): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 59 SIG: 3
>  I/dalvikvm(   59): threadid=3: reacting to signal 3
>  I/dalvikvm( 4671): Wrote stack traces to '/data/anr/traces.txt'
>  I/Process (   59): Sending signal. PID: 4659 SIG: 3
>  I/dalvikvm( 4659): threadid=3: reacting to signal 3
>  I/dalvikvm( 4659): Wrote stack traces to '/data/anr/traces.txt'
>  I/Process (   59): Sending signal. PID: 262 SIG: 3
>  I/dalvikvm(  262): threadid=3: reacting to signal 3
>  I/dalvikvm(  262): Wrote stack traces to '/data/anr/traces.txt'
>  I/Process (   59): Sending signal. PID: 110 SIG: 3
>  I/dalvikvm(  110): threadid=3: reacting to signal 3
>  I/dalvikvm(  110): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(   59): Wrote stack traces to '/data/anr/traces.txt'
>  I/Process (   59): Sending signal. PID: 245 SIG: 3
>  I/Process (   59): Sending signal. PID: 119 SIG: 3
>  I/dalvikvm(  119): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 115 SIG: 3
>  I/dalvikvm(  115): threadid=3: reacting to signal 3
>  I/dalvikvm(  245): threadid=3: reacting to signal 3
>  I/dalvikvm(  115): Wrote stack traces to '/data/anr/traces.txt'
>  I/Process (   59): Sending signal. PID: 202 SIG: 3
>  I/dalvikvm(  202): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 182 SIG: 3
>  I/dalvikvm(  182): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 173 SIG: 3
>  I/dalvikvm(  173): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 193 SIG: 3
>  I/dalvikvm(  193): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 232 SIG: 3
>  I/dalvikvm(  232): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 215 SIG: 3
>  I/dalvikvm(  215): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 159 SIG: 3
>  I/Process (   59): Sending signal. PID: 153 SIG: 3
>  I/dalvikvm(  153): threadid=3: reacting to signal 3
>  I/dalvikvm(  159): threadid=3: reacting to signal 3
>  I/Process (   59): Sending signal. PID: 125 SIG: 3
>  I/dalvikvm(  125): threadid=3: reacting to signal 3
>  E/ActivityManager(   59): ANR in org.kde.necessitas.ministro
>  E/ActivityManager(   59): Reason: Executing service
>  org.kde.necessitas.ministro/
>  .MinistroService
>  E/ActivityManager(   59): Load: 1.25 / 0.72 / 0.46
>  E/ActivityManager(   59): CPU usage from 27394ms to 71ms ago:
>  E/ActivityManager(   59):   system_server: 7% = 5% user + 2% kernel /
>  faults: 12
>  60 minor 29 major
>  E/ActivityManager(   59):   adbd: 4% = 0% user + 4% kernel / faults:
>  305 minor
>  E/ActivityManager(   59):   ndroid.launcher: 0% = 0% user + 0% kernel
>  / faults:
>  725 minor 3 major
>  E/ActivityManager(   59):   com.svox.pico: 0% = 0% user + 0% kernel /
>  faults: 28
>  5 minor
>  E/ActivityManager(   59):   ronsoft.openwnn: 0% = 0% user + 0% kernel
>  / faults:
>  281 minor 1 major
>  E/ActivityManager(   59):   m.android.phone: 0% = 0% user + 0% kernel
>  / faults:
>  298 minor
>  E/ActivityManager(   59):   zygote: 0% = 0% user + 0% kernel / faults:
>  223 minor
>
>  E/ActivityManager(   59):   logcat: 0% = 0% user + 0% kernel / faults:
>  77 minor
>  E/ActivityManager(   59):   logcat: 0% = 0% user + 0% kernel / faults:
>  26 minor
>  E/ActivityManager(   59):   qemud: 0% = 0% user + 0% kernel / faults:
>  3 minor
>  E/ActivityManager(   59):   logcat: 0% = 0% user + 0% kernel / faults:
>  26 minor
>  E/ActivityManager(   59):   logcat: 0% = 0% user + 0% kernel / faults:
>  26 minor
>  E/ActivityManager(   59):   kswapd0: 0% = 0% user + 0% kernel
>  E/ActivityManager(   59):   ndroid.settings: 0% = 0% user + 0% kernel
>  / faults:
>  330 minor
>  E/ActivityManager(   59):   android.protips: 0% = 0% user + 0% kernel
>  / faults:
>  144 minor
>  E/ActivityManager(   59):   d.process.media: 0% = 0% user + 0% kernel
>  / faults:
>  314 minor
>  E/ActivityManager(   59):   com.android.mms: 0% = 0% user + 0% kernel
>  / faults:
>  145 minor 1 major
>  E/ActivityManager(   59):   m.android.email: 0% = 0% user + 0% kernel
>  / faults:
>  341 minor
>  E/ActivityManager(   59):  +kaway_supporter: 0% = 0% user + 0% kernel
>  E/ActivityManager(   59):  +logcat: 0% = 0% user + 0% kernel
>  E/ActivityManager(   59):  +ssitas.ministro: 0% = 0% user + 0% kernel
>  E/ActivityManager(   59):  +sh: 0% = 0% user + 0% kernel
>  E/ActivityManager(   59):  +app_process: 0% = 0% user + 0% kernel
>  E/ActivityManager(   59): TOTAL: 99% = 80% user + 18% kernel + 0% irq
>  + 0% softi
>  rq
>  I/Process (   59): Sending signal. PID: 4671 SIG: 9
>  I/ActivityManager(   59): Process org.kde.necessitas.ministro (pid
>  4671) has die
>  d.
>  W/ActivityManager(   59): Scheduling restart of crashed service
>  org.kde.necessit
>  as.ministro/.MinistroService in 5000ms
>  I/dalvikvm(  173): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  245): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  159): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  193): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  125): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  153): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  119): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  202): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  215): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  182): Wrote stack traces to '/data/anr/traces.txt'
>  I/dalvikvm(  232): Wrote stack traces to '/data/anr/traces.txt'
>  I/ActivityManager(   59): Start proc org.kde.necessitas.ministro for
>  service org
>  .kde.necessitas.ministro/.MinistroService: pid=4736 uid=10038 gids={3003}
>  D/dalvikvm( 4736): Trying to load lib
>  /data/data/org.kde.necessitas.ministro/lib
>  /libchmode.so 0x44e7e470
>  D/dalvikvm( 4736): Added shared lib
>  /data/data/org.kde.necessitas.ministro/lib/l
>  ibchmode.so 0x44e7e470
>  D/dalvikvm( 4736): No JNI_OnLoad found in
>  /data/data/org.kde.necessitas.ministro
>  /lib/libchmode.so 0x44e7e470, skipping init
>
>  And it simply goes on and on like this...
>  this is on emulator, Android API 8, ministro II APK downloaded from
>  necessitas home page...
>
>
>
>
>  Il 29.05.2012 22:20 Marco Bernasocchi ha scritto:
>>  anything else in the logcat?
>>
>>  Marco Bernasocchi (mobile)
>>   http://opengis.ch [16]
>>  On May 29, 2012 10:18 PM, "Willy Gardiol"<willy at gardiol.org [17]>
>>  wrote:
>>
>>>  Hi Marco!
>>>  i have deployed this so and patched the libs.xml as you said.
>>>  Now it does not crash with this error, but still it does not start.
>>>
>>>  This is the output i get (i am running on emulator, my dev box is
>>>  not set up for Android properly yet...):
>>>  Starting remote process ...
>>>  D/dalvikvm( 1453): GC_EXTERNAL_ALLOC freed 804 objects / 58584
>>>  bytes in 199ms
>>>  I/dalvikvm( 1453): threadid=3: reacting to signal 3
>>>  I/dalvikvm( 1453): Wrote stack traces to /data/anr/traces.txt
>>>  I/dalvikvm( 1453): threadid=3: reacting to signal 3
>>>  I/dalvikvm( 1453): Wrote stack traces to /data/anr/traces.txt
>>>  I/dalvikvm( 1453): threadid=3: reacting to signal 3
>>>  I/dalvikvm( 1453): Wrote stack traces to /data/anr/traces.txt
>>>  I/dalvikvm( 1453): threadid=3: reacting to signal 3
>>>  I/dalvikvm( 1453): Wrote stack traces to /data/anr/traces.txt
>>>
>>>  then it stuck for a very long time, then it closes.
>>>
>>>  it does not seems to be QtLocation related anymore... but maybe
>>>  somebody has some suggestions?
>>>  Yes i have a few threads, i dont use OpenGL, and the app never
>>>  starts up, i only see the green Qt for a long time.
>>>
>>>  Il 29.05.2012 09:27 Marco Bernasocchi ha scritto:
>>>
>>>>  Bogdan has fixed it in alpha 4. Here [0] a fixed qtLocation.so tha
>>>>  you
>>>>  can use meanwhile. you just need to put it in the libs folder and
>>>>  put
>>>>  it as bundled libs in the libs.xml file.
>>>>   ciao
>>>>
>>>>  [0] http://www.bernawebdesign.ch/download/libQtLocation.so.zip
>>>>  [4] [4]
>>>>
>>>>  Marco Bernasocchi (mobile)
>>>>   http://opengis.ch [5] [5]
>>>>  On May 29, 2012 8:04 AM, "Tomas Løvbukten"<tomaslov at gmail.com
>>>>  [6] [6]>
>>>>  wrote:
>>>>
>>>>>  Hi Willy,
>>>>>
>>>>>  Im afraid you bumped into the issue with ticket 79  [1]. This
>>>>>  happens at all apps with QtLocation running on Ice Cream
>>>>>  Sandwich.
>>>>>  It seems to be a quite simple patch, hopefully someone ships it
>>>>>  for
>>>>>  alpha4.
>>>>>
>>>>>  Cheers,
>>>>>  TomasL
>>>>>
>>>>>  [1] http://sourceforge.net/p/necessitas/tickets/79/ [1] [1]
>>>>>
>>>>>  _>>>>>>>>>>>>>>_ Ok, since alpha2, i am trying again with
>>>>>  alpha3. My
>>>>>  app uses GPS
>>>>>  location.
>>>>>
>>>>>  Here is what i get:
>>>>>
>>>>>  ...
>>>>>
>>>>>  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...
>>>>>
>>>>>  _______________________________________________
>>>>>  Necessitas-devel mailing list
>>>>>  Necessitas-devel at kde.org [2] [2]
>>>>>  https://mail.kde.org/mailman/listinfo/necessitas-devel [3] [3]
>>>>
>>>>  Links:
>>>>  ------
>>>>  [1] http://sourceforge.net/p/necessitas/tickets/79/ [7]
>>>>  [2] mailto:Necessitas-devel at kde.org [8]
>>>>  [3] https://mail.kde.org/mailman/listinfo/necessitas-devel [9]
>>>>  [4] http://www.bernawebdesign.ch/download/libQtLocation.so.zip
>>>>  [10]
>>>>  [5] http://opengis.ch [11]
>>>>  [6] mailto:tomaslov at gmail.com [12]
>>>
>>>  -- 
>>>  Willy Gardiol
>>>  willy at gardiol.org [13]
>>>  www.gardiol.org [14]
>>>  www.trackaway.org [15] ->  Track YOUR way the way you want!
>>
>>
>>  Links:
>>  ------
>>  [1] http://sourceforge.net/p/necessitas/tickets/79/
>>  [2] mailto:Necessitas-devel at kde.org
>>  [3] https://mail.kde.org/mailman/listinfo/necessitas-devel
>>  [4] http://www.bernawebdesign.ch/download/libQtLocation.so.zip
>>  [5] http://opengis.ch
>>  [6] mailto:tomaslov at gmail.com
>>  [7] http://sourceforge.net/p/necessitas/tickets/79/
>>  [8] mailto:Necessitas-devel at kde.org
>>  [9] https://mail.kde.org/mailman/listinfo/necessitas-devel
>>  [10] http://www.bernawebdesign.ch/download/libQtLocation.so.zip
>>  [11] http://opengis.ch
>>  [12] mailto:tomaslov at gmail.com
>>  [13] mailto:willy at gardiol.org
>>  [14] http://www.gardiol.org
>>  [15] http://www.trackaway.org
>>  [16] http://opengis.ch
>>  [17] mailto:willy at gardiol.org
>



More information about the Necessitas-devel mailing list