Hiya,
I reproduced the problem of installation/uninstallation of applications.
This is how I proceeded :
- I took an app which compiled and ran OK
- I added a non existant lib into the .adef file
The app was still able to compile OK. But when I ran the instapp tool i got this message in Gtkterm (UART1)
[code]root@swi-mdm9x15:/# INFO | 70/01/01 - 02:15:00.466.009 | serviceDirectory 11500 main serviceDirectory | serviceDirectory.c DispatchClientToServer 540 | Client (pid 12055) connected to server 11502 for service (LogControlProtocol:LogClient).
INFO | 70/01/01 - 02:15:00.470.739 | serviceDirectory 11500 main serviceDirectory | serviceDirectory.c DispatchClientToServer 540 | Client (pid 12055) connected to server 11504 for service (93845fd65125b498008e4945e0a94a91d2ba11ffd3e701b7a22990c799c5fbb6
-WRN- | 70/01/01 - 02:15:00.473.364 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 85 blocks.
INFO | 70/01/01 - 02:15:01.579.483 | serviceDirectory 11500 main serviceDirectory | serviceDirectory.c DispatchClientToServer 540 | Client (pid 12070) connected to server 11502 for service (LogControlProtocol:LogClient).
INFO | 70/01/01 - 02:15:01.585.862 | serviceDirectory 11500 main serviceDirectory | serviceDirectory.c DispatchClientToServer 540 | Client (pid 12070) connected to server 11504 for service (93845fd65125b498008e4945e0a94a91d2ba11ffd3e701b7a22990c799c5fbb6
-WRN- | 70/01/01 - 02:15:01.592.027 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 86 blocks.
-WRN- | 70/01/01 - 02:15:01.592.363 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 87 blocks.
-WRN- | 70/01/01 - 02:15:01.592.516 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 88 blocks.
-WRN- | 70/01/01 - 02:15:01.592.668 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 89 blocks.
-WRN- | 70/01/01 - 02:15:01.592.821 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 90 blocks.
-WRN- | 70/01/01 - 02:15:01.592.943 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 91 blocks.
-WRN- | 70/01/01 - 02:15:01.593.095 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 92 blocks.
-WRN- | 70/01/01 - 02:15:01.593.218 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 93 blocks.
-WRN- | 70/01/01 - 02:15:01.593.370 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 94 blocks.
-WRN- | 70/01/01 - 02:15:01.593.492 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 95 blocks.
-WRN- | 70/01/01 - 02:15:01.593.645 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 96 blocks.
-WRN- | 70/01/01 - 02:15:01.593.767 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 97 blocks.
-WRN- | 70/01/01 - 02:15:01.594.591 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 98 blocks.
-WRN- | 70/01/01 - 02:15:01.594.774 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 99 blocks.
-WRN- | 70/01/01 - 02:15:01.594.927 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 100 blocks.
-WRN- | 70/01/01 - 02:15:01.595.079 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 101 blocks.
-WRN- | 70/01/01 - 02:15:01.595.262 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 102 blocks.
-WRN- | 70/01/01 - 02:15:01.595.415 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 103 blocks.
-WRN- | 70/01/01 - 02:15:01.595.537 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 104 blocks.
-WRN- | 70/01/01 - 02:15:01.595.690 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 105 blocks.
-WRN- | 70/01/01 - 02:15:01.595.842 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 106 blocks.
-WRN- | 70/01/01 - 02:15:01.595.995 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 107 blocks.
-WRN- | 70/01/01 - 02:15:01.596.270 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 108 blocks.
-WRN- | 70/01/01 - 02:15:01.932.177 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 109 blocks.
-WRN- | 70/01/01 - 02:15:01.932.329 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 110 blocks.
-WRN- | 70/01/01 - 02:15:01.932.482 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 111 blocks.
-WRN- | 70/01/01 - 02:15:01.932.635 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 112 blocks.
-WRN- | 70/01/01 - 02:15:01.932.787 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 113 blocks.
-WRN- | 70/01/01 - 02:15:01.932.909 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 114 blocks.
-WRN- | 70/01/01 - 02:15:01.933.062 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 115 blocks.
-WRN- | 70/01/01 - 02:15:01.933.184 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 116 blocks.
-WRN- | 70/01/01 - 02:15:01.933.337 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 117 blocks.
-WRN- | 70/01/01 - 02:15:01.933.489 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 118 blocks.
-WRN- | 70/01/01 - 02:15:01.933.611 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 119 blocks.
-WRN- | 70/01/01 - 02:15:01.933.794 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 120 blocks.
-WRN- | 70/01/01 - 02:15:01.934.130 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 121 blocks.
-WRN- | 70/01/01 - 02:15:01.934.405 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 122 blocks.
-WRN- | 70/01/01 - 02:15:01.934.649 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 123 blocks.
-WRN- | 70/01/01 - 02:15:01.934.893 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 124 blocks.
-WRN- | 70/01/01 - 02:15:01.935.137 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 125 blocks.
-WRN- | 70/01/01 - 02:15:01.935.381 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 126 blocks.
-WRN- | 70/01/01 - 02:15:01.935.626 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 127 blocks.
-WRN- | 70/01/01 - 02:15:01.935.870 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 128 blocks.
-WRN- | 70/01/01 - 02:15:01.936.175 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 129 blocks.
-WRN- | 70/01/01 - 02:15:01.936.480 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 130 blocks.
-WRN- | 70/01/01 - 02:15:02.265.459 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 131 blocks.
-WRN- | 70/01/01 - 02:15:02.265.612 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 132 blocks.
-WRN- | 70/01/01 - 02:15:02.265.764 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 133 blocks.
-WRN- | 70/01/01 - 02:15:02.265.917 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 134 blocks.
-WRN- | 70/01/01 - 02:15:02.266.100 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 135 blocks.
-WRN- | 70/01/01 - 02:15:02.266.253 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 136 blocks.
-WRN- | 70/01/01 - 02:15:02.266.375 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 137 blocks.
-WRN- | 70/01/01 - 02:15:02.266.527 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 138 blocks.
-WRN- | 70/01/01 - 02:15:02.266.680 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 139 blocks.
-WRN- | 70/01/01 - 02:15:02.266.802 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 140 blocks.
-WRN- | 70/01/01 - 02:15:02.266.955 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 141 blocks.
-WRN- | 70/01/01 - 02:15:02.267.138 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 142 blocks.
-WRN- | 70/01/01 - 02:15:02.267.535 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 143 blocks.
-WRN- | 70/01/01 - 02:15:02.267.840 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 144 blocks.
-WRN- | 70/01/01 - 02:15:02.268.084 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 145 blocks.
-WRN- | 70/01/01 - 02:15:02.268.328 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 146 blocks.
-WRN- | 70/01/01 - 02:15:02.268.572 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 147 blocks.
-WRN- | 70/01/01 - 02:15:02.268.817 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 148 blocks.
-WRN- | 70/01/01 - 02:15:02.269.061 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 149 blocks.
-WRN- | 70/01/01 - 02:15:02.269.305 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 150 blocks.
-WRN- | 70/01/01 - 02:15:02.269.549 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 151 blocks.
-WRN- | 70/01/01 - 02:15:02.269.793 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 152 blocks.
-WRN- | 70/01/01 - 02:15:02.270.098 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 153 blocks.
-WRN- | 70/01/01 - 02:15:02.598.803 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 154 blocks.
-WRN- | 70/01/01 - 02:15:02.598.955 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 155 blocks.
-WRN- | 70/01/01 - 02:15:02.599.108 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 156 blocks.
-WRN- | 70/01/01 - 02:15:02.599.261 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 157 blocks.
-WRN- | 70/01/01 - 02:15:02.599.383 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 158 blocks.
-WRN- | 70/01/01 - 02:15:02.599.535 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 159 blocks.
-WRN- | 70/01/01 - 02:15:02.599.688 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 160 blocks.
-WRN- | 70/01/01 - 02:15:02.599.810 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 161 blocks.
-WRN- | 70/01/01 - 02:15:02.599.963 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 162 blocks.
-WRN- | 70/01/01 - 02:15:02.600.085 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 163 blocks.
-WRN- | 70/01/01 - 02:15:02.600.237 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.nodePool’ overflowed. Expanded to 164 blocks.
-WRN- | 70/01/01 - 02:15:02.625.508 | supervisor 11498 main framework | user.c CheckIfUserOrGroupExist 701 | User ‘appsms’ already exists.
=ERR= | 70/01/01 - 02:15:02.627.614 | supervisor 11498 main | le_cfg_client.c le_cfg_GetPath 1049 | newPathPtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.630.910 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.631.429 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
INFO | 70/01/01 - 02:15:02.632.314 | supervisor 11498 main supervisor | sandbox.c ImportFile 260 | Imported ‘/lib/ld-linux.so.3’ into sandbox ‘/tmp/legato/sandboxes/sms/lib/ld-linux.so.3’.
=ERR= | 70/01/01 - 02:15:02.632.772 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.633.230 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
INFO | 70/01/01 - 02:15:02.633.993 | supervisor 11498 main supervisor | sandbox.c ImportFile 260 | Imported ‘/lib/libc.so.6’ into sandbox ‘/tmp/legato/sandboxes/sms/lib/libc.so.6’.
=ERR= | 70/01/01 - 02:15:02.634.420 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.634.847 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
INFO | 70/01/01 - 02:15:02.635.610 | supervisor 11498 main supervisor | sandbox.c ImportFile 260 | Imported ‘/lib/libpthread.so.0’ into sandbox ‘/tmp/legato/sandboxes/sms/lib/libpthread.so.0’.
=ERR= | 70/01/01 - 02:15:02.636.007 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.636.556 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
INFO | 70/01/01 - 02:15:02.637.381 | supervisor 11498 main supervisor | sandbox.c ImportFile 260 | Imported ‘/lib/librt.so.1’ into sandbox ‘/tmp/legato/sandboxes/sms/lib/librt.so.1’.
=ERR= | 70/01/01 - 02:15:02.638.021 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.971.914 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
INFO | 70/01/01 - 02:15:02.972.983 | supervisor 11498 main supervisor | sandbox.c ImportFile 260 | Imported ‘/usr/local/lib/liblegato.so’ into sandbox ‘/tmp/legato/sandboxes/sms/lib/liblegato.so’.
=ERR= | 70/01/01 - 02:15:02.973.501 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.973.990 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
INFO | 70/01/01 - 02:15:02.974.783 | supervisor 11498 main supervisor | sandbox.c ImportFile 260 | Imported ‘/opt/legato/apps/sms/bin/sms’ into sandbox ‘/tmp/legato/sandboxes/sms/bin/sms’.
=ERR= | 70/01/01 - 02:15:02.975.211 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.975.668 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
INFO | 70/01/01 - 02:15:02.976.553 | supervisor 11498 main supervisor | sandbox.c ImportFile 260 | Imported ‘/usr/local/lib/lible_mdm_client.so’ into sandbox ‘/tmp/legato/sandboxes/sms/lib/lible_mdm_client.so’.
=ERR= | 70/01/01 - 02:15:02.977.011 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.977.469 | supervisor 11498 main | le_cfg_client.c le_cfg_GetString 2458 | valuePtrNumElements < 513
=ERR= | 70/01/01 - 02:15:02.978.202 | supervisor 11498 main supervisor | sandbox.c ImportFile 256 | Could not import ‘/usr/local/lib/lible.so’ into sandbox destination ‘/tmp/legato/sandboxes/sms/lib/lible.so’. No such file or directory
INFO | 70/01/01 - 02:15:02.979.422 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 585 | Unmounting ‘/var/volatile/tmp/legato/sandboxes/sms/lib/ld-linux.so.3’
INFO | 70/01/01 - 02:15:02.979.972 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 585 | Unmounting ‘/var/volatile/tmp/legato/sandboxes/sms/lib/libc.so.6’
INFO | 70/01/01 - 02:15:02.980.491 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 585 | Unmounting ‘/var/volatile/tmp/legato/sandboxes/sms/lib/librt.so.1’
INFO | 70/01/01 - 02:15:02.980.948 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 585 | Unmounting ‘/var/volatile/tmp/legato/sandboxes/sms/lib/liblegato.so’
INFO | 70/01/01 - 02:15:02.981.345 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 585 | Unmounting ‘/var/volatile/tmp/legato/sandboxes/sms/bin/sms’
INFO | 70/01/01 - 02:15:02.981.772 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 585 | Unmounting ‘/var/volatile/tmp/legato/sandboxes/sms/lib/lible_mdm_client.so’
INFO | 70/01/01 - 02:15:02.983.024 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 585 | Unmounting ‘/var/volatile/tmp/legato/sandboxes/sms/lib/libpthread.so.0’
INFO | 70/01/01 - 02:15:02.984.245 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 613 | Unmounting /tmp/legato/sandboxes/sms
INFO | 70/01/01 - 02:15:02.986.259 | supervisor 11498 main supervisor | sandbox.c sandbox_Remove 627 | ‘sms’ sandbox removed.
=ERR= | 70/01/01 - 02:15:02.986.473 | supervisor 11498 main supervisor | app.c app_Start 371 | Could not create sandbox for application ‘sms’. This application cannot be started.[/code]
(Look near the end of the logs : (I know it’s a non existant lib but errare humanum est)
=ERR= | 70/01/01 - 02:15:02.978.202 | supervisor 11498 main supervisor | sandbox.c ImportFile 256 | Could not import ‘/usr/local/lib/lible.so’ into sandbox destination ‘/tmp/legato/sandboxes/sms/lib/lible.so’. No such file or directory)
And now i’m unable to remove the app :
Using rmapp on linux :
jeremy@jeremy-VirtualBox:~/Documents/LEGATO_Apps/SMS$ rmapp sms.ar7 192.168.1.89
root@192.168.1.89's password:
App 'sms' wasn't running.
Removing app 'sms'...
INFO | 70/01/01 - 02:21:12.706.234 | appCfgRemove 12568 main <invalid> | configInit.c le_cfg_Initialize 16 | ---- Initializing the configuration API ----
-WRN- | 70/01/01 - 02:21:12.707.455 | appCfgRemove 12568 main framework | mem.c InitPool 266 | Memory pool name '93845fd65125b498008e4945e0a94a91d2ba11ffd3e701b7a22990c799c5fbb6-Msgs' is truncated to '93845fd65125b498008e4945e0a94a9'
-WRN- | 70/01/01 - 02:21:12.709.286 | appCfgRemove 12568 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool 'ClientThreadData' overflowed. Expanded to 1 blocks.
INFO | 70/01/01 - 02:21:12.709.683 | appCfgRemove 12568 main appConfig | configInstaller.c cfgInstall_Remove 72 | Removing configuration for application 'sms'.
Here is the response on the UART (for rmapp):
[code]root@swi-mdm9x15:/# INFO | 70/01/01 - 02:22:57.673.852 | serviceDirectory 11500 main serviceDirectory | serviceDirectory.c DispatchClientToServer 540 | Client (pid 12717) connected to server 11502 for service (LogControlProtocol:LogClient).
INFO | 70/01/01 - 02:22:57.678.766 | serviceDirectory 11500 main serviceDirectory | serviceDirectory.c DispatchClientToServer 540 | Client (pid 12717) connected to server 11504 for service (93845fd65125b498008e4945e0a94a91d2ba11ffd3e701b7a22990c799c5fbb6
-WRN- | 70/01/01 - 02:22:57.679.285 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘safeRefFdEventHandlers’ overflowed. Expanded to 18 blocks.
-WRN- | 70/01/01 - 02:22:57.679.499 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘safeRefFdEventHandlers’ overflowed. Expanded to 20 blocks.
-WRN- | 70/01/01 - 02:22:57.681.025 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.requestPool’ overflowed. Expanded to 3 blocks.[/code]
And here is the answer of app remove (on the UART)
[code]root@swi-mdm9x15:/# app remove sms
App ‘sms’ wasn’t running.
Removing app ‘sms’…
INFO | 70/01/01 - 02:16:08.457.524 | serviceDirectory 11500 main serviceDirectory | serviceDirectory.c DispatchClientToServer 540 | Client (pid 12164) connected to server 11502 for service (LogControlProtocol:LogClient).
INFO | 70/01/01 - 02:16:08.460.118 | appCfgRemove 12164 main | configInit.c le_cfg_Initialize 16 | ---- Initializing the configuration API ----
-WRN- | 70/01/01 - 02:16:08.461.431 | appCfgRemove 12164 main framework | mem.c InitPool 266 | Memory pool name ‘93845fd65125b498008e4945e0a94a91d2ba11ffd3e701b7a22990c799c5fbb6-Msgs’ is truncated to ‘93845fd65125b498008e4945e0a94a9’
INFO | 70/01/01 - 02:16:08.462.499 | serviceDirectory 11500 main serviceDirectory | serviceDirectory.c DispatchClientToServer 540 | Client (pid 12164) connected to server 11504 for service (93845fd65125b498008e4945e0a94a91d2ba11ffd3e701b7a22990c799c5fbb6
-WRN- | 70/01/01 - 02:16:08.463.262 | appCfgRemove 12164 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘ClientThreadData’ overflowed. Expanded to 1 blocks.
INFO | 70/01/01 - 02:16:08.463.689 | appCfgRemove 12164 main appConfig | configInstaller.c cfgInstall_Remove 72 | Removing configuration for application ‘sms’.
-WRN- | 70/01/01 - 02:16:08.464.940 | configTree 11504 main framework | mem.c le_mem_ForceAlloc 610 | Memory pool ‘configTree.requestPool’ overflowed. Expanded to 1 blocks.[/code]
In order to unblock these tools I modify the following file into the chip:
/opt/legato/configTree/system.paper (which can be system.rock or system.scissors, well played )
I remove the block containing the unexisting library (and edit the numbers so they match) and after a reboot I can delete these app normally (using app remove or rmapp).
Regards,