XCALL JSON /64Bit Ashell
#37366
05 Jun 24 02:11 PM
|
Joined: Sep 2003
Posts: 4,154
Steve - Caliq
OP
Member
|
OP
Member
Joined: Sep 2003
Posts: 4,154 |
Under linux-cs8 and linux-u20 and Ashell 7.0.1753.2/ 64 its the good old, **SEGMENTATION FAULT** ashlog.log not showing much apart from json.sbx related/line. If I run it under A-Shell 7.0.1753.2/32 (on linux-cs8) its fine.
So 64bit related I guess, Jack do you think its fixed in later versions, if so is there a later version of ashell for linux-u20?
Thanks.
Last edited by Steve - Caliq; 05 Jun 24 02:16 PM.
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37367
05 Jun 24 02:13 PM
|
Joined: Sep 2003
Posts: 4,154
Steve - Caliq
OP
Member
|
OP
Member
Joined: Sep 2003
Posts: 4,154 |
Related code I think:
DIMX $JSONMAP, ORDMAP (VARSTR; VARSTR)
! Process Json
XCALL JSON,1,LOCAL'HANDLE,LOCAL'STATUS,JSONSTRING$,$JSONMAP()
IF LOCAL'STATUS<=0 THEN
FN'PROCESS'JSON'TO'ORDMAP=LOCAL'STATUS ! Xcall Json Error
EXITFUNCTION
ENDIF
IF .EXTENT($JSONMAP())=<1 THEN
FN'PROCESS'JSON'TO'ORDMAP=-39031 ! nothing to process
EXITFUNCTION
ENDIF
! op 2 releases the internal memory associated with the JSON
XCALL JSON, 2, LOCAL'HANDLE, LOCAL'STATUS
Last edited by Steve - Caliq; 05 Jun 24 02:13 PM.
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37368
05 Jun 24 02:20 PM
|
Joined: Sep 2003
Posts: 4,154
Steve - Caliq
OP
Member
|
OP
Member
Joined: Sep 2003
Posts: 4,154 |
Same under: A-Shell 7.0.1757.1/ 64 (on linux-cs8)
Last edited by Steve - Caliq; 05 Jun 24 02:21 PM.
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37369
05 Jun 24 02:36 PM
|
Joined: Jun 2001
Posts: 11,776
Jack McGregor
Member
|
Member
Joined: Jun 2001
Posts: 11,776 |
Problem confirmed here. I have some updates in the pipeline to sort out, but hopefully should have this resolved by the time you roll out of bed tomorrow. Sweet dreams!
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37370
05 Jun 24 02:38 PM
|
Joined: Sep 2003
Posts: 4,154
Steve - Caliq
OP
Member
|
OP
Member
Joined: Sep 2003
Posts: 4,154 |
Phew, glad its confirmed, no hurry.... mind having an updating it for linux-cs8 and linux-u20 please. Thanks.
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37376
06 Jun 24 12:12 AM
|
Joined: Jun 2001
Posts: 11,776
Jack McGregor
Member
|
Member
Joined: Jun 2001
Posts: 11,776 |
I spoke (wrote?) too soon. The problem is trickier than expected, seemingly buried inside of an external library call. I had to get some other things done to will have to come back to this later in the week.
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37377
06 Jun 24 06:43 AM
|
Joined: Sep 2003
Posts: 4,154
Steve - Caliq
OP
Member
|
OP
Member
Joined: Sep 2003
Posts: 4,154 |
Okydoky, pesky 64/external library calls, anyway I have plenty of other things I can get on with meanwhile... Thanks.
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37379
07 Jun 24 06:08 AM
|
Joined: Jun 2001
Posts: 11,776
Jack McGregor
Member
|
Member
Joined: Jun 2001
Posts: 11,776 |
Ok, let's give this a try: ash-7.0.1759.2-cs8-x86_64-upd.tzash70notes.txtIf this works for you, I'll generate the u20 version to go along with it. (Although if you're going to got with Ubuntu, at this point you should probably target at least u22.)
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37380
07 Jun 24 07:54 AM
|
Joined: Sep 2003
Posts: 4,154
Steve - Caliq
OP
Member
|
OP
Member
Joined: Sep 2003
Posts: 4,154 |
Confirmed, XCALL JSON is now working under 7.0.1759.2/64 on my WFH/Test cs8 system. - THANKYOU!! Much Appreciated. I'll pass your recommendation to Dominic on moving our cloud/office/development server to u22 or something!. (I have a small feeling the cloud hosting service we used only choice was u20 at the time. 6 months ago).
|
|
|
Re: XCALL JSON /64Bit Ashell
[Re: Steve - Caliq]
#37382
07 Jun 24 04:24 PM
|
Joined: Sep 2003
Posts: 4,154
Steve - Caliq
OP
Member
|
OP
Member
Joined: Sep 2003
Posts: 4,154 |
Thankyou, and what a wonderful dream that will be...
Last edited by Steve - Caliq; 07 Jun 24 04:26 PM.
|
|
|
|
|