defold / extension-iap

In-app purchase extension for Defold
MIT License
19 stars 12 forks source link

fix: "defold Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)" #43

Closed SalavatR closed 10 months ago

SalavatR commented 2 years ago

Hi! If i have many non completed transactions, application fails with Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

To reproduse: Buy many different products in your app from google play, app will crash, increase OffsetCapacity value helped

SalavatR commented 2 years ago

my bad, called acknowledge for consumable, but i think this fix need, cause with acknowledge our app was closing, and nothing helped - reinstalling, cache cleaning, etc.

britzl commented 2 years ago

my bad, called acknowledge for consumable, but i think this fix need, cause with acknowledge our app was closing, and nothing helped - reinstalling, cache cleaning, etc.

I'm not sure I understand. Could you please clarify this?

SalavatR commented 2 years ago

my bad, called acknowledge for consumable, but i think this fix need, cause with acknowledge our app was closing, and nothing helped - reinstalling, cache cleaning, etc.

I'm not sure I understand. Could you please clarify this?

We called acknowledge method for consumable products, so any consumable product was available only once per game session because transactions not completed, but if we buy many different consumable products and close game, we can't open it again, crashes with "Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)", because google play send us many transactions in one time