BatPhone crash on startup : 0.93-pre-44

22 views
Skip to first unread message

Kevin Steen

unread,
Jan 14, 2016, 1:00:54 PM1/14/16
to Serval Project Developers
The latest BatPhone crashes on startup if you don't have 100MB free
space in your system partition.

When it tries to import the APK, it fails and crashes. Even if you "Move
to SDCard" it still seems to use the free space measure of the system
partition.

Adding rhizome.min_free_space=1000000 to serval.conf allowed BatPhone to
start correctly on my phone (62MB free on system, 300Mb free on sdcard.)

-Kevin


Debug log:


01-14 17:23:33.892 D/servald ( 4076):
rhizome.c:546:rhizome_manifest_check_stored() {rhizome} No stored
manifest with
id=E238D11C9D6AC4982DFE3B3A570F803755A0B176F22906BF550EE41D104DC279
01-14 17:23:33.892 D/servald ( 4076):
rhizome_store.c:42:rhizome_exists() SELECT COUNT(*) FROM FILES WHERE id
=
'F226340091E638231374E0155FD30CC8853224ACDA08F5E18C079D84F1AA4769A2C0145D7DE63074BC72893D61521820939852AE00AA431850FE9C8439A17194'
and datavalid = 1;
01-14 17:23:33.892 D/servald ( 4076):
rhizome_store.c:42:rhizome_exists() rowcount=1 changes=0 result=0
01-14 17:23:33.892 D/servald ( 4076):
rhizome_store.c:212:store_make_space() PRAGMA page_size;
01-14 17:23:33.892 D/servald ( 4076):
rhizome_store.c:212:store_make_space() rowcount=1 changes=0 result=1024
01-14 17:23:33.892 D/servald ( 4076):
rhizome_store.c:213:store_make_space() PRAGMA page_count;
01-14 17:23:33.892 D/servald ( 4076):
rhizome_store.c:213:store_make_space() rowcount=1 changes=0 result=14
01-14 17:23:33.892 D/servald ( 4076):
rhizome_store.c:214:store_make_space() PRAGMA freelist_count;
01-14 17:23:33.892 D/servald ( 4076):
rhizome_store.c:214:store_make_space() rowcount=1 changes=0 result=0
01-14 17:23:33.912 D/servald ( 4076):
rhizome_store.c:222:store_make_space() SELECT SUM(length) FROM FILES
WHERE NOT EXISTS( SELECT 1 FROM FILEBLOBS WHERE FILES.ID = FILEBLOBS.ID );
01-14 17:23:33.912 D/servald ( 4076):
rhizome_store.c:222:store_make_space() rowcount=1 changes=0 result=0
01-14 17:23:33.912 D/servald ( 4076):
rhizome_store.c:231:store_make_space() {rhizome} Not enough space for
2020094. Used; 14336 = 0 + 1024 * (14 - 0), Limit; 0
01-14 17:23:33.912 F/servald ( 4076):
rhizome_cli.c:360:app_rhizome_import_bundle()
rhizome_bundle_import_files() returned 7
01-14 17:23:33.912 I/DEBUG ( 4075): *** *** *** *** *** *** *** *** ***
*** *** *** *** *** *** ***
01-14 17:23:33.912 I/DEBUG ( 4075): Build fingerprint:
'google/passion/passion:2.3.3/GRI40/102588:user/release-keys'
01-14 17:23:33.912 I/DEBUG ( 4075): pid: 4076, tid: 4084 >>>
org.servalproject <<<
01-14 17:23:33.912 I/DEBUG ( 4075): signal 11 (SIGSEGV), code 1
(SEGV_MAPERR), fault addr deadbaad
01-14 17:23:33.912 I/DEBUG ( 4075): r0 deadbaad r1 00000000 r2 00000027
r3 00000000
01-14 17:23:33.912 I/DEBUG ( 4075): r4 00000080 r5 afd46668 r6 00000000
r7 00000007
01-14 17:23:33.912 I/DEBUG ( 4075): r8 44b51b68 r9 43ce9ea8 10 43ce9e94
fp 44b51ed8
01-14 17:23:33.912 I/DEBUG ( 4075): ip ffffffff sp 44b51880 lr afd1953d
pc afd160c4 cpsr 00000030
01-14 17:23:33.912 I/DEBUG ( 4075): d0 4040000040000000 d1 3ff0000043700000
01-14 17:23:33.912 I/DEBUG ( 4075): d2 4d71b972423808da d3 00540ff04a1ab420
01-14 17:23:33.912 I/DEBUG ( 4075): d4 3fbc71c70026ad08 d5 3fcef049fb9094d1
01-14 17:23:33.912 I/DEBUG ( 4075): d6 401c000000000000 d7 4008000000000000
01-14 17:23:33.912 I/DEBUG ( 4075): d8 0000000000000000 d9 0000000000000000
01-14 17:23:33.912 I/DEBUG ( 4075): d10 0000000000000000 d11
0000000000000000
01-14 17:23:33.912 I/DEBUG ( 4075): d12 0000000000000000 d13
0000000000000000
01-14 17:23:33.912 I/DEBUG ( 4075): d14 0000000000000000 d15
0000000000000000
01-14 17:23:33.912 I/DEBUG ( 4075): scr 80000010
01-14 17:23:33.912 I/DEBUG ( 4075):
01-14 17:23:33.962 I/ActivityManager( 173): Displayed
org.servalproject/.Main: +451ms
01-14 17:23:34.132 I/DEBUG ( 4075): #00 pc 000160c4 /system/lib/libc.so
<http://libc.so> (__libc_android_abort)
01-14 17:23:34.132 I/DEBUG ( 4075): #01 pc 00096e90
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075):
01-14 17:23:34.132 I/DEBUG ( 4075): code around pc:
01-14 17:23:34.132 I/DEBUG ( 4075): afd160a4 68241c23 d1fb2c00 68dae027
d0042a00
01-14 17:23:34.132 I/DEBUG ( 4075): afd160b4 20014d18 6028447d 48174790
24802227
01-14 17:23:34.132 I/DEBUG ( 4075): afd160c4 f7f57002 2106eaac ec28f7f6
0563aa01
01-14 17:23:34.132 I/DEBUG ( 4075): afd160d4 60932100 91016051 1c112006
ef7ef7f5
01-14 17:23:34.132 I/DEBUG ( 4075): afd160e4 2200a905 f7f52002 f7f5ef8a
2106ea98
01-14 17:23:34.132 I/DEBUG ( 4075):
01-14 17:23:34.132 I/DEBUG ( 4075): code around lr:
01-14 17:23:34.132 I/DEBUG ( 4075): afd1951c 447b4a0d 589cb083 90012600
686768a5
01-14 17:23:34.132 I/DEBUG ( 4075): afd1952c 220ce008 2b005eab 1c28d003
47889901
01-14 17:23:34.132 I/DEBUG ( 4075): afd1953c 35544306 d5f43f01 2c006824
b003d1ee
01-14 17:23:34.132 I/DEBUG ( 4075): afd1954c bdf01c30 00027fe2 ffffff88
1c0fb5f0
01-14 17:23:34.132 I/DEBUG ( 4075): afd1955c b0871c3d a9044355 1c16ac01
604d9004
01-14 17:23:34.132 I/DEBUG ( 4075):
01-14 17:23:34.132 I/DEBUG ( 4075): stack:
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51840 00000015
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51844 afd185d3
/system/lib/libc.so <http://libc.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51848 afd42604
/system/lib/libc.so <http://libc.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b5184c afd467d8
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51850 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51854 afd1953d
/system/lib/libc.so <http://libc.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51858 afd49edc
01-14 17:23:34.132 I/DEBUG ( 4075): 44b5185c afd185a5
/system/lib/libc.so <http://libc.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51860 afd426b8
/system/lib/libc.so <http://libc.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51864 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51868 afd46668
01-14 17:23:34.132 I/DEBUG ( 4075): 44b5186c 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51870 00000007
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51874 afd18843
/system/lib/libc.so <http://libc.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51878 df002777
01-14 17:23:34.132 I/DEBUG ( 4075): 44b5187c e3a070ad
01-14 17:23:34.132 I/DEBUG ( 4075): #00 44b51880 809384e2
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51884 44b518b4
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51888 42187df0
/dev/ashmem/dalvik-LinearAlloc (deleted)
01-14 17:23:34.132 I/DEBUG ( 4075): 44b5188c 809382c3
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51890 00000168
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51894 fffffbdf
01-14 17:23:34.132 I/DEBUG ( 4075): 44b51898 44b519f8
01-14 17:23:34.132 I/DEBUG ( 4075): 44b5189c 8094c6f8
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518a0 80973530
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518a4 80896e93
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): #01 44b518a8 8094c6f8
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518ac 80896e93
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518b0 809384e2
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518b4 00000007
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518b8 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518bc 80930566
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518c0 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518c4 44b51b30
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518c8 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518cc 0020a310 [heap]
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518d0 0020a340 [heap]
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518d4 80973530
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518d8 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518dc 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518e0 00000000
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518e4 809382c3
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518e8 00000151
01-14 17:23:34.132 I/DEBUG ( 4075): 44b518ec 8094c92b
/mnt/asec/org.servalproject-1/lib/libserval.so <http://libserval.so>
01-14 17:23:38.042 I/BootReceiver( 173): Copying
/data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)
01-14 17:23:38.052 I/DEBUG ( 4075): debuggerd committing suicide to free
the zombie!
01-14 17:23:38.052 I/DEBUG ( 4146): debuggerd: Apr 10 2011 20:12:24
01-14 17:23:38.182 D/dalvikvm( 173): GC_CONCURRENT freed 533K, 44% free
5885K/10375K, external 1561K/2073K, paused 5ms+12ms
01-14 17:23:38.272 D/dalvikvm( 173): GC_FOR_MALLOC freed 524K, 48% free
5488K/10375K, external 1561K/2073K, paused 80ms
01-14 17:23:38.302 I/ActivityManager( 173): Process org.servalproject
(pid 4076) has died.
01-14 17:23:38.332 I/WindowManager( 173): WIN DEATH: Window{40851e80
org.servalproject/org.servalproject.wizard.SetPhoneNumber paused=false}
01-14 17:23:38.342 I/WindowManager( 173): WIN DEATH: Window{4088d2f8
org.servalproject/org.servalproject.Main paused=false}
01-14 17:23:38.352 I/WindowManager( 173): WIN DEATH: Window{40879198
org.servalproject/org.servalproject.wizard.Wizard paused=false}
01-14 17:23:38.382 I/ActivityManager( 173): Start proc org.servalproject
for activity org.servalproject/.wizard.Wizard: pid=4147 uid=10078
gids={3003, 3002, 3001, 1015}
01-14 17:23:38.472 W/ActivityThread( 4147): Application
org.servalproject can be debugged on port 8100...
01-14 17:23:38.582 I/ActivityThread( 4147): Pub org.servalproject.files:
org.servalproject.provider.RhizomeProvider
01-14 17:23:38.592 D/Batphone( 4147): Calling onCreate()
01-14 17:23:38.672 D/dalvikvm( 4147): GC_EXTERNAL_ALLOC freed 107K, 53%
free 2549K/5379K, external 0K/0K, paused 52ms
01-14 17:23:38.772 D/Zygote ( 126): Process 4076 terminated by signal (11)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): null
01-14 17:23:38.832 E/SetPhoneNumber( 4147): java.lang.NullPointerException
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
org.servalproject.wizard.SetPhoneNumber.onResume(SetPhoneNumber.java:160)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1150)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.app.Activity.performResume(Activity.java:3832)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2231)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2256)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1789)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.app.ActivityThread.access$1500(ActivityThread.java:123)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.os.Handler.dispatchMessage(Handler.java:99)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.os.Looper.loop(Looper.java:123)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
android.app.ActivityThread.main(ActivityThread.java:3839)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
java.lang.reflect.Method.invokeNative(Native Method)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
java.lang.reflect.Method.invoke(Method.java:507)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
01-14 17:23:38.832 E/SetPhoneNumber( 4147): at
dalvik.system.NativeStart.main(Native Method)
01-14 17:23:38.952 W/InputManagerService( 173): Got RemoteException
sending setActive(false) notification to pid 4076 uid 10078
01-14 17:23:39.042 I/ActivityManager( 173): Displayed
org.servalproject/.wizard.SetPhoneNumber: +306ms (total +685ms)

Jeremy Lakeman

unread,
Jan 18, 2016, 11:42:23 PM1/18/16
to Serval Project Developers
Fixed by serval-dna f1a4584e. Running out of space shouldn't be a fatal error.


--
You received this message because you are subscribed to the Google Groups "Serval Project Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to serval-project-dev...@googlegroups.com.
To post to this group, send email to serval-proje...@googlegroups.com.
Visit this group at https://groups.google.com/group/serval-project-developers.
For more options, visit https://groups.google.com/d/optout.

Kevin Steen

unread,
Jan 21, 2016, 4:03:26 PM1/21/16
to serval-proje...@googlegroups.com
Tested ok with the new pre-46 alpha.

On January 19, 2016 4:42:21 AM GMT, Jeremy Lakeman
<jer...@servalproject.org> wrote:

Fixed by serval-dna f1a4584e. Running out of space shouldn't be a
fatal error.

On Fri, Jan 15, 2016 at 4:30 AM, Kevin Steen
<googlegroup...@kevinsteen.net
Reply all
Reply to author
Forward
0 new messages