Could well be ignition, however i have seen problems with the fuel tank breathers, the breather is situated under the starter cover set down in a recess, it is white in colour with a nipple on top, if it is not working it will vacume the tank and starve the engine of fuel, to remove grab with long nose pliers and pull out the assembly. To prove the point, when the saw starts to run bad slacken off the fuel filler cap, if it picks up again it is a breather issue
Husqvarna man, October 2009