There it is :)�
Clara,
Clara Allende wrote:
> I've tried cogDroid on a samsung Galaxy IT5500L mobile with Android 2.2... It installs properly, and recognizes the .image files on the sd card, but when I try to open an image it freezes up, and after a while > the application closes :(
There may be a text file: /sdcard/jni.log left on your phone. If you
can send it to me I may be able to find out something, at least at
which phase it crashes.
Although I don't know how easy is it to get it out from the phone.
Do you have a file browser on your phone (sorry if I am too technical,
but otherwise I just don't know how to help)?
If there is no such file, it may be due to mainly two reasons:
�- Somehow the native library (VM itself) did not load
�- /sdcard is not the SD card mount point (the path to this log file
is hardcoded).
In the latter case I would be very interested to know where is SD card mounted
A typical jni.log for a short session might look like this:
[459906122] /mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build/PharoCore-1.3.image
/mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build
/mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build/x
[459906122] bigEndian = 0
[459906122] vmPath: /system/bin/
[459906122] vmName:
/mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build/x ->
/mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build/x
[459906122] viName:
/mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build/PharoCore-1.3.image
[459906122] documentName: (null)
[459906122] about to init time
[0] about to init image
[0] imgInit /mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build/PharoCore-1.3.image
[0] /mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build/PharoCore-1.3.image
/mnt/sdcard/AndroZip/home/dima/src/cogvm/dmg-blessed/build/PharoCore-1.3.image
[0] fstat(33) => 0
[0] extraMemory: 0
[0] image size 16109320 + heap size 20971520 (useMmap = 1073741824)
[500] about to open window
[500] after interp_init
[8320] Interpreter entered: 40 times
[8320] Alarm timer (T), msec: 200
[8320] Exited by alarm: 1 times
[8320] Interpreter times, msec (min avg max): -1, 10, 230
[8320] Longer than 1.5 * T: 0 times
[8320] Longer than 2.0 * T: 0 times
[8320] Longer than 2.5 * T: 0 times
[8320] Host times, msec (min avg max): -1, 184, 330
[8340] exiting for sure
If you cannot extract it from your phone you may look at mine and tell
me where yours ends.
Hope this helps.
--
Dimitry Golubovsky
Anywhere on the Web
"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program."
Linus Torvalds