r/softwarebugs • • Jan 25 '10

Upgrade are failed!

Post image
1 Upvotes

r/softwarebugs • • Jan 03 '11

Apple's software geniuses find the clock baffling

Thumbnail
theinquirer.net
0 Upvotes

r/softwarebugs • • Oct 05 '19

Mozilla LZ4 format: A moronic idea.

0 Upvotes

MozLZ4/JsonLZ4 is a moronic idea. Here's why.

I am not implying the comperssion algorithm Lz4 is bad. But adding an Lz4 layer to JSON files was a terrible idea by Mozilla.

Since Firefox version 56 (which is the last non-quantum version of Firefox), the session files in the šŸ“ sessionstore-backups directory are no longer recovery.bak and recovery.json, but recovery.baklz4 and recovery.jsonlz4. They should have called it recovery.bak.lz4 and recovery.json.lz4, which would be more logical file names, but they should not have done it in first place. Also the folders šŸ“bookmarkbackups šŸ“crashes/store.json.mozlz4 šŸ“datareporting is affected (intoxicated) by Lʶ4.

ā€œIf it isn't broken, don't ā€˜fix’ itā€ does not apply to everything (e.g. when improving something), but to this one, it certainly does apply.

Previously, Firefox session backups were stored in plain text (just like <code>places.sqlite</code>). But Firefox 56, released on 20170612, added LZ4 bulk, that made recovering lost sessions harder and more time-consuming to me. Some tools that were supposed to decode LZ4 did not work.

There is a lz4 scrounger by a GitHub user called Jscher2000 (Jefferson Scher), which is supposed to turn the ā€œLZ4ā€ information into plain text, but that one does not work properly and crashes the opened browser tab it is running inside.

At least, LZ4 does not erase information without warning like Google Chrome/Chromium did with Version 37 (20140905): removing ArchivedHistory file.

Comparison

Semi-Advantages and alleged advantages of LZ4

  • Slightly saves some disk space storage.

    • How much does it save? 10 MB? Are we in 1990?! 100MB? Are we in 2000? Even if plain text files cost me an additional 1 GB compared to LZcrap, I would gracefully rather have that much disk storage reserved for it instead of suffering from LZ4 garbage. In addition, modern file systems (including standard file systems since more than a decade: ext2, ext3, ext4, btrFS, NTFS, ZFS, etc…) offer transparent compression functionality, which defeats the alleged purpose of LZ4. We are in 2019 (as of writing this), not 199_. Why not compress browser cache and all configuation files altogether? Invalid upside. If that was a good decision, why not go ahead and save every file as LZ4? .mp4LZ4 .oggLZ4 .wavLZ4 .txtLZ4 .exeLZ4 .jpgLZ4 .iniLZ4 .htmLZ4 .htmlLZ4 .phpLZ4 .cssLZ4 .pngLZ4 .svgLZ4 .rtfLZ4 .flacLZ4 .ogvLZ4 .mp3LZ4 .docLZ4 .docxLZ4 .pdfLZ4 .xpsLZ4 .epubLZ4 .djvuLZ4 .cLZ4 .pyLZ4 .odtLZ4 .xlsLZ4 .mpgLZ4 .vobLZ4 .xmlLZ4 .tifLZ4 … … … . How about that?

ā€œjust add LZ4!ā€ – Mozilla

  • Save ⭐🌟a few seconds(!)🌟⭐ when doing a backup of the <code>.mozilla</code> or profile folder. * Hooray! ̶<irony>~~A̶̶w̶̶e̶̶s̶̶o̶̶<s>m̶̶</s>e̶!~~*</irony>

  • Save writing cycles on solid state drives?

    • This advantage is very, very marginial.

    • After this logic, browser cache should not exist.

    • As already mentioned, today's file systems have their own transparent compression. No need for LZ4.

    • Show me just one SSD that ever took damage from Firefox writing uncompressed session data to it.

LZ4 Disadvantages

