Bitcoin Forum

Economy => Service Announcements => Topic started by: MagicalTux on August 09, 2012, 03:41:34 PM



Title: MtGox trading glitch with asks
Post by: MagicalTux on August 09, 2012, 03:41:34 PM
Today August 9th, at 22:10 JST, a serious glitch on MtGox caused all ask orders to be flushed from the system. It is now 00:40 JST at the time of this writing.

As the cause was not determined immediately, the MtGox trading engine was halted and an investigation in the situation initiated. We found that this issue was due to a glitch linked to a new feature. A fix has been placed and failsafes have been installed to make sure such an event will not occur again.


We have determined that this issue was caused by a bug in the trading engine due to a new feature planned for release in September. While this new feature should not have any impact on trades not using it, a specific set of conditions could trigger this feature in a way that should not happen, which in turn caused the trade engine to believe that the order matched in the order book was actually invalid and should be removed.
Because of this, all the open ask orders were flushed out of the system, and one trade executed as an overly high amount (this trade was later cancelled).

The bug has been identified and the issue has been solved. We will also make sure to create unit test capable to reproduce cases such as the conditions required for this bug to happen.

To trigger this bug the following conditions had to be met:
  • Place a market order in currency other than USD to buy bitcoins for a larger amount that can be afforded
  • Have a very low balance of that currency
  • Have configured to take fee for bitcoin purchase from currency and not BTC
  • Do not have the order to complete in a single match (ie. cause more than one trade)
The issue has been resolved, and different kinds of failsafes have been added to ensure an order can not cause a large part of the order book to vanish.

Due to the fact that the latest backup could possibly include asks that were cancelled by users, we have not restored the order book from backups. Users are invited to place sell orders again.


Please contact our support team should you have any question.


Mark Karpeles, MtGox Co. Ltd.


Title: Re: MtGox trading glitch with asks
Post by: Kluge on August 09, 2012, 03:42:25 PM
Thanks for announcement.


Title: Re: MtGox trading glitch with asks
Post by: starsoccer9 on August 09, 2012, 03:53:39 PM
im very happy when I looked at saw i somehow lost 1k and then in my history it told me I bought bitcoins at 1billion i kinda flipped out


Title: Re: MtGox trading glitch with asks
Post by: MrTiggr on August 09, 2012, 04:01:39 PM
Rapid Response and Engine Shutdown, Bug Identification and Remedy, Full Public Disclosure and future fail-safes.

For ONE BRIEF MOMENT i put down my popcoin.... am I in on the right forum!?

I all seriousness, well Done MagicalTux A+ work, thankyou.

T.


Title: Re: MtGox trading glitch with asks
Post by: casascius on August 09, 2012, 04:05:14 PM
Thanks for this report and for the prompt resolution.


Title: Re: MtGox trading glitch with asks
Post by: clone4501 on August 09, 2012, 07:45:31 PM
No wonder I didn't get any confirmation emails on the 5 ask orders I had placed between 11.4 and 12 after the price kept spiking towards 12.  And I thought it was just another glitch in Mt. Gox's email notification system--wrong glitch!  >:(


Title: Re: MtGox trading glitch with asks
Post by: alani123 on May 25, 2014, 09:49:52 PM
And this is how insolvency begins.


Title: Re: MtGox trading glitch with asks
Post by: CoinMKT.com on May 25, 2014, 10:52:52 PM
And this is how insolvency begins.

As well as threadomacy.  Though nice find hah.


Title: Re: MtGox trading glitch with asks
Post by: alani123 on May 25, 2014, 11:13:41 PM
And this is how insolvency begins.

As well as threadomacy.  Though nice find hah.

You should give the blog post below a full read. It's in the top of /r/bitcoin right now. This thread was linked inside it. It gives a rational explanation to what happened in Mt.Gox and how.

http://willyreport.wordpress.com/


Title: Re: MtGox trading glitch with asks
Post by: shapemaker on May 26, 2014, 09:53:42 AM
And this is how insolvency begins.

As well as threadomacy.  Though nice find hah.

You should give the blog post below a full read. It's in the top of /r/bitcoin right now. This thread was linked inside it. It gives a rational explanation to what happened in Mt.Gox and how.

http://willyreport.wordpress.com/

Holy thread necro Batman!

Anyway, the noose around Karpeles' neck is tightening. What a bloody facetious <redacted> he is. The fraudulent activity at Mt. Gox seems to go much further back than most people even dared to speculate. A classic house of cards. Truly incredible.

This will be another annal in the tales of Bitcoin's large heists.