With problems like this, first thing you do is go about making a diagram. For all the purposes of this question, we can take the bowl to be a hemisphere. Let's assume that there is a single meridian line of the sphere that the insect travels across. Let's start by taking the cross section of such a line:
http://img267.imageshack.us/img267/5157/insecthelpqi1.jpg
Here, I've assumed a right-handed co-ordinate system, with the circle:
<br />
x^2 + y^2 = r^2<br />
Let the insect be at an arbitrary point on the circle (x, y). Now, a very small part of the circle can be taken to be as an inclined plane. The angle it makes can be found out using the angle the tangent on that point makes with the x-axis. It is given by:
<br />
\frac{dy}{dx} = \tan{(\theta)} = -\frac{x}{y}<br />
Once, you've done that, you can easily find out the angles, \sin(\theta) and \cos(\theta), using Pythagoras theorem wherever necessary. And hence, you can find the angle of the inclination as a function of the co-ordinates (x, y). But, you need it in the terms of height. With a little algebra and geometry, you can find the co-ordinates as:
<br />
(x, y) \equiv (\sqrt{2hr - h^2}, r - h)<br />
And hence, the inclination is given by:
<br />
\frac{dy}{dx} = \tan{(\theta)} = -\frac{x}{y} = \frac{\sqrt{2hr - h^2}}{h - r}<br />
Now, you have the force components in terms of the height climbed by the insect. Now, you need to find 'h' such that, the frictional force (caused by the normal force mg cos(θ)) becomes equal to the restraining force [mg sin(θ)] and beyond which it is smaller.
I think you can do the problem now.