cloud-mta icon indicating copy to clipboard operation
cloud-mta copied to clipboard

Bug: segmentation violation from jsoniter.Marshal

Open Assyarul opened this issue 2 years ago • 6 comments

  • Library version: 1.0.5
  • OS Version: macOS Ventura 13.4.1
  • generator-fiori uses mta when creating a deployment configuration for the application.

Bug: See 11-Application Wizard.Generators.log for the Stack Trace.

Steps to Reproduce:

  1. All the steps done in this tutorial till step 9 of https://developers.sap.com/tutorials/btp-app-work-zone-setup.html
  2. Executed fiori add deploy-config cf within app\risks
  3. The stack trace is printed similarly to the log file given above.

Looking further into the issue, similar issues were brought up in the json-iterator repo, where the fix is to update json-iterator to v1.1.12. pr-229 seems to fix this problem.

Assyarul avatar Aug 24 '23 15:08 Assyarul

Hi all,

I have the same issue and really look forward to a fix because it currently blocks me from using the mentioned fiori app generator tool with the latest version of cloud-mta.

Thanks in advance

ghost avatar Sep 07 '23 04:09 ghost

The issue is with 1.0.5, the fix is to downgrade the verison;

npm i -g [email protected]

longieirl avatar Oct 19 '23 14:10 longieirl

@yutaoj @wangshen-sap can you please take a look? As this is affecting developers using Fiori tools? Thanks.

longieirl avatar Oct 19 '23 14:10 longieirl

Any update? I'm getting the same error, for weeks. It was working fine, occured after fresh re-install of @sap/generator-fiori and mta

Adding app to mta config: project1
Error install phase deployment-generator:cf: Error: [2023-11-10 23:16:18]  INFO get parameters
unexpected fault address 0xffffffffffffffff
fatal error: fault
[signal 0xc0000005 code=0x0 addr=0xffffffffffffffff pc=0xd0019f]

hendrysudrajat avatar Nov 10 '23 15:11 hendrysudrajat

Any update? I'm getting the same error, for weeks. It was working fine, occured after fresh re-install of @sap/generator-fiori and mta

Adding app to mta config: project1
Error install phase deployment-generator:cf: Error: [2023-11-10 23:16:18]  INFO get parameters
unexpected fault address 0xffffffffffffffff
fatal error: fault
[signal 0xc0000005 code=0x0 addr=0xffffffffffffffff pc=0xd0019f]

Please downgrade the mta version i.e. npm i -g [email protected] to resolve your issue.

John

longieirl avatar Nov 13 '23 13:11 longieirl

the issue is fixed, please wait the newest build

wangshen-sap avatar Nov 15 '23 02:11 wangshen-sap