Re: [dev] [surf] Segfault bug

From: Gene Auyeung <quaker4lyf_AT_gmail.com>
Date: Wed, 9 Jun 2010 22:17:28 -0700

On Wed, Jun 9, 2010 at 10:01 PM, Kris Maglione <maglione.k_AT_gmail.com> wrote:
> On Wed, Jun 09, 2010 at 12:50:06PM -0700, Gene Auyeung wrote:
>>
>> Hi,
>>
>> For a while I've been frustrated when I close a surf window, it takes
>> down the process that created it, along with all windows of that
>> process.  For clicking a link in gmail will open a new window, and
>> closing that window sometimes closes the parent window as well.  Today
>> I had some time to insert printfs into surf.c to find out what's going
>> on.
>
> Why don't you just use gdb (apart from the fact that surf doesn't build with
> debugging information by default)?
>
Apart from not knowing how to use gdb beyond the basics, surf's code
is clean/simple enough that printing debug statements work. But yes,
good suggestion.

> --
> Kris Maglione
>
> Every program has (at least) two purposes: the one for which it was
> written, and another for which it wasn't.
>        --Alan J. Perlis
>
>
>
Received on Thu Jun 10 2010 - 05:17:28 UTC

This archive was generated by hypermail 2.2.0 : Thu Jun 10 2010 - 05:24:02 UTC