Skip to main content

javacall-armsd_arm cldc running issue

4 replies [Last post]
weamin
Offline
Joined: 2006-11-14
Points: 0

Hello all,

I try to build cldc for javacall-armsd_arm and run failed, but this cldc for armsd_arm work fine. (log as below )
I found this differential scatter-load file for javacall and ads.(cldc_vm.load)
Did someone try to build and run cldc for javacall-armsd_arm ?
Any information would be greatly appreciated.

Thank You!

[Log] cldc for javacall-armsd_arm run failed
==========================================================
DEBUG: Requested 32 provided 32 at 0x00157e94
alloc: allocated at D:\Projects\phoneme_feature_mr2\cldc\src\vm\share\runtime\OsMemory.cpp line 41
ERROR: Memory corruption at 0x00157e80
ERROR: Memory corruption at 0x00157e80
Could not allocate VM heap, try smaller HeapCapacity.
ERROR: Attempt to free corrupted memory: 0x00157e94
alloc: freed at D:\Projects\phoneme_feature_mr2\cldc\src\vm\share\runtime\OsMemory.cpp line 45
ERROR: Corrupted start of memory header: 0x00157e80
** Total memory: 8216556
** Highwater mark:32

[Log] cldc for armsd_arm work fine
==========================================================
DEBUG: Requested 32 provided 32 at 0x0200013c
alloc: allocated at D:\Projects\phoneme_feature_mr2\cldc\src\vm\share\runtime\OsMemory.cpp line 41
DEBUG: Requested 24 provided 24 at 0x02000170
alloc: allocated at pcsl_chunkheap.c line 92
DEBUG: Requested 1056900 provided 1056900 at 0x0200019c
alloc: allocated at pcsl_chunkheap.c line 97
DEBUG: Requested 24 provided 24 at 0x02102234
alloc: allocated at pcsl_chunkheap.c line 92
DEBUG: Requested 33016 provided 33016 at 0x02102260
alloc: allocated at pcsl_chunkheap.c line 97
DEBUG: Requested 32 provided 32 at 0x0210a36c
alloc: allocated at pcsl_string.c line 261
DEBUG: Requested 20 provided 20 at 0x0210a3a0
alloc: allocated at pcsl_string.c line 1336
DEBUG: free 20 bytes: 0x0210a3a0
alloc: allocated at pcsl_string.c line 1336
alloc: freed at pcsl_string.c line 1363
DEBUG: free 32 bytes: 0x0210a36c
alloc: allocated at pcsl_string.c line 261
alloc: freed at pcsl_string.c line 1303
DEBUG: Coalescing blocks 0x0210a358 and 0x0210a38c
DEBUG: Coalescing blocks 0x0210a358 and 0x0210a3b4
DEBUG: Requested 32 provided 32 at 0x0210a36c
alloc: allocated at pcsl_string.c line 261
DEBUG: Requested 20 provided 20 at 0x0210a3a0
alloc: allocated at pcsl_string.c line 1336
DEBUG: free 20 bytes: 0x0210a3a0
alloc: allocated at pcsl_string.c line 1336
alloc: freed at pcsl_string.c line 1363
DEBUG: free 32 bytes: 0x0210a36c
alloc: allocated at pcsl_string.c line 261
alloc: freed at pcsl_string.c line 1303
DEBUG: Coalescing blocks 0x0210a358 and 0x0210a38c
DEBUG: Coalescing blocks 0x0210a358 and 0x0210a3b4
DEBUG: Requested 8 provided 8 at 0x0210a36c
alloc: allocated at D:\Projects\phoneme_feature_mr2\cldc\src\vm\share\runtime\OsFile.cpp line 81
HelloWorld for CLDC
DEBUG: free 8 bytes: 0x0210a36c
alloc: allocated at D:\Projects\phoneme_feature_mr2\cldc\src\vm\share\runtime\OsFile.cpp line 81
alloc: freed at D:\Projects\phoneme_feature_mr2\cldc\src\vm\share\runtime\OsFile.cpp line 96
DEBUG: free 1056900 bytes: 0x0200019c
alloc: allocated at pcsl_chunkheap.c line 97
alloc: freed at pcsl_chunkheap.c line 151
DEBUG: free 24 bytes: 0x02000170
alloc: allocated at pcsl_chunkheap.c line 92
alloc: freed at pcsl_chunkheap.c line 152
DEBUG: free 33016 bytes: 0x02102260
alloc: allocated at pcsl_chunkheap.c line 97
alloc: freed at pcsl_chunkheap.c line 151
DEBUG: free 24 bytes: 0x02102234
alloc: allocated at pcsl_chunkheap.c line 92
alloc: freed at pcsl_chunkheap.c line 152
DEBUG: free 32 bytes: 0x0200013c
alloc: allocated at D:\Projects\phoneme_feature_mr2\cldc\src\vm\share\runtime\OsMemory.cpp line 41
alloc: freed at D:\Projects\phoneme_feature_mr2\cldc\src\vm\share\runtime\OsMemory.cpp line 45
ADSEXITCODE=0
** Total memory: 8216556
** Highwater mark:1090048

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
a_pangin
Offline
Joined: 2006-10-20
Points: 0

Sure, if these are your files.
Or you may also e-mail them to me: a_pangin @ dev . java . net

weamin
Offline
Joined: 2006-11-14
Points: 0

Hi a_pangin,

Thanks for your response.
I have sent it to you.
Can you help me to upload the file to this forums ?

Thank You.

a_pangin
Offline
Joined: 2006-10-20
Points: 0

weamin,

Can you please explain how you build for javacall-armsd_arm in more details?
Which makefiles, build flags, command-line arguments etc. do you use?
I'm asking because this doesn't look like a standard build configuration...

Thank you.

weamin
Offline
Joined: 2006-11-14
Points: 0

I added some makefiles and config files.
~\javacall\build\ads\armsd_arm-rules.gmk
~\javacall\configuration\phoneMEFeature\armsd_arm\environment.gmk
~\javacall\configuration\phoneMEFeature\armsd_arm\GNUmakefile
~\pcsl\makefiles\platforms\armsd_arm_ads.gmk
~\cldc\build\javacall_arm_ads\javacall_arm_ads.cfg
~\cldc\build\javacall_arm_ads\Makefile
~\cldc\build\share\ads_javacall\generic_ads.cfg
~\cldc\build\share\ads_javacall\alt_compiler.make
~\cldc\build\share\ads_javacall\alt_platform.make

Can I upload these files on this forums ?

Thanks