Author Topic: Not-so-poor Icon processor  (Read 955 times)

wawa

  • Senior Member
  • ****
  • Posts: 252
  • Karma: +1/-0
Re: Not-so-poor Icon processor
« Reply #30 on: October 23, 2019, 03:15:48 AM »
file is not executable. ah it is a script. it needs lua?

wawa

  • Senior Member
  • ****
  • Posts: 252
  • Karma: +1/-0
Re: Not-so-poor Icon processor
« Reply #31 on: October 23, 2019, 03:30:49 AM »
compiled aros lua. it is in extras/developer/lua. changed default tool accordingly. it crashes:
Code: [Select]
*** Logged alert:
Program failed
Task : 0x0000000042BD8930 - lua
Error: 0x80000002 - Hardware bus fault/address error
PC   : 0x0000000042128290
Module stdc.library Segment 1 .text (0x00000000420F4360) Offset 0x0000000000033F30
Function strlen (0x0000000042128290) Offset 0x0000000000000000
CPU context:
RAX=0000000042C025B0  RBX=0000000042C226F0  RCX=0000000042BC0C58  RDX=000000000000001D
RSI=0000000000000005  RDI=0000000000000005  RSP=0000000042C97698  RBP=0000000042C976B0
R8 =00000000000000CD  R9 =0000000000000000  R10=0000000000000004  R11=0000000042BDBE30
R12=0000000000000005  R13=0000000042C226F0  R14=0000000042BC0C58  R15=0000000042BC0C40
RIP=0000000042128290  RSP=0000000042C97698  RFLAGS=0000000000010246
Stack trace:
0x0000000042BDF39B Lua Function lua_pushstring + 0x000000000000002B
0x0000000042BDE4A5 Lua Segment 1 .text + 0x0000000000001195
0x0000000042BE40E2 Lua Function luaD_precall + 0x00000000000002E2
0x0000000042BE450C Lua Function luaD_call + 0x000000000000004C
0x0000000042BE39A6 Lua Function luaD_rawrunprotected + 0x0000000000000076
0x0000000042BE482C Lua Function luaD_pcall + 0x000000000000003C
0x0000000042BE003F Lua Function lua_pcallk + 0x000000000000007F
0x0000000042C03C1C Lua Function main + 0x000000000000008C
0x0000000042BDD46D Lua Segment 1 .text + 0x000000000000015D
0x0000000042C02785 Lua Segment 1 .text + 0x0000000000025475


wawa

  • Senior Member
  • ****
  • Posts: 252
  • Karma: +1/-0
Re: Not-so-poor Icon processor
« Reply #32 on: October 23, 2019, 03:32:26 AM »
might be as well some problem with lua port under 64bit. ill try to see how it works on other targets.

wawa

  • Senior Member
  • ****
  • Posts: 252
  • Karma: +1/-0
Re: Not-so-poor Icon processor
« Reply #33 on: October 23, 2019, 06:16:29 AM »
Quote
might be as well some problem with lua port under 64bit.

no, its not. same thing on i386:

Code: [Select]
[KRN] Trap signal 11, SysBase f40de1e0, KernelBase f40df184
    SP=f49de558  FP=f49de558  PC=f424ef38
    R0=00000005  R1=00000005  R2=00000002  R3=00000005
    R4=f49a0068  R5=00000005
*** Logged alert:
Program failed
Task : 0xF4A25570 - lua
Error: 0x80000002 - Hardware bus fault/address error
PC   : 0xF424EF38
Module stdc.library Segment 1 .text (0xF42287A0) Offset 0x00026798
Function strlen (0xF424EF30) Offset 0x00000008
CPU context:
EAX=0x00000005  EBX=0x00000005  ECX=0x00000002  EDX=0x00000005
ESI=0x00000005  EDI=0xF49A0068  ESP=0xF49DE558  EBP=0xF49DE558
EIP=0xF424EF38  ESP=0xF49DE558  EFLAGS=0x00010282
Stack trace:
0xF495F990 Lua Function luaS_new + 0x00000010
0xF4952C03 Lua Function lua_pushstring + 0x00000023
0xF4951C2C Lua Segment 1 .text + 0x00000D6C
0xF49570B5 Lua Function luaD_precall + 0x00000235
0xF4957441 Lua Function luaD_call + 0x00000041
0xF4951EBB Lua Segment 1 .text + 0x00000FFB
0xF4956A68 Lua Function luaD_rawrunprotected + 0x00000048
0xF49576B2 Lua Function luaD_pcall + 0x00000032
0xF49536A8 Lua Function lua_pcallk + 0x00000058
0xF49702AA Lua Function main + 0x0000005A

Yannick

  • Newbie
  • *
  • Posts: 31
  • Karma: +2/-0
Re: Not-so-poor Icon processor
« Reply #34 on: October 23, 2019, 09:20:40 AM »
The tool certainly needs amilua, not lua alone.
I didn't try iconposer but my other lua scripts are working with lua:amilua under hosted 64bit

I've only compiled AROS, contrib and ports (ports are certainly not required)

/Yannick

wawa

  • Senior Member
  • ****
  • Posts: 252
  • Karma: +1/-0
Re: Not-so-poor Icon processor
« Reply #35 on: October 23, 2019, 11:13:08 AM »
ah, because of intuition implementation, i though it may just be another lua port. perhaps both should be unified and maintained in contribs?

wawa

  • Senior Member
  • ****
  • Posts: 252
  • Karma: +1/-0
Re: Not-so-poor Icon processor
« Reply #36 on: October 23, 2019, 01:05:41 PM »
has anyone already a mmakefile for amilua? i wrote one but somehow it deosnt work. weird. wouldnt mind not to duplicate done work.

Yannick

  • Newbie
  • *
  • Posts: 31
  • Karma: +2/-0
Re: Not-so-poor Icon processor
« Reply #37 on: October 23, 2019, 02:42:31 PM »
It's part on contrib, in contrib/development/compilers/lua

There's nothing to do it exists and compiles for x64 without any issues


paolone

  • Moderator
  • Senior Member
  • *****
  • Posts: 293
  • Karma: +3/-0
Re: Not-so-poor Icon processor
« Reply #38 on: October 23, 2019, 05:06:19 PM »
I guess I have verbosely explained what's needed to IconPoser to work. It's a very-Icaros-dependent tool which needs some other utilities to work correctly. Both Icaros 32 and 64 provide all necessary stuff. Unluckily, some of them might not be as stable on both architectures and issues need to be addressed.


But IconPoser itself on Icaros 64 is absolutely working.

wawa

  • Senior Member
  • ****
  • Posts: 252
  • Karma: +1/-0
Re: Not-so-poor Icon processor
« Reply #39 on: October 23, 2019, 05:13:01 PM »
Fine. I was under impression i need to test it.

miker1264

  • Senior Member
  • ****
  • Posts: 327
  • Karma: +12/-1
Re: Not-so-poor Icon processor
« Reply #40 on: October 23, 2019, 06:04:48 PM »
Ok. If everything needed is present in 64bit then it should work as expected. I'll work with it for now.