LZ4's disadvantages outweigh the (nearly non-existent) advantages. By far. <br />When web-searching ā€œLZ4ā€ or ā€œMozLZ4ā€ or ā€œJsonLZ4ā€, the reasons for why only negative experience reports and complaints come up is obvious. LZ4 was an unnecessary misstep exactly nobody asked for. Where are those people who praise mozLZ4? Exactly. In LimboLand. (Show me any positive thing about mozLZ4 in the first ~25 results.)

  • Incompatible to all previous Firefox versions.

    • Firefox ≄56 is also not backwards-compatible to the plain-text format.

  • MUCH harder to find and retreive information from damaged media and file systems. ( https://support.mozilla.org/questions/1251399 )

  • Unsuitable gibberish for text/JSON editors pre-installed on every operating system and emergency boot disc.

  • More CPU usage (, although marginial. LZ4 is efficient and fast, but nothing comes close to plain text.)

  • Even if LZ4 had those alleged benefits, why use a proprietary format?

    • Both 7-Zip for Windows and the often precluded FileRoller in Linux Mint, Ubuntu and many other distributions do support standard LZ4!

    • But Mozilla decided to act like Apple: Proprietary garbage that is hard to work around. (.mozlz4*;* .jsonlz4*;* .baklz4 instead of .json.lz4 and .bak.lz4)

    • There is absolutely no reason at all which I can think of, to use a proprietary format. Why even bother creating a proprietary format if one can just take the existing, widely supported LZ4 or just stick to plain text? This logic is beyond me.

  • Someone named Barry Finkel (bsfinkel) in the Mozilla support community even said: ā€œWhat I will do now is uninstall 56.0 and re-install 55.0;.3.ā€.

verdict

As you can see, MozLZ4 only creates headaches, trouble and issues and helps nobody. It is the exact opposite of innovation. There is absolutely no need for MozLZ4. It does more harm than good.

And even if there were benefits in using that compression, how come they did not utilize the standard LZ4?! They created their own proprietary format called mozlz4. What. Were. They. THINKING?! (if at all) *facepalm*

Suggestion for Mozilla

  • Should have made LZ_crap_ optional and not mandatory.

  • (And yes, please scrap(e) add-on verification, which allows remotely crippling browsers. Add-on verification means a tiny bit of security for a HUGE headache.)

  • Most importantly: Please create a Twitter poll to make people vote whether they believe LZ4 bulk for Firefox is a good idea or pure plain text. (…only if you care about your community, of course.)

  • If LZ4 was actually beneficial, use the standard LZ4 supported by FileRoller, 7-Zip, PeaZip, WinRAR and tons of oher programs. Not your garbage MozLZ4 that is unsupported by existing, often pre-installed file compression/archival software.


r/softwarebugs • • Jan 25 '10

There are no software bugs, just "undocumented features."

0 Upvotes

r/softwarebugs • • Feb 10 '10

A Formal Methods-based verification approach to medical device software analysis

Thumbnail
embedded.com
0 Upvotes

r/softwarebugs • • Feb 22 '10

Well I wanted to try to use one of those Blockbuster kiosks today, but I couldn't...because it runs Windows.

Post image
5 Upvotes

r/softwarebugs • • Feb 13 '10

Really stupid Google Buzz bug - affects Facebook users

Thumbnail
reddit.com
0 Upvotes

r/softwarebugs • • Jan 24 '10

UK government: We stand by Chinook inquiry findings - bugs were not the cause of fatal helicopter crash

Thumbnail
guardian.co.uk
0 Upvotes

r/softwarebugs • • Jan 25 '10

The Daily WTF - user-submitted, anonymised examples of bad code or bad design

Thumbnail
thedailywtf.com
0 Upvotes

r/softwarebugs • • Aug 24 '23

Is non-functional testing that important?

Thumbnail
testorigen.com
0 Upvotes

r/softwarebugs • • Mar 11 '15

PRQA Static Analysis Tools and Solutions find bugs others cannot!

Thumbnail
programmingresearch.com
0 Upvotes

r/softwarebugs • • May 22 '22

Amazon User ID Bug - Is is a bug or did they warn me something bad would happen?

0 Upvotes

I stumbled over a really problem bug that ate my prime account for a bit, thankfully tech support was able to put my account back. You tell me if the warnings are good enough or is this a bug.

Amazon.ca would not allow use to buy Kindle books, so I had a amazon.com account as well as a amazon.ca. Just recently they put up a banner note that I could set my Kindle Store to Amazon.ca I click the buttons and then it told me I could transfer my books from .com to .ca.
šŸ“· Great news! You can now shop for digital content and manage your content and devices directly from Amazon.ca. Learn more

Great, let's do that.

I tried, it failed and took me that I needed the same e-mail address on the two accounts. Ok, easy, just change my .com to be the same e-mail as the .ca (It made me use different e-mail addresses years ago).

In that process it gave me some messages (with an option to keep going, so I did) and forced me to reset my password on my .ca account at the end.... Great, okay. not I can move my books. Easy... Surprise.

My .ca is reset to factory default, blank, no history, no wish lists, no Prime. But I have ebooks ... OMG

So I get a Amazon support chat going and talk to an Amazon agent, who tells me there are two accounts with the same e-mail. She has me do a password reset and put the original account back as it was.... so where are my books... I had transfer them and as far as I could see there where not .ca or .com ... I got transferred to Kindle Support. He kept telling me they are separate market places and they could not be combined. I kept telling him I was just click on the links they provided. He has me log back into my .com and my books where back...

As far, as I can tell there are still two accounts around for my .ca instance, if I use a different password, then it will log me into that order account.... The process of changing my e-mail address, created a new account on the other domain.

So Bug or Feature? The combination of user id and password gets you into the different accounts. If you are keying off a GUID, then the user id is not a factor and you can have duplicate user ids.


r/softwarebugs • • Sep 16 '23

How the Hell is this possible? Was this from god or just a software bug?

1 Upvotes

I watch a religious themed YouTube video and out of nowhere either the like or dislike Button pressed by itself without me even touching the screen in my phone and not even logged in in Google or YouTube


r/softwarebugs • • Jan 31 '21

What the actual fu-

Post image
2 Upvotes

r/softwarebugs • • Jan 30 '10

Today I learned that an URL can contain just a single top-level domain. But Reddit won't let you submit such an URL - and many other bits of code don't accept it either

Thumbnail
reddit.com
3 Upvotes

r/softwarebugs • • Feb 04 '10

Proving Correctness of an OS Kernel

Thumbnail
drdobbs.com
3 Upvotes

r/softwarebugs • • Jan 25 '10

Report from the conference Programming Languages for Program Verification (PLPV) 2010

Thumbnail
queuea9.wordpress.com
3 Upvotes

r/softwarebugs • • Oct 22 '21

Programming memes

Post image
3 Upvotes

r/softwarebugs • • Jan 30 '10

Find a Bug in Google Chrome, Earn $500-$1337

Thumbnail readwriteweb.com
4 Upvotes

r/softwarebugs • • Jan 28 '10

How a stray mouse click choked the NYSE and cost a bank $150,000

Thumbnail
arstechnica.com
5 Upvotes

r/softwarebugs • • Feb 22 '10

Finding a bug in FDLIBM pow

Thumbnail blogs.sun.com
5 Upvotes

r/softwarebugs • • Feb 05 '10

Internet Explorer flaw allows attacker to read any file on your system

Thumbnail
arstechnica.com
6 Upvotes

r/softwarebugs • • Jan 25 '10

"One in a billion" is in the folklore of critical systems as a desired upper bound on the probability of failure. But this is a very small number - does it have a sound basis?

Thumbnail
leepike.wordpress.com
6 Upvotes

r/softwarebugs • • Jan 24 '10

Ward Cunningham’s implementation of Brian Marick’s ā€œVisible Workingsā€ exposes internal logic to the user - could be a useful form of "code review" for users

Thumbnail
blog.jonudell.net
3 Upvotes