SAP / cloud-mta

Built-in tools to work with Multi-Target-Application (MTA) projects
Apache License 2.0
22 stars 10 forks source link

Bug: segmentation violation from jsoniter.Marshal #287

Open Assyarul opened 1 year ago

Assyarul commented 1 year ago

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.

ghost commented 1 year ago

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

longieirl commented 1 year ago

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

npm i -g mbt@1.0.4
longieirl commented 1 year ago

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

hendrysudrajat commented 12 months ago

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]
longieirl commented 11 months ago

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 mbt@1.0.4 to resolve your issue.

John

wangshen-sap commented 11 months ago

the issue is fixed, please wait the newest build