Sorry for posting in english, I use google translate to read
Probably a bug in CHDK, but different compiler shows or hides. Trying lots of compilers might not help much.
Get romlog from crash, find where it crashes with new compiler, compare main.dump to old compiler.
My build with gcc 4.3.2 crashes in first part
I think we should change luar:
http://chdk.setepontos.com/index.php?to ... 7#msg59947google translate:
Wahrscheinlich ein Fehler in CHDK, aber unterschiedliche Compiler-oder ausgeblendet. Der Versuch viele Compiler kann nicht viel helfen.
Holen Sie sich romlog von Crash finden, wo es mit neuen Compiler abstürzt, zu vergleichen main.dump alte Compiler.
Meine bauen mit gcc 4.3.2 stürzt im ersten Teil
Ich denke, wir sollten luar ändern
http://chdk.setepontos.com/index.php?to ... 7#msg59947- Code: Alles auswählen
** << execution failed! (Length: 17)
>> version << ptpcam: 0.2
camera: 0.2 (Length: 24)
>> script-support << script-support:1 (Length: 16)
>> lua "" << (Length: 0)
>> luar get_buildinfo().platform
crash here
But romlog looks similar to CHDKDE autobuild.
- Code: Alles auswählen
Exception!! Vector 0x10 <- bad pointer
Occured Time 2011:01:16 10:37:51
Task ID: 33685573
Task name: PTPSessionTA0
Exc Registers:
0x00000000
0xE59FF014
0x0000004C
0x00001739
0x00183031
0xFFFFFFFF
0x00000002
0x0000178F
0xFFFFFFFF
0x00004C54
0x0029EDA8
0x19980218
0x00000000
0x002FE22C
0x001687EF <- LR in thumb, must be CHDK
0x0016D356 <- PC also CHDK, near luaS_newlstr
0x80000033
PC
16d356: 688b ldr r3, [r1, #8]
r1 = 0xE59FF014
bad address, not ROM or RAM
LR shows call from
1687ea: f004 fd99 bl 16d320 <luaS_newlstr>
stack
- Code: Alles auswählen
0x00183033
0x00000000
0xE59FF014
0x00000000
0x00183033
0xE59FF070
0x00000003
0x001687EF <- 1687ea: f004 fd99 bl 16d320 <luaS_newlstr>
0x00000000
0xFF811F34
0x00000000
0x00000002
0x00000000
0x0015E7E5 <- 15e7e0: f009 fff6 bl 1687d0 <lua_getfield>
0x00000002
0x00000002
0x0015EBE1 <- 15ebdc: f7ff fdfc bl 15e7d8 <get_lua_thread>