Bitcoin Forum
June 20, 2024, 01:57:39 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum "Attempt to read past end of buffer" Error  (Read 176 times)
iodji (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 15, 2019, 03:21:48 PM
 #1

Hello,

I'm trying to send some bitcoins to another wallet with Electrum, but each time I tried sending them, I get the error

"Attempt to read past end of buffer"

Sometimes, I get the similar error "unpack_form requires at least 8 bytes".

I don't understand where it comes from, and it's very frustrating as I can receive bitcoin but not send any. I'm on Mac OS X, if that makes any difference. I tried disactivating my firewall, without success.

Do you have any solutions?

Regards,

OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3514
Merit: 6164



View Profile
February 15, 2019, 03:48:26 PM
 #2

Which version are you using? I've searched a little bit and apparently, this got fixed in version 3.2.0  (read the release note highlighted)

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
TryNinja
Legendary
*
Offline Offline

Activity: 2870
Merit: 7116


Crypto Swap Exchange


View Profile WWW
February 15, 2019, 03:54:24 PM
 #3

Along with the above, you should ALWAYS be using the latest version of Electrum. Recently, there was a major phishing scam that resulted in more than $1m stolen from users. Hackers managed to exploit a vulnerability on Electrum that let them show fake “update” messages on Electrum wallets connected to their servers. So they made the users download the infected fake update from a fake website.

This was fixed in the latest versions and now Electrum warns the users when there is a new (legit) update abailable.

P.S: ONLY DOWNLOAD ELECTRUM FROM ELECTRUM.ORG; that’s the ONLY real website.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
iodji (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 15, 2019, 04:04:29 PM
 #4

Hey, thanks for your quick answer! I'm using 3.3.4, and I downloaded it from the actual website. Do you think I should try to reinstall? Should I make some sort of backup before?
sheenshane
Legendary
*
Offline Offline

Activity: 2450
Merit: 1228



View Profile WWW
February 15, 2019, 05:30:31 PM
 #5

Hey, thanks for your quick answer! I'm using 3.3.4, and I downloaded it from the actual website. Do you think I should try to reinstall? Should I make some sort of backup before?
We're just the same version used.
Yes, always remember and kept in mind the password and you must save in a piece of paper the 12 words of recovery seeds phrase. If you have that all you can reinstall your Electrum wallet and download the new version.

Remember this:
P.S: ONLY DOWNLOAD ELECTRUM FROM ELECTRUM.ORG; that’s the ONLY real website.
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
February 16, 2019, 02:13:31 AM
 #6

Hey, thanks for your quick answer! I'm using 3.3.4, and I downloaded it from the actual website. Do you think I should try to reinstall? Should I make some sort of backup before?
We're just the same version used.
Yes, always remember and kept in mind the password and you must save in a piece of paper the 12 words of recovery seeds phrase. If you have that all you can reinstall your Electrum wallet and download the new version.

Remember this:
P.S: ONLY DOWNLOAD ELECTRUM FROM ELECTRUM.ORG; that’s the ONLY real website.

And this: How to verify your Electrum [Windows, Linux, Mac]

install homebrew from http://brew.sh/
Code:
brew install gnupg
gpg --recv-keys 2BD5824B7F9470E6
wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz
wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz.asc
gpg --verify Electrum-3.3.4.tar.gz.asc Electrum-3.3.4.tar.gz

gpg: Signature made Fri Jan 25 19:51:07 2019 UTC using RSA key ID 7F9470E6
gpg: Good signature from "Thomas Voegtlin (https://electrum.org) <thomasv@electrum.org>"

Everyone should get in the habit of verifying the file they download with gpg. Its not impossible for a malware to change the hosts file on the system to redirect electrum.org to a phishing site...

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
odolvlobo
Legendary
*
Offline Offline

Activity: 4354
Merit: 3262



View Profile
February 16, 2019, 03:06:16 AM
 #7

Try posting here: Bitcoin Forum > Bitcoin > Development & Technical Discussion > Alternative clients > Electrum

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
joniboini
Legendary
*
Offline Offline

Activity: 2226
Merit: 1795



View Profile WWW
February 16, 2019, 04:47:36 AM
 #8

Looks like a serialization error. Just a wild guess, it seems your Electrum can't decode/encode script (not expert at the script)[1]. Can you give more details about the transaction you're about to make? Or provide the step to reproduce the error? It's weird that this error comes up in the latest version.

[1] https://github.com/spesmilo/electrum/blob/master/electrum/transaction.py


███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
Coyster
Legendary
*
Offline Offline

Activity: 2058
Merit: 1270


Life's but a walking shadow!


View Profile
February 16, 2019, 07:24:22 AM
 #9

It's obvious you're using the most updated version,and you should be having any issues such as this except probably the fault is from your own end as regards the transaction you're trying to complete,maybe a detailed explanation will help us decide what the actual error is and modes of solving it in the best way possible



               ▄██▄▄                          ▄████
             ▄█▀   ▀▀▄▄                    ▄█▀▀   ▀█▄
            █▀         ▀▄                ▄█▀        █▄
           █▀   ▄█▄▄            ▄▄▄▄▄▄███▀      ▀▄   █▄
          ▄█   ▄█▀███▄▄                          █   ▀█
          █    ▀   ▀████▄   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄        █   █▄
          █         ▀████████████████████████▄▄▄      ██
         ██        ▄██████████████████████████████▄    ▀█▄
        ▄█▀     ▄████████████▀▀▀▀▀▀▀▀▀▀█████████████▄▄   ▀█▄
      ▄█▀     █████████████              ▀▀████████████▄   █▄
    ▄█▀        ▄██████████████▀▀█▄    ▄▄     █  ▀██ ▀███▄   ██
   ███▄▄     ▄███████████▀▀           ▀██▄        ▀  ▀▀     █▀
     █▀     ███████████▀                               ▄▀   ██
    █▀    ▄██████████▀                       ▄▄▄       ▀   ▄█
   █▀    ▄██████████▀           ▄▄      ▀▀████████▄         ▀██▄
  █▀    ▄███████████          ▄██▀   ▀▀█▄   ▀███████▄▄▄██▄▄   ▀██▄
 █▀     ▀▀▀▀▀▀██████         ████      ▀██▄  ▀████████   ▀▀▀    ▀█▄
▄█              ▀▀█           ████  ▄▄█▄▄███▄  ▀██████           ▀█▄
██▄▄▄▄▄                       █████  ▀▀▀▀▀▀▀▀▀   ▀████▄           ██
       ▀▀▀▀▀▄▄▄                █████▄▄▄            ▀▀▀▀▀▀        ▄██
               ▀▀▀▄▄           ▀█████████████████▄▄          ▄▀▀▀
                    ▀▀▄▄         ▀▀▀▀▀▀▀▀▀▀▀▀▀▀    ▀
                        ▀
.
.BETFURY..
|
         ▄▄▄▄▄████▀▄▄▄
      ▄███▀▀▀█▀▀  ▄████▄
    ▄██     ▀       ▀▀███▄
  ▄██   ▄██▄    ▄█▄   ▀████▄
 ██▀    ████▀▀▀▀▀▀█     ▀███
██▀   ▄███   ███▄▄▄█▄    ▀███
██    ███  ▄█▀▀█▀▀███     ███
██    ███▄▄██ █▄█▄ ███    ██▀
██        ▀▀█▄▄▄▄▄▄█▀     ██
██▄   ▄  ▄▄▄ ▄▄▄  ▄▄     ▄█▀
 ██▄█▀  █▄▄█ █▄  █ ▄▄   ▄██
  ███   █▄▄█ █   █▄▄█  ▄█▀
   ████▄             ▄██▀
    ▀█▀█▄▄█▄▄▄▄▄▄▄███▀
       ▀▀▀████▀▀▀▀
WIN REAL CRYPTO IN THE REAL DROP
JOIN $20,000,000 CRYPTODROP
|Join Fury Game
Get Free Crypto
BFG, USDT, BTC, ETH
|▄████████████████████████▄
██████████████████████████
████▀▀▀▀▀██████████▀▀▀████
████▄ ▀█▄ ▀██████▀  ▄█████
██████▄ ▀█▄ ▀██▀  ▄███████
████████▄ ▀█▄   ▄█████████
██████████▄ ██ ▀██████████
█████████▀   ▀█▄ ▀████████
███████▀  ▄██▄ ▀█▄ ▀██████
█████▀  ▄██████▄ ▀█▄ ▀████
████▄▄▄██████████▄▄▄▄▄████
 ████████████████████████
▄█████████████████████▄
███████████████████████
████████████████▀▀█████
███████████▀▀▀    █████
██████▀▀▀   ▄▀   ██████
███▄     ▄█▀     ██████
██████▄ █▀      ███████
███████▌▐       ███████
████████ ▄██▄  ████████
██████████████▄████████
███████████████████████
▀█████████████████████▀
...PLAY...
Tamilson
Hero Member
*****
Offline Offline

Activity: 1022
Merit: 503



View Profile
February 16, 2019, 10:26:02 AM
 #10

Ok this gave me a quick heart attack and checked my electrum version to see if it's updated.
I have my electrum downloaded from google playstore and not directly from electrum.org, check if it's on their github, and now I'm relieved.

You guys are awesome. Appreciated well.

Happy Coding Life Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!