question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Buffer overrun (re-open)

See original GitHub issue

Hi Kevin! I got this error when I tried deploying mainnet for 10 items. Writing indices 0-9 saving config line 0-9 failed RangeError: encoding overruns Buffer at Blob.encode... I noticed a similar problem on devnet, where I could only batch 8 items at one time.

I have not deleted the cache for mainnet. I was charged a bit of Sol as well. What should I do next?

I am reading the other issue on restarting uploads.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
kevinfavericommented, Oct 20, 2021

Hey! It seems like this is an ecosystem-wide error that is happening. I will take to take a more details look tomorrow or thursday.

On Tue, Oct 19, 2021 at 10:32 PM edwinzeng2005 @.***> wrote:

Hi Kevin! I was wondering if I had another buffer overrun issue again. Devnet works ok, but not for mainnet. Here is the error: Writing indices 10-19 Transaction simulation failed: Error processing Instruction 0: custom program error: 0x12f Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1] Program log: Custom program error: 0x12f Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 16902 of 200000 compute units Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0x12f Translating error SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x12f at Connection.sendEncodedTransaction @./web3.js/src/connection.ts:3553:13) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async Connection.sendRawTransaction @./web3.js/src/connection.ts:3513:20) at async Object.sendAndConfirmRawTransaction @./web3.js/src/util/send-and-confirm-raw-transaction.ts:27:21) at async Provider.send @./anchor/src/provider.ts:112:18) at async Object.rpc [as addConfigLines] @./anchor/src/program/namespace/rpc.ts:19:23) { logs: [ ‘Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]’, ‘Program log: Custom program error: 0x12f’, ‘Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 16902 of 200000 compute units’, ‘Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0x12f’ ] } saving config line 10-19 failed ProgramError: at Function.parse @./anchor/src/error.ts:30:14) at Object.rpc [as addConfigLines] @.***/anchor/src/program/namespace/rpc.ts:23:42) at processTicksAndRejections (internal/process/task_queues.js:95:5) { code: 303, msg: ‘Index greater than length!’ } How should I resolve it this time?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kevinfaveri/solana-candy-factory/issues/43#issuecomment-947232426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELA3INPLTCLKE2FVM3LVI3UHYL3RANCNFSM5GJKQLEA .

1reaction
edwinzeng2005commented, Oct 20, 2021

oh I see. Let me try to redo it again, this time clearing the cache.

Read more comments on GitHub >

github_iconTop Results From Across the Web

System Detected Stack-Based Buffer Overrun
One of the games I play seems to have become corrupted and caused a crash. Now it won't launch at all. That is...
Read more >
C++ buffer overrun [closed] - Stack Overflow
With a simple program that places chess pieces on an imaginary board (an enumerated array) and then assigns the squares which would have...
Read more >
Stack Based buffer overrun error? - Tech Support Forum
Hi all, I received a stack-based buffer overflow error on my PC ... If it happens again in the near future, reopen in...
Read more >
449933 – buffer overflow when using command `ip xfrm`
Description of problem: When I want to use `ip xfrm` to config a manual keying connection with two host. It always return "***...
Read more >
Perfetto crash · Issue #213 - GitHub
If you are still running into this issue please reopen.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found