The MASM Forum

General => The Colosseum => Topic started by: jj2007 on November 26, 2018, 01:38:25 AM

Title: Professional bugs
Post by: jj2007 on November 26, 2018, 01:38:25 AM
Just for fun: I thought of creating a thread documenting bugs made by big software companies. Let's start with WhatsApp :P

WhatsApp desktop, updated a few days ago, Win7-64:
Code: [Select]
00000001401D10CA   | 48 8B CE                  | mov rcx,rsi                           | rsi:&"n#file://#393491738963-1528635064@g.us"
00000001401D10CD   | E8 0E 2E E6 FF            | call 140033EE0                        |
00000001401D10D2   | 48 8B CF                  | mov rcx,rdi                           |
00000001401D10D5   | E8 06 2E E6 FF            | call 140033EE0                        |
00000001401D10DA   | 48 8B 7C 24 30            | mov rdi,qword ptr ss:[rsp+30]         |
00000001401D10DF   | E9 E1 FD FF FF            | jmp 1401D0EC5                         |
...
00000001401D10F0   | 48 8B 41 48               | mov rax,qword ptr ds:[rcx+48]         |
00000001401D10F4   | 48 8D 51 48               | lea rdx,qword ptr ds:[rcx+48]         |
00000001401D10F8   | 48 8B 08                  | mov rcx,qword ptr ds:[rax]            | <<<<<<<<<<< rax is zero!
00000001401D10FB   | 48 85 C9                  | test rcx,rcx                          |
00000001401D10FE   | 0F 85 2C 6C FF FF         | jne 1401C7D30                         |
00000001401D1104   | C3                        | ret                                   |

