I would like to review Chromecast with Google TV after using it for about one week.
I must say that in my particular case device color look quite bad. I have black TV like 99% of other people and I bought white (because all others were out of stock) Chromecast. And white wires do not look good on black TV background and I cannot hide it well. My TV is on the wall and TV is parallel to room’s entrance and HDMI ports are one that side. As result Chromecast also must be there. Again, while blob on black TV background does not look good at all. Device and cable should be black.
Another slight problem that power
Some time ago I would like to watch few shows from HBO Max. To my surprise, my TV does not have app for it. And then after some research I was surprised even more. Basically, only possible ways are: buy Samsung TV (some specific models); watch from tablet or phone; watch from PC; stream from phone to TV. Also, pretty much all smart devices like Amazon Firestick and Roku does not support it. Basically, all these reasons are legal and not technical.
And then I accidentally found that Chromecast with Google TV does support HBO Max. I have LG LF6300 TV for more than 5 years. It is great TV and they still sometimes release updates to it. But it
This will be rather short post, but I hope it will be helpful. Basically, goal of this post is to explain importance of sequential changes to anything. And it is better to explain with example. Imagine you switched internet provider, bought new router and new Smart TV and you did it in one day. Now, let us say you have problems during streaming on your new TV. Where is problem?
It could be new internet provider. For example, new provider can handle IPv6 differently. It could be issue with new router. It could be buggy. It could be your new TV or application you are using for streaming. It could be incompatibility of your new router and internet provider. It
Recently I was investigating memory leak in one of our web sites. The same story, site consuming more and more memory until IIS finally recycles it.
As usually, executed two standard commands:
.cordll -ve -u -l
And then I found our class Xyz at about 10th place from bottom. Interesting. Then I executed following command:
!DumpHeap -short Namespace.Xyz
And immediately pressed Ctrl+Break to have only few hundred of them and not all of them. And then I executed this command to find how is holding that reference:
!GCRoot <address of Namespace.Xyz object>
From output I found some singleton class with ConcurrentDictionary<Guid, List< Namespace.Xyz>>
I was asked to investigate why one of our web services constantly consuming more than 3Gb of memory and constantly recycled. There was nothing new deployed at that time and developers do not understand what’s going on.
After I got memory dump, that contains .NET code I execute this command first:
.cordll -ve -u -l
Then for memory related issues I usually execute this command:
This will print how many instances of each object created and total size in memory these objects are consuming. Then I try to find some specific objects at the bottom of this list. General objects like strings usually hard to investigate as many objects has a lot
My previous post explained that for 32-bit process, 32-bit tool should be used, or most tools got confused. Visual Studio able to handle standard PDB files but got confused on PDB files that was custom generated. Normally I would recommend using 32-bit tool and forget about this problem. But in some cases, crash could be so rare, that it worth investigating how to get anything useful from such “bad” dump. And I will show, how to do it.
Firstly, load 32-bit WinDbg and execute following commands:
This will load standard wow64exts WinDbg extension, switch to 32-bit mode, even dump is 64 bit and displays 32-bit context record. From context record
I would not be wrong if I say that most computers these days are 64 bit. 64 bit offers many advantages over 32 bits and in general there is not much sense to install 32 bit OS pretty much anywhere, except maybe for some 32 bit virtual machine with less than 4 Gb of RAM, because in general 32 bit OS takes less memory. But even then, it is better to have 64 bit and just have couple of services running on it.
But at the same time, it is still common to run 32 code on it. For example, if you have IIS in many cases it has sense to run 32-bit worker process. Main reason behind that 32-bit
Recently I got email from customer, that our product consumes relatively lot of CPU on idle. About 3%-7%. He is using old notebook and as result fan is constantly cycles between on and off state and it is really annoying. I decided to check this because very often it could be sign of bigger problems.
Usually for cases like this I am asking customer to run PerfView to collect events that happens during problematic time. It is quite useful application; it is developed by Microsoft and completely free. It has quite unusual interface and requires some learning. There have links to learning videos from app itself.
Anyway, customer was nice and provided quite a few PerfView captures in different state
Case of frozen PeekMessage
Recently I was investigating why our application freezes during certain operations. After collecting few dump files, I found that every single time application freezes in quite old code that was written about 20 years ago. Loading documents could be quite long, and some person decided that it would be good idea if user can press Escape and cancel loading. To detect key press, that code calls something like this:
PeekMessage(Msg, CurrentFormHandle, WM_KeyFirst, WM_KeyLast, PM_Remove Or PM_NoYield)
Callstack looks like this:
It looks quite innocent and I do not see any reason why it should hang. After some thinking I came with two theories:
- CurrentFormHandle returns invalid window handle that got reused by some thread that is sleeping
- Code that calls PeekMessage has infinite loop and PeekMessage is just took more time and appears in crash dumps.