On Thu, Sep 25, 2008 at 11:14:28PM -0700, Donald Chai wrote:
On Thu, Sep 25, 2008 at 3:58 PM, Jorge Arellano Cid <jcid@dillo.org> wrote:
I just came accross an easy to reproduce segfault, that's present since long ago.
Middle-clicking works OK right?
Well, try middle-clicking a link with a two mouse button (i.e. pressing both at the same time). The link menu stays open and after a second click (e.g. left click to make it dissapear) it segfaults.
[...]
I see this problem as well. If I very quickly press the left then right mouse button (NOT at the same time), then I get a segfault. Dillo seems to try to select some text on the old page, after the new page is loaded.
This hinted me towards a timing issue and found this way to crash dillo (most probably akin to the "middle-click" bug): 1.- Left click over a remote URL link (to have some time while DNS is resolving) 2.- Move the mouse pointer out of the link and right-click to get the popup menu, before the new page starts downloading. 3.- Once the new page starts to show, click again to get rid of the popup, and it'll crash. -- Cheers Jorge.-