To catch such bugs, you need to set a Just-In-Time (JIT) debugger, in this case: x64Dbg (for 32-bit code, it's Olly for me).

Warning: When closing x64Dbg, it saves the database, and that can push the working set to over 1GB. You better kill x64.
Title: WhatsApp is a bug
Post by: jj2007 on May 09, 2019, 05:48:22 PM
Sorry, WhatsApp, it's again your turn :eusa_boohoo:
Title: Re: Professional bugs
Post by: Raistlin on May 14, 2019, 07:07:55 PM
https://www.telegraph.co.uk/technology/2019/05/14/whatsapp-flaw-allowed-israeli-hackers-snoop-phones/   :shock:

IT Commandment 17 : "Thay shalt get rid of mainstream social media"
Title: Re: Professional bugs
Post by: hutch-- on May 14, 2019, 08:55:58 PM
 :biggrin:

> "Thay shalt get rid of mainstream social media"  :azn:
Title: Re: Professional bugs
Post by: aw27 on May 14, 2019, 10:04:24 PM
Quote
Let's start with WhatsApp :P

Now all makes sense.   :idea:
Title: Re: Professional bugs
Post by: jj2007 on May 14, 2019, 10:57:33 PM
It's not WhatApp alone, which erratically starts thrashing my harddisk shuffling gigabytes from A to B. Right now it's at a modest 150MB, and stable, but every now and then it jumps up to ridiculous amounts of written bytes - 45 GIGA! No pattern detected so far.

Slimjet also misbehaves frequently. Thunderbird has a high disk usage, too, but it stays normally within half a GB. I wonder what they are doing :(

See the slimjet line below - and that's for only 15' CPU time, no special sites visited.
Title: Re: Professional bugs
Post by: LiaoMi on May 14, 2019, 11:14:47 PM
It's not WhatApp alone, which erratically starts thrashing my harddisk shuffling gigabytes from A to B. Right now it's at a modest 150MB, and stable, but every now and then it jumps up to ridiculous amounts of written bytes - 45 GIGA! No pattern detected so far.

Slimjet also misbehaves frequently. Thunderbird has a high disk usage, too, but it stays normally within half a GB. I wonder what they are doing :(

See the slimjet line below - and that's for only 15' CPU time, no special sites visited.

(https://i.imgur.com/cYYp5yN.png)
Title: Re: Professional bugs
Post by: TimoVJL on May 15, 2019, 03:28:49 AM
Windows have a one nice feature:
 Delete all Telemetry services and systems starts behaving badly, like odd file locks of several minutes, can't delete or replace file and so on.
Very professional way for punishment for user, who just block M$ of their spying system in legal way.

Google keyword: 'system process (PID 4) is locking the file'

EDIT: How to solve problem:
Quote
Check if your Application Experience service is disabled. It should be enabled and running. This problems appears if it is not.

Title: Re: Professional bugs
Post by: Raistlin on May 15, 2019, 05:25:55 AM
And how do we solve this ?
https://thenextweb.com/security/2019/05/14/bitdefender-researchers-discover-terrifying-security-vulnerability-in-intel-cpus/
Title: Re: Professional bugs
Post by: LiaoMi on May 15, 2019, 05:58:50 AM
And how do we solve this ?
https://thenextweb.com/security/2019/05/14/bitdefender-researchers-discover-terrifying-security-vulnerability-in-intel-cpus/

Quote
That’s where the good news ends, as BitDefender notes that a general fix is “impossible,” as the issue derives from a hardware design flaw. To conclusively protect against this attack, customers would have to replace their Intel silicon with a redesigned chip.

Intel Switches Gears to 7nm Post 10nm, First Node Live in 2021 https://www.techpowerup.com/255338/intel-switches-gears-to-7nm-post-10nm-first-node-live-in-2021 (https://www.techpowerup.com/255338/intel-switches-gears-to-7nm-post-10nm-first-node-live-in-2021)

When it goes live and fit for mass production some time in 2021, Intel's 7 nm process will be a staggering 3 years behind TSMC, which fired up its 7 nm node in 2018. AMD is already mass-producing CPUs and GPUs on this node. Unlike TSMC, Intel will implement EUV (extreme ultraviolet) lithography straightaway. TSMC began 7 nm with DUV (deep ultraviolet) in 2018, and its EUV node went live in March. Samsung's 7 nm EUV node went up last October. Intel's roadmap doesn't show a leap from its current 10 nm node to 7 nm EUV, though. Intel will refine the 10 nm node to squeeze out energy-efficiency, with a refreshed 10 nm+ node that goes live some time in 2020.

The 7 nm+ node is slated for 2022, and succeeding 7 nm++ node in 2023. Intel did not detail the two besides illustrating performance/Watt gains by almost as much as the transition from 10 nm+ to 7 nm. Elsewhere in the market, the early 2020s could see TSMC 6 nm EUV take center-stage, and Samsung implement its 5 nm EUV node.

I will change my processor in 2024  :biggrin:
Title: WhatsApp is a bug
Post by: jj2007 on May 31, 2019, 12:49:08 AM
This morning again, out of the blue, suddenly 13 GB of bytes written by WhatsApp desktop. WhatsApp is one fat bug :eusa_boohoo:
Title: Slimjet sucks
Post by: jj2007 on June 17, 2019, 06:44:57 AM
Bloatware: 4 tabs open, 21 processes! And one of them has already written almost 2GB to disk. Fortunately I don't have an SSD :cool:

(http://www.jj2007.eu/images/Slimjet.png)
Title: Re: Professional bugs
Post by: TimoVJL on June 17, 2019, 07:48:43 PM
You can compare chrome engine too:
https://vivaldi.com/download/

Those sites/pages might be a real problem.
Title: Re: Professional bugs
Post by: hutch-- on June 17, 2019, 11:14:17 PM
JJ,

Try Slimjet in incognito mode. Also go to the settings and run "Clear browsing data". The settings are useful for the problems you mention. I run the 64 bit version and never seem to have a problem.
Title: Re: Professional bugs
Post by: jj2007 on June 18, 2019, 01:32:30 AM
I suppose it's the Chrome basis. Writing gigabytes to disk is an insult anyway. Imagine you have an SSD, it will wear down quickly :sad:
Title: Re: Professional bugs
Post by: TimoVJL on June 18, 2019, 02:48:35 AM
Yes, vivaldi is chrome based and as bad as others too.
Title: Re: Professional bugs
Post by: K_F on June 18, 2019, 08:24:55 AM
JJ,

Try Slimjet in incognito mode. Also go to the settings and run "Clear browsing data". The settings are useful for the problems you mention. I run the 64 bit version and never seem to have a problem.
I have the same setup as Hutch, and I run minimal of Win7 services.. seem to do the job nicely.
Title: Not so SlimJet
Post by: jj2007 on June 27, 2019, 12:19:09 PM
Only 4 tabs open...
(http://www.jj2007.eu/images/NotSoSlimJet.png)
Title: WhatsApp is a bug
Post by: jj2007 on July 25, 2019, 09:14:03 AM
Update: after a few hours of usage, WhatsApp has written 30 GB to disk
Title: Slimjet is a bug
Post by: jj2007 on August 29, 2019, 10:01:31 PM
Ten minutes of work lost:
Quote
The exception eccezione software sconosciuta (0xe0000008) occurred in the application at location 0x74c8c5af.

Title: Re: Slimjet is a bug
Post by: LiaoMi on August 29, 2019, 10:47:26 PM
Ten minutes of work lost:
Quote
The exception eccezione software sconosciuta (0xe0000008) occurred in the application at location 0x74c8c5af.

 :biggrin: Hi jj2007,

maybe your memory is over ?!
https://superuser.com/questions/1442974/chrome-the-exception-unknown-software-exception-0xe0000008 (https://superuser.com/questions/1442974/chrome-the-exception-unknown-software-exception-0xe0000008)
Title: Re: Professional bugs
Post by: jj2007 on August 30, 2019, 12:56:24 AM
Yep, sounds logical: "Your commit charge (virtual memory) may be at 100%" -> "unknown software" :tongue:
Title: Re: Professional bugs
Post by: xanatose on August 31, 2019, 04:56:30 PM
Windows have a one nice feature:
 Delete all Telemetry services and systems starts behaving badly, like odd file locks of several minutes, can't delete or replace file and so on.
Very professional way for punishment for user, who just block M$ of their spying system in legal way.

Google keyword: 'system process (PID 4) is locking the file'

EDIT: How to solve problem:
Quote
Check if your Application Experience service is disabled. It should be enabled and running. This problems appears if it is not.

So basically they admit that you cannot opt out of the spying.
Title: Re: Professional bugs
Post by: hutch-- on August 31, 2019, 06:28:25 PM
JJ,

How much memory is installed on your computer. My younger brother has a win64 box (win10) that only has 8 gig in it and he has similar problems, it may just be not enough memory for the tasks you run.
Title: Re: Professional bugs
Post by: jj2007 on August 31, 2019, 07:44:59 PM
Hutch,

Right, it's a memory problem. I have 6GB installed, and decided recently to disable the page file. That works fine so far, but occasionally I reach the limits. The real issue here is the nonsensical message "unknown software exception". This is why I placed it in the "professional bugs" thread. Apparently SlimJet/Chrome allocate major chunks of memory without checking if HeapAlloc() returned a pointer. Then they let it crash into an exception (very professional) but don't know what kind of error it was. So they randomly pick "unknown software". Compliments :badgrin:
Title: Re: Professional bugs
Post by: jj2007 on August 31, 2019, 07:54:36 PM
So basically they admit that you cannot opt out of the spying.

Yeah, Windows is bad. But innocent in comparison to what Android "apps" ask you to permit. My bank forces me, more or less, to download a new "app" for online banking. It wants permission to use the camera, any files that it could possibly grab, and my contacts. And you cannot say "no" to any of that crap. I flagged it on a financial forum, but just got amused answers. It's incredible what Android users are willing to accept.
Title: Re: Professional bugs
Post by: hutch-- on August 31, 2019, 08:11:07 PM
I rarely ever use my Android tablet because of the data grabbing. I have to use it to upgrade some of my camera equipment but I do not use it for anything else. I am waiting for Huawei to code their own OS as I don't care if they collect data or not as it will not go into an NSA database.
Title: Re: Professional bugs
Post by: LiaoMi on August 31, 2019, 08:56:41 PM
Hutch,

Right, it's a memory problem. I have 6GB installed, and decided recently to disable the page file. That works fine so far, but occasionally I reach the limits. The real issue here is the nonsensical message "unknown software exception". This is why I placed it in the "professional bugs" thread. Apparently SlimJet/Chrome allocate major chunks of memory without checking if HeapAlloc() returned a pointer. Then they let it crash into an exception (very professional) but don't know what kind of error it was. So they randomly pick "unknown software". Compliments :badgrin:

Today there are few programs that take care of having the required memory, the memory is treated like flowing water. I have 32 gigabytes, but working in parallel, almost half of the programs fail. Even worse, the structure of the stored data is disrupted. I wrote to the support service, they rudely answer me that this is my problem. I often give examples where to look for problems, but even here the authors argue that this is unsolvable. There are many ways to manage memory when it is not enough, but apparently today it does not bother anyone. Chrome has the same story, my chrome also often fails when there is not enough memory, he can even make the whole system freeze. The worst thing is that this is a potential vulnerability for taking control of the system. I dream when I have 128 gigabytes of memory  :biggrin:
Title: News from Android
Post by: jj2007 on September 14, 2019, 02:11:21 AM
https://www.adaptivemobile.com/blog/simjacker-next-generation-spying-over-mobile

Quote
At its simplest, the main Simjacker attack involves a SMS containing a specific type of spyware-like code being sent to a mobile phone, which then instructs the UICC (SIM Card) within the phone to ‘take over’ the mobile phone , in order to retrieve and perform sensitive commands.

The attack begins when a SMS - that we term the Simjacker ‘Attack Message’ - is sent to the targeted handset. This Simjacker Attack Message, sent from another handset, a GSM Modem or a SMS sending account connected to an A2P account, contains a series of SIM Toolkit (STK) instructions, and is specifically crafted to be passed on to the UICC/eUICC (SIM Card) within the device. In order for these instructions to work, the attack exploits the presence of a particular piece of software, called the S@T Browser - that is on the UICC.  Once the Simjacker Attack Message is received by the UICC, it uses the S@T Browser library as an execution environment on the UICC, where it can trigger logic on the handset. For the main attack observed, the Simjacker code running on the UICC requests location and specific device information (the IMEI) from the handset. Once this information is retrieved, the Simjacker code running on the UICC then collates it and sends the combined information to a recipient number via another SMS (we call this the ‘Data Message’), again by triggering logic on the handset. This Data Message is the method by which the location and IMEI information can be exfiltrated to a remote phone controlled by the attacker.

During the attack, the user is completely unaware that they received the SMS with the Simjacker Attack message, that information was retrieved, and that it was sent outwards in the Data Message SMS - there is no indication in any SMS inbox or outbox.
...
This S@T Browser software is not well known, is quite old, and its initial purpose was to enable services such as getting your account balance through the SIM card. Globally, its function has been mostly superseded by other technologies, and its specification has not been updated since 2009, however, like many legacy technologies it is still been used while remaining in the background. In this case we have observed the S@T protocol being used by mobile operators in at least 30 countries whose cumulative population adds up to over a billion people
Title: Re: Professional bugs
Post by: daydreamer on September 15, 2019, 06:05:21 AM
So basically they admit that you cannot opt out of the spying.

Yeah, Windows is bad. But innocent in comparison to what Android "apps" ask you to permit. My bank forces me, more or less, to download a new "app" for online banking. It wants permission to use the camera, any files that it could possibly grab, and my contacts. And you cannot say "no" to any of that crap. I flagged it on a financial forum, but just got amused answers. It's incredible what Android users are willing to accept.
maybe so they use the camera so its actually you and not your kid buy lots of stuff so you have not enough money for rent?
what happens if you use windows apps in newer windows instead of good old .exe's?will they follow the that trend?
to develop and have the possibility to testrun those apps,you had to permit some things in w10

and the old "its not a bug its a feature":maybe a feature for those who sell memory
I have upgraded to 20gb from 6gb after I used loads of memory in a program,I wanted to try use 64bit memory and also have few memoryhungry Cg apps,LiaoMi you also use those 32gb for that?
128gb ram sounds nice,but like max 640mb in the old days,we will sooner or later have hardware that breaks that I believe
Title: Slimjet is a bug
Post by: jj2007 on October 28, 2019, 07:37:30 PM
After a few hours of browser session - how is it possible to write 12 GIGABYTES to disk?? :sad:
I am back to Firefox now. We'll see.
Title: Re: Professional bugs
Post by: TimoVJL on October 28, 2019, 08:01:06 PM
Is it a cache issue, just overwrite old data.
For example 500 Mb cache, 32 Gb IO/Write Bytes by now with Vivaldi.
Title: Re: Professional bugs
Post by: jj2007 on October 28, 2019, 09:13:48 PM
It may be a "cache issue", Timo, but it will still kill your SSD. Same for WhatsApp, normally it stays at a few hundred MB of disk writing - still way too much for a text-based application. Right now I see it has sparked to over 2 GB. Why? There is no excuse for such behaviour.
Title: WindScribe crashes on exit
Post by: jj2007 on November 13, 2019, 09:35:15 PM
Another professional bug :thumbsup:
Title: Re: Professional bugs
Post by: jj2007 on July 12, 2020, 02:37:43 AM
Flash, yeah....!
Title: Firefox is a professional bug
Post by: jj2007 on July 18, 2020, 06:01:26 AM
Every two days or so Firefox complains that it cannot update (same for Thunderbird btw).

Why, dear Mozilla developers, aren't you able to download that stupid stub and ask the user for the admin password when you launch it?

And why does Firefox fail the installation every now and then, without any warning that something went wrong?

Disgusting :cool:
Title: Re: Professional bugs
Post by: Vortex on July 18, 2020, 06:31:48 AM
Hi Jochen,

Can you try the portable version?

https://portableapps.com/apps/internet/firefox_portable
Title: Re: Professional bugs
Post by: jj2007 on July 18, 2020, 07:02:12 AM
Hi Erol, is it any different? I suppose it's the same codebase...
Title: Firefox is a bug
Post by: jj2007 on July 18, 2020, 07:05:07 PM
I'll kick Firefox into the dustbin now. This is the second or third time that I installed the latest version, and a day later the bloody bug complains that it can't update to the latest version. Now I've check the version numbers - I had controlled yesterday, it was 78.0.2, the absolutely latest one. Today it's back to 77.0.1, folks, and there is the whining box again, "Firefox can't update to the latest version". But you can silently revert to the previous one, dumb piece of s**t, right?

Back to Slimjet. It will trash my harddisk with GB's of writing for no particular purpose, but at least it works. Professional bugs, all of them :cool:
Title: Re: Professional bugs
Post by: hutch-- on July 18, 2020, 07:41:58 PM
Put some more memory into the box, it will solve a myriad of evils for you.
Title: Re: Professional bugs
Post by: Vortex on July 18, 2020, 07:42:58 PM
Hi Jochen,

Yesi, it's the same codebase but a compact version not requiring a setup. The portable version is self extracting archive.
Title: Re: Professional bugs
Post by: jj2007 on July 18, 2020, 09:11:49 PM
Put some more memory into the box, it will solve a myriad of evils for you.

So what is the logical link between not having enough physical memory and Firefox reverting to a previous version?
Title: Re: Professional bugs
Post by: hutch-- on July 18, 2020, 11:11:57 PM
Probably none but over time your comments about problems with the machine you are using all point to the same problem, not enough memory and heavy dependence on the swap file. I know desktops are different but the win7 box I have has 32 gig and its an old gen 4 processor, my current win10 box has 64 gig and with the availability of 16 gig single simms, my next box may end up with 128 gig in it. Everything runs well and you never use the swap file.
Title: Re: Professional bugs
Post by: jj2007 on July 19, 2020, 12:39:54 AM
So if Firefox is forced to use the swap file, it reverts to a previous version?
Title: Re: Professional bugs
Post by: hutch-- on July 19, 2020, 02:06:05 AM
 :biggrin:

Don't know and don't care as I don't use FireFox.  :tongue:
Title: PDF is a bug
Post by: jj2007 on July 22, 2020, 05:22:42 PM
https://pdf-insecurity.org/signature-shadow/evaluation_2020.html
Title: Re: Professional bugs
Post by: Vortex on July 22, 2020, 05:31:44 PM
Application virtualization can be a good method to test some of those applications.
Title: Re: Professional bugs
Post by: hutch-- on July 22, 2020, 05:31:59 PM
I am no great fan of PDF format, occasionally I get a government PDF file that they thought they were smart in locking and you just looked for a PDF unlocker on the internet an BINGO, it was all yours. Even if you cannot find an unlocker, you can print screen and save it as an image. OCR it if you have the right software but in most instances, who cares when its a crap format.
Title: Re: Firefox is a bug
Post by: jj2007 on July 22, 2020, 06:05:53 PM
I'll kick Firefox into the dustbin now. This is the second or third time that I installed the latest version, and a day later the bloody bug complains that it can't update to the latest version. Now I've check the version numbers - I had controlled yesterday, it was 78.0.2, the absolutely latest one. Today it's back to 77.0.1, folks, and there is the whining box again, "Firefox can't update to the latest version". But you can silently revert to the previous one, dumb piece of s**t, right?

Back to Slimjet. It will trash my harddisk with GB's of writing for no particular purpose, but at least it works. Professional bugs, all of them :cool:

I've filed a bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1653757). Now it's a known professional bug :biggrin:
Title: Re: Professional bugs
Post by: hutch-- on July 22, 2020, 07:52:39 PM
With Slimjet you can dump all of the junk if you want, run it in incognito mode and it does it automatically. Problem is you lose you link collection.
Title: Re: Professional bugs
Post by: jj2007 on July 22, 2020, 09:08:50 PM
Slimjet is a disk hog. After three hours in forums, it has already written 12GB to disk - why?? No good for your SSD :cool:
Title: Re: Professional bugs
Post by: hutch-- on July 23, 2020, 04:34:11 AM
I run Slimjet on an ordinary SATA SSD and have done so for some years and it shows no sign of capacity reduction.
Title: WhatsApp Desktop is a big, fat BUG
Post by: jj2007 on December 09, 2020, 01:22:50 AM
I finally cornered the WhatsApp bug: It starts writing to disk, at a rate of 3MB per second, when you post to somebody a link to a video. Yes, a URL, not the video itself. Every sane programmer would say "oh, a URL is just text, that's 50 bytes or so", but nope, WhatsApp TheBug starts writing 3MB per second.

It stops, btw, if you look at a different profile, and restarts when you come back to the profile where you posted the URL. So I thought "maybe I'll just delete that post", but nope, it continues to write 3MB per second, even after closing and restarting WhatsApp. This is sick, folks.
Title: Re: Professional bugs
Post by: K_F on December 10, 2020, 05:43:21 AM
I wouldn't trust any multiplatform software on my PC, besides wozzap is a farcebook thing... They're spying on you again.
Title: SSD drive: Firefox is chewing through your NAND
Post by: jj2007 on December 16, 2020, 01:48:12 AM
https://forums.servethehome.com/index.php?threads/firefox-is-chewing-through-your-nand.11346/

Quote
If you're a Firefox user, you may find this to be of interest.

Purely by chance, I fired up a free copy of SSDLife on two consecutive days where I haven't really used my workstation for anything other than email and browsing. For those of you unfamiliar with this tool, it simply reports estimated lifetime for the attached SSD and it also shows the amount of data read and written.

In my case, SSDLife notified me that 12GB was written to the SSD in one day. Since I didn't recall downloading any huge files over the previous day or visiting any new sites that could've resulted in bringing down a lot of new content to the cache, this puzzled me. I monitored these stats over the next couple of weeks and this behavior stayed consistent. Even if the workstation was left idle with nothing running on it but a few browser windows, it would invariably write at least 10GB per day to the SSD.

To find out what's going on, I fired up Resource Monitor and looked at disk utilization.

At the very top of the list was Firefox, writing tirelessly at anywhere between 300K and 2MB per second to a file called "recovery.js". Googling around revealed that this is Firefox's session backup file that is used to restore your browser sessions in case of a browser or an OS crash. I was aware of the fact that Firefox had this feature, but I had no idea that session information was so heavy!
Title: Re: Professional bugs
Post by: hutch-- on December 16, 2020, 09:52:18 AM
There is a solution to hammering SATA SSDs but you must have enough memory, run a ramdisk and you save your disks/SSDs from being thrashed day in and day out. If your board is late enough, try a half gig NVMe drive that you only store data on which is used to load the ramdisk and for any session before you turn the computer off, you get one read and one write to the NVMe drive.
Title: Re: Professional bugs
Post by: jj2007 on December 16, 2020, 09:58:16 AM
There is a solution to hammering SATA SSDs but you must have enough memory, run a ramdisk and you save your disks/SSDs from being thrashed day in and day out. If your board is late enough, try a half gig NVMe drive that you only store data on which is used to load the ramdisk and for any session before you turn the computer off, you get one read and one write to the NVMe drive.

A bit risky if you live in an area where you have frequent power cuts, right? Which is not my case, but still...

I have a different solution in mind: a website that blames and shames misbehaving applications, such as SlimJet and WhatsApp. Every stupid browser comparison should have the question "can it destroy your SDD?" in a prominent place :cool:
Title: Professional idiocy
Post by: jj2007 on December 20, 2020, 01:18:40 AM
2020 United States federal government data breach (https://en.wikipedia.org/wiki/2020_United_States_federal_government_data_breach)
Quote
The attack used a backdoor in a SolarWinds library. When an update to SolarWinds occurred the malicious attack would go unnoticed due to the trusted certificate. The Cybersecurity and Infrastructure Security Agency issued Emergency Directive 21-01 in response to the incident.

The New York Times reported SolarWinds did not employ a chief information security officer and that employee passwords had been posted on GitHub in 2019. Reuters reported that a security researcher had alerted the company in 2019 that its update server had a weak password of "solarwinds123."

SolarWinds's share price fell 25% in the days following the breach. Insiders at the company traded $280 million in stock after the attack was revealed internally but prior to it being announced to the public. A spokesperson said that those who sold the stock were not aware of the breach.

On 15 December 2020, SolarWinds reported the breach to the Securities and Exchange Commission. However, SolarWinds continued to distribute malware-infected updates, and did not immediately revoke the compromised digital certificate used to sign them.

On 16 December 2020, German IT news portal Heise.de reported that SolarWinds had for some time been encouraging customers to disable anti-malware tools before installing SolarWinds products.
Title: Re: Professional bugs
Post by: hutch-- on December 20, 2020, 02:20:48 AM
Sad to say it in not uncommon for large organisations to have really sloppy security and this is more so the case with government and defence organisations. It is usually bad design of their security systems that they can be so difficult to use that users take short cuts to avoid the hassle.

I have recently configured 4 versions of Win 10 64 bit and the firewall is a disaster to set up, the AV scanner is a pig that you cannot turn off and to be safe, i use Kaspersky's KVRT.EXE if I need to do an on demand scan.

Another disaster is the Unix based assumption that mixed characters where it is enforced to use upper case, lower case, numbers and punctuation when the only factor is the length of the pass phrase as long as you don't use common phrases or names so as to avoid dictionary attacks.
Title: Thunderbird is a bug
Post by: jj2007 on January 16, 2021, 12:55:00 AM
Apart from the fact that Thunderbird asks me every two days or so to install a new version, most of the time inviting me to reboot, it also crashes. Probably they are using C++ to program TB :cool:
Title: Re: Professional bugs
Post by: morgot on January 16, 2021, 01:18:37 AM
jj2007, try to use ProcMon (from M$)
Title: Professional bugs: WhatsApp
Post by: jj2007 on October 08, 2021, 09:48:18 PM
Thanks, Morgot. It won't find the problem, though.

In the meantime, WhatsApp (which has dozens of users, I suppose) has launched a new bug WA Desktop version the day after their glamorous "no such server (https://www.cnbc.com/2021/10/04/facebook-instagram-and-whatsapp-are-down.html)" event. If you are lucky, it tells you that it can't find ffmpeg.dll; if not, it won't tell you anything, but it won't start, either: error 18 if you have the right tools, just a blank screen if not. Here are hints how to work around (https://nerdschalk.com/whatsapp-ffmpeg-dll-not-found-error-how-to-fix-it/) the bug new features.
Title: Thunderbug
Post by: jj2007 on November 15, 2021, 10:57:33 PM
For no particular reason, Thunderbird writes 37,669,980,222 bytes to my harddisk, in less than 10 minutes. That could be fatal for your SSD...

Quote
A typical TBW figure for a 250 GB SSD lies between 60 and 150 terabytes written. That means: To get over a guaranteed TBW of 70, a user would have to write 190(!) GB daily over a period of one year

https://www.ontrack.com/en-us/blog/how-long-do-ssds-really-last
Title: Re: Professional bugs
Post by: hutch-- on November 15, 2021, 11:11:58 PM
JJ,

Just clear the cache, instant space recovery. I just checked mine, it has 82 megabytes of files.
Title: Re: Professional bugs
Post by: jj2007 on November 16, 2021, 01:36:00 AM
JJ,

Just clear the cache, instant space recovery. I just checked mine, it has 82 megabytes of files.

82 MB is 0.2% of the 37GB written; and disk space is not the problem. Thunderbug writes temporary stuff to disk. It's the writing for no particular reason that destroys the SSD in the long run.
Title: Re: Thunderbug
Post by: Greenhorn on November 16, 2021, 12:04:49 PM
For no particular reason, Thunderbird writes 37,669,980,222 bytes to my harddisk, in less than 10 minutes. That could be fatal for your SSD...

Hi JJ,

are you sure that these are all write operations to your SSD?

The column "I/O Write Bytes": The number of bytes written in input/output operations generated by the process, including file, network, and device I/Os. I/O Write Bytes directed to CONSOLE (console input object) handles aren’t counted.

The numbers shown in my Taskmanager are more worse than yours.


Process Explorer shows me just a few KB written to disk.
Process Monitor shows me a lot of ReadFile and network I/O but very few WriteFile operations.

Kind regards
Greenhorn
Title: Re: Thunderbug
Post by: jj2007 on November 16, 2021, 02:22:41 PM
For no particular reason, Thunderbird writes 37,669,980,222 bytes to my harddisk, in less than 10 minutes. That could be fatal for your SSD...

Hi JJ,

are you sure that these are all write operations to your SSD?

The column "I/O Write Bytes": The number of bytes written in input/output operations generated by the process

Yes indeed, "number of bytes written".

Quote
The numbers shown in my Taskmanager are more worse than yours

Your Thunderbird has written so far 0.6 GB - mine 36GB, a factor 62 more
Title: Thunderbird destroys your SSD
Post by: jj2007 on November 27, 2021, 12:55:49 PM
86 GB written in one day, with only 16 minutes cpu time... shame on you, Thunderbug :sad:
user.js:
Code: [Select]
user_pref("browser.cache.disk.amount_written", 0);
user_pref("browser.cache.disk.capacity", 0);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.memory.enable", true);
user_pref("browser.cache.memory.capacity", -1);
user_pref("browser.cache.disk.smart_size.enabled", false);
user_pref("browser.cache.disk.smart_size.first_run", false);
user_pref("browser.cache.disk_cache_ssl", false);
user_pref("browser.cache.memory.capacity", -1);
Title: WhatsApp Web is bugware
Post by: jj2007 on March 01, 2022, 12:07:37 PM
WhatsApp Desktop is a buggy software: every now and then, out of the blue, it decides to write many gigabytes to disk - not a good habit if you have an SSD with a limited number of write cycles. It destroys your SSD.

So I thought I should give WhatsApp Web a chance. Worse! How can people write such a lousy software?? We are talking text messages here, folks. Hundreds, yes, probably thousands, but even if I write 10,000 text messages with a 100 bytes each, that is just one megabyte. Why does this lousy piece of bugware write 5MB per second to my poor harddisk?  :sad:
Title: Re: Professional bugs
Post by: hutch-- on March 01, 2022, 02:54:12 PM
Just for that I will never use WhatsApp. I have never had problems with Facebook or Google/Youtube. You seem to have problems that I never see, I don't know if its a hardware problem, a configuration problem or if its a characteristic of smaller machines but I never get problems of that type with these big pigs that I build.
Title: Re: Professional bugs
Post by: jj2007 on March 01, 2022, 08:16:47 PM
Try googling "Whatsapp" Desktop "high disk usage"

Most people simply never look at the bytes written column of Task Manager. And SSDs break sometimes just like that, without any precise reason. Mysteries of Windows :cool:
Title: Re: Professional bugs
Post by: Shintaro on March 02, 2022, 05:31:02 PM
Mate,

86Gb written in one day, how big is your Inbox?
I would think that you inbox is big or it is checking for mail every minute. Or even re-indexing the inbox. Do you have any feeds configured in Thunderbird or is it just SMTP/IMAP?
With Thunderbird have you tried, to Repair and compact the Inbox?
I have about 3,600 email messages (Yea, I'm a bit lazy) so it uses about 400 Mb of memory on my Arch Linux system.

Have you looked at scripts to turn the Windows garbage off? Like the Telemetry. Chris Titus has some HERE (https://www.christitus.com/windows) for Win 10, if that is what you are using.

Or you could use the Web Interface for email.
EDIT: I use Firefox and some add-ons to remove ad's and disable Java garbage. But also in Firefox Tools -> Browser Tools -> Task Manager shows the Memory and Energy used.

Hope this helps.
Title: Adobe Acrobat is a fat bug
Post by: jj2007 on April 13, 2022, 08:31:03 PM
Trying to open a pdf, it takes ages... and yet, I've installed Sumatra several months ago, but damn Acrobat somehow manages to sneak in and take over, obviously at shamefully slow speed.

So I decide to get rid of the whole Adobe crap. Windows start menu, uninstall, and there it is in the list, at a whopping 649MB. One double-click and, wow, Adobe says bye bye. The dialog says "10 seconds left", and after waiting over 3 minutes (=180 seconds), I kill msiexec via Task Manager.

Problem solved :thumbsup:

The good news: Windows was lying. My disk has over 2GB more space now :biggrin:
Title: Re: Professional bugs
Post by: jj2007 on April 19, 2022, 01:59:29 AM
P.S.: It came back! The nasty Adobe bug manages to install itself behind my back, in the folder C:\ProgramData\Adobe

Now I have a file C:\ProgramData\Adobe, write-protected and hidden. We'll see :badgrin:
Title: Re: Professional bugs
Post by: Raistlin on May 07, 2022, 03:22:17 AM
Professional bugs: equals ME = got too much into
academics and forgot practical application rulez.
Impossible is possible when tried in reality. Note
to self - contact friends when life gets hard
I need a topic for next and final degree - help?
Title: Re: Professional bugs
Post by: FORTRANS on May 07, 2022, 03:42:59 AM
Hi,

   A topic in what subject?  What level/kind of degree?
Not that I see me coming up with anything.

Regards,

Steve N.

Title: Re: Professional bugs
Post by: Raistlin on May 07, 2022, 04:13:58 AM
Hail Fortrans, 
Phd type please? Just went 49 and feeling
slightly old. My kid turned 16 (2 meters, size 13 uk shoe)
yesterday. Interested in technical programming type
problems. PM me please if you have those or generic advise ?

Written on cellphone, please excuse typos.
Raistlin

Title: Re: Professional bugs
Post by: hutch-- on May 07, 2022, 08:39:41 AM
 :biggrin:

Hi Rudi.  :cool:
Title: Re: Professional bugs
Post by: Raistlin on May 07, 2022, 03:48:10 PM
Hail the hutch  :biggrin:
Title: Re: Professional bugs
Post by: Raistlin on May 17, 2022, 05:03:11 AM
Ok, that ended on a weird silence. Thus I am to blame.
Per usual. What to do ?
Title: Re: Professional bugs
Post by: FORTRANS on May 17, 2022, 05:47:10 AM
Hi Rudi,

   Well, the weird silence from me was due to no good ideas or
suggestions.  If you have a copy of Knuth's "The Art of Computer
Programming" available, then he has placed a difficulty level on
the exercises in his books.

00  Immediate
10  Simple (one minute)
20  Medium (quarter hour)
30  Moderately Hard
40  Term project
50  Research problem

   I think he underestimates some of the difficulties on some
of his problems.  Anyway, you might find one of his exercises
could give you an idea for your degree problem.

   I just have a B.A. in Chemistry, so did not get as far as you
seem to have gotten.  And I am not too good at coming up
with new ideas.  At least the good kind.

Regards,

Steve N.
Title: Re: Professional bugs
Post by: hutch-- on May 17, 2022, 09:40:15 AM
I have an excuse Rudi, I am writing something at the moment.  :biggrin:
Title: Re: Professional bugs
Post by: Raistlin on May 24, 2022, 03:38:58 AM
Ok, Come to expect these things.
Like family... you guys are the best.
(I have to say that or Christmas will be weird)
All jokes aside, thanks all for the support.
Title: Re: Professional bugs
Post by: daydreamer on May 24, 2022, 07:00:43 PM
Ok, Come to expect these things.
Like family... you guys are the best
(I have to say that or Christmas will be weird)
All jokes aside, thanks all for the support.
I agree
Also if you want challenges for yourself in asm,you can sometimes find students in other languages forums ask advice on task given by professor to make program that solves programming problems and make it run as fast as possible and make asm program that beat it
Earlier tasks done
Rosettacode.org,calculate  very huge fibonnaci numbers fast with help of matrices

SIMT task
Several million random numbers test if primes
As fast as possible
Title: Re: Professional bugs
Post by: daydreamer on May 26, 2022, 07:27:00 PM
I myself taken a break from coding,don't felt like it when war started
Now I want to start code again,open for suggestions on what to make

Title: Re: Professional bugs
Post by: jj2007 on May 26, 2022, 10:54:10 PM
open for suggestions on what to make

just wonder if I get different register values depending on it is run directly after linker or use a .bat file that starts it after another program?
or it is the windows .bat file handler registers after?

Might be fun to find out, no?
Title: Re: Professional bugs
Post by: daydreamer on May 27, 2022, 03:53:24 AM
open for suggestions on what to make

just wonder if I get different register values depending on it is run directly after linker or use a .bat file that starts it after another program?
or it is the windows .bat file handler registers after?

Might be fun to find out, no?
Thanks,maybe
Title: Oracle VirtualBox is one giant bug
Post by: jj2007 on June 01, 2022, 11:19:10 AM
I got it running years ago on my Win7-64 machine, and I remember it was messy. But it runs fine with WinXP-32 guest OS.

Now I've wasted the whole night trying to do the same on Windows 10. An incredible mess. Everybody has good advice, mostly contradictory, and nothing works as described :sad:

One small example:
Code: [Select]
An error has occurred during virtual machine execution! The error details are shown below. You may try to correct the error and resume the virtual machine execution.

The I/O cache encountered an error while updating data in medium &quot;ahci-0-2&quot; (rc=VERR_ACCESS_DENIED). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Error ID: BLKCACHE_IOERR
Severity: Non-Fatal Error

There are gigabytes free, and I am running the bloody thing as admin :sad:

When I click OK, it says I can resume by clicking resume in the menu bar. There is only "Paused", but clicking there has no effect.
Title: Re: Professional bugs
Post by: hutch-- on June 01, 2022, 01:05:43 PM
Just a silly question, did you use a 64 bit version for Win64 ?
Title: Re: Professional bugs
Post by: jj2007 on June 01, 2022, 08:24:03 PM
Just a silly question, did you use a 64 bit version for Win64 ?

Sure. Host is Win10-64, guest OS is Win7-32. Everything works fine except the integration of the local disk (https://www.serverwatch.com/guides/using-a-physical-hard-drive-with-a-virtualbox-vm/) :sad:

Some hours later I've discovered that to use shared folders you need guest additions. Wow!
At https://www.virtualbox.org/wiki/Downloads I read "it is recommended to upgrade the guest additions as well" :greenclp:
Of course, they wouldn't tell me where to find them, that would be far too easy, right?  :bgrin:
Title: Re: Professional bugs
Post by: jj2007 on June 01, 2022, 10:22:41 PM
Oops, now Oracle informs me that shared folders won't work without guest additions - thank you :thup:

So why the hell are they not installed automatically?
Why does their advice to click on "Insert..." in the devices menu not work? I can click there, but it does ... nothing. No feedback, just nothing :sad:

Later: a miracle! After several reboots, out of the blue, Oracle suggests that I install the guest additions!!! What a pity that it can't do it, for some obscure reason, see below :sad:

One file was extracted, then comes the error. I click ok, and it says that I can consult the log file at C:\Program Files\Oracle\... which, of course, doesn't exist. Oracle, I suggest your programmers start learning some BASIC dialect, since what you are currently using clearly confuses them.

This is so ridiculous :cool:
Title: Oracle VirtualBox professional bugs
Post by: jj2007 on June 02, 2022, 02:30:42 AM
Latest news is that my Windows 7 guest works fine, and I can even work with a drive shared with Windows 10. However, the guest OS Explorer calls my drive F: Disconnected Network Drive (F:). Isn't that cute? It works fine, though. Btw it's a recognised bug, and Oracle will fix it soon (https://forums.virtualbox.org/viewtopic.php?f=1&t=66067#p312765) (so they said in 2015) :cool:
Title: Firefox is a bug
Post by: jj2007 on August 07, 2022, 01:48:30 AM
Windows 7-64 greets me with Display driver stopped responding and has recovered (https://support.microsoft.com/en-us/topic/-display-driver-stopped-responding-and-has-recovered-error-in-windows-7-or-windows-vista-4913d09d-69d1-4538-7124-64e0d3705f8d), minutes after I allowed Firefox to update to the latest and most beautiful version ever.

Windows greets me 5 times in a loop until I decide to hold the power button 6 seconds, and reboot in safe mode.

I get Windows running without problems, but FF connects only to my local startpage - the Internet is far away for good ol' Firefox  :cool:

Chrome works fine, as you can see. Bye bye, Firefox? :mrgreen:
Title: A sad story about Microsoft Edge
Post by: jj2007 on August 07, 2022, 04:35:06 AM
After some searching for RAM use etc, I decided to give Edge a chance.

So far, so good, except when I right-click on a link and choose "Open link in new tab" it does... tadaaa! ... nothing. Somehow this dumb animal assumes that I don't want to see the page that I just opened, i.e. it does not activate the tab :sad:

It reminds me of qEditor's "Build all" etc menu entries. Never, ever in my whole programmer's life have I assembled and linked a source without the urgent desire to see if it works. Fortunately, there is a simple workaround - you can add a batch file to menus.ini (the %~dpn1.exe does the job):

Code: [Select]
[&Project]
...
Build+Run Console,\MASM32\BldRunUAsmConsole.bat "{b}"
Code: [Select]
@echo off
del %~dpn1.exe
\masm32\bin\UAsm64 /c /coff "%~dpn1.asm"
\masm32\bin\polink /subsystem:console %~dpn1.obj
del %~dpn1.obj
if not exist %~dpn1.exe echo. & echo ******* There was an error, please check ******* & echo. & pause
%~dpn1.exe

I've tried a lot to find at least an extension that would allow to automatically activate the newly loaded page in Edge - no luck. It seems that Billions of Edge users love clicking on the tab after it has loaded. As Trump would say: so sad :sad:

P.S.: Just found a page (https://superuser.com/questions/1470598/how-can-edge-not-automatically-switch-to-new-tab-when-new-tab-is-created) that says
Quote
"Go to Extensions in the Edge settings (...) and search for "Tab Activate". Works like a charm."

Fun fact: That was 2020. Now searching "Tab Activate" yields "No search results found". So the Edge developers took this option away.
Title: Re: A sad story about Microsoft Edge
Post by: HSE on August 07, 2022, 06:21:34 AM
It reminds me of qEditor's "Build all" etc menu entries. Never, ever in my whole programmer's life have I assembled and linked a source without the urgent desire to see if it works.

For big projects I call from menu; MakeIt, RunIt and MakeRunIt  :biggrin:

Title: Re: Professional bugs
Post by: hutch-- on August 07, 2022, 09:40:22 AM
 :biggrin:

> It reminds me of qEditor's "Build all" etc menu entries.

There are those of us who want to see if the build results are OK, if you have tangled something and it did not build correctly, why try to run something that is broken ? This is why I always use the assembler/linker output rather than a piped output to a UI, better to know that have to guess what has clapped out.  :tongue:
Title: Re: Professional bugs
Post by: jj2007 on August 07, 2022, 10:13:22 AM
if you have tangled something and it did not build correctly, why try to run something that is broken ?

Perfectly right, Hutch. If there is a build error, I don't/can't run the exe, obviously, so I expect that my editor jumps to the offending line and tells me what's wrong:

(http://www.jj2007.eu//pics/ErrorRM.png)

However, if there is no build error, then I want to see my executable in action, immediately, without the need to look for another menu.

It's a matter of taste, obviously :cool:
Title: Windows 10 is a bug
Post by: jj2007 on August 11, 2022, 09:09:48 AM
That OS sucks like hell.

When Win7 asks you for the admin password, you type it and hit Return.
When Win10 asks you for the admin password, you type it and hit Return, and nothing happens - because the idi*ts at Redmond forgot to set the focus to the edit field.

I am currently fighting with an issue regarding buttons. More soon.

The captions do not have colours that allow to distinguish between active and inactive windows. Besides, the buttons to the right are so ridiculously spaced that a small window has not enough space for the title. So you see "H.." instead of "Hello World" :sad:
Title: Re: Professional bugs
Post by: HSE on August 11, 2022, 09:38:59 AM
so I expect that my editor ...  tells me what's wrong:

Guau!!  That new arrow look fantastic. I don't see it yet :thumbsup:
Title: Re: Professional bugs
Post by: jj2007 on August 11, 2022, 09:49:16 AM
Apparently, you don't have the latest version, Hector. Btw, how does your editor handle build errors?
Title: Re: Windows 10 is a bug
Post by: quarantined on August 11, 2022, 11:05:11 AM
That OS sucks like hell...

The captions do not have colours that allow to distinguish between active and inactive windows. Besides, the buttons to the right are so ridiculously spaced that a small window has not enough space for the title. So you see "H.." instead of "Hello World" :sad:

Sounds like you are tempted to join the 7 only club. I had gotten utterly frustrated with Win 10 long ago, and have not run it on a daily basis since then. I still have it, but it's no more than a doorstop (or boat anchor) to me at this point.

As long as Windows 7 runs as expected and can run adequate software on it that supports the OS I'll keep on using it, never minding the naysayers. If xp were still a viable OS, I would definitely be using that operating system, but unfortunately compatible software is getting more scarce as each year passes.

If needed I can always reinstall (Win 10) via disk image as needed, same goes for Window xp.  :toothy:
Title: Re: Professional bugs
Post by: hutch-- on August 11, 2022, 01:56:05 PM
Win 10 is one of those things that if you suffer it for long enough, you get used to it. Armed with a number of accessories to routinely tweak things that are not easy to do in the default installation, remember where most of the controls are most of the time so that when Microsoft arbitrarily change you settings, you can go back and change them in less than a lifetime, it actually run OK and is a more powerful OS than Win7 64. Less glitz and more grunt, both of which I approve of.
Title: Re: Professional bugs
Post by: daydreamer on August 11, 2022, 09:39:20 PM
I kept xp after vista came not only because cg apps needing most grunt, nobody was interested in much longer render times of art and animation, in the beginning opengl that was used for fast preview render didn't work properly on vista
Newer os you need to trial and error on compatibility setting for old games
Newer os than xp,suppose to evolved to better spread multicores /Multithreading workload
Title: Re: Professional bugs
Post by: hutch-- on August 11, 2022, 10:17:52 PM
I have got a perfect XP box with a 3.8 gig PIV and I think 8 gig of memory, 4 gig for the OS and the rest as a ram disk. It runs OK, I just can't find a use for it. I built it not longer before I started using Win7 64 Ultimate and once I went to a 64 bit box, there was nothing that Win7 64 did not do better.

There is nothing worth swiping in it so it sits complete going nowhere.  :biggrin:
Title: Re: Professional bugs
Post by: HSE on August 11, 2022, 10:20:49 PM
Apparently, you don't have the latest version

No :sad:  For sure you are using a transparent window and GDIP  :thumbsup:

Btw, how does your editor handle build errors?

RadAsm work even better and qEditor not at all.

But I have cancelations  :rolleyes:

With RadAsm and complex projects I use JWAsm family, that only is reliable pointing errors in main file. AsmC was improved but still can fail.

With qEditor I use ML and ML64, that don't fail pointing errors.  :biggrin: